Compartilhar via


ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.Get Método

Definição

Obtém a política de retenção de curto prazo de um banco de dados descartado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies/{policyName}
  • IdManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Get de operação
public virtual Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource> Get (Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
override this.Get : Azure.ResourceManager.Sql.Models.ManagedShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
Public Overridable Function Get (policyName As ManagedShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource)

Parâmetros

policyName
ManagedShortTermRetentionPolicyName

O nome da política.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a