class Azure::CDN::Mgmt::V2020_09_01::Models::AFDOriginGroup

AFDOrigin group comprising of origins is used for load balancing to origins when the content cannot be served from CDN.

Attributes

deployment_status[RW]

@return [DeploymentStatus] Possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

health_probe_settings[RW]

@return [HealthProbeParameters] Health probe settings to the origin that is used to determine the health of the origin.

load_balancing_settings[RW]

@return [LoadBalancingSettingsParameters] Load balancing settings for a backend pool

provisioning_state[RW]

@return [AfdProvisioningState] Provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'

response_based_afd_origin_error_detection_settings[RW]

@return [ResponseBasedOriginErrorDetectionParameters] The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported.

session_affinity_state[RW]

@return [EnabledState] Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

traffic_restoration_time_to_healed_or_new_endpoints_in_minutes[RW]

@return [Integer] Time in minutes to shift the traffic to the endpoint gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.

Private Class Methods

mapper() click to toggle source

Mapper for AFDOriginGroup class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group.rb, line 52
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AFDOriginGroup',
    type: {
      name: 'Composite',
      class_name: 'AFDOriginGroup',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        system_data: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'systemData',
          type: {
            name: 'Composite',
            class_name: 'SystemData'
          }
        },
        load_balancing_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.loadBalancingSettings',
          type: {
            name: 'Composite',
            class_name: 'LoadBalancingSettingsParameters'
          }
        },
        health_probe_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.healthProbeSettings',
          type: {
            name: 'Composite',
            class_name: 'HealthProbeParameters'
          }
        },
        traffic_restoration_time_to_healed_or_new_endpoints_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.trafficRestorationTimeToHealedOrNewEndpointsInMinutes',
          constraints: {
            InclusiveMaximum: 50,
            InclusiveMinimum: 0
          },
          type: {
            name: 'Number'
          }
        },
        response_based_afd_origin_error_detection_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.responseBasedAfdOriginErrorDetectionSettings',
          type: {
            name: 'Composite',
            class_name: 'ResponseBasedOriginErrorDetectionParameters'
          }
        },
        session_affinity_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sessionAffinityState',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        deployment_status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.deploymentStatus',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end