共用方式為


ArmCdnModelFactory.CdnOriginGroupData Method

Definition

Initializes a new instance of CdnOriginGroupData.

public static Azure.ResourceManager.Cdn.CdnOriginGroupData CdnOriginGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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, Azure.ResourceManager.Cdn.Models.OriginGroupResourceState? resourceState = default, Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState? provisioningState = default);
static member CdnOriginGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.Cdn.Models.HealthProbeSettings * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<int> * Azure.ResourceManager.Cdn.Models.ResponseBasedOriginErrorDetectionSettings * Nullable<Azure.ResourceManager.Cdn.Models.OriginGroupResourceState> * Nullable<Azure.ResourceManager.Cdn.Models.OriginGroupProvisioningState> -> Azure.ResourceManager.Cdn.CdnOriginGroupData
Public Shared Function CdnOriginGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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, Optional resourceState As Nullable(Of OriginGroupResourceState) = Nothing, Optional provisioningState As Nullable(Of OriginGroupProvisioningState) = Nothing) As CdnOriginGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

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.

resourceState
Nullable<OriginGroupResourceState>

Resource status of the origin group.

provisioningState
Nullable<OriginGroupProvisioningState>

Provisioning status of the origin group.

Returns

A new CdnOriginGroupData instance for mocking.

Applies to