Edit

Share via


New-AzFrontDoorCdnSecretCustomerCertificateParametersObject

Create an in-memory object for CustomerCertificateParameters.

Syntax

Default (Default)

New-AzFrontDoorCdnSecretCustomerCertificateParametersObject
    [-SecretSourceId <String>]
    [-SecretVersion <String>]
    [-SubjectAlternativeName <String[]>]
    [-UseLatestVersion <Boolean>]
    [-Type <String>]
    [<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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SecretVersion

Version of the secret to be used.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubjectAlternativeName

The list of SANs.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Type

The Type of Certificate.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-UseLatestVersion

Whether to use the latest version for the certificate.

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

CustomerCertificateParameters