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