Compartilhar via


BackupShortTermRetentionPolicyCollection.Get Método

Definição

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

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}
  • Operação IdBackupShortTermRetentionPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.Sql.BackupShortTermRetentionPolicyResource> Get (Azure.ResourceManager.Sql.Models.ShortTermRetentionPolicyName policyName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : Azure.ResourceManager.Sql.Models.ShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.BackupShortTermRetentionPolicyResource>
override this.Get : Azure.ResourceManager.Sql.Models.ShortTermRetentionPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.BackupShortTermRetentionPolicyResource>
Public Overridable Function Get (policyName As ShortTermRetentionPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BackupShortTermRetentionPolicyResource)

Parâmetros

policyName
ShortTermRetentionPolicyName

O nome da política. Deve ser sempre "padrão".

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a