Partilhar via


MockableQuotaManagementGroupResource.GetQuotaAllocationRequestStatusesByResourceProvider 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 virtual Azure.Pageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetQuotaAllocationRequestStatusesByResourceProvider (string subscriptionId, string groupQuotaName, string resourceProviderName, string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member GetQuotaAllocationRequestStatusesByResourceProvider : string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
override this.GetQuotaAllocationRequestStatusesByResourceProvider : string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
Public Overridable Function GetQuotaAllocationRequestStatusesByResourceProvider (subscriptionId As String, groupQuotaName As String, resourceProviderName As String, filter As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of QuotaAllocationRequestStatusResource)

Parameters

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

A 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.

subscriptionId, groupQuotaName, resourceProviderName or filter is null.

Applies to