Get-AzApiManagementTenantAccess
取得租使用者的存取組態。
語法
Get-AzApiManagementTenantAccess
-Context <PsApiManagementContext>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApiManagementTenantAccess Cmdlet 會取得租使用者的租使用者存取設定。 金鑰不會包含在結果詳細數據中。 若要取得客戶端密碼,請使用 Get-AzApiManagementTenantAccessSecret。
範例
範例 1:取得租使用者存取設定
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementTenantAccess -Context $apimContext
此命令會取得指定內容的租使用者存取組態。
參數
-Context
指定 PsApiManagementContext 物件。
類型: | PsApiManagementContext |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |