Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PSMetric Class

Definition

Namespace:
Microsoft.Azure.Commands.Insights.OutputClasses
Assembly:
Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll
Assembly:
Microsoft.Azure.Commands.Insights.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Wraps around the PSMetricNoDetails and exposes all the localized strings as invariant/localized properties

public class PSMetric
public class PSMetric : Microsoft.Azure.Management.Monitor.Models.Metric
type PSMetric = class
type PSMetric = class
 inherit Metric
Public Class PSMetric
Public Class PSMetric
Inherits Metric
Inheritance
PSMetric
Inheritance
PSMetric
Derived

Constructors

Name Description
PSMetric(Metric)

Initializes a new instance of the PSMetric class.

Properties

Name Description
Data

Metric data

Id

Resource id

Name

Metric name (This should be the public facing display name)

Timeseries

Gets or sets the time series returned when a data query is performed.

Type

Resource type

Unit

Metric Unit

Applies to