Compartilhar via


ManagedInstanceLongTermRetentionPolicyCollection.GetAll 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/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies
  • IdManagedInstanceLongTermRetentionPolicies_ListByDatabase de operação
public virtual Azure.Pageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedInstanceLongTermRetentionPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedInstanceLongTermRetentionPolicyResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Uma coleção de ManagedInstanceLongTermRetentionPolicyResource que pode levar várias solicitações de serviço para iterar.

Aplica-se a