/// <summary> /// Initializes a new instance of the OriginGroupUpdateParameters /// class. /// </summary> /// <param name="healthProbeSettings">Health probe settings to the /// origin that is used to determine the health of the origin.</param> /// <param name="origins">The source of the content being delivered via /// CDN within given origin group.</param> /// <param /// name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes">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.</param> /// <param name="responseBasedOriginErrorDetectionSettings">The JSON /// object that contains the properties to determine origin health /// using real requests/responses. This property is currently not /// supported.</param> public OriginGroupUpdateParameters(HealthProbeParameters healthProbeSettings = default(HealthProbeParameters), IList <ResourceReference> origins = default(IList <ResourceReference>), int?trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default(int?), ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings = default(ResponseBasedOriginErrorDetectionParameters)) { HealthProbeSettings = healthProbeSettings; Origins = origins; TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; ResponseBasedOriginErrorDetectionSettings = responseBasedOriginErrorDetectionSettings; CustomInit(); }
/// <summary> /// Initializes a new instance of the AFDOriginGroupUpdateParameters /// class. /// </summary> /// <param name="loadBalancingSettings">Load balancing settings for a /// backend pool</param> /// <param name="healthProbeSettings">Health probe settings to the /// origin that is used to determine the health of the origin.</param> /// <param /// name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes">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.</param> /// <param name="responseBasedAfdOriginErrorDetectionSettings">The JSON /// object that contains the properties to determine origin health /// using real requests/responses. This property is currently not /// supported.</param> /// <param name="sessionAffinityState">Whether to allow session /// affinity on this host. Valid options are 'Enabled' or 'Disabled'. /// Possible values include: 'Enabled', 'Disabled'</param> public AFDOriginGroupUpdateParameters(LoadBalancingSettingsParameters loadBalancingSettings = default(LoadBalancingSettingsParameters), HealthProbeParameters healthProbeSettings = default(HealthProbeParameters), int?trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default(int?), ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings = default(ResponseBasedOriginErrorDetectionParameters), string sessionAffinityState = default(string)) { LoadBalancingSettings = loadBalancingSettings; HealthProbeSettings = healthProbeSettings; TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; ResponseBasedAfdOriginErrorDetectionSettings = responseBasedAfdOriginErrorDetectionSettings; SessionAffinityState = sessionAffinityState; CustomInit(); }
/// <summary> /// Initializes a new instance of the OriginGroup class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="healthProbeSettings">Health probe settings to the /// origin that is used to determine the health of the origin.</param> /// <param name="origins">The source of the content being delivered via /// CDN within given origin group.</param> /// <param /// name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes">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.</param> /// <param name="responseBasedOriginErrorDetectionSettings">The JSON /// object that contains the properties to determine origin health /// using real requests/responses. This property is currently not /// supported.</param> /// <param name="resourceState">Resource status of the origin group. /// Possible values include: 'Creating', 'Active', 'Deleting'</param> /// <param name="provisioningState">Provisioning status of the origin /// group.</param> public OriginGroup(string id = default(string), string name = default(string), string type = default(string), HealthProbeParameters healthProbeSettings = default(HealthProbeParameters), IList <ResourceReference> origins = default(IList <ResourceReference>), int?trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default(int?), ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings = default(ResponseBasedOriginErrorDetectionParameters), string resourceState = default(string), string provisioningState = default(string)) : base(id, name, type) { HealthProbeSettings = healthProbeSettings; Origins = origins; TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; ResponseBasedOriginErrorDetectionSettings = responseBasedOriginErrorDetectionSettings; ResourceState = resourceState; ProvisioningState = provisioningState; CustomInit(); }
/// <summary> /// Initializes a new instance of the AFDOriginGroup class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="name">Resource name.</param> /// <param name="type">Resource type.</param> /// <param name="loadBalancingSettings">Load balancing settings for a /// backend pool</param> /// <param name="healthProbeSettings">Health probe settings to the /// origin that is used to determine the health of the origin.</param> /// <param /// name="trafficRestorationTimeToHealedOrNewEndpointsInMinutes">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.</param> /// <param name="responseBasedAfdOriginErrorDetectionSettings">The JSON /// object that contains the properties to determine origin health /// using real requests/responses. This property is currently not /// supported.</param> /// <param name="sessionAffinityState">Whether to allow session /// affinity on this host. Valid options are 'Enabled' or 'Disabled'. /// Possible values include: 'Enabled', 'Disabled'</param> /// <param name="provisioningState">Provisioning status. Possible /// values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', /// 'Creating'</param> /// <param name="deploymentStatus">Possible values include: /// 'NotStarted', 'InProgress', 'Succeeded', 'Failed'</param> public AFDOriginGroup(string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), LoadBalancingSettingsParameters loadBalancingSettings = default(LoadBalancingSettingsParameters), HealthProbeParameters healthProbeSettings = default(HealthProbeParameters), int?trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default(int?), ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings = default(ResponseBasedOriginErrorDetectionParameters), string sessionAffinityState = default(string), string provisioningState = default(string), string deploymentStatus = default(string)) : base(id, name, type, systemData) { LoadBalancingSettings = loadBalancingSettings; HealthProbeSettings = healthProbeSettings; TrafficRestorationTimeToHealedOrNewEndpointsInMinutes = trafficRestorationTimeToHealedOrNewEndpointsInMinutes; ResponseBasedAfdOriginErrorDetectionSettings = responseBasedAfdOriginErrorDetectionSettings; SessionAffinityState = sessionAffinityState; ProvisioningState = provisioningState; DeploymentStatus = deploymentStatus; CustomInit(); }