RecommendedActionMetricInfo interface

Contains time series of various impacted metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action.

Properties

metricName

Gets the name of the metric. e.g., CPU, Number of Queries.

startTime

Gets the start time of time interval given by this MetricInfo.

timeGrain

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)

unit

Gets the unit in which metric is measured. e.g., DTU, Frequency

value

Gets the value of the metric in the time interval given by this MetricInfo.

Property Details

metricName

Gets the name of the metric. e.g., CPU, Number of Queries.

metricName?: string

Property Value

string

startTime

Gets the start time of time interval given by this MetricInfo.

startTime?: Date

Property Value

Date

timeGrain

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)

timeGrain?: string

Property Value

string

unit

Gets the unit in which metric is measured. e.g., DTU, Frequency

unit?: string

Property Value

string

value

Gets the value of the metric in the time interval given by this MetricInfo.

value?: number

Property Value

number