MetricUnit Struct

Definition

The unit of the metric.

public readonly struct MetricUnit : IEquatable<Azure.Monitor.Query.Models.MetricUnit>
type MetricUnit = struct
Public Structure MetricUnit
Implements IEquatable(Of MetricUnit)
Inheritance
MetricUnit
Implements

Constructors

MetricUnit(String)

Initializes a new instance of MetricUnit.

Properties

BitsPerSecond

Rate unit of binary digits per second.

Bytes

Unit of memory in bytes.

ByteSeconds

Unit of data transfer or storage. It is the size of the data in bytes multiplied by the time it takes to transfer or store the data in seconds.

BytesPerSecond

Rate unit of memory in bytes per second.

Cores

Unit of processing power.

Count

Unit of raw quantity.

CountPerSecond

Rate unit of raw quantity per second.

MilliCores

Unit of processing power in 1/1000th of a CPU core.

MilliSeconds

Unit of time in 1/1000th of a second.

NanoCores

Unit of processing power in one billionth of a CPU core.

Percent

Percentage unit.

Seconds

Unit of time in seconds.

Unspecified

No specified unit.

Methods

Equals(MetricUnit)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(MetricUnit, MetricUnit)

Determines if two MetricUnit values are the same.

Implicit(String to MetricUnit)

Converts a string to a MetricUnit.

Inequality(MetricUnit, MetricUnit)

Determines if two MetricUnit values are not the same.

Applies to