共用方式為


Get-AzContainerAppManagedCert

取得指定的受控憑證。

語法

Get-AzContainerAppManagedCert
   -EnvName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppManagedCert
   -EnvName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppManagedCert
   -Name <String>
   -ManagedEnvironmentInputObject <IAppIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzContainerAppManagedCert
   -InputObject <IAppIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得指定的受控憑證。

範例

範例 1:取得指定的受控憑證。

Get-AzContainerAppManagedCert -EnvName azps-env -Name azps-managedcert -ResourceGroupName azps_test_group_app

Name             SubjectName   Location ResourceGroupName   DomainControlValidation
----             -----------   -------- -----------------   -----------------------
azps-managedcert mycertweb.com East US  azps_test_group_app TXT

取得指定的受控憑證。

範例 2:取得指定的受控憑證。

Get-AzContainerAppManagedCert -EnvName azps-env -ResourceGroupName azps_test_group_app

Name             SubjectName   Location ResourceGroupName   DomainControlValidation
----             -----------   -------- -----------------   -----------------------
azps-managedcert mycertweb.com East US  azps_test_group_app TXT

取得指定的受控憑證。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-EnvName

受管理環境的名稱。

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

-InputObject

Identity 參數

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

-ManagedEnvironmentInputObject

Identity 參數

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

-Name

受控憑證的名稱。

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

-ResourceGroupName

資源群組的名稱。 名稱不區分大小寫。

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

-SubscriptionId

目標訂用帳戶的標識碼。

類型:String[]
Position:Named
預設值:(Get-AzContext).Subscription.Id
必要:False
接受管線輸入:False
接受萬用字元:False

輸入

IAppIdentity

輸出

IManagedCertificate