server_usages
Creates, updates, deletes, gets or lists a server_usages
resource.
Overview
Name | server_usages |
Type | Resource |
Id | azure.sql.server_usages |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the server usage metric. |
currentValue | number | The current value of the metric. |
displayName | string | The metric display name. |
limit | number | The current limit of the metric. |
nextResetTime | string | The next reset time for the metric (ISO8601 format). |
resourceName | string | The name of the resource. |
unit | string | The units of the metric. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_server | SELECT | resourceGroupName, serverName, subscriptionId | Returns server usages. |
SELECT
examples
Returns server usages.
SELECT
name,
currentValue,
displayName,
limit,
nextResetTime,
resourceName,
unit
FROM azure.sql.server_usages
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';