Share via


DestinationsSpec Class

Definition

Specification of destinations that can be used in data flows.

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

Constructors

DestinationsSpec()

Creates an new DestinationsSpec instance.

Properties

AzureMonitorMetricName

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

EventHub

List of Event Hubs destinations.

EventHubsDirect

List of Event Hubs Direct destinations.

LogAnalytic

List of Log Analytics destinations.

MonitoringAccount

List of monitoring account destinations.

StorageAccount

List of storage accounts destinations.

StorageBlobsDirect

List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent.

StorageTablesDirect

List of Storage Table Direct destinations.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DestinationsSpec.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DestinationsSpec.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DestinationsSpec into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to