Skip to main content

group_quota_subscription_allocation

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

Overview

Namegroup_quota_subscription_allocation
TypeResource
Idazure.quota.group_quota_subscription_allocation

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
nextLinkstringThe URL to use for getting the next set of results.
provisioningStatestringRequest status. Known values are: "Accepted", "Created", "Invalid", "Succeeded", "Escalated", "Failed", "InProgress", and "Canceled". (Accepted, Created, Invalid, Succeeded, Escalated, Failed, InProgress, Canceled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
valuearraySubscription quota list.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectmanagement_group_id, group_quota_name, resource_provider_name, location, subscription_idGets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. 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.

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
group_quota_namestringThe GroupQuota name. The name should be unique for the provided context tenantId/MgId. Required.
locationstringThe name of the Azure region. Required.
management_group_idstringThe management group ID. Required.
resource_provider_namestringThe resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. Required.
subscription_idstring

SELECT examples

Gets all the quota allocated to a subscription for the specified resource provider and location for resource names passed in $filter=resourceName eq {SKU}. 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
id,
name,
nextLink,
provisioningState,
systemData,
type,
value
FROM azure.quota.group_quota_subscription_allocation
WHERE management_group_id = '{{ management_group_id }}' -- required
AND group_quota_name = '{{ group_quota_name }}' -- required
AND resource_provider_name = '{{ resource_provider_name }}' -- required
AND location = '{{ location }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;