SliResource interface
Defines the root level properties of an SLI resource.
Properties
| baseline |
Defines the SLO baseline associated with the SLI. |
| category | Specifies the category of the SLI, used to classify signals such as Availability and Latency. |
| description | A user-provided description of the SLI, with a maximum length of 1000 characters. |
| destination |
Destination AMW accounts. |
| destination |
The destination Azure Monitor Workspace (AMW) accounts where the SLI emits metrics. |
| enable |
A flag to determine whether alert is enabled. |
| evaluation |
Determines how the SLI is evaluated—either based on request counts or time windows. |
| execution |
Indicates the current execution status of the SLI resource in ARM responses. |
| provisioning |
Indicates the provisioning status of the last operation. |
| sli |
Defines the SLI properties associated with the SLI. |
| streaming |
The streaming rule Id associated with the Sli resource. |
| streaming |
The streaming rule last updated timestamp associated with the Sli resource. |
Property Details
baselineProperties
Defines the SLO baseline associated with the SLI.
baselineProperties: BaselineProperties
Property Value
category
Specifies the category of the SLI, used to classify signals such as Availability and Latency.
category: string
Property Value
string
description
A user-provided description of the SLI, with a maximum length of 1000 characters.
description: string
Property Value
string
destinationAmwAccounts
destinationMetrics
The destination Azure Monitor Workspace (AMW) accounts where the SLI emits metrics.
destinationMetrics?: Metric[]
Property Value
Metric[]
enableAlert
A flag to determine whether alert is enabled.
enableAlert: boolean
Property Value
boolean
evaluationType
Determines how the SLI is evaluated—either based on request counts or time windows.
evaluationType: string
Property Value
string
executionState
Indicates the current execution status of the SLI resource in ARM responses.
executionState?: ExecutionState
Property Value
provisioningState
Indicates the provisioning status of the last operation.
provisioningState?: string
Property Value
string
sliProperties
Defines the SLI properties associated with the SLI.
sliProperties: SliProperties
Property Value
streamingRuleId
The streaming rule Id associated with the Sli resource.
streamingRuleId?: string
Property Value
string
streamingRuleLastUpdatedTimestamp
The streaming rule last updated timestamp associated with the Sli resource.
streamingRuleLastUpdatedTimestamp?: Date
Property Value
Date