Compute V1 Client - Class InstanceGroupManagerAllInstancesConfig (1.22.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ propertiesInstanceProperties

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers. or regionInstanceGroupManagers.. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

getProperties

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers. or regionInstanceGroupManagers.. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

Returns
TypeDescription
InstanceProperties|null

hasProperties

clearProperties

setProperties

Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers. or regionInstanceGroupManagers.. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.

Parameter
NameDescription
varInstanceProperties
Returns
TypeDescription
$this