Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.signalr.usages

Fields

The following fields are returned by SELECT queries:

Success. The response describe the usage quotas of a subscription in specified region.

NameDatatypeDescription
idstringFully qualified ARM resource id
nameobjectLocalizable String object containing the name and a localized value.
currentValueinteger (int64)Current value for the usage quota.
limitinteger (int64)The 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, subscriptionIdList 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"
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

List resource usage quotas by location.

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