Get-AzApiManagementTenantSyncState
取得組態資料庫與 Git 存放庫之間最近同步處理的狀態。
Syntax
Get-AzApiManagementTenantSyncState
-Context <PsApiManagementContext>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApiManagementTenantSyncState Cmdlet 會取得組態資料庫與 Git 存放庫之間最近同步處理的狀態。
範例
範例 1:取得最近同步處理的狀態
$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
Get-AzApiManagementTenantSyncState -Context $apimContext
此命令會取得組態資料庫與 Git 存放庫之間最近同步處理的狀態。
參數
-Context
指定 PsApiManagementContext 物件。
Type: | PsApiManagementContext |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |