Compute V1 Client - Class InstanceGroupManagerAllInstancesConfig (1.18.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.

↳ propertiesGoogle\Cloud\Compute\V1\InstanceProperties

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
Google\Cloud\Compute\V1\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
varGoogle\Cloud\Compute\V1\InstanceProperties
Returns
TypeDescription
$this