Skip to main content

group_quota_subscription_allocation_requests

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

Overview

Namegroup_quota_subscription_allocation_requests
TypeResource
Idazure.quota.group_quota_subscription_allocation_requests

Fields

NameDatatypeDescription
propertiesobject

Methods

NameAccessible byRequired ParamsDescription
getSELECTallocationId, groupQuotaName, managementGroupId, subscriptionIdGet the quota allocation request status for the subscriptionId by allocationId.
listSELECT$filter, groupQuotaName, managementGroupId, resourceProviderName, subscriptionIdGet all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.
create_or_updateINSERTgroupQuotaName, managementGroupId, resourceName, resourceProviderName, subscriptionIdRequest 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.
updateUPDATEgroupQuotaName, managementGroupId, resourceName, resourceProviderName, subscriptionIdRequest 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.

/*+ create */
INSERT INTO azure.quota.group_quota_subscription_allocation_requests (
groupQuotaName,
managementGroupId,
resourceName,
resourceProviderName,
subscriptionId,
properties
)
SELECT
'{{ groupQuotaName }}',
'{{ managementGroupId }}',
'{{ resourceName }}',
'{{ resourceProviderName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

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 }}';