你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
HighAvailability Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |