Share via


DiagnosticMetricSet Class

Definition

Class representing Diagnostic Metric information

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DiagnosticMetricSetTypeConverter))]
public class DiagnosticMetricSet : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDiagnosticMetricSet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.DiagnosticMetricSetTypeConverter))>]
type DiagnosticMetricSet = class
    interface IDiagnosticMetricSet
    interface IJsonSerializable
Public Class DiagnosticMetricSet
Implements IDiagnosticMetricSet
Inheritance
DiagnosticMetricSet
Attributes
Implements

Constructors

DiagnosticMetricSet()

Creates an new DiagnosticMetricSet instance.

Properties

EndTime

End time of the period

Name

Name of the metric

StartTime

Start time of the period

TimeGrain

Presented time grain. Supported grains at the moment are PT1M, PT1H, P1D

Unit

Metric's unit

Value

Collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DiagnosticMetricSet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DiagnosticMetricSet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDiagnosticMetricSet.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DiagnosticMetricSet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to