import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Job Run resource in Oracle Cloud Infrastructure Data Science service. * * Gets a job run. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobRun = oci.datascience.getJobRun({ * jobRunId: testJobRunOciDatascienceJobRun.id, * }); * ``` */ export declare function getJobRun(args: GetJobRunArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobRun. */ export interface GetJobRunArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. */ jobRunId: string; } /** * A collection of values returned by getJobRun. */ export interface GetJobRunResult { readonly asynchronous: boolean; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the job run. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the job run. */ readonly createdBy: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly display name for the resource. */ readonly displayName: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. */ readonly id: string; /** * The job configuration details */ readonly jobConfigurationOverrideDetails: outputs.DataScience.GetJobRunJobConfigurationOverrideDetail[]; /** * Environment configuration to capture job runtime dependencies. */ readonly jobEnvironmentConfigurationOverrideDetails: outputs.DataScience.GetJobRunJobEnvironmentConfigurationOverrideDetail[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ readonly jobId: string; /** * The job infrastructure configuration details (shape, block storage, etc.) */ readonly jobInfrastructureConfigurationDetails: outputs.DataScience.GetJobRunJobInfrastructureConfigurationDetail[]; /** * The job infrastructure configuration details (shape, block storage, etc.) */ readonly jobInfrastructureConfigurationOverrideDetails: outputs.DataScience.GetJobRunJobInfrastructureConfigurationOverrideDetail[]; /** * Logging configuration for resource. */ readonly jobLogConfigurationOverrideDetails: outputs.DataScience.GetJobRunJobLogConfigurationOverrideDetail[]; /** * The job node configuration details */ readonly jobNodeConfigurationOverrideDetails: outputs.DataScience.GetJobRunJobNodeConfigurationOverrideDetail[]; readonly jobRunId: string; /** * Collection of JobStorageMountConfigurationDetails. */ readonly jobStorageMountConfigurationDetailsLists: outputs.DataScience.GetJobRunJobStorageMountConfigurationDetailsList[]; /** * The state details of the node group. */ readonly lifecycleDetails: string; /** * Customer logging details for job run. */ readonly logDetails: outputs.DataScience.GetJobRunLogDetail[]; /** * Collection of NodeGroupDetails */ readonly nodeGroupDetailsLists: outputs.DataScience.GetJobRunNodeGroupDetailsList[]; readonly opcParentRptUrl: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the job run with. */ readonly projectId: string; /** * The state of the job run. */ readonly state: string; /** * The date and time the job run was accepted in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeAccepted: string; /** * The date and time the job run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeFinished: string; /** * The date and time the job run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeStarted: string; } /** * This data source provides details about a specific Job Run resource in Oracle Cloud Infrastructure Data Science service. * * Gets a job run. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobRun = oci.datascience.getJobRun({ * jobRunId: testJobRunOciDatascienceJobRun.id, * }); * ``` */ export declare function getJobRunOutput(args: GetJobRunOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobRun. */ export interface GetJobRunOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. */ jobRunId: pulumi.Input; } //# sourceMappingURL=getJobRun.d.ts.map