Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.quota.usages

Fields

NameDatatypeDescription
idtextThe resource ID.
nametextThe resource name.
is_quota_applicabletextfield from the properties object
propertiestextUsage properties for the specified resource.
quota_periodtextfield from the properties object
resourceNametextfield from the properties object
resource_typetextfield from the properties object
scopetextfield from the properties object
typetextThe resource type.
unittextfield from the properties object
usagestextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceName, scopeGet the current usage of a resource.
listSELECTscopeGet a list of current usage for all resources for the scope specified.

SELECT examples

Get a list of current usage for all resources for the scope specified.

SELECT
id,
name,
is_quota_applicable,
properties,
quota_period,
resourceName,
resource_type,
scope,
type,
unit,
usages
FROM azure.quota.vw_usages
WHERE scope = '{{ scope }}';