RegionCommitmentState constructor

const RegionCommitmentState({
  1. Input<bool?>? autoRenew,
  2. Input<String?>? category,
  3. Input<int?>? commitmentId,
  4. Input<String?>? creationTimestamp,
  5. Input<String?>? description,
  6. Input<String?>? endTimestamp,
  7. Input<String?>? existingReservations,
  8. Input<RegionCommitmentLicenseResource?>? licenseResource,
  9. Input<String?>? name,
  10. Input<RegionCommitmentParams?>? params,
  11. Input<String?>? plan,
  12. Input<String?>? project,
  13. Input<String?>? region,
  14. Input<List<RegionCommitmentResource>?>? resources,
  15. Input<String?>? selfLink,
  16. Input<String?>? startTimestamp,
  17. Input<String?>? status,
  18. Input<String?>? statusMessage,
  19. 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.

Implementation

const RegionCommitmentState({
  this.autoRenew,
  this.category,
  this.commitmentId,
  this.creationTimestamp,
  this.description,
  this.endTimestamp,
  this.existingReservations,
  this.licenseResource,
  this.name,
  this.params,
  this.plan,
  this.project,
  this.region,
  this.resources,
  this.selfLink,
  this.startTimestamp,
  this.status,
  this.statusMessage,
  this.type,
});