- Resource: Commitment
- Status
- Plan
- ResourceCommitment
- Type
- Type
- Category
- LicenseResourceCommitment
- ResourceStatus
- Methods
Resource: Commitment
Represents a regional Commitment resource.
Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
JSON representation |
---|
{ "kind": string, "id": string, "creationTimestamp": string, "name": string, "description": string, "region": string, "selfLink": string, "status": enum ( |
Fields | |
---|---|
kind |
[Output Only] Type of the resource. Always
for commitments. |
id |
[Output Only] The unique identifier for the resource. This identifier is defined by the server. |
creation |
[Output Only] Creation timestamp in RFC3339 text format. |
name |
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression |
description |
An optional description of this resource. Provide this property when you create the resource. |
region |
[Output Only] URL of the region where this commitment may be used. |
self |
[Output Only] Server-defined URL for the resource. |
status |
[Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values:
,
. |
status |
[Output Only] An optional, human-readable explanation of the status. |
plan |
The plan for this commitment, which determines duration and discount rate. The currently supported plans are
(1 year), and
(3 years). |
start |
[Output Only] Commitment start time in RFC3339 text format. |
end |
[Output Only] Commitment end time in RFC3339 text format. |
resources[] |
A list of commitment amounts for particular resources. Note that
and
resource commitments must occur together. |
type |
The type of commitment, which affects the discount rate and the eligible resources. Type
specifies a commitment that will only apply to memory optimized machines. Type
specifies a commitment that will only apply to accelerator optimized machines. |
reservations[] |
regionCommitments.list of create-on-create reservations for this commitment. |
category |
The category of the commitment. Category
specifies commitments composed of machine resources such as
or
, listed in
. Category
specifies commitments composed of software licenses, listed in
. Note that only
commitments should have a
specified. |
license |
The license specification required as part of a license commitment. |
auto |
Specifies whether to enable automatic renewal for the commitment. The default value is
if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. |
merge |
regionCommitments.list of source commitments to be merged into a new commitment. |
split |
Source commitment to be split into a new commitment. |
resource |
[Output Only] Status information for Commitment resource. |
existing |
Specifies the already existing reservations to attach to the Commitment. This field is optional, and it can be a full or partial URL. For example, the following are valid URLs to an reservation:
|
custom |
[Input Only] Optional, specifies the CUD end time requested by the customer in RFC3339 text format. Needed when the customer wants CUD's end date is later than the start date + term duration. |
Status
Status of a commitment with regards to eventual expiration (each commitment has an end date defined).
Enums | |
---|---|
CREATING |
|
ACTIVE |
|
EXPIRED |
|
NOT_YET_ACTIVE |
|
CANCELLED |
Deprecate CANCELED status. Will use separate status to differentiate cancel by mergeCud or manual cancellation. |
Plan
Plan (may affect e.g. discount)
Enums | |
---|---|
INVALID |
|
TWELVE_MONTH |
|
THIRTY_SIX_MONTH |
ResourceCommitment
Commitment for a particular resource (a Commitment is composed of one or more of these).
JSON representation |
---|
{
"type": enum ( |
Fields | |
---|---|
type |
Type of resource for which this commitment applies. Possible values are
,
,
, and
. |
amount |
The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. |
accelerator |
Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. |
Type
Type of resource for which a commitment applies.
Enums | |
---|---|
UNSPECIFIED |
|
VCPU |
|
MEMORY |
|
LOCAL_SSD |
|
ACCELERATOR |
Type
next ID: 39
Enums | |
---|---|
TYPE_UNSPECIFIED |
|
GENERAL_PURPOSE |
|
MEMORY_OPTIMIZED |
|
COMPUTE_OPTIMIZED |
|
GENERAL_PURPOSE_N2 |
|
GENERAL_PURPOSE_E2 |
|
GENERAL_PURPOSE_N2D |
|
ACCELERATOR_OPTIMIZED |
|
COMPUTE_OPTIMIZED_C2D |
|
GENERAL_PURPOSE_T2D |
|
COMPUTE_OPTIMIZED_C3 |
|
MEMORY_OPTIMIZED_M3 |
|
ACCELERATOR_OPTIMIZED_A3 |
|
GRAPHICS_OPTIMIZED |
|
COMPUTE_OPTIMIZED_C3D |
|
COMPUTE_OPTIMIZED_H3 |
|
GENERAL_PURPOSE_C4 |
|
GENERAL_PURPOSE_N4 |
|
STORAGE_OPTIMIZED_Z3 |
|
GENERAL_PURPOSE_C4A |
|
ACCELERATOR_OPTIMIZED_A3_MEGA |
|
MEMORY_OPTIMIZED_X4_16TB |
|
MEMORY_OPTIMIZED_X4_24TB |
|
MEMORY_OPTIMIZED_X4_32TB |
Category
Enums | |
---|---|
CATEGORY_UNSPECIFIED |
|
MACHINE |
|
LICENSE |
LicenseResourceCommitment
Commitment for a particular license resource.
JSON representation |
---|
{ "license": string, "amount": string, "coresPerLicense": string } |
Fields | |
---|---|
license |
Any applicable license URI. |
amount |
The number of licenses purchased. |
cores |
Specifies the core range of the instance for which this license applies. |
ResourceStatus
[Output Only] Contains output only fields.
JSON representation |
---|
{ "customTermEligibilityEndTimestamp": string } |
Fields | |
---|---|
custom |
[Output Only] Indicates the end time of customer's eligibility to send custom term requests in RFC3339 text format. Term extension requests that (not the end time in the request) after this time will be rejected. |
Methods |
|
---|---|
|
The method compute.v1.RegionCommitmentsService.AggregatedList is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.RegionCommitmentsService.Get is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.RegionCommitmentsService.Insert is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.RegionCommitmentsService.List is not available in this (s3nsapis.fr) universe. |
|
The method compute.v1.RegionCommitmentsService.Update is not available in this (s3nsapis.fr) universe. |