Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.web_pubsub.usages

Fields

NameDatatypeDescription
idstringFully qualified ARM resource id
nameobjectLocalizable String object containing the name and a localized value.
currentValueintegerCurrent value for the usage quota.
limitintegerThe maximum permitted value for the usage quota. If there is no limit, this value will be -1.
unitstringRepresenting the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdList resource usage quotas by location.

SELECT examples

List resource usage quotas by location.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.web_pubsub.usages
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';