Google Cloud Classic v6.57.0, May 30 23
Google Cloud Classic v6.57.0, May 30 23
gcp.bigquery.CapacityCommitment
Explore with Pulumi AI
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes.
In order to remove annual commitment, its plan needs to be changed to monthly or flex first.
To get more information about CapacityCommitment, see:
- API documentation
- How-to Guides
Example Usage
Bigquery Reservation Capacity Commitment Docs
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var example = new Gcp.BigQuery.CapacityCommitment("example", new()
{
CapacityCommitmentId = "example-commitment",
Edition = "ENTERPRISE",
Location = "us-west2",
Plan = "FLEX_FLAT_RATE",
SlotCount = 100,
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/bigquery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := bigquery.NewCapacityCommitment(ctx, "example", &bigquery.CapacityCommitmentArgs{
CapacityCommitmentId: pulumi.String("example-commitment"),
Edition: pulumi.String("ENTERPRISE"),
Location: pulumi.String("us-west2"),
Plan: pulumi.String("FLEX_FLAT_RATE"),
SlotCount: pulumi.Int(100),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.bigquery.CapacityCommitment;
import com.pulumi.gcp.bigquery.CapacityCommitmentArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new CapacityCommitment("example", CapacityCommitmentArgs.builder()
.capacityCommitmentId("example-commitment")
.edition("ENTERPRISE")
.location("us-west2")
.plan("FLEX_FLAT_RATE")
.slotCount(100)
.build());
}
}
import pulumi
import pulumi_gcp as gcp
example = gcp.bigquery.CapacityCommitment("example",
capacity_commitment_id="example-commitment",
edition="ENTERPRISE",
location="us-west2",
plan="FLEX_FLAT_RATE",
slot_count=100)
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const example = new gcp.bigquery.CapacityCommitment("example", {
capacityCommitmentId: "example-commitment",
edition: "ENTERPRISE",
location: "us-west2",
plan: "FLEX_FLAT_RATE",
slotCount: 100,
});
resources:
example:
type: gcp:bigquery:CapacityCommitment
properties:
capacityCommitmentId: example-commitment
edition: ENTERPRISE
location: us-west2
plan: FLEX_FLAT_RATE
slotCount: 100
Create CapacityCommitment Resource
new CapacityCommitment(name: string, args: CapacityCommitmentArgs, opts?: CustomResourceOptions);
@overload
def CapacityCommitment(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_commitment_id: Optional[str] = None,
edition: Optional[str] = None,
enforce_single_admin_project_per_org: Optional[str] = None,
location: Optional[str] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
renewal_plan: Optional[str] = None,
slot_count: Optional[int] = None)
@overload
def CapacityCommitment(resource_name: str,
args: CapacityCommitmentArgs,
opts: Optional[ResourceOptions] = None)
func NewCapacityCommitment(ctx *Context, name string, args CapacityCommitmentArgs, opts ...ResourceOption) (*CapacityCommitment, error)
public CapacityCommitment(string name, CapacityCommitmentArgs args, CustomResourceOptions? opts = null)
public CapacityCommitment(String name, CapacityCommitmentArgs args)
public CapacityCommitment(String name, CapacityCommitmentArgs args, CustomResourceOptions options)
type: gcp:bigquery:CapacityCommitment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CapacityCommitmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CapacityCommitment Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The CapacityCommitment resource accepts the following input properties:
- Plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- Slot
Count int Number of slots in this commitment.
- Capacity
Commitment stringId 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.
- Edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- Enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Renewal
Plan 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 some commitment plans.
- Plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- Slot
Count int Number of slots in this commitment.
- Capacity
Commitment stringId 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.
- Edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- Enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Renewal
Plan 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 some commitment plans.
- plan String
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- slot
Count Integer Number of slots in this commitment.
- capacity
Commitment StringId 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.
- edition String
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single StringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
- plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- slot
Count number Number of slots in this commitment.
- capacity
Commitment stringId 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.
- edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
- plan str
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- slot_
count int Number of slots in this commitment.
- capacity_
commitment_ strid 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.
- edition str
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce_
single_ stradmin_ project_ per_ org If true, fail the request if another project in the organization has a capacity commitment.
- location str
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal_
plan str 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 some commitment plans.
- plan String
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- slot
Count Number Number of slots in this commitment.
- capacity
Commitment StringId 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.
- edition String
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single StringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
Outputs
All input properties are implicitly available as output properties. Additionally, the CapacityCommitment resource produces the following output properties:
- Commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- State string
State of the commitment
- Commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- State string
State of the commitment
- commitment
End StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- state String
State of the commitment
- commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- id string
The provider-assigned unique ID for this managed resource.
- name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- state string
State of the commitment
- commitment_
end_ strtime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment_
start_ strtime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- id str
The provider-assigned unique ID for this managed resource.
- name str
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- state str
State of the commitment
- commitment
End StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- id String
The provider-assigned unique ID for this managed resource.
- name String
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- state String
State of the commitment
Look up Existing CapacityCommitment Resource
Get an existing CapacityCommitment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CapacityCommitmentState, opts?: CustomResourceOptions): CapacityCommitment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity_commitment_id: Optional[str] = None,
commitment_end_time: Optional[str] = None,
commitment_start_time: Optional[str] = None,
edition: Optional[str] = None,
enforce_single_admin_project_per_org: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
plan: Optional[str] = None,
project: Optional[str] = None,
renewal_plan: Optional[str] = None,
slot_count: Optional[int] = None,
state: Optional[str] = None) -> CapacityCommitment
func GetCapacityCommitment(ctx *Context, name string, id IDInput, state *CapacityCommitmentState, opts ...ResourceOption) (*CapacityCommitment, error)
public static CapacityCommitment Get(string name, Input<string> id, CapacityCommitmentState? state, CustomResourceOptions? opts = null)
public static CapacityCommitment get(String name, Output<String> id, CapacityCommitmentState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capacity
Commitment stringId 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.
- Commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- Enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- Name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- Plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Renewal
Plan 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 some commitment plans.
- Slot
Count int Number of slots in this commitment.
- State string
State of the commitment
- Capacity
Commitment stringId 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.
- Commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- Edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- Enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- Location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- Name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- Plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Renewal
Plan 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 some commitment plans.
- Slot
Count int Number of slots in this commitment.
- State string
State of the commitment
- capacity
Commitment StringId 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.
- commitment
End StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- edition String
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single StringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- name String
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- plan String
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
- slot
Count Integer Number of slots in this commitment.
- state String
State of the commitment
- capacity
Commitment stringId 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.
- commitment
End stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start stringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- edition string
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single stringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location string
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- name string
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- plan string
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
- slot
Count number Number of slots in this commitment.
- state string
State of the commitment
- capacity_
commitment_ strid 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.
- commitment_
end_ strtime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment_
start_ strtime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- edition str
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce_
single_ stradmin_ project_ per_ org If true, fail the request if another project in the organization has a capacity commitment.
- location str
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- name str
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- plan str
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal_
plan str 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 some commitment plans.
- slot_
count int Number of slots in this commitment.
- state str
State of the commitment
- capacity
Commitment StringId 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.
- commitment
End StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- commitment
Start StringTime The start of the current commitment period. It is applicable only for ACTIVE capacity commitments.
- edition String
The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS
- enforce
Single StringAdmin Project Per Org If true, fail the request if another project in the organization has a capacity commitment.
- location String
The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.
- name String
The resource name of the capacity commitment, e.g., projects/myproject/locations/US/capacityCommitments/123
- plan String
Capacity commitment plan. Valid values are at https://cloud.google.com/bigquery/docs/reference/reservations/rpc/google.cloud.bigquery.reservation.v1#commitmentplan
- project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- renewal
Plan 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 some commitment plans.
- slot
Count Number Number of slots in this commitment.
- state String
State of the commitment
Import
CapacityCommitment can be imported using any of these accepted formats
$ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default projects/{{project}}/locations/{{location}}/capacityCommitments/{{capacity_commitment_id}}
$ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default {{project}}/{{location}}/{{capacity_commitment_id}}
$ pulumi import gcp:bigquery/capacityCommitment:CapacityCommitment default {{location}}/{{capacity_commitment_id}}
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.