import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Starts a new asynchronous job. Requires the Can View project role. */ 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; /** * [Output-only] A hash of this resource. */ readonly etag: pulumi.Output; /** * [Optional] Reference describing the unique-per-user name of the job. */ readonly jobReference: pulumi.Output; /** * [Output-only] The type of the resource. */ readonly kind: pulumi.Output; /** * [Output-only] A URL that can be used to access this resource again. */ readonly selfLink: pulumi.Output; /** * [Output-only] Information about the job, including starting time and ending time of the job. */ readonly statistics: pulumi.Output; /** * [Output-only] The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. */ readonly status: pulumi.Output; /** * [Output-only] Email address of the user who ran the job. */ readonly user_email: 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. */ readonly configuration?: pulumi.Input; /** * [Output-only] A hash of this resource. */ readonly etag?: pulumi.Input; /** * [Output-only] Opaque ID field of the job */ readonly id?: pulumi.Input; readonly jobId: pulumi.Input; /** * [Optional] Reference describing the unique-per-user name of the job. */ readonly jobReference?: pulumi.Input; /** * [Output-only] The type of the resource. */ readonly kind?: pulumi.Input; readonly projectId: pulumi.Input; /** * [Output-only] A URL that can be used to access this resource again. */ readonly selfLink?: pulumi.Input; /** * [Output-only] Information about the job, including starting time and ending time of the job. */ readonly statistics?: pulumi.Input; /** * [Output-only] The status of this job. Examine this value when polling an asynchronous job to see if the job is complete. */ readonly status?: pulumi.Input; /** * [Output-only] Email address of the user who ran the job. */ readonly user_email?: pulumi.Input; }