Skip to main content

workspace_managed_sql_server_usages

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

Overview

Nameworkspace_managed_sql_server_usages
TypeResource
Idazure.synapse.workspace_managed_sql_server_usages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the server usage metric.
currentValuenumberThe current value of the metric.
displayNamestringThe metric display name.
limitnumberThe current limit of the metric.
nextResetTimestring (date-time)The next reset time for the metric (ISO8601 format).
resourceNamestringThe name of the resource.
unitstringThe units of the metric.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectresource_group_name, workspace_name, subscription_idGet list of usages metric for the server. Get list of server usages metric for workspace managed sql server.

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.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

Get list of usages metric for the server. Get list of server usages metric for workspace managed sql server.

SELECT
name,
currentValue,
displayName,
limit,
nextResetTime,
resourceName,
unit
FROM azure.synapse.workspace_managed_sql_server_usages
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;