CapacityCommitmentArgs class

The set of arguments for CapacityCommitment. The set of arguments for CapacityCommitment.

Constructors

CapacityCommitmentArgs({Input<String?>? capacityCommitmentId, Input<String?>? deletionPolicy, Input<String?>? edition, Input<String?>? enforceSingleAdminProjectPerOrg, Input<String?>? location, required Input<String> plan, Input<String?>? project, Input<String?>? renewalPlan, 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.
const
CapacityCommitmentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

capacityCommitmentId → Input<String?>?
The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
edition → Input<String?>?
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
final
enforceSingleAdminProjectPerOrg → Input<String?>?
If true, fail the request if another project in the organization has a capacity commitment.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String?>?
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
final
plan → Input<String>
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
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
renewalPlan → Input<String?>?
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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slotCount → Input<int>
Number of slots in this commitment.
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