Udostępnij przez


NodeState Struct

Definition

State of the compute node. Values are idle, running, preparing, unusable, leaving and preempted.

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

Fields

Name Description
Idle
Leaving
Preempted
Preparing
Running
Unusable

Methods

Name Description
CompleteArgument(String, String, String, CommandAst, IDictionary)

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

Equals(NodeState)

Compares values of enum type NodeState

Equals(Object)

Compares values of enum type NodeState (override for Object)

GetHashCode()

Returns hashCode for enum NodeState

ToString()

Returns string representation for NodeState

Operators

Name Description
Equality(NodeState, NodeState)

Overriding == operator for enum NodeState

Implicit(NodeState to String)

Implicit operator to convert NodeState to string

Implicit(String to NodeState)

Implicit operator to convert string to NodeState

Inequality(NodeState, NodeState)

Overriding != operator for enum NodeState

Applies to