import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets a NasJob */ export declare function getNasJob(args: GetNasJobArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetNasJobArgs { location: string; nasJobId: string; project?: string; } export interface GetNasJobResult { /** * Time when the NasJob was created. */ readonly createTime: string; /** * The display name of the NasJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */ readonly displayName: string; /** * Optional. Enable a separation of Custom model training and restricted image training for tenant project. */ readonly enableRestrictedImageTraining: boolean; /** * Customer-managed encryption key options for a NasJob. If this is set, then all resources created by the NasJob will be encrypted with the provided encryption key. */ readonly encryptionSpec: outputs.aiplatform.v1beta1.GoogleCloudAiplatformV1beta1EncryptionSpecResponse; /** * Time when the NasJob entered any of the following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. */ readonly endTime: string; /** * Only populated when job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED. */ readonly error: outputs.aiplatform.v1beta1.GoogleRpcStatusResponse; /** * The labels with user-defined metadata to organize NasJobs. 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: { [key: string]: string; }; /** * Resource name of the NasJob. */ readonly name: string; /** * Output of the NasJob. */ readonly nasJobOutput: outputs.aiplatform.v1beta1.GoogleCloudAiplatformV1beta1NasJobOutputResponse; /** * The specification of a NasJob. */ readonly nasJobSpec: outputs.aiplatform.v1beta1.GoogleCloudAiplatformV1beta1NasJobSpecResponse; /** * Time when the NasJob for the first time entered the `JOB_STATE_RUNNING` state. */ readonly startTime: string; /** * The detailed state of the job. */ readonly state: string; /** * Time when the NasJob was most recently updated. */ readonly updateTime: string; } /** * Gets a NasJob */ export declare function getNasJobOutput(args: GetNasJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetNasJobOutputArgs { location: pulumi.Input; nasJobId: pulumi.Input; project?: pulumi.Input; }