Partager via


UsageUnit Struct

Definition

Gets the unit of measurement.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageUnitTypeConverter))]
public struct UsageUnit : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageUnit>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UsageUnitTypeConverter))>]
type UsageUnit = struct
    interface IArgumentCompleter
Public Structure UsageUnit
Implements IArgumentCompleter, IEquatable(Of UsageUnit)
Inheritance
UsageUnit
Attributes
Implements

Fields

Bytes
BytesPerSecond
Count
CountsPerSecond
Percent
Seconds

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type UsageUnit (override for Object)

Equals(UsageUnit)

Compares values of enum type UsageUnit

GetHashCode()

Returns hashCode for enum UsageUnit

ToString()

Returns string representation for UsageUnit

Operators

Equality(UsageUnit, UsageUnit)

Overriding == operator for enum UsageUnit

Implicit(String to UsageUnit)

Implicit operator to convert string to UsageUnit

Implicit(UsageUnit to String)

Implicit operator to convert UsageUnit to string

Inequality(UsageUnit, UsageUnit)

Overriding != operator for enum UsageUnit

Applies to