Share via


HighAvailability Class

Definition

High availability properties of a server

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20210601.HighAvailabilityTypeConverter))]
public class HighAvailability : Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20210601.IHighAvailability
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20210601.HighAvailabilityTypeConverter))>]
type HighAvailability = class
    interface IHighAvailability
    interface IJsonSerializable
Public Class HighAvailability
Implements IHighAvailability
Inheritance
HighAvailability
Attributes
Implements

Constructors

HighAvailability()

Creates an new HighAvailability instance.

Properties

Mode

The HA mode for the server.

StandbyAvailabilityZone

availability zone information of the standby.

State

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HighAvailability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HighAvailability.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSql.Models.Api20210601.IHighAvailability.

FromJsonString(String)

Creates a new instance of HighAvailability, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HighAvailability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to