import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Starts a new asynchronous job. Requires the Can View project role. * Auto-naming is currently not supported for this resource. */ export declare class Job extends pulumi.CustomResource { /** * Get an existing Job 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): Job; /** * Returns true if the given object is an instance of Job. 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 Job; /** * [Required] Describes the job configuration. */ readonly configuration: pulumi.Output; /** * A hash of this resource. */ readonly etag: pulumi.Output; /** * If set, it provides the reason why a Job was created. If not set, it should be treated as the default: REQUESTED. This feature is not yet available. Jobs will always be created. */ readonly jobCreationReason: pulumi.Output; /** * [Optional] Reference describing the unique-per-user name of the job. */ readonly jobReference: pulumi.Output; /** * The type of the resource. */ readonly kind: pulumi.Output; readonly project: pulumi.Output; /** * A URL that can be used to access this resource again. */ readonly selfLink: pulumi.Output; /** * Information about the job, including starting time and ending time of the job. */ readonly statistics: pulumi.Output; /** * The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. */ readonly status: pulumi.Output; /** * Email address of the user who ran the job. */ readonly userEmail: pulumi.Output; /** * Create a Job 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?: JobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Job resource. */ export interface JobArgs { /** * [Required] Describes the job configuration. */ configuration?: pulumi.Input; /** * [Optional] Reference describing the unique-per-user name of the job. */ jobReference?: pulumi.Input; project?: pulumi.Input; source?: pulumi.Input; }