SqlExtensions.GetResourceGroupLongTermRetentionManagedInstanceBackupAsync Método

Definição

Obtém um backup de retenção de longo prazo para um banco de dados gerenciado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionManagedInstances/{managedInstanceName}/longTermRetentionDatabases/{databaseName}/longTermRetentionManagedInstanceBackups/{backupName}
  • Operação IdLongTermRetentionManagedInstanceBackups_GetByResourceGroup
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupResource>> GetResourceGroupLongTermRetentionManagedInstanceBackupAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetResourceGroupLongTermRetentionManagedInstanceBackupAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupResource>>
<Extension()>
Public Function GetResourceGroupLongTermRetentionManagedInstanceBackupAsync (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceGroupLongTermRetentionManagedInstanceBackupResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

locationName
AzureLocation

O local do banco de dados.

managedInstanceName
String

O nome da instância gerenciada.

databaseName
String

O nome do banco de dados gerenciado.

backupName
String

O nome do backup.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

managedInstanceName, databaseName ou backupName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

managedInstanceName, databaseName ou backupName é nulo.

Aplica-se a