CapacityCommitmentArgs constructor

const CapacityCommitmentArgs({
  1. Input<String?>? capacityCommitmentId,
  2. Input<String?>? deletionPolicy,
  3. Input<String?>? edition,
  4. Input<String?>? enforceSingleAdminProjectPerOrg,
  5. Input<String?>? location,
  6. required Input<String> plan,
  7. Input<String?>? project,
  8. Input<String?>? renewalPlan,
  9. required Input<int> slotCount,
})

Creates a new CapacityCommitmentArgs. capacityCommitmentId The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. edition The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS enforceSingleAdminProjectPerOrg If true, fail the request if another project in the organization has a capacity commitment. location The geographic location where the transfer config should reside. plan Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan project The ID of the project in which the resource belongs. renewalPlan The plan this capacity commitment is converted to after commitmentEndTime passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for some commitment plans. slotCount Number of slots in this commitment.

Implementation

const CapacityCommitmentArgs({
  this.capacityCommitmentId,
  this.deletionPolicy,
  this.edition,
  this.enforceSingleAdminProjectPerOrg,
  this.location,
  required this.plan,
  this.project,
  this.renewalPlan,
  required this.slotCount,
});