ManagedDatabaseResource.GetManagedBackupShortTermRetentionPolicyAsync Método

Definição

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

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

Parâmetros

policyName
ManagedShortTermRetentionPolicyName

O nome da política.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a