file_servers_metric_definitions
Creates, updates, deletes, gets or lists a file_servers_metric_definitions
resource.
Overview
Name | file_servers_metric_definitions |
Type | Resource |
Id | azure_extras.storsimple_1200_series.file_servers_metric_definitions |
Fields
The following fields are returned by SELECT
queries:
- list
The collection of metric definitions.
Name | Datatype | Description |
---|---|---|
name | object | The metric name |
dimensions | array | The supported dimensions |
metricAvailabilities | array | The available metric granularities |
primaryAggregationType | string | The metric aggregation type |
resourceId | string | The metric source id |
type | string | The metric definition type |
unit | string | The metric unit |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | deviceName , fileServerName , subscriptionId , resourceGroupName , managerName | Retrieves metric definitions of all metrics aggregated at the file 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.
Name | Datatype | Description |
---|---|---|
deviceName | string | The name of the device. |
fileServerName | string | The name of the file server. |
managerName | string | The manager name |
resourceGroupName | string | The resource group name |
subscriptionId | string | The subscription id |
SELECT
examples
- list
Retrieves metric definitions of all metrics aggregated at the file server.
SELECT
name,
dimensions,
metricAvailabilities,
primaryAggregationType,
resourceId,
type,
unit
FROM azure_extras.storsimple_1200_series.file_servers_metric_definitions
WHERE deviceName = '{{ deviceName }}' -- required
AND fileServerName = '{{ fileServerName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;