Skip to main content

locations_usages

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

Overview

Namelocations_usages
TypeResource
Idazure.hdinsight.locations_usages

Fields

The following fields are returned by SELECT queries:

OK response definition.

NameDatatypeDescription
nameobjectThe details about the localizable name of the used resource.
currentValueinteger (int64)The current usage.
limitinteger (int64)The maximum allowed usage.
unitstringThe type of measurement for usage.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, locationLists the usages for the specified 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 Azure location (region) for which to make the request.
subscriptionIdstringThe subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Lists the usages for the specified location.

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