import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Returns the job data. */ export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetJobArgs { jobId: string; location: string; project?: string; } export interface GetJobResult { /** * The processing priority of a batch job. This field can only be set for batch mode jobs. The default value is 0. This value cannot be negative. Higher values correspond to higher priorities for the job. */ readonly batchModePriority: number; /** * The configuration for this job. */ readonly config: outputs.transcoder.v1.JobConfigResponse; /** * The time the job was created. */ readonly createTime: string; /** * The time the transcoding finished. */ readonly endTime: string; /** * An error object that describes the reason for the failure. This property is always present when ProcessingState is `FAILED`. */ readonly error: outputs.transcoder.v1.StatusResponse; /** * Input only. Specify the `input_uri` to populate empty `uri` fields in each element of `Job.config.inputs` or `JobTemplate.config.inputs` when using template. URI of the media. Input files must be at least 5 seconds in duration and stored in Cloud Storage (for example, `gs://bucket/inputs/file.mp4`). See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). */ readonly inputUri: string; /** * The labels associated with this job. You can use these to organize and group your jobs. */ readonly labels: { [key: string]: string; }; /** * The processing mode of the job. The default is `PROCESSING_MODE_INTERACTIVE`. */ readonly mode: string; /** * The resource name of the job. Format: `projects/{project_number}/locations/{location}/jobs/{job}` */ readonly name: string; /** * Optional. The optimization strategy of the job. The default is `AUTODETECT`. */ readonly optimization: string; /** * Input only. Specify the `output_uri` to populate an empty `Job.config.output.uri` or `JobTemplate.config.output.uri` when using template. URI for the output file(s). For example, `gs://my-bucket/outputs/`. See [Supported input and output formats](https://cloud.google.com/transcoder/docs/concepts/supported-input-and-output-formats). */ readonly outputUri: string; /** * The time the transcoding started. */ readonly startTime: string; /** * The current state of the job. */ readonly state: string; /** * Input only. Specify the `template_id` to use for populating `Job.config`. The default is `preset/web-hd`, which is the only supported preset. User defined JobTemplate: `{job_template_id}` */ readonly templateId: string; /** * Job time to live value in days, which will be effective after job completion. Job should be deleted automatically after the given TTL. Enter a value between 1 and 90. The default is 30. */ readonly ttlAfterCompletionDays: number; } /** * Returns the job data. */ export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetJobOutputArgs { jobId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }