Share via


HighAvailabilityState Struct

Definition

The state of server high availability.

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

Fields

CreatingStandby
FailingOver
Healthy
NotEnabled
RemovingStandby

Methods

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

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

Equals(HighAvailabilityState)

Compares values of enum type HighAvailabilityState

Equals(Object)

Compares values of enum type HighAvailabilityState (override for Object)

GetHashCode()

Returns hashCode for enum HighAvailabilityState

ToString()

Returns string representation for HighAvailabilityState

Operators

Equality(HighAvailabilityState, HighAvailabilityState)

Overriding == operator for enum HighAvailabilityState

Implicit(HighAvailabilityState to String)

Implicit operator to convert HighAvailabilityState to string

Implicit(String to HighAvailabilityState)

Implicit operator to convert string to HighAvailabilityState

Inequality(HighAvailabilityState, HighAvailabilityState)

Overriding != operator for enum HighAvailabilityState

Applies to