QuotaExtensions.GetQuotaAllocationRequestStatusesByResourceProviderAsync Method

Definition

Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/resourceProviders/{resourceProviderName}/quotaAllocationRequests
  • Operation Id: GroupQuotaSubscriptionAllocationRequest_List
  • Default Api Version: 2023-06-01-preview
  • Resource: QuotaAllocationRequestStatusResource
public static Azure.AsyncPageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetQuotaAllocationRequestStatusesByResourceProviderAsync (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string subscriptionId, string groupQuotaName, string resourceProviderName, string filter, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaAllocationRequestStatusesByResourceProviderAsync : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * string * string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
<Extension()>
Public Function GetQuotaAllocationRequestStatusesByResourceProviderAsync (managementGroupResource As ManagementGroupResource, subscriptionId As String, groupQuotaName As String, resourceProviderName As String, filter As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of QuotaAllocationRequestStatusResource)

Parameters

managementGroupResource
ManagementGroupResource

The ManagementGroupResource instance the method will execute against.

subscriptionId
String

The ID of the target subscription. The value must be an UUID.

groupQuotaName
String

The GroupQuota name. The name should be unique for the provided context tenantId/MgId.

resourceProviderName
String

The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API.

filter
String
Field Supported operators

location eq {location} Example: $filter=location eq eastus

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionId, groupQuotaName or resourceProviderName is an empty string, and was expected to be non-empty.

managementGroupResource, subscriptionId, groupQuotaName, resourceProviderName or filter is null.

Applies to