Compartilhar via


DataReplicationVaultCollection.GetAsync(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}
  • IdVault_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>> GetAsync (string vaultName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>>
Public Overridable Function GetAsync (vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 era esperado que não estivesse vazio.

vaultName é nulo.

Aplica-se a