Class Type (1.26.0)

Type(value)

The type of commitment; specifies the machine series for which you want to commit to purchasing resources. The choice of machine series affects the discount rate and the eligible resource types. The type must be one of the following: ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3, ACCELERATOR_OPTIMIZED_A3_MEGA, COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D, COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE, GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2, GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D, GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D, GRAPHICS_OPTIMIZED, MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies only to eligible resources of general purpose N1 machine series.

Enums

Name Description
UNDEFINED_TYPE A value indicating that the enum field is not set.
ACCELERATOR_OPTIMIZED No description available.
ACCELERATOR_OPTIMIZED_A3 No description available.
ACCELERATOR_OPTIMIZED_A3_MEGA No description available.
ACCELERATOR_OPTIMIZED_A3_ULTRA No description available.
COMPUTE_OPTIMIZED No description available.
COMPUTE_OPTIMIZED_C2D No description available.
COMPUTE_OPTIMIZED_C3 No description available.
COMPUTE_OPTIMIZED_C3D No description available.
COMPUTE_OPTIMIZED_H3 No description available.
GENERAL_PURPOSE No description available.
GENERAL_PURPOSE_C4 No description available.
GENERAL_PURPOSE_C4A No description available.
GENERAL_PURPOSE_E2 No description available.
GENERAL_PURPOSE_N2 No description available.
GENERAL_PURPOSE_N2D No description available.
GENERAL_PURPOSE_N4 No description available.
GENERAL_PURPOSE_T2D No description available.
GRAPHICS_OPTIMIZED No description available.
MEMORY_OPTIMIZED No description available.
MEMORY_OPTIMIZED_M3 No description available.
MEMORY_OPTIMIZED_X4_16TB No description available.
MEMORY_OPTIMIZED_X4_24TB No description available.
MEMORY_OPTIMIZED_X4_32TB No description available.
STORAGE_OPTIMIZED_Z3 No description available.
TYPE_UNSPECIFIED Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the `optional Type type` definition. This ensures that the public documentation displays the new enum Type.