Share via


OperationalState Struct

Definition

The operational state of the role instance.

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

Fields

Running
Starting
Stopped
Stopping
Unknown

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

Equals(OperationalState)

Compares values of enum type OperationalState

GetHashCode()

Returns hashCode for enum OperationalState

ToString()

Returns string representation for OperationalState

Operators

Equality(OperationalState, OperationalState)

Overriding == operator for enum OperationalState

Implicit(OperationalState to String)

Implicit operator to convert OperationalState to string

Implicit(String to OperationalState)

Implicit operator to convert string to OperationalState

Inequality(OperationalState, OperationalState)

Overriding != operator for enum OperationalState

Applies to