Dela via


DataReplicationEventCollection.Get(String, CancellationToken) Method

Definition

Gets the details of the event.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events/{eventName}
  • Operation Id: Event_Get
public virtual Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource> Get (string eventName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
Public Overridable Function Get (eventName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DataReplicationEventResource)

Parameters

eventName
String

The event name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

eventName is an empty string, and was expected to be non-empty.

eventName is null.

Applies to