ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies interface

Interface representing a ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.

Methods

beginCreateOrUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Sets a database's short term retention policy.

beginCreateOrUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Sets a database's short term retention policy.

beginUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams)

Sets a database's short term retention policy.

beginUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams)

Sets a database's short term retention policy.

get(string, string, string, string, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetOptionalParams)

Gets a dropped database's short term retention policy.

listByRestorableDroppedDatabase(string, string, string, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseOptionalParams)

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

Method Details

beginCreateOrUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Sets a database's short term retention policy.

function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedBackupShortTermRetentionPolicy>, ManagedBackupShortTermRetentionPolicy>>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginCreateOrUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Sets a database's short term retention policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): Promise<ManagedBackupShortTermRetentionPolicy>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams)

Sets a database's short term retention policy.

function beginUpdate(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ManagedBackupShortTermRetentionPolicy>, ManagedBackupShortTermRetentionPolicy>>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams)

Sets a database's short term retention policy.

function beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesUpdateOptionalParams): Promise<ManagedBackupShortTermRetentionPolicy>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

get(string, string, string, string, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetOptionalParams)

Gets a dropped database's short term retention policy.

function get(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, policyName: string, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesGetOptionalParams): Promise<ManagedBackupShortTermRetentionPolicy>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

policyName

string

The policy name.

Returns

listByRestorableDroppedDatabase(string, string, string, ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseOptionalParams)

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

function listByRestorableDroppedDatabase(resourceGroupName: string, managedInstanceName: string, restorableDroppedDatabaseId: string, options?: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesListByRestorableDroppedDatabaseOptionalParams): PagedAsyncIterableIterator<ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPolicy[], PageSettings>

Parameters

resourceGroupName

string

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

string

The name of the managed instance.

restorableDroppedDatabaseId

string

Returns