Language

ArmCdnModelFactory.CdnOriginGroupPatch Method

Definition

public static Azure.ResourceManager.Cdn.Models.CdnOriginGroupPatch CdnOriginGroupPatch(Azure.ResourceManager.Cdn.Models.HealthProbeSettings healthProbeSettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> origins = default, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default, Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings responseBasedOriginErrorDetectionSettings = default);
static member CdnOriginGroupPatch : Azure.ResourceManager.Cdn.Models.HealthProbeSettings * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<int> * Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings -> Azure.ResourceManager.Cdn.Models.CdnOriginGroupPatch
Public Shared Function CdnOriginGroupPatch (Optional healthProbeSettings As HealthProbeSettings = Nothing, Optional origins As IEnumerable(Of WritableSubResource) = Nothing, Optional trafficRestorationTimeToHealedOrNewEndpointsInMinutes As Nullable(Of Integer) = Nothing, Optional responseBasedOriginErrorDetectionSettings As ResponseBasedOriginErrorDetectionSettings = Nothing) As CdnOriginGroupPatch

Parameters

healthProbeSettings
HealthProbeSettings

Health probe settings to the origin that is used to determine the health of the origin.

origins
IEnumerable<WritableSubResource>

The source of the content being delivered via CDN within given origin group.

trafficRestorationTimeToHealedOrNewEndpointsInMinutes
Nullable<Int32>

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.

responseBasedOriginErrorDetectionSettings
ResponseBasedOriginErrorDetectionSettings

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

Returns

A new CdnOriginGroupPatch instance for mocking.

Applies to