你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzPurviewAccount
获取一个帐户
语法
Get-AzPurviewAccount
[-SubscriptionId <String[]>]
[-SkipToken <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPurviewAccount
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPurviewAccount
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-SkipToken <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzPurviewAccount
-InputObject <IPurviewIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取一个帐户
示例
示例 1:列出所有 Purview 帐户
Get-AzPurviewAccount
IdentityPrincipalId IdentityTenantId IdentityType Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType
------------------- ---------------- ------------ -------- ---- ------------------- ------------------- --------
xxxxxxxx-a087-43aa-8a7f-c17a4bbd4d36 xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus pvac 8/4/2021 8:34:28 AM xxx@microsoft.com User
xxxxxxxx-bbe7-4506-a9c4-4d602d8e4e1c xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus purview-test 8/9/2021 9:38:47 AM xxxxxxxxx@microsoft.com User
xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7 xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus test-pa 8/17/2021 6:18:57 AM xxxxxxxxxx@microsoft.com User
列出所有 purview 帐户。
示例 2:按资源组名称和名称获取 Purview 帐户
Get-AzPurviewAccount -Name test-pa -ResourceGroupName test-rg
IdentityPrincipalId IdentityTenantId IdentityType Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt
------------------- ---------------- ------------ -------- ---- ------------------- ------------------- ----------------------- -----------------
xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7 xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus test-pa 8/17/2021 6:18:57 AM xxxxxxxxxx@microsoft.com User 8/17/2021 6:18:5…
获取资源组 test-pa 中的 purview 帐户名称 test-rg
示例 3:列出指定资源组中的 Purview 帐户
Get-AzPurviewAccount -ResourceGroupName test-rg
IdentityPrincipalId IdentityTenantId IdentityType Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt
------------------- ---------------- ------------ -------- ---- ------------------- ------------------- ----------------------- -----------------
xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7 xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus test-pa 8/17/2021 6:18:57 AM xxxxxxxxxx@microsoft.com User 8/17/2021 6:18:5…
列出资源组 test-pa 中的 purview 帐户
示例 4:按 InputObject 获取 Purview 帐户
$got = Get-AzPurviewAccount -Name test-pa -ResourceGroupName test-rg
Get-AzADDomainService -InputObject $got
IdentityPrincipalId IdentityTenantId IdentityType Location Name SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt
------------------- ---------------- ------------ -------- ---- ------------------- ------------------- ----------------------- -----------------
xxxxxxxx-7956-4978-87e8-9ddd82cfe2b7 xxxxxxxx-38d6-4fb2-bad9-b7b93a3e9c5a SystemAssigned eastus test-pa 8/17/2021 6:18:57 AM xxxxxxxxxx@microsoft.com User 8/17/2021 6:18:5…
按 InputObject 获取 purview 帐户
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
Type: | IPurviewIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
帐户的名称。
Type: | String |
Aliases: | AccountName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
资源组名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkipToken
跳过令牌。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
订阅标识符
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
输入
输出
备注
别名
复杂参数属性
若要创建下面所述的参数,请构造一个包含相应属性的哈希表。 有关哈希表的信息,请运行 Get-Help about_Hash_Tables。
INPUTOBJECT <IPurviewIdentity>
:标识参数
[AccountName <String>]
:帐户的名称。[GroupId <String>]
:组标识符。[Id <String>]
:资源标识路径[PrivateEndpointConnectionName <String>]
:专用终结点连接的名称。[ResourceGroupName <String>]
:资源组名称。[SubscriptionId <String>]
:订阅标识符
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈