共用方式為


LogAnalyticsDestination Class

Definition

Log Analytics destination.

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

Constructors

LogAnalyticsDestination()

Initializes a new instance of LogAnalyticsDestination.

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.

Explicit Interface Implementations

IJsonModel<LogAnalyticsDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LogAnalyticsDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LogAnalyticsDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LogAnalyticsDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LogAnalyticsDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to