Share via


DestinationsSpecAzureMonitorMetrics Class

Definition

Azure Monitor Metrics destination.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DestinationsSpecAzureMonitorMetricsTypeConverter))]
public class DestinationsSpecAzureMonitorMetrics : Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.IDestinationsSpecAzureMonitorMetrics, Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.DataCollection.Models.DestinationsSpecAzureMonitorMetricsTypeConverter))>]
type DestinationsSpecAzureMonitorMetrics = class
    interface IDestinationsSpecAzureMonitorMetrics
    interface IJsonSerializable
    interface IAzureMonitorMetricsDestination
    interface IValidates
Public Class DestinationsSpecAzureMonitorMetrics
Implements IDestinationsSpecAzureMonitorMetrics, IValidates
Inheritance
DestinationsSpecAzureMonitorMetrics
Attributes
Implements

Constructors

DestinationsSpecAzureMonitorMetrics()

Creates an new DestinationsSpecAzureMonitorMetrics 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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DestinationsSpecAzureMonitorMetrics.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DestinationsSpecAzureMonitorMetrics.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DestinationsSpecAzureMonitorMetrics into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to