MonitorSliProperties Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of MonitorSliProperties.
public MonitorSliProperties(string description, Azure.ResourceManager.Monitor.Slis.Models.SliCategory category, Azure.ResourceManager.Monitor.Slis.Models.SliEvaluationType evaluationType, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.Slis.Models.SliAmwAccount> destinationAmwAccounts, Azure.ResourceManager.Monitor.Slis.Models.SliBaseline baseline, bool isAlertEnabled, Azure.ResourceManager.Monitor.Slis.Models.SliProperties sliProperties);
new Azure.ResourceManager.Monitor.Slis.Models.MonitorSliProperties : string * Azure.ResourceManager.Monitor.Slis.Models.SliCategory * Azure.ResourceManager.Monitor.Slis.Models.SliEvaluationType * seq<Azure.ResourceManager.Monitor.Slis.Models.SliAmwAccount> * Azure.ResourceManager.Monitor.Slis.Models.SliBaseline * bool * Azure.ResourceManager.Monitor.Slis.Models.SliProperties -> Azure.ResourceManager.Monitor.Slis.Models.MonitorSliProperties
Public Sub New (description As String, category As SliCategory, evaluationType As SliEvaluationType, destinationAmwAccounts As IEnumerable(Of SliAmwAccount), baseline As SliBaseline, isAlertEnabled As Boolean, sliProperties As SliProperties)
Parameters
- description
- String
A user-provided description of the SLI, with a maximum length of 1000 characters.
- category
- SliCategory
Specifies the category of the SLI, used to classify signals such as Availability and Latency.
- evaluationType
- SliEvaluationType
Determines how the SLI is evaluated—either based on request counts or time windows.
- destinationAmwAccounts
- IEnumerable<SliAmwAccount>
Destination AMW accounts.
- baseline
- SliBaseline
Defines the baseline target, which is compared against the SLI value to determine compliance.
- isAlertEnabled
- Boolean
A flag to determine whether alert is enabled.
- sliProperties
- SliProperties
Defines the SLI properties associated with the SLI.
Exceptions
description, destinationAmwAccounts, baseline or sliProperties is null.