Reference documentation and code samples for the Compute V1 Client class DistributionPolicy.
Generated from protobuf message google.cloud.compute.v1.DistributionPolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ target_shape
string
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). Check the TargetShape enum for the list of possible values.
↳ zones
array< DistributionPolicyZoneConfiguration
>
Zones where the regional managed instance group will create and manage its instances.
getTargetShape
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
string
hasTargetShape
clearTargetShape
setTargetShape
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Check the TargetShape enum for the list of possible values.
var
string
$this
getZones
Zones where the regional managed instance group will create and manage its instances.
setZones
Zones where the regional managed instance group will create and manage its instances.
$this