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)

Create or update a database default Geo backup policy.

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

Create or update a database default Geo backup policy.

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

Create or update a database default Geo backup policy.

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

Create or update a database default Geo backup policy.

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

Gets a Geo backup policy for the given database resource.

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

Gets a Geo backup policy for the given database resource.

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

Gets a Geo backup policy for the given database resource.

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

Gets a Geo backup policy for the given database resource.

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

Gets a list of Geo backup policies for the given database resource.

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

Gets a list of Geo backup policies for the given database resource.

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

Gets a list of Geo backup policies for the given database resource.

Method Details

createOrUpdate

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

Create or update a database default 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. This should always be 'Default'.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a Geo backup policy.

createOrUpdateAsync

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

Create or update a database default 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. This should always be 'Default'.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a Geo backup policy on successful completion of Mono.

createOrUpdateWithResponse

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

Create or update a database default 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. This should always be 'Default'.
parameters - The required parameters for creating or updating the geo backup policy.
context - The context to associate with this operation.

Returns:

a Geo backup policy along with Response<T>.

createOrUpdateWithResponseAsync

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

Create or update a database default 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. This should always be 'Default'.
parameters - The required parameters for creating or updating the geo backup policy.

Returns:

a 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 for the given database resource.

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. This should always be 'Default'.

Returns:

a Geo backup policy for the given database resource.

getAsync

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

Gets a Geo backup policy for the given database resource.

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. This should always be 'Default'.

Returns:

a Geo backup policy for the given database resource on successful completion of Mono.

getWithResponse

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

Gets a Geo backup policy for the given database resource.

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. This should always be 'Default'.
context - The context to associate with this operation.

Returns:

a Geo backup policy for the given database resource along with Response<T>.

getWithResponseAsync

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

Gets a Geo backup policy for the given database resource.

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. This should always be 'Default'.

Returns:

a Geo backup policy for the given database resource along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String serverName, String databaseName)

Gets a list of Geo backup policies for the given database resource.

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:

a list of Geo backup policies for the given database resource as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String serverName, String databaseName, Context context)

Gets a list of Geo backup policies for the given database resource.

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:

a list of Geo backup policies for the given database resource as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String serverName, String databaseName)

Gets a list of Geo backup policies for the given database resource.

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:

a list of Geo backup policies for the given database resource as paginated response with PagedFlux<T>.

Applies to