Share via


MonitoringAccountDestination Class

Definition

Monitoring account destination.

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

Constructors

MonitoringAccountDestination()

Initializes a new instance of MonitoringAccountDestination.

Properties

AccountId

The immutable ID of the account.

AccountResourceId

The resource ID of the monitoring account.

Name

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

Explicit Interface Implementations

IJsonModel<MonitoringAccountDestination>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MonitoringAccountDestination>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MonitoringAccountDestination>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MonitoringAccountDestination>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MonitoringAccountDestination>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to