ManagedBackupShortTermRetentionPolicies interface

Interface representing a ManagedBackupShortTermRetentionPolicies.

Methods

beginCreateOrUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Updates a managed database's short term retention policy.

beginCreateOrUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Updates a managed database's short term retention policy.

beginUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams)

Updates a managed database's short term retention policy.

beginUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams)

Updates a managed database's short term retention policy.

get(string, string, string, string, ManagedBackupShortTermRetentionPoliciesGetOptionalParams)

Gets a managed database's short term retention policy.

listByDatabase(string, string, string, ManagedBackupShortTermRetentionPoliciesListByDatabaseOptionalParams)

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

Method Details

beginCreateOrUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Updates a managed database's short term retention policy.

function beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): 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.

databaseName

string

The name of the database.

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginCreateOrUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams)

Updates a managed database's short term retention policy.

function beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams): 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.

databaseName

string

The name of the database.

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginUpdate(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams)

Updates a managed database's short term retention policy.

function beginUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams): 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.

databaseName

string

The name of the database.

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

beginUpdateAndWait(string, string, string, string, ManagedBackupShortTermRetentionPolicy, ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams)

Updates a managed database's short term retention policy.

function beginUpdateAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: string, parameters: ManagedBackupShortTermRetentionPolicy, options?: ManagedBackupShortTermRetentionPoliciesUpdateOptionalParams): 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.

databaseName

string

The name of the database.

policyName

string

The policy name. Should always be "default".

parameters
ManagedBackupShortTermRetentionPolicy

The short term retention policy info.

Returns

get(string, string, string, string, ManagedBackupShortTermRetentionPoliciesGetOptionalParams)

Gets a managed database's short term retention policy.

function get(resourceGroupName: string, managedInstanceName: string, databaseName: string, policyName: string, options?: ManagedBackupShortTermRetentionPoliciesGetOptionalParams): 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.

databaseName

string

The name of the database.

policyName

string

The policy name.

Returns

listByDatabase(string, string, string, ManagedBackupShortTermRetentionPoliciesListByDatabaseOptionalParams)

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

function listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedBackupShortTermRetentionPoliciesListByDatabaseOptionalParams): 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.

databaseName

string

The name of the database.

Returns