你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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