RegionCommitmentState class

Input properties used for looking up and filtering RegionCommitment resources.

Constructors

RegionCommitmentState({Input<bool?>? autoRenew, Input<String?>? category, Input<int?>? commitmentId, Input<String?>? creationTimestamp, Input<String?>? description, Input<String?>? endTimestamp, Input<String?>? existingReservations, Input<RegionCommitmentLicenseResource?>? licenseResource, Input<String?>? name, Input<RegionCommitmentParams?>? params, Input<String?>? plan, Input<String?>? project, Input<String?>? region, Input<List<RegionCommitmentResource>?>? resources, Input<String?>? selfLink, Input<String?>? startTimestamp, Input<String?>? status, Input<String?>? statusMessage, Input<String?>? type})
Creates a new RegionCommitmentState. autoRenew Specifies whether to enable automatic renewal for the commitment. category The category of the commitment. Category MACHINE specifies commitments composed of commitmentId Unique identifier for the resource. creationTimestamp Creation timestamp in RFC3339 text format. description An optional description of this resource. endTimestamp Commitment end time in RFC3339 text format. existingReservations Specifies the already existing reservations to attach to the Commitment. This field will suppress licenseResource The license specification required as part of a license commitment. name Name of the resource. The name must be 1-63 characters long and match params Additional params passed with the request, but not persisted as part of resource payload plan The plan for this commitment, which determines duration and discount rate. project The ID of the project in which the resource belongs. region URL of the region where this commitment may be used. resources A list of commitment amounts for particular resources. selfLink The URI of the created resource. startTimestamp Commitment start time in RFC3339 text format. status Status of the commitment with regards to eventual expiration statusMessage A human-readable explanation of the status. type The type of commitment, which affects the discount rate and the eligible resources.
const
RegionCommitmentState.fromMap(Map<String, dynamic> map)
factory

Properties

autoRenew → Input<bool?>?
Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. 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.
final
category → Input<String?>?
The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. Possible values are: LICENSE, MACHINE.
final
commitmentId → Input<int?>?
Unique identifier for the resource.
final
creationTimestamp → Input<String?>?
Creation timestamp in RFC3339 text format.
final
description → Input<String?>?
An optional description of this resource.
final
endTimestamp → Input<String?>?
Commitment end time in RFC3339 text format.
final
existingReservations → Input<String?>?
Specifies the already existing reservations to attach to the Commitment. This field will suppress diffs that change the value from empty to non-empty. To force changing this field from empty to non-empty, change another field at the same time.
final
hashCode → int
The hash code for this object.
no setterinherited
licenseResource → Input<RegionCommitmentLicenseResource?>?
The license specification required as part of a license commitment. Structure is documented below.
final
name → Input<String?>?
Name of the resource. The name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
final
params → Input<RegionCommitmentParams?>?
Additional params passed with the request, but not persisted as part of resource payload Structure is documented below.
final
plan → Input<String?>?
The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). Possible values are: TWELVE_MONTH, THIRTY_SIX_MONTH.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
region → Input<String?>?
URL of the region where this commitment may be used.
final
resources → Input<List<RegionCommitmentResource>?>?
A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The URI of the created resource.
final
startTimestamp → Input<String?>?
Commitment start time in RFC3339 text format.
final
status → Input<String?>?
Status of the commitment with regards to eventual expiration (each commitment has an end date defined).
final
statusMessage → Input<String?>?
A human-readable explanation of the status.
final
type → Input<String?>?
The type of commitment, which affects the discount rate and the eligible resources. The type could be one of the following value: MEMORY_OPTIMIZED, ACCELERATOR_OPTIMIZED, GENERAL_PURPOSE, GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D, GENERAL_PURPOSE_E2, GENERAL_PURPOSE_T2D, GENERAL_PURPOSE_C3, COMPUTE_OPTIMIZED_C2, COMPUTE_OPTIMIZED_C2D and GRAPHICS_OPTIMIZED_G2
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited