New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject

Create an in-memory object for AFDDomainHttpsParameters.

Syntax

New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject
   -CertificateType <AfdCertificateType>
   [-MinimumTlsVersion <AfdMinimumTlsVersion>]
   [-Secret <IResourceReference>]
   [<CommonParameters>]

Description

Create an in-memory object for AFDDomainHttpsParameters.

Examples

Example 1: Create an in-memory object for AFDDomainHttpsParameters

$secret =  Get-AzFrontDoorCdnSecret -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -Name secret001
$secretResoure = New-AzFrontDoorCdnResourceReferenceObject -Id $secret.Id
New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject -CertificateType "CustomerCertificate" -MinimumTlsVersion "TLS12" -Secret $secretResoure

CertificateType     MinimumTlsVersion
---------------     -----------------
CustomerCertificate TLS12

Create an in-memory object for AFDDomainHttpsParameters

Parameters

-CertificateType

Defines the source of the SSL certificate.

Type:AfdCertificateType
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:AfdMinimumTlsVersion
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Secret

Resource reference to the secret. ie. subs/rg/profile/secret. To construct, see NOTES section for SECRET properties and create a hash table.

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

Outputs

AfdDomainHttpsParameters