共用方式為


GeoBackupPoliciesClient Interface

public interface GeoBackupPoliciesClient

An instance of this class provides access to all the operations defined in GeoBackupPoliciesClient.

Method Summary

Modifier and Type Method and Description
abstract GeoBackupPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

abstract Mono<GeoBackupPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

abstract Response<GeoBackupPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters, Context context)

Updates a database geo backup policy.

abstract Mono<Response<GeoBackupPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

abstract GeoBackupPolicyInner get(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

abstract Mono<GeoBackupPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

abstract Response<GeoBackupPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, Context context)

Gets a geo backup policy.

abstract Mono<Response<GeoBackupPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

abstract PagedIterable<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Returns a list of geo backup policies.

abstract PagedIterable<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Returns a list of geo backup policies.

abstract PagedFlux<GeoBackupPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Returns a list of geo backup policies.

Method Details

createOrUpdate

public abstract GeoBackupPolicyInner createOrUpdate(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a database geo backup policy.

createOrUpdateAsync

public abstract Mono<GeoBackupPolicyInner> createOrUpdateAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a database geo backup policy on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response<GeoBackupPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters, Context context)

Updates a database geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.
parameters - The required parameters for creating or updating the geo backup policy.
context - The context to associate with this operation.

Returns:

a database geo backup policy along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono<Response<GeoBackupPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, GeoBackupPolicyInner parameters)

Updates a database geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a database geo backup policy along with Response<T> on successful completion of Mono.

get

public abstract GeoBackupPolicyInner get(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.

Returns:

a geo backup policy.

getAsync

public abstract Mono<GeoBackupPolicyInner> getAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.

Returns:

a geo backup policy on successful completion of Mono.

getWithResponse

public abstract Response<GeoBackupPolicyInner> getWithResponse(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName, Context context)

Gets a geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.
context - The context to associate with this operation.

Returns:

a geo backup policy along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<GeoBackupPolicyInner>> getWithResponseAsync(String resourceGroupName, String serverName, String databaseName, GeoBackupPolicyName geoBackupPolicyName)

Gets a geo backup policy.

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.
geoBackupPolicyName - The name of the geo backup policy.

Returns:

a geo backup policy along with Response<T> on successful completion of Mono.

listByDatabase

public abstract PagedIterable<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName)

Returns a list of geo backup policies.

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.

Returns:

the response to a list geo backup policies request as paginated response with PagedIterable<T>.

listByDatabase

public abstract PagedIterable<GeoBackupPolicyInner> listByDatabase(String resourceGroupName, String serverName, String databaseName, Context context)

Returns a list of geo backup policies.

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.
context - The context to associate with this operation.

Returns:

the response to a list geo backup policies request as paginated response with PagedIterable<T>.

listByDatabaseAsync

public abstract PagedFlux<GeoBackupPolicyInner> listByDatabaseAsync(String resourceGroupName, String serverName, String databaseName)

Returns a list of geo backup policies.

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.

Returns:

the response to a list geo backup policies request as paginated response with PagedFlux<T>.

Applies to