SubscriptionQuotaAllocationCollection.GetAll 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.Pageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource> GetAll (string filter, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Quota.SubscriptionQuotaAllocationResource>
Public Overridable Function GetAll (filter As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionQuotaAllocationResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SubscriptionQuotaAllocationResource that may take multiple service requests to iterate over.
Exceptions
filter
is null.
Applies to
Azure SDK for .NET