Get-AzSystemAssignedIdentity
取得指定的 RP 範圍下可用的 systemAssignedIdentity。
語法
Default (預設值)
Get-AzSystemAssignedIdentity
-Scope <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得指定的 RP 範圍下可用的 systemAssignedIdentity。
範例
範例 1:取得指定 RP 範圍下可用的系統指派身分識別
Get-AzSystemAssignedIdentity -Scope "/subscriptions/00000000-0000-0000-00000000000/resourcegroups/lucas-rg-test/providers/Microsoft.Web/sites/functionportal01"
Name Location ResourceGroupName
---- -------- -----------------
ubuntu-portal01 eastus azure-rg-test
此命令獲取在指定RP範圍內可用的系統分配身份。
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
參數屬性
| 類型: | PSObject |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | AzureRMContext, AzureCredential |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-Scope
資源的資源提供者範圍。 受控識別所延伸的父資源。
參數屬性
| 類型: | String |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。