< Back

Get-AzureRmApiManagementTenantSyncState

Tue Jan 29, 2019 9:29 pm

NAME Get-AzureRmApiManagementTenantSyncState



SYNOPSIS

Gets the status of the most recent synchronization between the configuration database and the Git repository.





SYNTAX

Get-AzureRmApiManagementTenantSyncState -Context <PsApiManagementContext> [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmApiManagementTenantSyncState cmdlet gets the status of the most recent synchronization between the configuration database and the

Git repository.





PARAMETERS

-Context <PsApiManagementContext>

Specifies a PsApiManagementContext object.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementAccessInformation







NOTES









Example 1: Get the status of the most recent synchronization



PS C:\\>$apimContext = New-AzureRmApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"

PS C:\\>Get-AzureRmApiManagementTenantSyncState -Context $apimContext



This command gets the status of the most recent synchronization between the configuration database and the Git repository.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... tsyncstate