ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies
Sets a database's long term retention policy.
patch/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}
Path parameters
resourceGroupNamestring required
The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
managedInstanceNamestring required
The name of the managed instance.
restorableDroppedDatabaseIdstring required
policyName'default' required
The policy name. Should always be "default".
subscriptionIdstring required
The subscription ID that identifies an Azure subscription.
Query parameters
api-versionstring required
The API version to use for the request.
Request body
Response
Successfully updated the policy.