Compute V1 Client - Class InstanceGroupManagerActionsSummary (1.9.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
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getNone

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

Returns
TypeDescription
int

hasNone

clearNone

setNone

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

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