Interface SyncMembersClient
public interface SyncMembersClient
An instance of this class provides access to all the operations defined in SyncMembersClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Creates or updates a sync member.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.beginDelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Deletes a sync member.beginDelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Deletes a sync member.beginDeleteAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Deletes a sync member.beginRefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member database schema.beginRefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Refreshes a sync member database schema.beginRefreshMemberSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member database schema.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Updates an existing sync member.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncMemberInner>,SyncMemberInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Creates or updates a sync member.createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.voiddelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Deletes a sync member.voiddelete(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Deletes a sync member.deleteAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Deletes a sync member.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Deletes a sync member.get(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.getAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.com.azure.core.http.rest.Response<SyncMemberInner>getWithResponse(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Gets a sync member.Mono<com.azure.core.http.rest.Response<SyncMemberInner>>getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.com.azure.core.http.rest.PagedIterable<SyncMemberInner>listBySyncGroup(String resourceGroupName, String serverName, String databaseName, String syncGroupName) Lists sync members in the given sync group.com.azure.core.http.rest.PagedIterable<SyncMemberInner>listBySyncGroup(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context) Lists sync members in the given sync group.com.azure.core.http.rest.PagedFlux<SyncMemberInner>listBySyncGroupAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName) Lists sync members in the given sync group.com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner>listMemberSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member database schema.com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner>listMemberSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Gets a sync member database schema.com.azure.core.http.rest.PagedFlux<SyncFullSchemaPropertiesInner>listMemberSchemasAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member database schema.voidrefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member database schema.voidrefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Refreshes a sync member database schema.refreshMemberSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member database schema.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>refreshMemberSchemaWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member database schema.update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Updates an existing sync member.updateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.
-
Method Details
-
listBySyncGroupAsync
com.azure.core.http.rest.PagedFlux<SyncMemberInner> listBySyncGroupAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName) Lists sync members in the given 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 list of Azure SQL Database sync members 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.
-
listBySyncGroup
com.azure.core.http.rest.PagedIterable<SyncMemberInner> listBySyncGroup(String resourceGroupName, String serverName, String databaseName, String syncGroupName) Lists sync members in the given 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 list of Azure SQL Database sync members 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.
-
listBySyncGroup
com.azure.core.http.rest.PagedIterable<SyncMemberInner> listBySyncGroup(String resourceGroupName, String serverName, String databaseName, String syncGroupName, com.azure.core.util.Context context) Lists sync members in the given 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 list of Azure SQL Database sync members 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<SyncMemberInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- a sync member along with
Responseon successful completion ofMono. - 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<SyncMemberInner> getAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- a sync member 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<SyncMemberInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Gets a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.context- The context to associate with this operation.- Returns:
- a sync member 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
SyncMemberInner get(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- a sync member.
- 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, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member along with
Responseon successful completion ofMono. - 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<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- the
PollerFluxfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- the
SyncPollerfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner>,SyncMemberInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member 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
SyncMemberInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member.
- 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
SyncMemberInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Creates or updates a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.context- The context to associate with this operation.- Returns:
- an Azure SQL Database sync member.
- 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, String syncMemberName) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
Responseon successful completion ofMono. - 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, String syncMemberName) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
PollerFluxfor 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, String syncMemberName) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
SyncPollerfor 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, String syncMemberName, com.azure.core.util.Context context) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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, String syncMemberName) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- A
Monothat 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, String syncMemberName) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- 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, String syncMemberName, com.azure.core.util.Context context) Deletes a sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.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, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member along with
Responseon successful completion ofMono. - 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<SyncMemberInner>,SyncMemberInner> beginUpdateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- the
PollerFluxfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner>,SyncMemberInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- the
SyncPollerfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner>,SyncMemberInner> beginUpdate(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an Azure SQL Database sync member. - 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<SyncMemberInner> updateAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member 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
SyncMemberInner update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.- Returns:
- an Azure SQL Database sync member.
- 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
SyncMemberInner update(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, SyncMemberInner parameters, com.azure.core.util.Context context) Updates an existing sync member.- 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 on which the sync member is hosted.syncMemberName- The name of the sync member.parameters- The requested sync member resource state.context- The context to associate with this operation.- Returns:
- an Azure SQL Database sync member.
- 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.
-
refreshMemberSchemaWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> refreshMemberSchemaWithResponseAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
Responseon successful completion ofMono. - 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.
-
beginRefreshMemberSchemaAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshMemberSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
PollerFluxfor 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.
-
beginRefreshMemberSchema
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- the
SyncPollerfor 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.
-
beginRefreshMemberSchema
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRefreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor 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.
-
refreshMemberSchemaAsync
Mono<Void> refreshMemberSchemaAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- A
Monothat 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.
-
refreshMemberSchema
void refreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- 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.
-
refreshMemberSchema
void refreshMemberSchema(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Refreshes a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.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.
-
listMemberSchemasAsync
com.azure.core.http.rest.PagedFlux<SyncFullSchemaPropertiesInner> listMemberSchemasAsync(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- a sync member database schema 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.
-
listMemberSchemas
com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner> listMemberSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName) Gets a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.- Returns:
- a sync member database schema 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.
-
listMemberSchemas
com.azure.core.http.rest.PagedIterable<SyncFullSchemaPropertiesInner> listMemberSchemas(String resourceGroupName, String serverName, String databaseName, String syncGroupName, String syncMemberName, com.azure.core.util.Context context) Gets a sync member 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 on which the sync member is hosted.syncMemberName- The name of the sync member.context- The context to associate with this operation.- Returns:
- a sync member database schema 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.
-