ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies interface        
Interface representing a ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.
Methods
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.
- options
- ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedBackupShortTermRetentionPolicy>, ManagedBackupShortTermRetentionPolicy>>
		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.
- options
- ManagedRestorableDroppedDatabaseBackupShortTermRetentionPoliciesCreateOrUpdateOptionalParams
The options parameters.
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.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<ManagedBackupShortTermRetentionPolicy>, ManagedBackupShortTermRetentionPolicy>>
		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.
The options parameters.
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.
The options parameters.
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 
The options parameters.