Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Commitment::Type.
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
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
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_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
STORAGE_OPTIMIZED_Z3
value: 316_796_085
TYPE_UNSPECIFIED
value: 437_714_322