Language

RestartParameter Class

Definition

PostgreSQL database engine restart parameters.

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

Constructors

Name Description
RestartParameter()

Creates an new RestartParameter instance.

Properties

Name Description
FailoverMode

Failover mode.

RestartWithFailover

Indicates if restart the PostgreSQL database engine should failover or switch over from primary to standby. This only works if server has high availability enabled.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RestartParameter.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RestartParameter.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IRestartParameter.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RestartParameter into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to