GroupQuotaEntityResource.GetGroupQuotaUsagesAsync 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.
Gets the GroupQuotas usages and limits(quota). Location is required paramter.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/locationUsages/{location}
- Operation Id: GroupQuotaUsages_List
- Default Api Version: 2023-06-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages> GetGroupQuotaUsagesAsync (string resourceProviderName, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGroupQuotaUsagesAsync : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages>
override this.GetGroupQuotaUsagesAsync : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages>
Public Overridable Function GetGroupQuotaUsagesAsync (resourceProviderName As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GroupQuotaResourceUsages)
Parameters
- resourceProviderName
- String
The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.
- location
- AzureLocation
The name of the Azure region.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of GroupQuotaResourceUsages that may take multiple service requests to iterate over.
Exceptions
resourceProviderName
is an empty string, and was expected to be non-empty.
resourceProviderName
is null.
Applies to
Azure SDK for .NET