usages
Creates, updates, deletes, gets or lists a usages
resource.
Overview
Name | usages |
Type | Resource |
Id | azure.data_migration.usages |
Fields
The following fields are returned by SELECT
queries:
- list
Quotas returned
Name | Datatype | Description |
---|---|---|
id | string | The resource ID of the quota object |
name | object | The name of the quota |
currentValue | number (double) | The current value of the quota. If null or missing, the current value cannot be determined in the context of the request. |
limit | number (double) | The maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage. |
unit | string | The unit for the quota, such as Count, Bytes, BytesPerSecond, etc. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , location | api-version | This method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic). |
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 Azure region of the operation |
subscriptionId | string | Subscription ID that identifies an Azure subscription. |
api-version | string | Version of the API |
SELECT
examples
- list
This method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic).
SELECT
id,
name,
currentValue,
limit,
unit
FROM azure.data_migration.usages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND location = '{{ location }}' -- required
AND api-version = '{{ api-version }}'
;