Language

ArmCdnModelFactory.DeepCreatedOriginGroup Method

Definition

public static Azure.ResourceManager.Cdn.Models.DeepCreatedOriginGroup DeepCreatedOriginGroup(string name = default, 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 DeepCreatedOriginGroup : string * Azure.ResourceManager.Cdn.Models.HealthProbeSettings * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<int> * Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings -> Azure.ResourceManager.Cdn.Models.DeepCreatedOriginGroup
Public Shared Function DeepCreatedOriginGroup (Optional name As String = Nothing, 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 DeepCreatedOriginGroup

Parameters

name
String

Origin group name which must be unique within the endpoint.

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 DeepCreatedOriginGroup instance for mocking.

Applies to