ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerRestartParameter Method
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.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerRestartParameter PostgreSqlFlexibleServerRestartParameter(bool? restartWithFailover = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerFailoverMode? failoverMode = default);
static member PostgreSqlFlexibleServerRestartParameter : Nullable<bool> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerFailoverMode> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerRestartParameter
Public Shared Function PostgreSqlFlexibleServerRestartParameter (Optional restartWithFailover As Nullable(Of Boolean) = Nothing, Optional failoverMode As Nullable(Of PostgreSqlFlexibleServerFailoverMode) = Nothing) As PostgreSqlFlexibleServerRestartParameter
Parameters
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.
- failoverMode
- Nullable<PostgreSqlFlexibleServerFailoverMode>
Failover mode.
Returns
A new PostgreSqlFlexibleServerRestartParameter instance for mocking.