Class InstanceType (0.3.2)

InstanceType(value)

Type of an Instance

Values: INSTANCE_TYPE_UNSPECIFIED (0): The type of the instance is unknown. PRIMARY (1): PRIMARY instances support read and write operations. READ_POOL (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 (3):
    SECONDARY instances support read operations
    only. SECONDARY instance is a cross-region read
    replica