Compartilhar via


LongTermRetentionPolicyCollection.Get Método

Definição

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

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

Parâmetros

policyName
LongTermRetentionPolicyName

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a