你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzManagedServicesEligibleApproverObject
Create an in-memory object for EligibleApprover.
Syntax
New-AzManagedServicesEligibleApproverObject
-PrincipalId <String>
[-PrincipalIdDisplayName <String>]
[<CommonParameters>]
Description
Create an in-memory object for EligibleApprover.
Examples
Example 1: Creates Azure Lighthouse eligible authorization approver object
New-AzManagedServicesEligibleApproverObject -PrincipalId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -PrincipalIdDisplayName "Approvers group"
PrincipalId PrincipalIdDisplayName
----------- ----------------------
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Approvers group
Creates Azure Lighthouse eligible authorization approver object.
Parameters
-PrincipalId
The identifier of the Azure Active Directory principal.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PrincipalIdDisplayName
The display name of the Azure Active Directory principal.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |