Skip to main content

usages

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

Overview

Nameusages
TypeResource
Idazure.data_migration.usages

Fields

NameDatatypeDescription
idstringThe resource ID of the quota object
nameobjectThe name of the quota
currentValuenumberThe current value of the quota. If null or missing, the current value cannot be determined in the context of the request.
limitnumberThe maximum value of the quota. If null or missing, the quota has no maximum, in which case it merely tracks usage.
unitstringThe unit for the quota, such as Count, Bytes, BytesPerSecond, etc.

Methods

NameAccessible byRequired ParamsDescription
listSELECTlocation, subscriptionIdThis method returns region-specific quotas and resource usage information for the Azure Database Migration Service (classic).

SELECT examples

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 location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';