Share via


Risk Struct

Definition

The potential risk of not implementing the recommendation.

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

Fields

Error
None
Warning

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 Risk (override for Object)

Equals(Risk)

Compares values of enum type Risk

GetHashCode()

Returns hashCode for enum Risk

ToString()

Returns string representation for Risk

Operators

Equality(Risk, Risk)

Overriding == operator for enum Risk

Implicit(Risk to String)

Implicit operator to convert Risk to string

Implicit(String to Risk)

Implicit operator to convert string to Risk

Inequality(Risk, Risk)

Overriding != operator for enum Risk

Applies to