ServerRestartParameter 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.
Server restart parameters.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20210501.ServerRestartParameterTypeConverter))]
public class ServerRestartParameter : Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20210501.IServerRestartParameter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20210501.ServerRestartParameterTypeConverter))>]
type ServerRestartParameter = class
interface IServerRestartParameter
interface IJsonSerializable
Public Class ServerRestartParameter
Implements IServerRestartParameter
- Inheritance
-
ServerRestartParameter
- Attributes
- Implements
Constructors
ServerRestartParameter() |
Creates an new ServerRestartParameter instance. |
Properties
MaxFailoverSecond |
The maximum allowed failover time in seconds. |
RestartWithFailover |
Whether or not failover to standby server when restarting a server with high availability enabled. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ServerRestartParameter. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ServerRestartParameter. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MySql.Models.Api20210501.IServerRestartParameter. |
FromJsonString(String) |
Creates a new instance of ServerRestartParameter, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ServerRestartParameter into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |