MonitorSliProperties Class

Definition

Defines the root level properties of an SLI resource.

public class MonitorSliProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Monitor.Slis.Models.MonitorSliProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Monitor.Slis.Models.MonitorSliProperties>
type MonitorSliProperties = class
    interface IJsonModel<MonitorSliProperties>
    interface IPersistableModel<MonitorSliProperties>
Public Class MonitorSliProperties
Implements IJsonModel(Of MonitorSliProperties), IPersistableModel(Of MonitorSliProperties)
Inheritance
MonitorSliProperties
Implements

Constructors

Name Description
MonitorSliProperties(String, SliCategory, SliEvaluationType, IEnumerable<SliAmwAccount>, SliBaseline, Boolean, SliProperties)

Initializes a new instance of MonitorSliProperties.

Properties

Name Description
Baseline

Defines the baseline target, which is compared against the SLI value to determine compliance.

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.

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.

IsAlertEnabled

A flag to determine whether alert is enabled.

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.

StreamingRuleLastUpdatedOn

The streaming rule last updated timestamp associated with the Sli resource.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MonitorSliProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MonitorSliProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MonitorSliProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MonitorSliProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MonitorSliProperties>.Write(ModelReaderWriterOptions)

Applies to