共用方式為


New-AzManagedServicesEligibleApproverObject

為 EligibleApprover 建立記憶體內部物件。

語法

New-AzManagedServicesEligibleApproverObject
   -PrincipalId <String>
   [-PrincipalIdDisplayName <String>]
   [<CommonParameters>]

Description

為 EligibleApprover 建立記憶體內部物件。

範例

範例 1:建立 Azure Lighthouse 合格授權核准者物件

New-AzManagedServicesEligibleApproverObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Approvers group"

PrincipalId                          PrincipalIdDisplayName
-----------                          ----------------------
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Approvers group

建立 Azure Lighthouse 合格授權核准者物件。

參數

-PrincipalId

Azure Active Directory 主體的標識符。

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

-PrincipalIdDisplayName

Azure Active Directory 主體的顯示名稱。

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

輸出