Skip to main content

group_quota_subscription_allocations

Creates, updates, deletes, gets or lists a group_quota_subscription_allocations resource.

Overview

Namegroup_quota_subscription_allocations
TypeResource
Idazure.quota.group_quota_subscription_allocations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectQuota properties for the specified resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectmanagementGroupId, subscriptionId, groupQuotaName, resourceName, $filterGets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. 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.
listselectmanagementGroupId, subscriptionId, groupQuotaName, $filterGets 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
$filterstring| Field | Supported operators
|---------------------|------------------------
location eq {location} Example: $filter=location eq eastus
groupQuotaNamestringThe GroupQuota name. The name should be unique for the provided context tenantId/MgId.
managementGroupIdstringManagement Group Id.
resourceNamestringResource name.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets Quota allocated to a subscription for the specific Resource Provider, Location, ResourceName. 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.

SELECT
properties
FROM azure.quota.group_quota_subscription_allocations
WHERE managementGroupId = '{{ managementGroupId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND groupQuotaName = '{{ groupQuotaName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND $filter = '{{ $filter }}' -- required
;