次の方法で共有


GroupQuotaEntityResource.GetGroupQuotaUsages Method

Definition

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.Pageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages> GetGroupQuotaUsages (string resourceProviderName, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGroupQuotaUsages : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages>
override this.GetGroupQuotaUsages : string * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.Models.GroupQuotaResourceUsages>
Public Overridable Function GetGroupQuotaUsages (resourceProviderName As String, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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

A 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