Share via


ReplicationUsagesOperationsExtensions.ListAsync Method

Definition

Fetches the replication usages of the vault.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.RecoveryServices.Models.ReplicationUsage>> ListAsync (this Microsoft.Azure.Management.RecoveryServices.IReplicationUsagesOperations operations, string resourceGroupName, string vaultName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.RecoveryServices.IReplicationUsagesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.RecoveryServices.Models.ReplicationUsage>>
<Extension()>
Public Function ListAsync (operations As IReplicationUsagesOperations, resourceGroupName As String, vaultName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of ReplicationUsage))

Parameters

operations
IReplicationUsagesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

vaultName
String

The name of the recovery services vault.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to