Partilhar via


DataReplicationVaultResource.GetDataReplicationEventAsync Método

Definição

Obtém os detalhes do evento.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events/{eventName}
  • IdEvent_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>> GetDataReplicationEventAsync (string eventName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataReplicationEventAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>>
override this.GetDataReplicationEventAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>>
Public Overridable Function GetDataReplicationEventAsync (eventName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataReplicationEventResource))

Parâmetros

eventName
String

O nome do evento.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

eventName é nulo.

Aplica-se a