1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. bigquery
  5. Reservation
Google Cloud Classic v7.2.1 published on Wednesday, Nov 22, 2023 by Pulumi

gcp.bigquery.Reservation

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.2.1 published on Wednesday, Nov 22, 2023 by Pulumi

    A reservation is a mechanism used to guarantee BigQuery slots to users.

    To get more information about Reservation, see:

    Example Usage

    Bigquery Reservation Basic

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var reservation = new Gcp.BigQuery.Reservation("reservation", new()
        {
            Autoscale = new Gcp.BigQuery.Inputs.ReservationAutoscaleArgs
            {
                MaxSlots = 100,
            },
            Concurrency = 0,
            Edition = "STANDARD",
            IgnoreIdleSlots = true,
            Location = "us-west2",
            SlotCapacity = 0,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/bigquery"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bigquery.NewReservation(ctx, "reservation", &bigquery.ReservationArgs{
    			Autoscale: &bigquery.ReservationAutoscaleArgs{
    				MaxSlots: pulumi.Int(100),
    			},
    			Concurrency:     pulumi.Int(0),
    			Edition:         pulumi.String("STANDARD"),
    			IgnoreIdleSlots: pulumi.Bool(true),
    			Location:        pulumi.String("us-west2"),
    			SlotCapacity:    pulumi.Int(0),
    		})
    		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.Reservation;
    import com.pulumi.gcp.bigquery.ReservationArgs;
    import com.pulumi.gcp.bigquery.inputs.ReservationAutoscaleArgs;
    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 reservation = new Reservation("reservation", ReservationArgs.builder()        
                .autoscale(ReservationAutoscaleArgs.builder()
                    .maxSlots(100)
                    .build())
                .concurrency(0)
                .edition("STANDARD")
                .ignoreIdleSlots(true)
                .location("us-west2")
                .slotCapacity(0)
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    reservation = gcp.bigquery.Reservation("reservation",
        autoscale=gcp.bigquery.ReservationAutoscaleArgs(
            max_slots=100,
        ),
        concurrency=0,
        edition="STANDARD",
        ignore_idle_slots=True,
        location="us-west2",
        slot_capacity=0)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const reservation = new gcp.bigquery.Reservation("reservation", {
        autoscale: {
            maxSlots: 100,
        },
        concurrency: 0,
        edition: "STANDARD",
        ignoreIdleSlots: true,
        location: "us-west2",
        slotCapacity: 0,
    });
    
    resources:
      reservation:
        type: gcp:bigquery:Reservation
        properties:
          autoscale:
            maxSlots: 100
          concurrency: 0
          edition: STANDARD
          ignoreIdleSlots: true
          location: us-west2
          # Set to 0 for testing purposes
          #     // In reality this would be larger than zero
          slotCapacity: 0
    

    Create Reservation Resource

    new Reservation(name: string, args: ReservationArgs, opts?: CustomResourceOptions);
    @overload
    def Reservation(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    autoscale: Optional[ReservationAutoscaleArgs] = None,
                    concurrency: Optional[int] = None,
                    edition: Optional[str] = None,
                    ignore_idle_slots: Optional[bool] = None,
                    location: Optional[str] = None,
                    multi_region_auxiliary: Optional[bool] = None,
                    name: Optional[str] = None,
                    project: Optional[str] = None,
                    slot_capacity: Optional[int] = None)
    @overload
    def Reservation(resource_name: str,
                    args: ReservationArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewReservation(ctx *Context, name string, args ReservationArgs, opts ...ResourceOption) (*Reservation, error)
    public Reservation(string name, ReservationArgs args, CustomResourceOptions? opts = null)
    public Reservation(String name, ReservationArgs args)
    public Reservation(String name, ReservationArgs args, CustomResourceOptions options)
    
    type: gcp:bigquery:Reservation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ReservationArgs
    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 ReservationArgs
    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 ReservationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ReservationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Reservation 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 Reservation resource accepts the following input properties:

    SlotCapacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    Autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    Concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    Edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    IgnoreIdleSlots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    Location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    MultiRegionAuxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    Name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    SlotCapacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    Autoscale ReservationAutoscaleArgs

    The configuration parameters for the auto scaling feature. Structure is documented below.

    Concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    Edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    IgnoreIdleSlots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    Location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    MultiRegionAuxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    Name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity Integer

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency Integer

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition String

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots Boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location String

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary Boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name String

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity number

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency number

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slot_capacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscaleArgs

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition str

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignore_idle_slots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location str

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multi_region_auxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name str

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity Number

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale Property Map

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency Number

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition String

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots Boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location String

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary Boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name String

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Reservation resource produces the following output properties:

    Id string

    The provider-assigned unique ID for this managed resource.

    Id string

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    id string

    The provider-assigned unique ID for this managed resource.

    id str

    The provider-assigned unique ID for this managed resource.

    id String

    The provider-assigned unique ID for this managed resource.

    Look up Existing Reservation Resource

    Get an existing Reservation 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?: ReservationState, opts?: CustomResourceOptions): Reservation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            autoscale: Optional[ReservationAutoscaleArgs] = None,
            concurrency: Optional[int] = None,
            edition: Optional[str] = None,
            ignore_idle_slots: Optional[bool] = None,
            location: Optional[str] = None,
            multi_region_auxiliary: Optional[bool] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            slot_capacity: Optional[int] = None) -> Reservation
    func GetReservation(ctx *Context, name string, id IDInput, state *ReservationState, opts ...ResourceOption) (*Reservation, error)
    public static Reservation Get(string name, Input<string> id, ReservationState? state, CustomResourceOptions? opts = null)
    public static Reservation get(String name, Output<String> id, ReservationState 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.
    The following state arguments are supported:
    Autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    Concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    Edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    IgnoreIdleSlots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    Location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    MultiRegionAuxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    Name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    SlotCapacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    Autoscale ReservationAutoscaleArgs

    The configuration parameters for the auto scaling feature. Structure is documented below.

    Concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    Edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    IgnoreIdleSlots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    Location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    MultiRegionAuxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    Name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    Project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    SlotCapacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency Integer

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition String

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots Boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location String

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary Boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name String

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity Integer

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscale

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency number

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition string

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location string

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name string

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project string

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity number

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale ReservationAutoscaleArgs

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency int

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition str

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignore_idle_slots bool

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location str

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multi_region_auxiliary bool

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name str

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project str

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slot_capacity int

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    autoscale Property Map

    The configuration parameters for the auto scaling feature. Structure is documented below.

    concurrency Number

    Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.

    edition String

    The edition type. Valid values are STANDARD, ENTERPRISE, ENTERPRISE_PLUS

    ignoreIdleSlots Boolean

    If false, any query using this reservation will use idle slots from other reservations within the same admin project. If true, a query using this reservation will execute with the slot capacity specified above at most.

    location String

    The geographic location where the transfer config should reside. Examples: US, EU, asia-northeast1. The default value is US.

    multiRegionAuxiliary Boolean

    Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.

    name String

    The name of the reservation. This field must only contain alphanumeric characters or dash.


    project String

    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    slotCapacity Number

    Minimum slots available to this reservation. A slot is a unit of computational power in BigQuery, and serves as the unit of parallelism. Queries using this reservation might use more slots during runtime if ignoreIdleSlots is set to false.

    Supporting Types

    ReservationAutoscale, ReservationAutoscaleArgs

    CurrentSlots int

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    MaxSlots int

    Number of slots to be scaled when needed.

    CurrentSlots int

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    MaxSlots int

    Number of slots to be scaled when needed.

    currentSlots Integer

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    maxSlots Integer

    Number of slots to be scaled when needed.

    currentSlots number

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    maxSlots number

    Number of slots to be scaled when needed.

    current_slots int

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    max_slots int

    Number of slots to be scaled when needed.

    currentSlots Number

    (Output) The slot capacity added to this reservation when autoscale happens. Will be between [0, max_slots].

    maxSlots Number

    Number of slots to be scaled when needed.

    Import

    Reservation can be imported using any of these accepted formats* projects/{{project}}/locations/{{location}}/reservations/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} In Terraform v1.5.0 and later, use an import block to import Reservation using one of the formats above. For exampletf import {

    id = “projects/{{project}}/locations/{{location}}/reservations/{{name}}”

    to = google_bigquery_reservation.default }

     $ pulumi import gcp:bigquery/reservation:Reservation When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Reservation can be imported using one of the formats above. For example
    
     $ pulumi import gcp:bigquery/reservation:Reservation default projects/{{project}}/locations/{{location}}/reservations/{{name}}
    
     $ pulumi import gcp:bigquery/reservation:Reservation default {{project}}/{{location}}/{{name}}
    
     $ pulumi import gcp:bigquery/reservation:Reservation default {{location}}/{{name}}
    

    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.

    gcp logo
    Google Cloud Classic v7.2.1 published on Wednesday, Nov 22, 2023 by Pulumi