import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Provisions instance resources for the Registry. * 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; /** * Build info of the Instance if it's in `ACTIVE` state. */ readonly build: pulumi.Output; /** * Config of the Instance. */ readonly config: pulumi.Output; /** * Creation timestamp. */ readonly createTime: pulumi.Output; /** * Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource. */ readonly instanceId: pulumi.Output; readonly location: pulumi.Output; /** * Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The current state of the Instance. */ readonly state: pulumi.Output; /** * Extra information of Instance.State if the state is `FAILED`. */ readonly stateMessage: pulumi.Output; /** * Last update timestamp. */ readonly updateTime: 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 { /** * Config of the Instance. */ config: pulumi.Input; /** * Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource. */ instanceId: pulumi.Input; location?: pulumi.Input; /** * Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported. */ name?: pulumi.Input; project?: pulumi.Input; }