Compartilhar via


SqlExtensions.GetResourceGroupLongTermRetentionManagedInstanceBackup 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}
  • IdLongTermRetentionManagedInstanceBackups_GetByResourceGroup de operação
public static Azure.Response<Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupResource> GetResourceGroupLongTermRetentionManagedInstanceBackup (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation locationName, string managedInstanceName, string databaseName, string backupName, System.Threading.CancellationToken cancellationToken = default);
static member GetResourceGroupLongTermRetentionManagedInstanceBackup : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ResourceGroupLongTermRetentionManagedInstanceBackupResource>
<Extension()>
Public Function GetResourceGroupLongTermRetentionManagedInstanceBackup (resourceGroupResource As ResourceGroupResource, locationName As AzureLocation, managedInstanceName As String, databaseName As String, backupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ResourceGroupLongTermRetentionManagedInstanceBackupResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual 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