CapacityCommitmentState class
Input properties used for looking up and filtering CapacityCommitment resources.
Constructors
-
CapacityCommitmentState({Input<
String?> ? capacityCommitmentId, Input<String?> ? commitmentEndTime, Input<String?> ? commitmentStartTime, Input<String?> ? deletionPolicy, Input<String?> ? edition, Input<String?> ? enforceSingleAdminProjectPerOrg, Input<String?> ? location, Input<String?> ? name, Input<String?> ? plan, Input<String?> ? project, Input<String?> ? renewalPlan, Input<int?> ? slotCount, Input<String?> ? state}) -
Creates a new CapacityCommitmentState.
capacityCommitmentIdThe optional capacity commitment ID. Capacity commitment name will be generated automatically if this field iscommitmentEndTimeThe start of the current commitment period. It is applicable only for ACTIVE capacity commitments.commitmentStartTimeThe start of the current commitment period. It is applicable only for ACTIVE capacity commitments.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.editionThe edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUSenforceSingleAdminProjectPerOrgIf true, fail the request if another project in the organization has a capacity commitment.locationThe geographic location where the transfer config should reside.nameThe resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123planCapacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplanprojectThe ID of the project in which the resource belongs.renewalPlanThe 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.slotCountNumber of slots in this commitment.stateState of the commitmentconst -
CapacityCommitmentState.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
-
commitmentEndTime
→ Input<
String?> ? -
The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
final
-
commitmentStartTime
→ Input<
String?> ? -
The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
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
-
name
→ Input<
String?> ? -
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
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
-
state
→ Input<
String?> ? -
State of the 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