Sdílet prostřednictvím


ArmCdnModelFactory.CdnCustomDomainData Method

Definition

Initializes a new instance of CdnCustomDomainData.

public static Azure.ResourceManager.Cdn.CdnCustomDomainData CdnCustomDomainData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string hostName = default, Azure.ResourceManager.Cdn.Models.CustomDomainResourceState? resourceState = default, Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState? customHttpsProvisioningState = default, Azure.ResourceManager.Cdn.Models.CustomHttpsAvailabilityState? customHttpsAvailabilityState = default, Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent customDomainHttpsContent = default, string validationData = default, Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState? provisioningState = default);
static member CdnCustomDomainData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.Cdn.Models.CustomDomainResourceState> * Nullable<Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.CustomHttpsAvailabilityState> * Azure.ResourceManager.Cdn.Models.CustomDomainHttpsContent * string * Nullable<Azure.ResourceManager.Cdn.Models.CustomHttpsProvisioningState> -> Azure.ResourceManager.Cdn.CdnCustomDomainData
Public Shared Function CdnCustomDomainData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional hostName As String = Nothing, Optional resourceState As Nullable(Of CustomDomainResourceState) = Nothing, Optional customHttpsProvisioningState As Nullable(Of CustomHttpsProvisioningState) = Nothing, Optional customHttpsAvailabilityState As Nullable(Of CustomHttpsAvailabilityState) = Nothing, Optional customDomainHttpsContent As CustomDomainHttpsContent = Nothing, Optional validationData As String = Nothing, Optional provisioningState As Nullable(Of CustomHttpsProvisioningState) = Nothing) As CdnCustomDomainData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

hostName
String

The host name of the custom domain. Must be a domain name.

resourceState
Nullable<CustomDomainResourceState>

Resource status of the custom domain.

customHttpsProvisioningState
Nullable<CustomHttpsProvisioningState>

Provisioning status of the custom domain.

customHttpsAvailabilityState
Nullable<CustomHttpsAvailabilityState>

Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

customDomainHttpsContent
CustomDomainHttpsContent

Certificate parameters for securing custom HTTPS Please note CustomDomainHttpsContent is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include UserManagedHttpsContent and CdnManagedHttpsContent.

validationData
String

Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.

provisioningState
Nullable<CustomHttpsProvisioningState>

Provisioning status of Custom Https of the custom domain.

Returns

A new CdnCustomDomainData instance for mocking.

Applies to