Partager via


LogAnalyticsConfiguration Class

Definition

Log Analytics configuration, must only be provided when destination is configured as 'log-analytics'

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.LogAnalyticsConfigurationTypeConverter))]
public class LogAnalyticsConfiguration : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.LogAnalyticsConfigurationTypeConverter))>]
type LogAnalyticsConfiguration = class
    interface ILogAnalyticsConfiguration
    interface IJsonSerializable
Public Class LogAnalyticsConfiguration
Implements ILogAnalyticsConfiguration
Inheritance
LogAnalyticsConfiguration
Attributes
Implements

Constructors

LogAnalyticsConfiguration()

Creates an new LogAnalyticsConfiguration instance.

Properties

CustomerId

Log analytics customer id

SharedKey

Log analytics customer key

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogAnalyticsConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogAnalyticsConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ILogAnalyticsConfiguration.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogAnalyticsConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to