Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.purview.usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id
nameobjectQuota name
currentValueinteger (int32)Current usage quota value
limitinteger (int32)Usage quota limit
unitstringQuota usage unit.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, locationapi-version, $filterGet the usage quota configuration

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 region.
subscriptionIdstringThe subscription identifier
$filterstringThe filter, currently unused.
api-versionstringThe api version to use.

SELECT examples

Get the usage quota configuration

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.purview.usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND api-version = '{{ api-version }}'
AND $filter = '{{ $filter }}'
;