group_quota_subscription_allocation
Creates, updates, deletes, gets or lists a group_quota_subscription_allocation resource.
Overview
| Name | group_quota_subscription_allocation |
| Type | Resource |
| Id | azure.quota.group_quota_subscription_allocation |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
nextLink | string | The URL to use for getting the next set of results. |
provisioningState | string | Request status. Known values are: "Accepted", "Created", "Invalid", "Succeeded", "Escalated", "Failed", "InProgress", and "Canceled". (Accepted, Created, Invalid, Succeeded, Escalated, Failed, InProgress, Canceled) |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
value | array | Subscription quota list. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | management_group_id, group_quota_name, resource_provider_name, location, subscription_id | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
group_quota_name | string | The GroupQuota name. The name should be unique for the provided context tenantId/MgId. Required. |
location | string | The name of the Azure region. Required. |
management_group_id | string | The management group ID. Required. |
resource_provider_name | string | The resource provider name, such as - Microsoft.Compute. Currently only Microsoft.Compute resource provider supports this API. Required. |
subscription_id | string |
SELECT examples
- list
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
;