Interface SyncGroupsClient


public interface SyncGroupsClient
An instance of this class provides access to all the operations defined in SyncGroupsClient.
  • Method Details

    • listSyncDatabaseIdsAsync

      com.azure.core.http.rest.PagedFlux<SyncDatabaseIdPropertiesInner> listSyncDatabaseIdsAsync(String locationName)
      Gets a collection of sync database ids.
      Parameters:
      locationName - The name of the region where the resource is located.
      Returns:
      a collection of sync database ids as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listSyncDatabaseIds

      com.azure.core.http.rest.PagedIterable<SyncDatabaseIdPropertiesInner> listSyncDatabaseIds(String locationName)
      Gets a collection of sync database ids.
      Parameters:
      locationName - The name of the region where the resource is located.
      Returns:
      a collection of sync database ids as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listSyncDatabaseIds

      com.azure.core.http.rest.PagedIterable<SyncDatabaseIdPropertiesInner> listSyncDatabaseIds(String locationName, com.azure.core.util.Context context)
      Gets a collection of sync database ids.
      Parameters:
      locationName - The name of the region where the resource is located.
      context - The context to associate with this operation.
      Returns:
      a collection of sync database ids as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByDatabaseAsync

      com.azure.core.http.rest.PagedFlux<SyncGroupInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
      Lists sync groups under a hub database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      Returns:
      a list of sync groups as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<SyncGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
      Lists sync groups under a hub database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      Returns:
      a list of sync groups as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByDatabase

      com.azure.core.http.rest.PagedIterable<SyncGroupInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, com.azure.core.util.Context context)
      Lists sync groups under a hub database.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      context - The context to associate with this operation.
      Returns:
      a list of sync groups as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SyncGroupInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Gets a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      a sync group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<SyncGroupInner> getAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Gets a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      a sync group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<SyncGroupInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Gets a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      a sync group along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      SyncGroupInner get(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Gets a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      a sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      the PollerFlux for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      the SyncPoller for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<SyncGroupInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      SyncGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      SyncGroupInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters, com.azure.core.util.Context context)
      Creates or updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      context - The context to associate with this operation.
      Returns:
      an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Deletes a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      the PollerFlux for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      the SyncPoller for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncGroupInner>,SyncGroupInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters, com.azure.core.util.Context context)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateAsync

      Mono<SyncGroupInner> updateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      SyncGroupInner update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      Returns:
      an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      SyncGroupInner update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, SyncGroupInner parameters, com.azure.core.util.Context context)
      Updates a sync group.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      parameters - The requested sync group resource state.
      context - The context to associate with this operation.
      Returns:
      an Azure SQL Database sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • cancelSyncWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> cancelSyncWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Cancels a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • cancelSyncAsync

      Mono<Void> cancelSyncAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Cancels a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • cancelSyncWithResponse

      com.azure.core.http.rest.Response<Void> cancelSyncWithResponse(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Cancels a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • cancelSync

      void cancelSync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Cancels a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listHubSchemasAsync

      com.azure.core.http.rest.PagedFlux<SyncFullSchemaPropertiesInner> listHubSchemasAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Gets a collection of hub database schemas.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      a collection of hub database schemas as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listHubSchemas

      com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner> listHubSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Gets a collection of hub database schemas.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      a collection of hub database schemas as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listHubSchemas

      com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner> listHubSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Gets a collection of hub database schemas.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      a collection of hub database schemas as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listLogsAsync

      com.azure.core.http.rest.PagedFlux<SyncGroupLogPropertiesInner> listLogsAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String startTime, String endTime, SyncGroupsType type, String continuationToken)
      Gets a collection of sync group logs.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      startTime - Get logs generated after this time.
      endTime - Get logs generated before this time.
      type - The types of logs to retrieve.
      continuationToken - The continuation token for this operation.
      Returns:
      a collection of sync group logs as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listLogsAsync

      com.azure.core.http.rest.PagedFlux<SyncGroupLogPropertiesInner> listLogsAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String startTime, String endTime, SyncGroupsType type)
      Gets a collection of sync group logs.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      startTime - Get logs generated after this time.
      endTime - Get logs generated before this time.
      type - The types of logs to retrieve.
      Returns:
      a collection of sync group logs as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listLogs

      com.azure.core.http.rest.PagedIterable<SyncGroupLogPropertiesInner> listLogs(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String startTime, String endTime, SyncGroupsType type)
      Gets a collection of sync group logs.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      startTime - Get logs generated after this time.
      endTime - Get logs generated before this time.
      type - The types of logs to retrieve.
      Returns:
      a collection of sync group logs as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listLogs

      com.azure.core.http.rest.PagedIterable<SyncGroupLogPropertiesInner> listLogs(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String startTime, String endTime, SyncGroupsType type, String continuationToken, com.azure.core.util.Context context)
      Gets a collection of sync group logs.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      startTime - Get logs generated after this time.
      endTime - Get logs generated before this time.
      type - The types of logs to retrieve.
      continuationToken - The continuation token for this operation.
      context - The context to associate with this operation.
      Returns:
      a collection of sync group logs as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshHubSchemaWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> refreshHubSchemaWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshHubSchemaAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshHubSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshHubSchema

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshHubSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginRefreshHubSchema

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshHubSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshHubSchemaAsync

      Mono<Void> refreshHubSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshHubSchema

      void refreshHubSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • refreshHubSchema

      void refreshHubSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Refreshes a hub database schema.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • triggerSyncWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Void>> triggerSyncWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Triggers a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • triggerSyncAsync

      Mono<Void> triggerSyncAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Triggers a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • triggerSyncWithResponse

      com.azure.core.http.rest.Response<Void> triggerSyncWithResponse(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context)
      Triggers a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • triggerSync

      void triggerSync(String resourceGroupName, String serverName, String databaseName, String syncGroupName)
      Triggers a sync group synchronization.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serverName - The name of the server.
      databaseName - The name of the database on which the sync group is hosted.
      syncGroupName - The name of the sync group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.