import * as pulumi from "@pulumi/pulumi"; /** * Creates a snapshot. * Auto-naming is currently not supported for this resource. */ export declare class Snapshot extends pulumi.CustomResource { /** * Get an existing Snapshot 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): Snapshot; /** * Returns true if the given object is an instance of Snapshot. 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 Snapshot; /** * The time when the snapshot was created. */ readonly createTime: pulumi.Output; /** * A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. */ readonly description: pulumi.Output; /** * The amount of bytes needed to allocate a full copy of the snapshot content */ readonly filesystemUsedBytes: pulumi.Output; readonly instanceId: pulumi.Output; /** * Resource labels to represent user provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. */ readonly snapshotId: pulumi.Output; /** * The snapshot state. */ readonly state: pulumi.Output; /** * Create a Snapshot 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: SnapshotArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Snapshot resource. */ export interface SnapshotArgs { /** * A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. */ description?: pulumi.Input; instanceId: pulumi.Input; /** * Resource labels to represent user provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; /** * Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. */ snapshotId: pulumi.Input; }