Partilhar via


PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerBackupAsync Método

Definição

Obtenha backup específico para um determinado servidor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}
  • Operação IdBackups_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerBackupResource>> GetPostgreSqlFlexibleServerBackupAsync (string backupName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerBackupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerBackupResource>>
override this.GetPostgreSqlFlexibleServerBackupAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerBackupResource>>
Public Overridable Function GetPostgreSqlFlexibleServerBackupAsync (backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerBackupResource))

Parâmetros

backupName
String

O nome do backup.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

backupName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

backupName é nulo.

Aplica-se a