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. NOTE: This property will not be serialized. It can only be populated by the server.

startTime

Gets the start time of time interval given by this MetricInfo. NOTE: This property will not be serialized. It can only be populated by the server.

timeGrain

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour) NOTE: This property will not be serialized. It can only be populated by the server.

unit

Gets the unit in which metric is measured. e.g., DTU, Frequency NOTE: This property will not be serialized. It can only be populated by the server.

value

Gets the value of the metric in the time interval given by this MetricInfo. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

metricName

Gets the name of the metric. e.g., CPU, Number of Queries. NOTE: This property will not be serialized. It can only be populated by the server.

metricName?: string

Property Value

string

startTime

Gets the start time of time interval given by this MetricInfo. NOTE: This property will not be serialized. It can only be populated by the server.

startTime?: Date

Property Value

Date

timeGrain

Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour) NOTE: This property will not be serialized. It can only be populated by the server.

timeGrain?: string

Property Value

string

unit

Gets the unit in which metric is measured. e.g., DTU, Frequency NOTE: This property will not be serialized. It can only be populated by the server.

unit?: string

Property Value

string

value

Gets the value of the metric in the time interval given by this MetricInfo. NOTE: This property will not be serialized. It can only be populated by the server.

value?: number

Property Value

number