Compute V1 Client - Class InstanceGroupManagerStatusStateful (1.13.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
NameDescription
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 instance.

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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this

getPerInstanceConfigs

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

Returns
TypeDescription
Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs|null

hasPerInstanceConfigs

clearPerInstanceConfigs

setPerInstanceConfigs

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

Parameter
NameDescription
var Google\Cloud\Compute\V1\InstanceGroupManagerStatusStatefulPerInstanceConfigs
Returns
TypeDescription
$this