Share via


ComputeInstanceState Struct

Definition

Current state of an ComputeInstance.

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

Fields

CreateFailed
Creating
Deleting
JobRunning
Restarting
Running
SettingUp
SetupFailed
Starting
Stopped
Stopping
Unknown
Unusable
UserSettingUp
UserSetupFailed

Methods

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

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

Equals(ComputeInstanceState)

Compares values of enum type ComputeInstanceState

Equals(Object)

Compares values of enum type ComputeInstanceState (override for Object)

GetHashCode()

Returns hashCode for enum ComputeInstanceState

ToString()

Returns string representation for ComputeInstanceState

Operators

Equality(ComputeInstanceState, ComputeInstanceState)

Overriding == operator for enum ComputeInstanceState

Implicit(ComputeInstanceState to String)

Implicit operator to convert ComputeInstanceState to string

Implicit(String to ComputeInstanceState)

Implicit operator to convert string to ComputeInstanceState

Inequality(ComputeInstanceState, ComputeInstanceState)

Overriding != operator for enum ComputeInstanceState

Applies to