Google Cloud Container V1 Client - Class StatefulHAConfig (1.31.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class StatefulHAConfig.

Configuration for the Stateful HA add-on.

Generated from protobuf message google.container.v1.StatefulHAConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ enabled bool

Whether the Stateful HA add-on is enabled for this cluster.

getEnabled

Whether the Stateful HA add-on is enabled for this cluster.

Returns
Type Description
bool

setEnabled

Whether the Stateful HA add-on is enabled for this cluster.

Parameter
Name Description
var bool
Returns
Type Description
$this