Partager via


ConnectionState Struct

Definition

The current connection state of the connected registry.

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

Fields

Offline
Online
Syncing
Unhealthy

Methods

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

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

Equals(ConnectionState)

Compares values of enum type ConnectionState

Equals(Object)

Compares values of enum type ConnectionState (override for Object)

GetHashCode()

Returns hashCode for enum ConnectionState

ToString()

Returns string representation for ConnectionState

Operators

Equality(ConnectionState, ConnectionState)

Overriding == operator for enum ConnectionState

Implicit(ConnectionState to String)

Implicit operator to convert ConnectionState to string

Implicit(String to ConnectionState)

Implicit operator to convert string to ConnectionState

Inequality(ConnectionState, ConnectionState)

Overriding != operator for enum ConnectionState

Applies to