Delen via


OriginGroup Constructors

Definition

Overloads

OriginGroup()

Initializes a new instance of the OriginGroup class.

OriginGroup(String, String, String, SystemData, HealthProbeParameters, IList<ResourceReference>, Nullable<Int32>, ResponseBasedOriginErrorDetectionParameters, String, String)

Initializes a new instance of the OriginGroup class.

OriginGroup()

Initializes a new instance of the OriginGroup class.

public OriginGroup ();
Public Sub New ()

Applies to

OriginGroup(String, String, String, SystemData, HealthProbeParameters, IList<ResourceReference>, Nullable<Int32>, ResponseBasedOriginErrorDetectionParameters, String, String)

Initializes a new instance of the OriginGroup class.

public OriginGroup (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, Microsoft.Azure.Management.Cdn.Models.HealthProbeParameters healthProbeSettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> origins = default, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes = default, Microsoft.Azure.Management.Cdn.Models.ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings = default, string resourceState = default, string provisioningState = default);
new Microsoft.Azure.Management.Cdn.Models.OriginGroup : string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * Microsoft.Azure.Management.Cdn.Models.HealthProbeParameters * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.ResourceReference> * Nullable<int> * Microsoft.Azure.Management.Cdn.Models.ResponseBasedOriginErrorDetectionParameters * string * string -> Microsoft.Azure.Management.Cdn.Models.OriginGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional healthProbeSettings As HealthProbeParameters = Nothing, Optional origins As IList(Of ResourceReference) = Nothing, Optional trafficRestorationTimeToHealedOrNewEndpointsInMinutes As Nullable(Of Integer) = Nothing, Optional responseBasedOriginErrorDetectionSettings As ResponseBasedOriginErrorDetectionParameters = Nothing, Optional resourceState As String = Nothing, Optional provisioningState As String = Nothing)

Parameters

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

systemData
SystemData
healthProbeSettings
HealthProbeParameters

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

origins
IList<ResourceReference>

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
ResponseBasedOriginErrorDetectionParameters

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

resourceState
String

Resource status of the origin group. Possible values include: 'Creating', 'Active', 'Deleting'

provisioningState
String

Provisioning status of the origin group.

Applies to