Partilhar via


DataReplicationVaultCollection.Get(String, CancellationToken) 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 virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource> Get (string vaultName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>
Public Overridable Function Get (vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationVaultResource)

Parâmetros

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