Delen via


TenantConfigurationOperationsExtensions.GetSyncStateAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.TenantConfigurationSyncStateContract> GetSyncStateAsync (this Microsoft.Azure.Management.ApiManagement.ITenantConfigurationOperations operations, string resourceGroupName, string serviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetSyncStateAsync : Microsoft.Azure.Management.ApiManagement.ITenantConfigurationOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ApiManagement.Models.TenantConfigurationSyncStateContract>
<Extension()>
Public Function GetSyncStateAsync (operations As ITenantConfigurationOperations, resourceGroupName As String, serviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TenantConfigurationSyncStateContract)

Parameters

operations
ITenantConfigurationOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to