Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.web_pubsub.usages

Fields

The following fields are returned by SELECT queries:

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

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocation, subscription_idList resource usage quotas by location.

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
locationstringthe location like "eastus". Required.
subscription_idstring

SELECT examples

List resource usage quotas by location.

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