QuotaExtensions.GetQuotaAllocationRequestStatusesByResourceProvider 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 static Azure.Pageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource> GetQuotaAllocationRequestStatusesByResourceProvider (this Azure.ResourceManager.ManagementGroups.ManagementGroupResource managementGroupResource, string subscriptionId, string groupQuotaName, string resourceProviderName, string filter, System.Threading.CancellationToken cancellationToken = default);
static member GetQuotaAllocationRequestStatusesByResourceProvider : Azure.ResourceManager.ManagementGroups.ManagementGroupResource * string * string * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.QuotaAllocationRequestStatusResource>
<Extension()>
Public Function GetQuotaAllocationRequestStatusesByResourceProvider (managementGroupResource As ManagementGroupResource, subscriptionId As String, groupQuotaName As String, resourceProviderName As String, filter As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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.
- 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.
managementGroupResource
, subscriptionId
, groupQuotaName
, resourceProviderName
or filter
is null.
Applies to
Azure SDK for .NET