共用方式為


New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject

建立 AfdDomainHttpsParameters 的記憶體內部物件。

語法

New-AzFrontDoorCdnCustomDomainTlsSettingParametersObject
   -CertificateType <String>
   [-CipherSuiteSetType <String>]
   [-CustomizedCipherSuiteSet <IAfdDomainHttpsCustomizedCipherSuiteSet>]
   [-MinimumTlsVersion <String>]
   [-Secret <IResourceReference>]
   [<CommonParameters>]

Description

建立 AfdDomainHttpsParameters 的記憶體內部物件。

範例

範例 1:建立 AFDDomainHttpsParameters 的記憶體內部物件

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

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

建立 AFDDomainHttpsParameters 的記憶體內部物件

參數

-CertificateType

定義 SSL 憑證的來源。

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-CipherSuiteSetType

將用於 Https 加密套件集類型。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-CustomizedCipherSuiteSet

當 cipherSuiteSetType 為自訂時,將用於 Https 的自定義加密套件物件。

類型:IAfdDomainHttpsCustomizedCipherSuiteSet
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-MinimumTlsVersion

自訂加密SuiteSetType時,將用於 Https 的 TLS 通訊協定版本。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-Secret

秘密的資源參考。即subs/rg/profile/secret。

類型:IResourceReference
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

AfdDomainHttpsParameters