Modifier

Partager via


New-AzCdnUserManagedHttpsParametersObject

Create an in-memory object for UserManagedHttpsParameters.

Syntax

New-AzCdnUserManagedHttpsParametersObject
   -CertificateSourceParameterResourceGroupName <String>
   -CertificateSourceParameterSecretName <String>
   -CertificateSourceParameterSubscriptionId <String>
   -CertificateSourceParameterVaultName <String>
   -CertificateSource <CertificateSource>
   -ProtocolType <ProtocolType>
   [-CertificateSourceParameterSecretVersion <String>]
   [-MinimumTlsVersion <MinimumTlsVersion>]
   [<CommonParameters>]

Description

Create an in-memory object for UserManagedHttpsParameters.

Examples

Example 1: Create an in-memory object for UserManagedHttpsParameters

New-AzCdnUserManagedHttpsParametersObject -CertificateSource certSource -CertificateSourceParameterResourceGroupName rgName -CertificateSourceParameterSecretName secretName -CertificateSourceParameterSubscriptionId subId -CertificateSourceParameterVaultName kvName -ProtocolType typeTest

CertificateSource MinimumTlsVersion ProtocolType
----------------- ----------------- ------------
certSource                          typeTest

Create an in-memory object for UserManagedHttpsParameters

Parameters

-CertificateSource

Defines the source of the SSL certificate.

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

-CertificateSourceParameterResourceGroupName

Resource group of the user's Key Vault containing the SSL certificate.

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

-CertificateSourceParameterSecretName

The name of Key Vault Secret (representing the full certificate PFX) in Key Vault.

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

-CertificateSourceParameterSecretVersion

The version(GUID) of Key Vault Secret in Key Vault.

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

-CertificateSourceParameterSubscriptionId

Subscription Id of the user's Key Vault containing the SSL certificate.

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

-CertificateSourceParameterVaultName

The name of the user's Key Vault containing the SSL certificate.

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

-MinimumTlsVersion

TLS protocol version that will be used for Https.

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

-ProtocolType

Defines the TLS extension protocol that is used for secure delivery.

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

Outputs

UserManagedHttpsParameters