Compute V1 Client - Class InstanceGroupManagerActionsSummary (1.18.1)

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] 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] 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] 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] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.

↳ none int

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

↳ recreating int

[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] 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] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.

↳ resuming int

[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] The number of instances in the managed instance group that are scheduled to be started or are currently being started.

↳ stopping int

[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] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.

↳ verifying int

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