Partilhar via


ArmCdnModelFactory.FrontDoorSecretData Method

Definition

Initializes a new instance of FrontDoorSecretData.

public static Azure.ResourceManager.Cdn.FrontDoorSecretData FrontDoorSecretData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default, string profileName = default, Azure.ResourceManager.Cdn.Models.FrontDoorSecretProperties properties = default);
static member FrontDoorSecretData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> * string * Azure.ResourceManager.Cdn.Models.FrontDoorSecretProperties -> Azure.ResourceManager.Cdn.FrontDoorSecretData
Public Shared Function FrontDoorSecretData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing, Optional profileName As String = Nothing, Optional properties As FrontDoorSecretProperties = Nothing) As FrontDoorSecretData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

profileName
String

The name of the profile which holds the secret.

properties
FrontDoorSecretProperties

object which contains secret parameters Please note FrontDoorSecretProperties 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 AzureFirstPartyManagedCertificateProperties, CustomerCertificateProperties, ManagedCertificateProperties and UriSigningKeyProperties.

Returns

A new FrontDoorSecretData instance for mocking.

Applies to