CapacityCommitmentArgs class
The set of arguments for CapacityCommitment. The set of arguments for CapacityCommitment.
Constructors
-
CapacityCommitmentArgs({Input<
String> ? capacityCommitmentId, Input<CapacityCommitmentEdition> ? edition, Input<bool> ? enforceSingleAdminProjectPerOrg, Input<String> ? location, Input<bool> ? multiRegionAuxiliary, Input<CapacityCommitmentPlan> ? plan, Input<String> ? project, Input<CapacityCommitmentRenewalPlan> ? renewalPlan, Input<String> ? slotCount}) -
Creates a new CapacityCommitmentArgs.
capacityCommitmentIdThe 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.editionEdition of the capacity commitment.enforceSingleAdminProjectPerOrgIf true, fail the request if another project in the organization has a capacity commitment.locationOptional.multiRegionAuxiliaryApplicable 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.planCapacity commitment commitment plan.projectOptional.renewalPlanThe 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.slotCountNumber 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
-
edition
→ Input<
CapacityCommitmentEdition> ? -
Edition of the capacity commitment.
final
-
enforceSingleAdminProjectPerOrg
→ Input<
bool> ? -
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> ? -
final
-
multiRegionAuxiliary
→ Input<
bool> ? -
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.
final
-
plan
→ Input<
CapacityCommitmentPlan> ? -
Capacity commitment commitment plan.
final
-
project
→ Input<
String> ? -
final
-
renewalPlan
→ Input<
CapacityCommitmentRenewalPlan> ? -
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
slotCount
→ Input<
String> ? -
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