import * as pulumi from "@pulumi/pulumi"; /** * Creates a new reservation resource. */ export declare class Reservation extends pulumi.CustomResource { /** * Get an existing Reservation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Reservation; /** * Returns true if the given object is an instance of Reservation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Reservation; /** * Creation time of the reservation. */ readonly creationTime: pulumi.Output; /** * 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. */ readonly ignoreIdleSlots: pulumi.Output; /** * Maximum number of queries that are allowed to run concurrently in this reservation. Default value is 0 which means that maximum concurrency will be automatically set based on the reservation size. */ readonly maxConcurrency: pulumi.Output; /** * The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. */ readonly name: pulumi.Output; /** * 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 ignore_idle_slots is set to false. If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. */ readonly slotCapacity: pulumi.Output; /** * Last update time of the reservation. */ readonly updateTime: pulumi.Output; /** * Create a Reservation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ReservationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Reservation resource. */ export interface ReservationArgs { /** * 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. */ readonly ignoreIdleSlots?: pulumi.Input; readonly locationsId: pulumi.Input; /** * Maximum number of queries that are allowed to run concurrently in this reservation. Default value is 0 which means that maximum concurrency will be automatically set based on the reservation size. */ readonly maxConcurrency?: pulumi.Input; /** * The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; readonly reservationsId: pulumi.Input; /** * 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 ignore_idle_slots is set to false. If the new reservation's slot capacity exceed the parent's slot capacity or if total slot capacity of the new reservation and its siblings exceeds the parent's slot capacity, the request will fail with `google.rpc.Code.RESOURCE_EXHAUSTED`. */ readonly slotCapacity?: pulumi.Input; }