import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier). */ 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 time when the instance was created. */ readonly createTime: pulumi.Output; /** * The description of the instance (2048 characters or less). */ readonly description: pulumi.Output; /** * Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. */ readonly etag: pulumi.Output; /** * File system shares on the instance. For this version, only a single file share is supported. */ readonly fileShares: pulumi.Output; /** * Resource labels to represent user provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}. */ readonly name: pulumi.Output; /** * VPC networks to which the instance is connected. For this version, only a single network is supported. */ readonly networks: pulumi.Output; /** * The instance state. */ readonly state: pulumi.Output; /** * Additional information about the instance state, if available. */ readonly statusMessage: pulumi.Output; /** * The service tier of the instance. */ readonly tier: 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 description of the instance (2048 characters or less). */ readonly description?: pulumi.Input; /** * Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. */ readonly etag?: pulumi.Input; /** * File system shares on the instance. For this version, only a single file share is supported. */ readonly fileShares?: pulumi.Input[]>; readonly instancesId: pulumi.Input; /** * Resource labels to represent user provided metadata. */ readonly labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; readonly locationsId: pulumi.Input; /** * VPC networks to which the instance is connected. For this version, only a single network is supported. */ readonly networks?: pulumi.Input[]>; readonly projectsId: pulumi.Input; /** * The service tier of the instance. */ readonly tier?: pulumi.Input; }