DataReplicationEventCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAllAsync(String, String, CancellationToken) |
Gets the list of events in the given vault.
|
GetAllAsync(String, String, Nullable<Int32>, CancellationToken) |
Gets the list of events in the given vault.
|
GetAllAsync(String, String, CancellationToken)
Gets the list of events in the given vault.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events
- Operation Id: Event_List
- Default Api Version: 2021-02-16-preview
- Resource: DataReplicationEventResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource> GetAllAsync(string filter = default, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
override this.GetAllAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataReplicationEventResource)
Parameters
- filter
- String
Filter string.
- continuationToken
- String
Continuation token.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of DataReplicationEventResource that may take multiple service requests to iterate over.
Applies to
GetAllAsync(String, String, Nullable<Int32>, CancellationToken)
Gets the list of events in the given vault.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/events
- Operation Id: EventModel_List
- Default Api Version: 2024-09-01
- Resource: DataReplicationEventResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource> GetAllAsync(string odataOptions = default, string continuationToken = default, int? pageSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
override this.GetAllAsync : string * string * Nullable<int> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationEventResource>
Public Overridable Function GetAllAsync (Optional odataOptions As String = Nothing, Optional continuationToken As String = Nothing, Optional pageSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataReplicationEventResource)
Parameters
- odataOptions
- String
OData options.
- continuationToken
- String
Continuation token.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of DataReplicationEventResource that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET