你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerHaState Struct

Definition

A state of a HA server that is visible to user.

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

Fields

CreatingStandby
FailingOver
Healthy
NotEnabled
RemovingStandby
ReplicatingData

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

Equals(ServerHaState)

Compares values of enum type ServerHaState

GetHashCode()

Returns hashCode for enum ServerHaState

ToString()

Returns string representation for ServerHaState

Operators

Equality(ServerHaState, ServerHaState)

Overriding == operator for enum ServerHaState

Implicit(ServerHaState to String)

Implicit operator to convert ServerHaState to string

Implicit(String to ServerHaState)

Implicit operator to convert string to ServerHaState

Inequality(ServerHaState, ServerHaState)

Overriding != operator for enum ServerHaState

Applies to