Compartilhar via


RecoveryServicesBackupExtensions.GetBackupResourceConfig Método

Definição

Busca a configuração de armazenamento de recursos.

  • Caminho da Solicitação/Assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig
  • IdBackupResourceStorageConfigsNonCRR_Get de operação
public static Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigResource> GetBackupResourceConfig (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetBackupResourceConfig : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.BackupResourceConfigResource>
<Extension()>
Public Function GetBackupResourceConfig (resourceGroupResource As ResourceGroupResource, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BackupResourceConfigResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

vaultName
String

O nome do cofre dos serviços de recuperação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

vaultName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

vaultName é nulo.

Aplica-se a