New-AzFrontDoorCdnSecretCustomerCertificateParametersObject

Create an in-memory object for CustomerCertificateParameters.

Syntax

New-AzFrontDoorCdnSecretCustomerCertificateParametersObject
   -Type <SecretType>
   [-SecretSourceId <String>]
   [-SecretVersion <String>]
   [-SubjectAlternativeName <String[]>]
   [-UseLatestVersion <Boolean>]
   [<CommonParameters>]

Description

Create an in-memory object for CustomerCertificateParameters.

Examples

Example 1: Create an in-memory object for AzureFrontDoor CustomerCertificateParameters

$secretSourceId = "xxxxxxxx"
New-AzFrontDoorCdnSecretCustomerCertificateParametersObject -UseLatestVersion $true -SubjectAlternativeName @() -Type "CustomerCertificate" -SecretSourceId $secretSourceId

CertificateAuthority ExpirationDate SecretVersion Subject SubjectAlternativeName Thumbprint UseLatestVersion
-------------------- -------------- ------------- ------- ---------------------- ---------- ----------------
                                                          {}                                True

Create an in-memory object for AzureFrontDoor CustomerCertificateParameters

Parameters

-SecretSourceId

Resource ID.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SecretVersion

Version of the secret to be used.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SubjectAlternativeName

The list of SANs.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Type

The type of the secret resource.

Type:SecretType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-UseLatestVersion

Whether to use the latest version for the certificate.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

CustomerCertificateParameters