ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient Interface

public interface ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract SyncPoller<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention policy.

abstract PollerFlux<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract SyncPoller<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract SyncPoller<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention policy.

abstract PollerFlux<PollResult<ManagedBackupShortTermRetentionPolicyInner>,ManagedBackupShortTermRetentionPolicyInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention policy.

abstract Mono<ManagedBackupShortTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract ManagedBackupShortTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention policy.

abstract Mono<ManagedBackupShortTermRetentionPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention policy.

abstract Response<ManagedBackupShortTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, Context context)

Gets a dropped database's short term retention policy.

abstract Mono<Response<ManagedBackupShortTermRetentionPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention policy.

abstract PagedIterable<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)

Gets a dropped database's short term retention policy list.

abstract PagedIterable<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, Context context)

Gets a dropped database's short term retention policy list.

abstract PagedFlux<ManagedBackupShortTermRetentionPolicyInner> listByRestorableDroppedDatabaseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)

Gets a dropped database's short term retention policy list.

abstract ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention policy.

abstract Mono<ManagedBackupShortTermRetentionPolicyInner> updateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention policy.

Method Details

beginCreateOrUpdate

public abstract SyncPoller,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

the SyncPoller<T,U> for polling of a short term retention policy.

beginCreateOrUpdate

public abstract SyncPoller,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a short term retention policy.

beginCreateOrUpdateAsync

public abstract PollerFlux,ManagedBackupShortTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

the PollerFlux<T,U> for polling of a short term retention policy.

beginUpdate

public abstract SyncPoller,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

the SyncPoller<T,U> for polling of a short term retention policy.

beginUpdate

public abstract SyncPoller,ManagedBackupShortTermRetentionPolicyInner> beginUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of a short term retention policy.

beginUpdateAsync

public abstract PollerFlux,ManagedBackupShortTermRetentionPolicyInner> beginUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

the PollerFlux<T,U> for polling of a short term retention policy.

createOrUpdate

public abstract ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy.

createOrUpdate

public abstract ManagedBackupShortTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.
context - The context to associate with this operation.

Returns:

a short term retention policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy along with Response<T> on successful completion of Mono.

get

public abstract ManagedBackupShortTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name.

Returns:

a dropped database's short term retention policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name.

Returns:

a dropped database's short term retention policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, Context context)

Gets a dropped database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name.
context - The context to associate with this operation.

Returns:

a dropped database's short term retention policy along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName)

Gets a dropped database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name.

Returns:

a dropped database's short term retention policy along with Response<T> on successful completion of Mono.

listByRestorableDroppedDatabase

public abstract PagedIterable listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)

Gets a dropped database's short term retention policy list.

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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.

Returns:

a dropped database's short term retention policy list as paginated response with PagedIterable<T>.

listByRestorableDroppedDatabase

public abstract PagedIterable listByRestorableDroppedDatabase(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, Context context)

Gets a dropped database's short term retention policy list.

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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
context - The context to associate with this operation.

Returns:

a dropped database's short term retention policy list as paginated response with PagedIterable<T>.

listByRestorableDroppedDatabaseAsync

public abstract PagedFlux listByRestorableDroppedDatabaseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId)

Gets a dropped database's short term retention policy list.

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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.

Returns:

a dropped database's short term retention policy list as paginated response with PagedFlux<T>.

update

public abstract ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy.

update

public abstract ManagedBackupShortTermRetentionPolicyInner update(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters, Context context)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.
context - The context to associate with this operation.

Returns:

a short term retention policy.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String managedInstanceName, String restorableDroppedDatabaseId, ManagedShortTermRetentionPolicyName policyName, ManagedBackupShortTermRetentionPolicyInner parameters)

Sets a database's short term retention 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.
managedInstanceName - The name of the managed instance.
restorableDroppedDatabaseId - The restorableDroppedDatabaseId parameter.
policyName - The policy name. Should always be "default".
parameters - The short term retention policy info.

Returns:

a short term retention policy along with Response<T> on successful completion of Mono.

Applies to