Partager via


LogAnalyticsDestination Class

Definition

Log Analytics destination.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.LogAnalyticsDestinationTypeConverter))]
public class LogAnalyticsDestination : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ILogAnalyticsDestination
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.LogAnalyticsDestinationTypeConverter))>]
type LogAnalyticsDestination = class
    interface ILogAnalyticsDestination
    interface IJsonSerializable
Public Class LogAnalyticsDestination
Implements ILogAnalyticsDestination
Inheritance
LogAnalyticsDestination
Attributes
Implements

Constructors

LogAnalyticsDestination()

Creates an new LogAnalyticsDestination instance.

Properties

Name

A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.

WorkspaceId

The Customer ID of the Log Analytics workspace.

WorkspaceResourceId

The resource ID of the Log Analytics workspace.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LogAnalyticsDestination.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LogAnalyticsDestination.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.ILogAnalyticsDestination.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of LogAnalyticsDestination into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to