Skip to main content

file_shares_metrics

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

Overview

Namefile_shares_metrics
TypeResource
Idazure_extras.storsimple_1200_series.file_shares_metrics

Fields

The following fields are returned by SELECT queries:

The collection of metrics.

NameDatatypeDescription
nameobjectThe name of the metrics
dimensionsarrayThe Metric dimension which indicates the source of the metric
endTimestring (date-time)The metric end time
primaryAggregationstringThe metric aggregation type
resourceIdstringThe id of metric source
startTimestring (date-time)The metric start time
timeGrainstringThe time grain, time grain indicates frequency of the metric data
typestringThe Type of the metric data
unitstringThe unit of the metric data
valuesarrayThe metric data

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdeviceName, fileServerName, shareName, subscriptionId, resourceGroupName, managerName$filterGets the file share metrics

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
deviceNamestringThe device name.
fileServerNamestringThe file server name.
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
shareNamestringThe file share name.
subscriptionIdstringThe subscription id
$filterstringOData Filter options

SELECT examples

Gets the file share metrics

SELECT
name,
dimensions,
endTime,
primaryAggregation,
resourceId,
startTime,
timeGrain,
type,
unit,
values
FROM azure_extras.storsimple_1200_series.file_shares_metrics
WHERE deviceName = '{{ deviceName }}' -- required
AND fileServerName = '{{ fileServerName }}' -- required
AND shareName = '{{ shareName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
AND $filter = '{{ $filter }}'
;