public interface SyncAgentsClient
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId)
Creates or updates a sync agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> |
beginCreateOrUpdate(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId,
com.azure.core.util.Context context)
Creates or updates a sync agent.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId)
Creates or updates a sync agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String syncAgentName)
Deletes a sync agent.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String serverName,
String syncAgentName,
com.azure.core.util.Context context)
Deletes a sync agent.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Deletes a sync agent.
|
SyncAgentInner |
createOrUpdate(String resourceGroupName,
String serverName,
String syncAgentName)
Creates or updates a sync agent.
|
SyncAgentInner |
createOrUpdate(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId)
Creates or updates a sync agent.
|
SyncAgentInner |
createOrUpdate(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId,
com.azure.core.util.Context context)
Creates or updates a sync agent.
|
Mono<SyncAgentInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Creates or updates a sync agent.
|
Mono<SyncAgentInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId)
Creates or updates a sync agent.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String syncAgentName,
String syncDatabaseId)
Creates or updates a sync agent.
|
void |
delete(String resourceGroupName,
String serverName,
String syncAgentName)
Deletes a sync agent.
|
void |
delete(String resourceGroupName,
String serverName,
String syncAgentName,
com.azure.core.util.Context context)
Deletes a sync agent.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Deletes a sync agent.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Deletes a sync agent.
|
SyncAgentKeyPropertiesInner |
generateKey(String resourceGroupName,
String serverName,
String syncAgentName)
Generates a sync agent key.
|
Mono<SyncAgentKeyPropertiesInner> |
generateKeyAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Generates a sync agent key.
|
com.azure.core.http.rest.Response<SyncAgentKeyPropertiesInner> |
generateKeyWithResponse(String resourceGroupName,
String serverName,
String syncAgentName,
com.azure.core.util.Context context)
Generates a sync agent key.
|
Mono<com.azure.core.http.rest.Response<SyncAgentKeyPropertiesInner>> |
generateKeyWithResponseAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Generates a sync agent key.
|
SyncAgentInner |
get(String resourceGroupName,
String serverName,
String syncAgentName)
Gets a sync agent.
|
Mono<SyncAgentInner> |
getAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Gets a sync agent.
|
com.azure.core.http.rest.Response<SyncAgentInner> |
getWithResponse(String resourceGroupName,
String serverName,
String syncAgentName,
com.azure.core.util.Context context)
Gets a sync agent.
|
Mono<com.azure.core.http.rest.Response<SyncAgentInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Gets a sync agent.
|
com.azure.core.http.rest.PagedIterable<SyncAgentInner> |
listByServer(String resourceGroupName,
String serverName)
Lists sync agents in a server.
|
com.azure.core.http.rest.PagedIterable<SyncAgentInner> |
listByServer(String resourceGroupName,
String serverName,
com.azure.core.util.Context context)
Lists sync agents in a server.
|
com.azure.core.http.rest.PagedFlux<SyncAgentInner> |
listByServerAsync(String resourceGroupName,
String serverName)
Lists sync agents in a server.
|
com.azure.core.http.rest.PagedIterable<SyncAgentLinkedDatabaseInner> |
listLinkedDatabases(String resourceGroupName,
String serverName,
String syncAgentName)
Lists databases linked to a sync agent.
|
com.azure.core.http.rest.PagedIterable<SyncAgentLinkedDatabaseInner> |
listLinkedDatabases(String resourceGroupName,
String serverName,
String syncAgentName,
com.azure.core.util.Context context)
Lists databases linked to a sync agent.
|
com.azure.core.http.rest.PagedFlux<SyncAgentLinkedDatabaseInner> |
listLinkedDatabasesAsync(String resourceGroupName,
String serverName,
String syncAgentName)
Lists databases linked to a sync agent.
|
Mono<com.azure.core.http.rest.Response<SyncAgentInner>> getWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.Mono<SyncAgentInner> getAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.SyncAgentInner get(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.http.rest.Response<SyncAgentInner> getWithResponse(String resourceGroupName, String serverName, String syncAgentName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> beginCreateOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<SyncAgentInner>,SyncAgentInner> beginCreateOrUpdate(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.context - The context to associate with this operation.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.Mono<SyncAgentInner> createOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.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.Mono<SyncAgentInner> createOrUpdateAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.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.SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName, String syncDatabaseId, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.syncDatabaseId - ARM resource id of the sync database in the sync agent.context - The context to associate with this operation.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.SyncAgentInner createOrUpdate(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String serverName, String syncAgentName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.context - The context to associate with this operation.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.Mono<Void> deleteAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.void delete(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.void delete(String resourceGroupName, String serverName, String syncAgentName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<SyncAgentInner> listByServerAsync(String resourceGroupName, String serverName)
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 on which the sync agent is hosted.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.com.azure.core.http.rest.PagedIterable<SyncAgentInner> listByServer(String resourceGroupName, String serverName)
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 on which the sync agent is hosted.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.com.azure.core.http.rest.PagedIterable<SyncAgentInner> listByServer(String resourceGroupName, String serverName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.context - The context to associate with this operation.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.Mono<com.azure.core.http.rest.Response<SyncAgentKeyPropertiesInner>> generateKeyWithResponseAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.Mono<SyncAgentKeyPropertiesInner> generateKeyAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.SyncAgentKeyPropertiesInner generateKey(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.http.rest.Response<SyncAgentKeyPropertiesInner> generateKeyWithResponse(String resourceGroupName, String serverName, String syncAgentName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.context - The context to associate with this operation.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.com.azure.core.http.rest.PagedFlux<SyncAgentLinkedDatabaseInner> listLinkedDatabasesAsync(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.http.rest.PagedIterable<SyncAgentLinkedDatabaseInner> listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.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.com.azure.core.http.rest.PagedIterable<SyncAgentLinkedDatabaseInner> listLinkedDatabases(String resourceGroupName, String serverName, String syncAgentName, com.azure.core.util.Context context)
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 on which the sync agent is hosted.syncAgentName - The name of the sync agent.context - The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.