Compartilhar via


LongTermRetentionBackupsOperationsExtensions.ListByServerAsync Método

Definição

Lista os backups de retenção de longo prazo para um determinado servidor.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup>> ListByServerAsync (this Microsoft.Azure.Management.Sql.ILongTermRetentionBackupsOperations operations, string locationName, string longTermRetentionServerName, bool? onlyLatestPerDatabase = default, string databaseState = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByServerAsync : Microsoft.Azure.Management.Sql.ILongTermRetentionBackupsOperations * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Sql.Models.LongTermRetentionBackup>>
<Extension()>
Public Function ListByServerAsync (operations As ILongTermRetentionBackupsOperations, locationName As String, longTermRetentionServerName As String, Optional onlyLatestPerDatabase As Nullable(Of Boolean) = Nothing, Optional databaseState As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of LongTermRetentionBackup))

Parâmetros

operations
ILongTermRetentionBackupsOperations

O grupo de operações para esse método de extensão.

locationName
String

O local do banco de dados

longTermRetentionServerName
String

O nome do servidor

onlyLatestPerDatabase
Nullable<Boolean>

Se deseja ou não obter apenas o backup mais recente para cada banco de dados.

databaseState
String

Se é necessário consultar apenas bancos de dados dinâmicos, apenas bancos de dados excluídos ou todos os bancos de dados. Os valores possíveis incluem: 'All', 'Live', 'Deleted'

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a