Delen via


AzureMonitorWorkspaceMetrics Class

Definition

Information about metrics for the Azure Monitor workspace

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.AzureMonitorWorkspaceMetricsTypeConverter))]
public class AzureMonitorWorkspaceMetrics : Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.IAzureMonitorWorkspaceMetrics, Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.AzureMonitorWorkspaceMetricsTypeConverter))>]
type AzureMonitorWorkspaceMetrics = class
    interface IAzureMonitorWorkspaceMetrics
    interface IJsonSerializable
    interface IMetrics
    interface IValidates
Public Class AzureMonitorWorkspaceMetrics
Implements IAzureMonitorWorkspaceMetrics, IValidates
Inheritance
AzureMonitorWorkspaceMetrics
Attributes
Implements

Constructors

AzureMonitorWorkspaceMetrics()

Creates an new AzureMonitorWorkspaceMetrics instance.

Properties

InternalId

An internal identifier for the metrics container. Only to be used by the system

PrometheusQueryEndpoint

The Prometheus query endpoint for the workspace

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AzureMonitorWorkspaceMetrics.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureMonitorWorkspaceMetrics.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Monitor.MonitorWorkspace.Models.Api20230403.IAzureMonitorWorkspaceMetrics.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureMonitorWorkspaceMetrics into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to