Partilhar via


RecoveryServicesExtensions.GetRecoveryServicesVault Método

Definição

Obtenha os detalhes do Cofre.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}
  • Operação IdVaults_Get
public static Azure.Response<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource> GetRecoveryServicesVault (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member GetRecoveryServicesVault : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource>
<Extension()>
Public Function GetRecoveryServicesVault (resourceGroupResource As ResourceGroupResource, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RecoveryServicesVaultResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que 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 esperava-se que não estivesse vazia.

vaultName é nulo.

Aplica-se a