Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.search.usages

Fields

The following fields are returned by SELECT queries:

The operation succeeded. The response contains the list of all search service quota usages for the given subscription.

NameDatatypeDescription
idstringThe resource ID of the quota usage SKU endpoint for Microsoft.Search provider.
nameobjectThe name of the SKU supported by Azure AI Search.
currentValueinteger (int32)The currently used up value for the particular search SKU.
limitinteger (int32)The quota limit for the particular search SKU.
unitstringThe unit of measurement for the search SKU.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_subscriptionselectlocation, subscriptionIdx-ms-client-request-idGet a list of all Azure AI Search quota usages across 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 unique location name for a Microsoft Azure geographic region.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription. You can obtain this value from the Azure Resource Manager API or the portal.
x-ms-client-request-idstring (uuid)A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.

SELECT examples

Get a list of all Azure AI Search quota usages across the subscription.

SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.search.usages
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND x-ms-client-request-id = '{{ x-ms-client-request-id }}'
;