SliResource interface

Defines the root level properties of an SLI resource.

Properties

baselineProperties

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.

destinationAmwAccounts

Destination AMW accounts.

destinationMetrics

The destination Azure Monitor Workspace (AMW) accounts where the SLI emits metrics.

enableAlert

A flag to determine whether alert is enabled.

evaluationType

Determines how the SLI is evaluated—either based on request counts or time windows.

executionState

Indicates the current execution status of the SLI resource in ARM responses.

provisioningState

Indicates the provisioning status of the last operation.

sliProperties

Defines the SLI properties associated with the SLI.

streamingRuleId

The streaming rule Id associated with the Sli resource.

streamingRuleLastUpdatedTimestamp

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

Destination AMW accounts.

destinationAmwAccounts: AmwAccount[]

Property Value

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