import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new instance in the specified region. Returns a long running operation which contains an instance on completion. While the long running operation is in progress, any call to `GetInstance` returns an instance in state `CREATING`. * Auto-naming is currently not supported for this resource. */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance 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): Instance; /** * Returns true if the given object is an instance of Instance. 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 Instance; /** * The policy to define whether or not RBE features can be used or how they can be used. */ readonly featurePolicy: pulumi.Output; /** * The location is a GCP region. Currently only `us-central1` is supported. */ readonly location: pulumi.Output; /** * Whether stack driver logging is enabled for the instance. */ readonly loggingEnabled: pulumi.Output; /** * Instance resource name formatted as: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`. Name should not be populated when creating an instance since it is provided in the `instance_id` field. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * State of the instance. */ readonly state: pulumi.Output; /** * Create a Instance 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?: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * The policy to define whether or not RBE features can be used or how they can be used. */ featurePolicy?: pulumi.Input; /** * ID of the created instance. A valid `instance_id` must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit. */ instanceId?: pulumi.Input; /** * The location is a GCP region. Currently only `us-central1` is supported. */ location?: pulumi.Input; /** * Resource name of the project containing the instance. Format: `projects/[PROJECT_ID]`. */ parent?: pulumi.Input; project?: pulumi.Input; }