Share via


CpuThreshold Struct

Definition

Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20.

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

Fields

Fifteen
Five
Ten
Twenty

Methods

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

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

Equals(CpuThreshold)

Compares values of enum type CpuThreshold

Equals(Object)

Compares values of enum type CpuThreshold (override for Object)

GetHashCode()

Returns hashCode for enum CpuThreshold

ToString()

Returns string representation for CpuThreshold

Operators

Equality(CpuThreshold, CpuThreshold)

Overriding == operator for enum CpuThreshold

Implicit(CpuThreshold to String)

Implicit operator to convert CpuThreshold to string

Implicit(String to CpuThreshold)

Implicit operator to convert string to CpuThreshold

Inequality(CpuThreshold, CpuThreshold)

Overriding != operator for enum CpuThreshold

Applies to