import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Job Runs in Oracle Cloud Infrastructure Data Science service. * * List out job runs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobRuns = oci.datascience.getJobRuns({ * compartmentId: compartmentId, * createdBy: jobRunCreatedBy, * displayName: jobRunDisplayName, * id: jobRunId, * jobId: testJob.id, * state: jobRunState, * }); * ``` */ export declare function getJobRuns(args: GetJobRunsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getJobRuns. */ export interface GetJobRunsArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: string; /** * Filter results by its user-friendly name. */ displayName?: string; filters?: inputs.DataScience.GetJobRunsFilter[]; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ jobId?: string; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: string; } /** * A collection of values returned by getJobRuns. */ export interface GetJobRunsResult { /** * 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; /** * A user-friendly display name for the resource. */ readonly displayName?: string; readonly filters?: outputs.DataScience.GetJobRunsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job run. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ readonly jobId?: string; /** * The list of job_runs. */ readonly jobRuns: outputs.DataScience.GetJobRunsJobRun[]; /** * The state of the job run. */ readonly state?: string; } /** * This data source provides the list of Job Runs in Oracle Cloud Infrastructure Data Science service. * * List out job runs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testJobRuns = oci.datascience.getJobRuns({ * compartmentId: compartmentId, * createdBy: jobRunCreatedBy, * displayName: jobRunDisplayName, * id: jobRunId, * jobId: testJob.id, * state: jobRunState, * }); * ``` */ export declare function getJobRunsOutput(args: GetJobRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getJobRuns. */ export interface GetJobRunsOutputArgs { /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. */ createdBy?: pulumi.Input; /** * Filter results by its user-friendly name. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Filter results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type. */ id?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job. */ jobId?: pulumi.Input; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ state?: pulumi.Input; } //# sourceMappingURL=getJobRuns.d.ts.map