Compute V1 Client - Class InstanceGroupManagerStatusStateful (1.18.0)

Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagerStatusStateful.

Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagerStatusStateful

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ has_stateful_config bool

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

↳ per_instance_configs Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instances.

getHasStatefulConfig

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

Returns
Type Description
bool

hasHasStatefulConfig

clearHasStatefulConfig

setHasStatefulConfig

[Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.

Parameter
Name Description
var bool
Returns
Type Description
$this

getPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instances.

Returns
Type Description
Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs|null

hasPerInstanceConfigs

clearPerInstanceConfigs

setPerInstanceConfigs

[Output Only] Status of per-instance configurations on the instances.

Parameter
Name Description
var Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
Type Description
$this