public enum Commitment.Types.Type
Reference documentation and code samples for the Compute Engine v1 API enum Commitment.Types.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.
Namespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Fields |
|
---|---|
Name | Description |
AcceleratorOptimized |
|
AcceleratorOptimizedA3 |
|
AcceleratorOptimizedA3Mega |
|
AcceleratorOptimizedA3Ultra |
|
ComputeOptimized |
|
ComputeOptimizedC2D |
|
ComputeOptimizedC3 |
|
ComputeOptimizedC3D |
|
ComputeOptimizedH3 |
|
GeneralPurpose |
|
GeneralPurposeC4 |
|
GeneralPurposeC4A |
|
GeneralPurposeE2 |
|
GeneralPurposeN2 |
|
GeneralPurposeN2D |
|
GeneralPurposeN4 |
|
GeneralPurposeT2D |
|
GraphicsOptimized |
|
MemoryOptimized |
|
MemoryOptimizedM3 |
|
MemoryOptimizedX416Tb |
|
MemoryOptimizedX424Tb |
|
MemoryOptimizedX432Tb |
|
StorageOptimizedZ3 |
|
UndefinedType |
A value indicating that the enum field is not set. |
Unspecified |
Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the |