usages
Creates, updates, deletes, gets or lists a usages resource.
Overview
| Name | usages |
| Type | Resource |
| Id | azure_isv.vmware_cloud_simple.usages |
Fields
The following fields are returned by SELECT queries:
- list
successful operation
| Name | Datatype | Description |
|---|---|---|
name | object | Usage name value and localized name |
currentValue | integer | The current usage value |
limit | integer | limit of a given sku in a region for a subscription. The maximum permitted value for the usage quota. If there is no limit, this value will be -1 |
unit | string | The usages' unit |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | subscriptionId, regionId | $filter, api-version | Returns list of usage in region |
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 |
|---|---|---|
regionId | string | The region Id (westus, eastus) |
subscriptionId | string | The subscription ID. |
$filter | string | The filter to apply on the list operation. only name.value is allowed here as a filter e.g. $filter=name.value eq 'xxxx' |
api-version | string | Client API version. |
SELECT examples
- list
Returns list of usage in region
SELECT
name,
currentValue,
limit,
unit
FROM azure_isv.vmware_cloud_simple.usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND regionId = '{{ regionId }}' -- required
AND $filter = '{{ $filter }}'
AND api-version = '{{ api-version }}'
;