CapacityCommitmentArgs

data class CapacityCommitmentArgs(val capacityCommitmentId: Output<String>? = null, val edition: Output<CapacityCommitmentEdition>? = null, val enforceSingleAdminProjectPerOrg: Output<Boolean>? = null, val location: Output<String>? = null, val multiRegionAuxiliary: Output<Boolean>? = null, val plan: Output<CapacityCommitmentPlan>? = null, val project: Output<String>? = null, val renewalPlan: Output<CapacityCommitmentRenewalPlan>? = null, val slotCount: Output<String>? = null) : ConvertibleToJava<CapacityCommitmentArgs>

Creates a new capacity commitment resource. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun CapacityCommitmentArgs(capacityCommitmentId: Output<String>? = null, edition: Output<CapacityCommitmentEdition>? = null, enforceSingleAdminProjectPerOrg: Output<Boolean>? = null, location: Output<String>? = null, multiRegionAuxiliary: Output<Boolean>? = null, plan: Output<CapacityCommitmentPlan>? = null, project: Output<String>? = null, renewalPlan: Output<CapacityCommitmentRenewalPlan>? = null, slotCount: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CapacityCommitmentArgs

Properties

Link copied to clipboard
val capacityCommitmentId: Output<String>? = null

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.

Link copied to clipboard
val edition: Output<CapacityCommitmentEdition>? = null

Edition of the capacity commitment.

Link copied to clipboard

If true, fail the request if another project in the organization has a capacity commitment.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val multiRegionAuxiliary: Output<Boolean>? = null

Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region. NOTE: this is a preview feature. Project must be allow-listed in order to set this field.

Link copied to clipboard
val plan: Output<CapacityCommitmentPlan>? = null

Capacity commitment commitment plan.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard

The plan this capacity commitment is converted to after commitment_end_time passes. Once the plan is changed, committed period is extended according to commitment plan. Only applicable for ANNUAL and TRIAL commitments.

Link copied to clipboard
val slotCount: Output<String>? = null

Number of slots in this commitment.