import * as pulumi from "@pulumi/pulumi"; /** * Creates a backup. * Auto-naming is currently not supported for this resource. */ export declare class Backup extends pulumi.CustomResource { /** * Get an existing Backup 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): Backup; /** * Returns true if the given object is an instance of Backup. 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 Backup; /** * Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error. */ readonly backupId: pulumi.Output; /** * Capacity of the source file share when the backup was created. */ readonly capacityGb: pulumi.Output; /** * The time when the backup was created. */ readonly createTime: pulumi.Output; /** * A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. */ readonly description: pulumi.Output; /** * Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage. */ readonly downloadBytes: pulumi.Output; /** * Immutable. KMS key name used for data encryption. */ readonly kmsKey: 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 backup, in the format `projects/{project_number}/locations/{location_id}/backups/{backup_id}`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Reserved for future use. */ readonly satisfiesPzs: pulumi.Output; /** * Name of the file share in the source Filestore instance that the backup is created from. */ readonly sourceFileShare: pulumi.Output; /** * The resource name of the source Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup. */ readonly sourceInstance: pulumi.Output; /** * The service tier of the source Filestore instance that this backup is created from. */ readonly sourceInstanceTier: pulumi.Output; /** * The backup state. */ readonly state: pulumi.Output; /** * The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion. */ readonly storageBytes: pulumi.Output; /** * Create a Backup 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: BackupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Backup resource. */ export interface BackupArgs { /** * Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error. */ backupId: pulumi.Input; /** * A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. */ description?: pulumi.Input; /** * Immutable. KMS key name used for data encryption. */ kmsKey?: pulumi.Input; /** * Resource labels to represent user provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; /** * Name of the file share in the source Filestore instance that the backup is created from. */ sourceFileShare?: pulumi.Input; /** * The resource name of the source Filestore instance, in the format `projects/{project_number}/locations/{location_id}/instances/{instance_id}`, used to create this backup. */ sourceInstance?: pulumi.Input; }