Partilhar via


RecoveryServicesDataReplicationExtensions.GetDataReplicationVault Método

Definição

Obtém os detalhes do cofre.

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

Parâmetros

resourceGroupResource
ResourceGroupResource

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

vaultName
String

O nome do cofre.

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