Skip to main content

locations_usages

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

Overview

Namelocations_usages
TypeResource
Idazure.data_lake_store.locations_usages

Fields

The following fields are returned by SELECT queries:

OK -- current usage count and limit retrieved and returned successfully.

NameDatatypeDescription
idstringResource identifier.
nameobjectGets the name of the type of usage.
currentValueinteger (int32)Gets the current count of the allocated resources in the subscription.
limitinteger (int32)Gets the maximum count of the resources that can be allocated in the subscription.
unitstringGets the unit of measurement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, locationGets the current usage count and the limit for the resources of the location under the subscription.

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 resource location without whitespace.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Gets the current usage count and the limit for the resources of the location under the subscription.

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