import * as pulumi from "@pulumi/pulumi"; /** * Creates a Backup for a domain. * 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. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain. */ readonly backupId: pulumi.Output; /** * The time the backups was created. */ readonly createTime: pulumi.Output; /** * Optional. A short description of the backup. */ readonly description: pulumi.Output; readonly domainId: pulumi.Output; /** * Optional. Resource labels to represent user provided metadata. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; /** * The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name} */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * The current state of the backup. */ readonly state: pulumi.Output; /** * Additional information about the current status of this backup, if available. */ readonly statusMessage: pulumi.Output; /** * Indicates whether it’s an on-demand backup or scheduled. */ readonly type: pulumi.Output; /** * Last update time. */ readonly updateTime: 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. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain. */ backupId: pulumi.Input; /** * Optional. A short description of the backup. */ description?: pulumi.Input; domainId: pulumi.Input; /** * Optional. Resource labels to represent user provided metadata. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; project?: pulumi.Input; }