import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new Instance in a given project and location. * 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; /** * Instance creation time. */ readonly createTime: pulumi.Output; /** * Email address of entity that sent original CreateInstance request. */ readonly creator: pulumi.Output; /** * Optional. If true, the notebook instance will not register with the proxy. */ readonly disableProxyAccess: pulumi.Output; /** * Optional. Compute Engine setup for the notebook. Uses notebook-defined fields. */ readonly gceSetup: pulumi.Output; /** * Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" } */ readonly healthInfo: pulumi.Output<{ [key: string]: string; }>; /** * Instance health_state. */ readonly healthState: pulumi.Output; /** * Required. User-defined unique ID of this instance. */ readonly instanceId: pulumi.Output; /** * Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance. */ readonly instanceOwners: pulumi.Output; /** * Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The name of this notebook instance. Format: `projects/{project_id}/locations/{location}/instances/{instance_id}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The proxy endpoint that is used to access the Jupyter notebook. */ readonly proxyUri: pulumi.Output; /** * Optional. Idempotent request UUID. */ readonly requestId: pulumi.Output; /** * The state of this instance. */ readonly state: pulumi.Output; /** * Instance update time. */ readonly updateTime: pulumi.Output; /** * The upgrade history of this instance. */ readonly upgradeHistory: 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 { /** * Optional. If true, the notebook instance will not register with the proxy. */ disableProxyAccess?: pulumi.Input; /** * Optional. Compute Engine setup for the notebook. Uses notebook-defined fields. */ gceSetup?: pulumi.Input; /** * Required. User-defined unique ID of this instance. */ instanceId: pulumi.Input; /** * Optional. Input only. The owner of this instance after creation. Format: `alias@example.com` Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance. */ instanceOwners?: pulumi.Input[]>; /** * Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; /** * Optional. Idempotent request UUID. */ requestId?: pulumi.Input; }