DataMigrationExtensions.GetUsagesAsync 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.
This method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic).
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{___location}/usages
- Operation Id: Usages_List
- Default Api Version: 2025-06-30
public static Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.DataMigrationQuota> GetUsagesAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation ___location, System.Threading.CancellationToken cancellationToken = default);
static member GetUsagesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataMigration.Models.DataMigrationQuota>
<Extension()>
Public Function GetUsagesAsync (subscriptionResource As SubscriptionResource, ___location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataMigrationQuota)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- ___location
- AzureLocation
The Azure region of the operation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of DataMigrationQuota that may take multiple service requests to iterate over.
Exceptions
subscriptionResource is null.