Reference documentation and code samples for the Compute V1 Client class Type.
Specifies the intent of the instance placement in the MIG.
Protobuf type google.cloud.compute.v1.ResourcePolicyWorkloadPolicy.Type
Namespace
Google \ Cloud \ Compute \ V1 \ ResourcePolicyWorkloadPolicyMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_TYPE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_TYPE = 0;
HIGH_AVAILABILITY
Value: 409487576
MIG spreads out the instances as much as possible for high availability.
Generated from protobuf enum HIGH_AVAILABILITY = 409487576;
HIGH_THROUGHPUT
Value: 146499815
MIG provisions instances as close to each other as possible for high throughput.
Generated from protobuf enum HIGH_THROUGHPUT = 146499815;