Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::Commitment::Type (v2.18.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Commitment::Type.

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.

Constants

UNDEFINED_TYPE

value: 0
A value indicating that the enum field is not set.

ACCELERATOR_OPTIMIZED

value: 280_848_403

ACCELERATOR_OPTIMIZED_A3

value: 158_574_526

ACCELERATOR_OPTIMIZED_A3_MEGA

value: 156_517_459

ACCELERATOR_OPTIMIZED_A3_ULTRA

value: 27_812_811

COMPUTE_OPTIMIZED

value: 158_349_023

COMPUTE_OPTIMIZED_C2D

value: 383_246_453

COMPUTE_OPTIMIZED_C3

value: 428_004_784

COMPUTE_OPTIMIZED_C3D

value: 383_246_484

COMPUTE_OPTIMIZED_H3

value: 428_004_939

GENERAL_PURPOSE

value: 299_793_543

GENERAL_PURPOSE_C4

value: 301_911_817

GENERAL_PURPOSE_C4A

value: 232_460_888

GENERAL_PURPOSE_E2

value: 301_911_877

GENERAL_PURPOSE_N2

value: 301_912_156

GENERAL_PURPOSE_N2D

value: 232_471_400

GENERAL_PURPOSE_N4

value: 301_912_158

GENERAL_PURPOSE_T2D

value: 232_477_166

GRAPHICS_OPTIMIZED

value: 68_500_563

MEMORY_OPTIMIZED

value: 281_753_417

MEMORY_OPTIMIZED_M3

value: 276_301_372

MEMORY_OPTIMIZED_X4_16TB

value: 183_089_120

MEMORY_OPTIMIZED_X4_24TB

value: 183_116_989

MEMORY_OPTIMIZED_X4_32TB

value: 183_144_858

STORAGE_OPTIMIZED_Z3

value: 316_796_085

TYPE_UNSPECIFIED

value: 437_714_322
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.