共用方式為


RecoveryServicesVaultResource.GetReplicationUsagesAsync Method

Definition

Fetches the replication usages of the vault.

  • Request Path: /Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages
  • Operation Id: ReplicationUsages_List
  • Default Api Version: 2023-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.ReplicationUsage> GetReplicationUsagesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetReplicationUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.ReplicationUsage>
override this.GetReplicationUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.RecoveryServices.Models.ReplicationUsage>
Public Overridable Function GetReplicationUsagesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ReplicationUsage)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ReplicationUsage that may take multiple service requests to iterate over.

Applies to