devices_metrics
Creates, updates, deletes, gets or lists a devices_metrics
resource.
Overview
Name | devices_metrics |
Type | Resource |
Id | azure_extras.storsimple_8000_series.devices_metrics |
Fields
Name | Datatype | Description |
---|---|---|
name | object | The metric name. |
dimensions | array | The metric dimensions. |
endTime | string | The end time of the metric data. |
primaryAggregation | string | The metric aggregation type. |
resourceId | string | The ID of metric source. |
startTime | string | The start time of the metric data. |
timeGrain | string | The time granularity of the metric data. |
type | string | The type of the metric data. |
unit | string | The unit of the metric data. |
values | array | The list of the metric data. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | $filter, deviceName, managerName, resourceGroupName, subscriptionId | Gets the metrics for the specified device. |
SELECT
examples
Gets the metrics for the specified device.
SELECT
name,
dimensions,
endTime,
primaryAggregation,
resourceId,
startTime,
timeGrain,
type,
unit,
values
FROM azure_extras.storsimple_8000_series.devices_metrics
WHERE $filter = '{{ $filter }}'
AND deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';