Share via


IDiagnosticMetricSample Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DiagnosticMetricSampleTypeConverter))]
public interface IDiagnosticMetricSample : Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.DiagnosticMetricSampleTypeConverter))>]
type IDiagnosticMetricSample = interface
    interface IJsonSerializable
Public Interface IDiagnosticMetricSample
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

IsAggregated

Whether the values are aggregates across all workers or not

Maximum

Maximum of the metric sampled during the time period

Minimum

Minimum of the metric sampled during the time period

RoleInstance

Role Instance. Null if this counter is not per instance This is returned and should be whichever instance name we desire to be returned i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis

Timestamp

Time at which metric is measured

Total

Total value of the metric. If multiple measurements are made this will have sum of all.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to