LongTermRetentionManagedInstanceBackupsOperationsExtensions.GetAsync Method

Definition

Gets a long term retention backup for a managed database.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionBackup> GetAsync (this Microsoft.Azure.Management.Sql.ILongTermRetentionManagedInstanceBackupsOperations operations, string locationName, string managedInstanceName, string databaseName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Sql.ILongTermRetentionManagedInstanceBackupsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Models.ManagedInstanceLongTermRetentionBackup>
<Extension()>
Public Function GetAsync (operations As ILongTermRetentionManagedInstanceBackupsOperations, locationName As String, managedInstanceName As String, databaseName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedInstanceLongTermRetentionBackup)

Parameters

operations
ILongTermRetentionManagedInstanceBackupsOperations

The operations group for this extension method.

locationName
String

The location of the database.

managedInstanceName
String

The name of the managed instance.

databaseName
String

The name of the managed database.

backupName
String

The backup name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to