usage_by_subscription_skus
Creates, updates, deletes, gets or lists a usage_by_subscription_skus
resource.
Overview
Name | usage_by_subscription_skus |
Type | Resource |
Id | azure.search.usage_by_subscription_skus |
Fields
The following fields are returned by SELECT
queries:
- get
The operation succeeded. The response contains the quota usage of a search service sku for the given subscription.
Name | Datatype | Description |
---|---|---|
id | string | The resource ID of the quota usage SKU endpoint for Microsoft.Search provider. |
name | object | The name of the SKU supported by Azure AI Search. |
currentValue | integer (int32) | The currently used up value for the particular search SKU. |
limit | integer (int32) | The quota limit for the particular search SKU. |
unit | string | The unit of measurement for the search SKU. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | location , subscriptionId , skuName | x-ms-client-request-id | Gets the quota usage for a search sku in the given 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.
Name | Datatype | Description |
---|---|---|
location | string | The unique location name for a Microsoft Azure geographic region. |
skuName | string | The unique SKU name that identifies a billable tier. |
subscriptionId | string | The 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-id | string (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
Gets the quota usage for a search sku in the given subscription.
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.search.usage_by_subscription_skus
WHERE location = '{{ location }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND skuName = '{{ skuName }}' -- required
AND x-ms-client-request-id = '{{ x-ms-client-request-id }}'
;