共用方式為


ArmCdnModelFactory.CustomerCertificateProperties Method

Definition

Initializes a new instance of CustomerCertificateProperties.

public static Azure.ResourceManager.Cdn.Models.CustomerCertificateProperties CustomerCertificateProperties (Azure.Core.ResourceIdentifier secretSourceId = default, string secretVersion = default, bool? useLatestVersion = default, string subject = default, DateTimeOffset? expiresOn = default, string certificateAuthority = default, System.Collections.Generic.IEnumerable<string> subjectAlternativeNames = default, string thumbprint = default);
static member CustomerCertificateProperties : Azure.Core.ResourceIdentifier * string * Nullable<bool> * string * Nullable<DateTimeOffset> * string * seq<string> * string -> Azure.ResourceManager.Cdn.Models.CustomerCertificateProperties
Public Shared Function CustomerCertificateProperties (Optional secretSourceId As ResourceIdentifier = Nothing, Optional secretVersion As String = Nothing, Optional useLatestVersion As Nullable(Of Boolean) = Nothing, Optional subject As String = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional certificateAuthority As String = Nothing, Optional subjectAlternativeNames As IEnumerable(Of String) = Nothing, Optional thumbprint As String = Nothing) As CustomerCertificateProperties

Parameters

secretSourceId
ResourceIdentifier

Resource reference to the Azure Key Vault certificate. Expected to be in format of /subscriptions/{​​​​​​​​​subscriptionId}​​​​​​​​​/resourceGroups/{​​​​​​​​​resourceGroupName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/providers/Microsoft.KeyVault/vaults/{vaultName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​/secrets/{certificateName}​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​.

secretVersion
String

Version of the secret to be used.

useLatestVersion
Nullable<Boolean>

Whether to use the latest version for the certificate.

subject
String

Subject name in the certificate.

expiresOn
Nullable<DateTimeOffset>

Certificate expiration date.

certificateAuthority
String

Certificate issuing authority.

subjectAlternativeNames
IEnumerable<String>

The list of SANs.

thumbprint
String

Certificate thumbprint.

Returns

A new CustomerCertificateProperties instance for mocking.

Applies to