Compartir a través de


RestorableDroppedManagedDatabaseResource.GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy Método

Definición

Obtiene la directiva de retención a corto plazo de una base de datos eliminada.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}
  • IdManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Get de operación
public virtual Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource> GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy (Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
override this.GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
Public Overridable Function GetManagedRestorableDroppedDbBackupShortTermRetentionPolicy (policyName As ManagedShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource)

Parámetros

policyName
ManagedShortTermRetentionPolicyName

Nombre de la directiva.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a