import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a CustomJob. A created CustomJob right away will be attempted to be run. * Auto-naming is currently not supported for this resource. */ export declare class CustomJob extends pulumi.CustomResource { /** * Get an existing CustomJob 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): CustomJob; /** * Returns true if the given object is an instance of CustomJob. 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 CustomJob; /** * Time when the CustomJob was created. */ readonly createTime: pulumi.Output; /** * The display name of the CustomJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */ readonly displayName: pulumi.Output; /** * Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key. */ readonly encryptionSpec: pulumi.Output; /** * Time when the CustomJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. */ readonly endTime: pulumi.Output; /** * Only populated when job's state is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. */ readonly error: pulumi.Output; /** * Job spec. */ readonly jobSpec: pulumi.Output; /** * The labels with user-defined metadata to organize CustomJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Resource name of a CustomJob. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state. */ readonly startTime: pulumi.Output; /** * The detailed state of the job. */ readonly state: pulumi.Output; /** * Time when the CustomJob was most recently updated. */ readonly updateTime: pulumi.Output; /** * URIs for accessing [interactive shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) (one URI for each training node). Only available if job_spec.enable_web_access is `true`. The keys are names of each node in the training job; for example, `workerpool0-0` for the primary node, `workerpool1-0` for the first node in the second worker pool, and `workerpool1-1` for the second node in the second worker pool. The values are the URIs for each node's interactive shell. */ readonly webAccessUris: pulumi.Output<{ [key: string]: string; }>; /** * Create a CustomJob 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: CustomJobArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a CustomJob resource. */ export interface CustomJobArgs { /** * The display name of the CustomJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */ displayName: pulumi.Input; /** * Customer-managed encryption key options for a CustomJob. If this is set, then all resources created by the CustomJob will be encrypted with the provided encryption key. */ encryptionSpec?: pulumi.Input; /** * Job spec. */ jobSpec: pulumi.Input; /** * The labels with user-defined metadata to organize CustomJobs. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; project?: pulumi.Input; }