Class: Azure::CDN::Mgmt::V2020_09_01::Models::AFDOriginGroupUpdateParameters
- Inherits:
-
Object
- Object
- Azure::CDN::Mgmt::V2020_09_01::Models::AFDOriginGroupUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb
Overview
AFDOrigin group properties needed for origin group creation or update.
Instance Attribute Summary collapse
-
#health_probe_settings ⇒ HealthProbeParameters
that is used to determine the health of the origin.
-
#load_balancing_settings ⇒ LoadBalancingSettingsParameters
backend pool.
-
#response_based_afd_origin_error_detection_settings ⇒ ResponseBasedOriginErrorDetectionParameters
that contains the properties to determine origin health using real requests/responses.
-
#session_affinity_state ⇒ EnabledState
Valid options are ‘Enabled’ or ‘Disabled’.
-
#traffic_restoration_time_to_healed_or_new_endpoints_in_minutes ⇒ Integer
gradually when an unhealthy endpoint comes healthy or a new endpoint is added.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AFDOriginGroupUpdateParameters class as Ruby Hash.
Instance Attribute Details
#health_probe_settings ⇒ HealthProbeParameters
that is used to determine the health of the origin.
21 22 23 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 21 def health_probe_settings @health_probe_settings end |
#load_balancing_settings ⇒ LoadBalancingSettingsParameters
backend pool
17 18 19 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 17 def load_balancing_settings @load_balancing_settings end |
#response_based_afd_origin_error_detection_settings ⇒ ResponseBasedOriginErrorDetectionParameters
that contains the properties to determine origin health using real requests/responses. This property is currently not supported.
31 32 33 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 31 def response_based_afd_origin_error_detection_settings @response_based_afd_origin_error_detection_settings end |
#session_affinity_state ⇒ EnabledState
Valid options are ‘Enabled’ or ‘Disabled’. Possible values include: ‘Enabled’, ‘Disabled’
36 37 38 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 36 def session_affinity_state @session_affinity_state end |
#traffic_restoration_time_to_healed_or_new_endpoints_in_minutes ⇒ Integer
gradually when an unhealthy endpoint comes healthy or a new endpoint is added. Default is 10 mins. This property is currently not supported.
26 27 28 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 26 def traffic_restoration_time_to_healed_or_new_endpoints_in_minutes @traffic_restoration_time_to_healed_or_new_endpoints_in_minutes end |
Class Method Details
.mapper ⇒ Object
Mapper for AFDOriginGroupUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/2020-09-01/generated/azure_mgmt_cdn/models/afdorigin_group_update_parameters.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AFDOriginGroupUpdateParameters', type: { name: 'Composite', class_name: 'AFDOriginGroupUpdateParameters', model_properties: { 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' } } } } } end |