AlloyDB V1 API - Module Google::Cloud::AlloyDB::V1::Instance::InstanceType (v0.9.1)

Reference documentation and code samples for the AlloyDB V1 API module Google::Cloud::AlloyDB::V1::Instance::InstanceType.

Type of an Instance

Constants

INSTANCE_TYPE_UNSPECIFIED

value: 0
The type of the instance is unknown.

PRIMARY

value: 1
PRIMARY instances support read and write operations.

READ_POOL

value: 2

READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes.

  • Read pool of size 1 can only have zonal availability.
  • Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).

SECONDARY

value: 3
SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica