Share via


RestartParameter Class

Definition

Represents server restart parameters.

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

Constructors

RestartParameter()

Creates an new RestartParameter instance.

Properties

FailoverMode

Failover mode.

RestartWithFailover

Indicates whether to restart the server with failover.

Methods

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.PostgreSql.Models.Api20210601.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.

Applies to