Google Anthos Multi Cloud V1 Client - Class SurgeSettings (1.1.1)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class SurgeSettings.

SurgeSettings contains the parameters for Surge update.

Generated from protobuf message google.cloud.gkemulticloud.v1.SurgeSettings

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ max_surge int

Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.

↳ max_unavailable int

Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.

getMaxSurge

Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.

Returns
Type Description
int

setMaxSurge

Optional. The maximum number of nodes that can be created beyond the current size of the node pool during the update process.

Parameter
Name Description
var int
Returns
Type Description
$this

getMaxUnavailable

Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.

Returns
Type Description
int

setMaxUnavailable

Optional. The maximum number of nodes that can be simultaneously unavailable during the update process. A node is considered unavailable if its status is not Ready.

Parameter
Name Description
var int
Returns
Type Description
$this