public interface GeoBackupPoliciesClient
| Modifier and Type | Method and Description |
|---|---|
GeoBackupPolicyInner |
createOrUpdate(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName,
GeoBackupPolicyState state)
Updates a database geo backup policy.
|
Mono<GeoBackupPolicyInner> |
createOrUpdateAsync(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName,
GeoBackupPolicyState state)
Updates a database geo backup policy.
|
com.azure.core.http.rest.Response<GeoBackupPolicyInner> |
createOrUpdateWithResponse(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName,
GeoBackupPolicyState state,
com.azure.core.util.Context context)
Updates a database geo backup policy.
|
Mono<com.azure.core.http.rest.Response<GeoBackupPolicyInner>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName,
GeoBackupPolicyState state)
Updates a database geo backup policy.
|
GeoBackupPolicyInner |
get(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName)
Gets a geo backup policy.
|
Mono<GeoBackupPolicyInner> |
getAsync(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName)
Gets a geo backup policy.
|
com.azure.core.http.rest.Response<GeoBackupPolicyInner> |
getWithResponse(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName,
com.azure.core.util.Context context)
Gets a geo backup policy.
|
Mono<com.azure.core.http.rest.Response<GeoBackupPolicyInner>> |
getWithResponseAsync(String resourceGroupName,
String serverName,
String databaseName,
GeoBackupPolicyName geoBackupPolicyName)
Gets a geo backup policy.
|
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName)
Returns a list of geo backup policies.
|
com.azure.core.http.rest.PagedIterable<GeoBackupPolicyInner> |
listByDatabase(String resourceGroupName,
String serverName,
String databaseName,
com.azure.core.util.Context context)
Returns a list of geo backup policies.
|
com.azure.core.http.rest.PagedFlux<GeoBackupPolicyInner> |
listByDatabaseAsync(String resourceGroupName,
String serverName,
String databaseName)
Returns a list of geo backup policies.
|
Mono<com.azure.core.http.rest.Response<GeoBackupPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyState state)
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.geoBackupPolicyName - The name of the geo backup policy.state - The state of the geo backup policy.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<GeoBackupPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyState state)
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.geoBackupPolicyName - The name of the geo backup policy.state - The state of the geo backup policy.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.GeoBackupPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyState state)
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.geoBackupPolicyName - The name of the geo backup policy.state - The state of the geo backup policy.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<GeoBackupPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyState state, 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.databaseName - The name of the database.geoBackupPolicyName - The name of the geo backup policy.state - The state of the geo backup policy.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<GeoBackupPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)
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.geoBackupPolicyName - The name of the geo backup policy.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<GeoBackupPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)
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.geoBackupPolicyName - The name of the geo backup policy.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.GeoBackupPolicyInner get(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)
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.geoBackupPolicyName - The name of the geo backup policy.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<GeoBackupPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, 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.databaseName - The name of the database.geoBackupPolicyName - The name of the geo backup policy.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<GeoBackupPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)
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.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<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)
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.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<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, 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.databaseName - The name of the database.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.