group_quota_usages
Creates, updates, deletes, gets or lists a group_quota_usages resource.
Overview
| Name | group_quota_usages |
| Type | Resource |
| Id | azure.quota.group_quota_usages |
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. |
limit | integer | Quota/limits for the resource. |
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". |
unit | string | Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond. Based on - https://armwiki.azurewebsites.net/api_contracts/UsagesAPIContract.html?q=usages _ . Different RPs may have different units, Count, type as int64 should work for most of the integer values. |
usages | integer | Usages for the resource. |
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 | Gets the GroupQuotas usages and limits(quota). Location is required paramter. |
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. |
SELECT examples
- list
Gets the GroupQuotas usages and limits(quota). Location is required paramter.
SELECT
id,
name,
limit,
systemData,
type,
unit,
usages
FROM azure.quota.group_quota_usages
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
;