def get_sync_state(resource_group_name, service_name, custom_headers:nil)
      response = get_sync_state_async(resource_group_name, service_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
def get_sync_state(resource_group_name, service_name, custom_headers:nil)
      response = get_sync_state_async(resource_group_name, service_name, custom_headers:custom_headers).value!
      response.body unless response.nil?
    end
Gets the status of the most recent synchronization between the configuration
 database and the Git repository.

 @param resource_group_name [String] The name of the resource group.
 @param service_name [String] The name of the API Management service.
 @param custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [TenantConfigurationSyncStateContract] operation results.