Compute V1 Client - Class InstanceGroupManagerStatus (1.20.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ all_instances_config Google\Cloud\Compute\V1\InstanceGroupManagerStatusAllInstancesConfig

[Output only] Status of all-instances configuration on the group.

↳ autoscaler string

[Output Only] The URL of the Autoscaler that targets this instance group manager.

↳ is_stable bool

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

↳ stateful Google\Cloud\Compute\V1\InstanceGroupManagerStatusStateful

[Output Only] Stateful status of the given Instance Group Manager.

↳ version_target Google\Cloud\Compute\V1\InstanceGroupManagerStatusVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

getAllInstancesConfig

[Output only] Status of all-instances configuration on the group.

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

hasAllInstancesConfig

clearAllInstancesConfig

setAllInstancesConfig

[Output only] Status of all-instances configuration on the group.

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

getAutoscaler

[Output Only] The URL of the Autoscaler that targets this instance group manager.

Returns
Type Description
string

hasAutoscaler

clearAutoscaler

setAutoscaler

[Output Only] The URL of the Autoscaler that targets this instance group manager.

Parameter
Name Description
var string
Returns
Type Description
$this

getIsStable

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

Returns
Type Description
bool

hasIsStable

clearIsStable

setIsStable

[Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.

Parameter
Name Description
var bool
Returns
Type Description
$this

getStateful

[Output Only] Stateful status of the given Instance Group Manager.

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

hasStateful

clearStateful

setStateful

[Output Only] Stateful status of the given Instance Group Manager.

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

getVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

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

hasVersionTarget

clearVersionTarget

setVersionTarget

[Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

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