Language

LogAnalyticsQueryRecommendationConfiguration Class

Definition

Log Analytics Query recommendation configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.LogAnalyticsQueryRecommendationConfigurationTypeConverter))]
public class LogAnalyticsQueryRecommendationConfiguration : Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.ILogAnalyticsQueryRecommendationConfiguration, Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.LogAnalyticsQueryRecommendationConfigurationTypeConverter))>]
type LogAnalyticsQueryRecommendationConfiguration = class
    interface ILogAnalyticsQueryRecommendationConfiguration
    interface IJsonSerializable
    interface ISignalRecommendationConfiguration
    interface IValidates
Public Class LogAnalyticsQueryRecommendationConfiguration
Implements ILogAnalyticsQueryRecommendationConfiguration, IValidates
Inheritance
LogAnalyticsQueryRecommendationConfiguration
Attributes
Implements

Constructors

Name Description
LogAnalyticsQueryRecommendationConfiguration()

Creates an new LogAnalyticsQueryRecommendationConfiguration instance.

Properties

Name Description
QueryText

Query text in KQL syntax. Supported entity template variables, such as {{entity.azureResourceId}}, may appear in the query.

RequiredDiagnosticSettingCategory

Diagnostic setting categories required to populate the query's tables.

RequiredTable

Log Analytics tables required by the query.

SignalKind

Kind of the recommended signal.

TimeGrain

Time range of the signal in ISO 8601 duration format (e.g. 'PT5M'). If not specified, the KQL query must define a time range.

ValueColumnName

Name of the numeric result column to evaluate against the thresholds.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogAnalyticsQueryRecommendationConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogAnalyticsQueryRecommendationConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudHealth.Models.ILogAnalyticsQueryRecommendationConfiguration.

FromJsonString(String)

Creates a new instance of LogAnalyticsQueryRecommendationConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogAnalyticsQueryRecommendationConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to