Dela via


ApiManagementServiceResource.GetTenantConfigurationSyncStateAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{configurationName}/syncState
  • Operation Id: TenantConfiguration_GetSyncState
  • Default Api Version: 2021-08-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.TenantConfigurationSyncStateContract>> GetTenantConfigurationSyncStateAsync (Azure.ResourceManager.ApiManagement.Models.ConfigurationName configurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTenantConfigurationSyncStateAsync : Azure.ResourceManager.ApiManagement.Models.ConfigurationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.TenantConfigurationSyncStateContract>>
override this.GetTenantConfigurationSyncStateAsync : Azure.ResourceManager.ApiManagement.Models.ConfigurationName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.Models.TenantConfigurationSyncStateContract>>
Public Overridable Function GetTenantConfigurationSyncStateAsync (configurationName As ConfigurationName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TenantConfigurationSyncStateContract))

Parameters

configurationName
ConfigurationName

The identifier of the Git Configuration Operation.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to