SubscriptionQuotaAllocationCollection.GetAllAsync 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.
Gets all the quota allocated to a subscription for the specific Resource Provider, Location. This will include the GroupQuota and total quota allocated to the subscription. Only the Group quota allocated to the subscription can be allocated back to the MG Group Quota. Use the $filter parameter to filter out the specific resource based on the ResourceProvider/Location. $filter is a required parameter.
- Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/subscriptions/{subscriptionId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}/quotaAllocations
- Operation Id: GroupQuotaSubscriptionAllocation_List
- Default Api Version: 2023-06-01-preview
- Resource: SubscriptionQuotaAllocationResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource> GetAllAsync (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource>
Public Overridable Function GetAllAsync (filter As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SubscriptionQuotaAllocationResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of SubscriptionQuotaAllocationResource that may take multiple service requests to iterate over.
Exceptions
filter
is null.