import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../../types"; /** * Creates a new Backup in a given project and location. */ export declare class ServiceBackup extends pulumi.CustomResource { /** * Get an existing ServiceBackup 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): ServiceBackup; /** * Returns true if the given object is an instance of ServiceBackup. 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 ServiceBackup; /** * The time when the backup was started. */ readonly createTime: pulumi.Output; /** * The description of the backup. */ readonly description: pulumi.Output; /** * The time when the backup finished creating. */ readonly endTime: pulumi.Output; /** * Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */ readonly name: pulumi.Output; /** * The revision of the service at the time of backup. */ readonly serviceRevision: pulumi.Output; /** * The current state of the backup. */ readonly state: pulumi.Output; /** * Create a ServiceBackup 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: ServiceBackupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ServiceBackup resource. */ export interface ServiceBackupArgs { readonly backupsId: pulumi.Input; /** * The description of the backup. */ readonly description?: pulumi.Input; readonly locationsId: pulumi.Input; /** * Immutable. The relative resource name of the backup, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id} */ readonly name?: pulumi.Input; readonly projectsId: pulumi.Input; readonly servicesId: pulumi.Input; }