Language

HighAvailability Class

Definition

High availability properties of a server.

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

Constructors

Name Description
HighAvailability()

Creates an new HighAvailability instance.

Properties

Name Description
Mode

High availability mode for a server.

StandbyAvailabilityZone

Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant.

State

Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant.

Methods

Name Description
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.PostgreSqlFlexibleServer.Models.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.

ToString()

Applies to