Aracılığıyla paylaş


BackupsOperationsExtensions.GetAsync Method

Definition

List all the backups for a given server.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.FlexibleServers.Models.ServerBackup> GetAsync (this Microsoft.Azure.Management.MySQL.FlexibleServers.IBackupsOperations operations, string resourceGroupName, string serverName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.MySQL.FlexibleServers.IBackupsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.MySQL.FlexibleServers.Models.ServerBackup>
<Extension()>
Public Function GetAsync (operations As IBackupsOperations, resourceGroupName As String, serverName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServerBackup)

Parameters

operations
IBackupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serverName
String

The name of the server.

backupName
String

The name of the backup.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to