Compute V1 Client - Class InstanceGroupManagerActionsSummary (2.4.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ abandoning int

Output only. [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

↳ creating int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

↳ creating_without_retries int

Output only. [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

↳ deleting int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

↳ none int

Output only. [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

↳ recreating int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

↳ refreshing int

Output only. [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

↳ restarting int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

↳ resuming int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

↳ starting int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

↳ stopping int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

↳ suspending int

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

↳ verifying int

Output only. [Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

getAbandoning

Output only. [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

Returns
Type Description
int

hasAbandoning

clearAbandoning

setAbandoning

Output only. [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreating

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully.

If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

Returns
Type Description
int

hasCreating

clearCreating

setCreating

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully.

If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.

Parameter
Name Description
var int
Returns
Type Description
$this

getCreatingWithoutRetries

Output only. [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

Returns
Type Description
int

hasCreatingWithoutRetries

clearCreatingWithoutRetries

setCreatingWithoutRetries

Output only. [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.

Parameter
Name Description
var int
Returns
Type Description
$this

getDeleting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

Returns
Type Description
int

hasDeleting

clearDeleting

setDeleting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

Parameter
Name Description
var int
Returns
Type Description
$this

getNone

Output only. [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

Returns
Type Description
int

hasNone

clearNone

setNone

Output only. [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions.

Parameter
Name Description
var int
Returns
Type Description
$this

getRecreating

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated.

Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

Returns
Type Description
int

hasRecreating

clearRecreating

setRecreating

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated.

Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.

Parameter
Name Description
var int
Returns
Type Description
$this

getRefreshing

Output only. [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

Returns
Type Description
int

hasRefreshing

clearRefreshing

setRefreshing

Output only. [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.

Parameter
Name Description
var int
Returns
Type Description
$this

getRestarting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

Returns
Type Description
int

hasRestarting

clearRestarting

setRestarting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

Parameter
Name Description
var int
Returns
Type Description
$this

getResuming

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

Returns
Type Description
int

hasResuming

clearResuming

setResuming

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.

Parameter
Name Description
var int
Returns
Type Description
$this

getStarting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

Returns
Type Description
int

hasStarting

clearStarting

setStarting

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

Parameter
Name Description
var int
Returns
Type Description
$this

getStopping

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

Returns
Type Description
int

hasStopping

clearStopping

setStopping

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.

Parameter
Name Description
var int
Returns
Type Description
$this

getSuspending

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

Returns
Type Description
int

hasSuspending

clearSuspending

setSuspending

Output only. [Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

Parameter
Name Description
var int
Returns
Type Description
$this

getVerifying

Output only. [Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

Returns
Type Description
int

hasVerifying

clearVerifying

setVerifying

Output only. [Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.

Parameter
Name Description
var int
Returns
Type Description
$this