ManagedInstanceLongTermRetentionPoliciesClient Interface

public interface ManagedInstanceLongTermRetentionPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<ManagedInstanceLongTermRetentionPolicyInner>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long term retention policy.

abstract SyncPoller<PollResult<ManagedInstanceLongTermRetentionPolicyInner>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters, Context context)

Sets a managed database's long term retention policy.

abstract PollerFlux<PollResult<ManagedInstanceLongTermRetentionPolicyInner>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long term retention policy.

abstract ManagedInstanceLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long term retention policy.

abstract ManagedInstanceLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters, Context context)

Sets a managed database's long term retention policy.

abstract Mono<ManagedInstanceLongTermRetentionPolicyInner> createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long term retention policy.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long term retention policy.

abstract ManagedInstanceLongTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long term retention policy.

abstract Mono<ManagedInstanceLongTermRetentionPolicyInner> getAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long term retention policy.

abstract Response<ManagedInstanceLongTermRetentionPolicyInner> getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, Context context)

Gets a managed database's long term retention policy.

abstract Mono<Response<ManagedInstanceLongTermRetentionPolicyInner>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long term retention policy.

abstract PagedIterable<ManagedInstanceLongTermRetentionPolicyInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long term retention policy.

abstract PagedIterable<ManagedInstanceLongTermRetentionPolicyInner> listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Gets a database's long term retention policy.

abstract PagedFlux<ManagedInstanceLongTermRetentionPolicyInner> listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long term retention policy.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.

Returns:

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

beginCreateOrUpdate

public abstract SyncPoller<>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters, Context context)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.
context - The context to associate with this operation.

Returns:

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

beginCreateOrUpdateAsync

public abstract PollerFlux<>,ManagedInstanceLongTermRetentionPolicyInner> beginCreateOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.

Returns:

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

createOrUpdate

public abstract ManagedInstanceLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.

Returns:

a long term retention policy.

createOrUpdate

public abstract ManagedInstanceLongTermRetentionPolicyInner createOrUpdate(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters, Context context)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.
context - The context to associate with this operation.

Returns:

a long term retention policy.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.

Returns:

a long term retention policy on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<><>>> createOrUpdateWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, ManagedInstanceLongTermRetentionPolicyInner parameters)

Sets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
parameters - The long term retention policy info.

Returns:

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

get

public abstract ManagedInstanceLongTermRetentionPolicyInner get(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.

Returns:

a managed database's long term retention policy.

getAsync

public abstract Mono getAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.

Returns:

a managed database's long term retention policy on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName, Context context)

Gets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.
context - The context to associate with this operation.

Returns:

a managed database's long term retention policy along with Response<T>.

getWithResponseAsync

public abstract Mono<>> getWithResponseAsync(String resourceGroupName, String managedInstanceName, String databaseName, ManagedInstanceLongTermRetentionPolicyName policyName)

Gets a managed database's long 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.
databaseName - The name of the database.
policyName - The policy name. Should always be Default.

Returns:

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

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long 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.
databaseName - The name of the database.

Returns:

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

listByDatabase

public abstract PagedIterable listByDatabase(String resourceGroupName, String managedInstanceName, String databaseName, Context context)

Gets a database's long 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.
databaseName - The name of the database.
context - The context to associate with this operation.

Returns:

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

listByDatabaseAsync

public abstract PagedFlux listByDatabaseAsync(String resourceGroupName, String managedInstanceName, String databaseName)

Gets a database's long 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.
databaseName - The name of the database.

Returns:

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

Applies to