Compute V1 Client - Class InstanceGroupManagerStatus (1.16.2)

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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ all_instances_configGoogle\Cloud\Compute\V1\InstanceGroupManagerStatusAllInstancesConfig

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

↳ autoscalerstring

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

↳ is_stablebool

[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.

↳ statefulGoogle\Cloud\Compute\V1\InstanceGroupManagerStatusStateful

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

↳ version_targetGoogle\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
TypeDescription
Google\Cloud\Compute\V1\InstanceGroupManagerStatusAllInstancesConfig|null

hasAllInstancesConfig

clearAllInstancesConfig

setAllInstancesConfig

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

Parameter
NameDescription
varGoogle\Cloud\Compute\V1\InstanceGroupManagerStatusAllInstancesConfig
Returns
TypeDescription
$this

getAutoscaler

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

Returns
TypeDescription
string

hasAutoscaler

clearAutoscaler

setAutoscaler

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
varbool
Returns
TypeDescription
$this

getStateful

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

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

hasStateful

clearStateful

setStateful

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

Parameter
NameDescription
varGoogle\Cloud\Compute\V1\InstanceGroupManagerStatusStateful
Returns
TypeDescription
$this

getVersionTarget

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

Returns
TypeDescription
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
NameDescription
varGoogle\Cloud\Compute\V1\InstanceGroupManagerStatusVersionTarget
Returns
TypeDescription
$this