group_quota_subscription_allocation_requests
Creates, updates, deletes, gets or lists a group_quota_subscription_allocation_requests
resource.
Overview
Name | group_quota_subscription_allocation_requests |
Type | Resource |
Id | azure.quota.group_quota_subscription_allocation_requests |
Fields
Name | Datatype | Description |
---|---|---|
properties | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | allocationId, groupQuotaName, managementGroupId, subscriptionId | Get the quota allocation request status for the subscriptionId by allocationId. |
list | SELECT | $filter, groupQuotaName, managementGroupId, resourceProviderName, subscriptionId | Get all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required. |
create_or_update | INSERT | groupQuotaName, managementGroupId, resourceName, resourceProviderName, subscriptionId | Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. |
update | UPDATE | groupQuotaName, managementGroupId, resourceName, resourceProviderName, subscriptionId | Request to assign quota from group quota to a specific Subscription. The assign GroupQuota to subscriptions or reduce the quota allocated to subscription to give back the unused quota ( quota >= usages) to the groupQuota. So, this API can be used to assign Quota to subscriptions and assign back unused quota to group quota, which can be assigned to another subscriptions in the GroupQuota. User can collect unused quotas from multiple subscriptions within the groupQuota and assign the groupQuota to the subscription, where it's needed. |
SELECT
examples
Get the quota allocation request status for the subscriptionId by allocationId.
SELECT
properties
FROM azure.quota.group_quota_subscription_allocation_requests
WHERE allocationId = '{{ allocationId }}'
AND groupQuotaName = '{{ groupQuotaName }}'
AND managementGroupId = '{{ managementGroupId }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new group_quota_subscription_allocation_requests
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.quota.group_quota_subscription_allocation_requests (
groupQuotaName,
managementGroupId,
resourceName,
resourceProviderName,
subscriptionId,
properties
)
SELECT
'{{ groupQuotaName }}',
'{{ managementGroupId }}',
'{{ resourceName }}',
'{{ resourceProviderName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: requestedResource
value:
- name: properties
value:
- name: limit
value: integer
- name: name
value:
- name: value
value: string
- name: localizedValue
value: string
- name: region
value: string
- name: requestSubmitTime
value: string
- name: provisioningState
value: []
- name: faultCode
value: string
UPDATE
example
Updates a group_quota_subscription_allocation_requests
resource.
/*+ update */
UPDATE azure.quota.group_quota_subscription_allocation_requests
SET
properties = '{{ properties }}'
WHERE
groupQuotaName = '{{ groupQuotaName }}'
AND managementGroupId = '{{ managementGroupId }}'
AND resourceName = '{{ resourceName }}'
AND resourceProviderName = '{{ resourceProviderName }}'
AND subscriptionId = '{{ subscriptionId }}';