Skip to main content

group_quota_subscription_allocation_request

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

Overview

Namegroup_quota_subscription_allocation_request
TypeResource
Idazure.quota.group_quota_subscription_allocation_request

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.
faultCodestringDetails of the failure.
provisioningStatestringRequest status. Known values are: "Accepted", "Created", "Invalid", "Succeeded", "Escalated", "Failed", "InProgress", and "Canceled". (Accepted, Created, Invalid, Succeeded, Escalated, Failed, InProgress, Canceled)
requestSubmitTimestring (date-time)The request submission time. The date conforms to the following format specified by the ISO 8601 standard: yyyy-MM-ddTHH:mm:ssZ.
requestedResourceobjectThe new quota request allocated to subscription.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectmanagement_group_id, group_quota_name, resource_provider_name, allocation_id, subscription_idGet the quota allocation request status for the subscriptionId by allocationId.
listselectmanagement_group_id, group_quota_name, resource_provider_name, subscription_id, $filterGet all the quotaAllocationRequests for a resourceProvider/location. The filter paramter for location is required.
updateupdatemanagement_group_id, group_quota_name, resource_provider_name, location, subscription_idRequest 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.

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. Required.
allocation_idstringRequest Id. Required.
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

Get the quota allocation request status for the subscriptionId by allocationId.

SELECT
id,
name,
faultCode,
provisioningState,
requestSubmitTime,
requestedResource,
systemData,
type
FROM azure.quota.group_quota_subscription_allocation_request
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 allocation_id = '{{ allocation_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

UPDATE examples

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.

UPDATE azure.quota.group_quota_subscription_allocation_request
SET
properties = '{{ properties }}'
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
RETURNING
id,
name,
properties,
systemData,
type;