Google Cloud OsConfig V1 Client - Class InstanceDetailsSummary (1.1.1)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class InstanceDetailsSummary.

A summary of the current patch state across all instances that this patch job affects. Contains counts of instances in different states. These states map to InstancePatchState. List patch job instance details to see the specific states of each instance.

Generated from protobuf message google.cloud.osconfig.v1.PatchJob.InstanceDetailsSummary

Namespace

Google \ Cloud \ OsConfig \ V1 \ PatchJob

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pending_instance_count int|string

Number of instances pending patch job.

↳ inactive_instance_count int|string

Number of instances that are inactive.

↳ notified_instance_count int|string

Number of instances notified about patch job.

↳ started_instance_count int|string

Number of instances that have started.

↳ downloading_patches_instance_count int|string

Number of instances that are downloading patches.

↳ applying_patches_instance_count int|string

Number of instances that are applying patches.

↳ rebooting_instance_count int|string

Number of instances rebooting.

↳ succeeded_instance_count int|string

Number of instances that have completed successfully.

↳ succeeded_reboot_required_instance_count int|string

Number of instances that require reboot.

↳ failed_instance_count int|string

Number of instances that failed.

↳ acked_instance_count int|string

Number of instances that have acked and will start shortly.

↳ timed_out_instance_count int|string

Number of instances that exceeded the time out while applying the patch.

↳ pre_patch_step_instance_count int|string

Number of instances that are running the pre-patch step.

↳ post_patch_step_instance_count int|string

Number of instances that are running the post-patch step.

↳ no_agent_detected_instance_count int|string

Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.

getPendingInstanceCount

Number of instances pending patch job.

Returns
TypeDescription
int|string

setPendingInstanceCount

Number of instances pending patch job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getInactiveInstanceCount

Number of instances that are inactive.

Returns
TypeDescription
int|string

setInactiveInstanceCount

Number of instances that are inactive.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNotifiedInstanceCount

Number of instances notified about patch job.

Returns
TypeDescription
int|string

setNotifiedInstanceCount

Number of instances notified about patch job.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getStartedInstanceCount

Number of instances that have started.

Returns
TypeDescription
int|string

setStartedInstanceCount

Number of instances that have started.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDownloadingPatchesInstanceCount

Number of instances that are downloading patches.

Returns
TypeDescription
int|string

setDownloadingPatchesInstanceCount

Number of instances that are downloading patches.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getApplyingPatchesInstanceCount

Number of instances that are applying patches.

Returns
TypeDescription
int|string

setApplyingPatchesInstanceCount

Number of instances that are applying patches.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getRebootingInstanceCount

Number of instances rebooting.

Returns
TypeDescription
int|string

setRebootingInstanceCount

Number of instances rebooting.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getSucceededInstanceCount

Number of instances that have completed successfully.

Returns
TypeDescription
int|string

setSucceededInstanceCount

Number of instances that have completed successfully.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getSucceededRebootRequiredInstanceCount

Number of instances that require reboot.

Returns
TypeDescription
int|string

setSucceededRebootRequiredInstanceCount

Number of instances that require reboot.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getFailedInstanceCount

Number of instances that failed.

Returns
TypeDescription
int|string

setFailedInstanceCount

Number of instances that failed.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getAckedInstanceCount

Number of instances that have acked and will start shortly.

Returns
TypeDescription
int|string

setAckedInstanceCount

Number of instances that have acked and will start shortly.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getTimedOutInstanceCount

Number of instances that exceeded the time out while applying the patch.

Returns
TypeDescription
int|string

setTimedOutInstanceCount

Number of instances that exceeded the time out while applying the patch.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPrePatchStepInstanceCount

Number of instances that are running the pre-patch step.

Returns
TypeDescription
int|string

setPrePatchStepInstanceCount

Number of instances that are running the pre-patch step.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getPostPatchStepInstanceCount

Number of instances that are running the post-patch step.

Returns
TypeDescription
int|string

setPostPatchStepInstanceCount

Number of instances that are running the post-patch step.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getNoAgentDetectedInstanceCount

Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.

Returns
TypeDescription
int|string

setNoAgentDetectedInstanceCount

Number of instances that do not appear to be running the agent. Check to ensure that the agent is installed, running, and able to communicate with the service.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this