Skip to main content

group_quota_usages

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

Overview

Namegroup_quota_usages
TypeResource
Idazure.quota.group_quota_usages

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.
limitintegerQuota/limits for the resource.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
unitstringRepresenting 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.
usagesintegerUsages for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectmanagement_group_id, group_quota_name, resource_provider_name, locationGets 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.

NameDatatypeDescription
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.

SELECT examples

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
;