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 Pipeline Runs in Oracle Cloud Infrastructure Data Science service. * * Returns a list of PipelineRuns. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPipelineRuns = oci.datascience.getPipelineRuns({ * compartmentId: compartmentId, * createdBy: pipelineRunCreatedBy, * displayName: pipelineRunDisplayName, * id: pipelineRunId, * pipelineId: testPipeline.id, * state: pipelineRunState, * }); * ``` */ export declare function getPipelineRuns(args: GetPipelineRunsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPipelineRuns. */ export interface GetPipelineRunsArgs { /** * 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.GetPipelineRunsFilter[]; /** * 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 pipeline. */ pipelineId?: string; /** * The current state of the PipelineRun. */ state?: string; } /** * A collection of values returned by getPipelineRuns. */ export interface GetPipelineRunsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. */ readonly compartmentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline run. */ readonly createdBy?: string; /** * A user-friendly display name for the resource. */ readonly displayName?: string; readonly filters?: outputs.DataScience.GetPipelineRunsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline run. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline for which pipeline run is created. */ readonly pipelineId?: string; /** * The list of pipeline_runs. */ readonly pipelineRuns: outputs.DataScience.GetPipelineRunsPipelineRun[]; /** * The state of the step run. */ readonly state?: string; } /** * This data source provides the list of Pipeline Runs in Oracle Cloud Infrastructure Data Science service. * * Returns a list of PipelineRuns. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPipelineRuns = oci.datascience.getPipelineRuns({ * compartmentId: compartmentId, * createdBy: pipelineRunCreatedBy, * displayName: pipelineRunDisplayName, * id: pipelineRunId, * pipelineId: testPipeline.id, * state: pipelineRunState, * }); * ``` */ export declare function getPipelineRunsOutput(args: GetPipelineRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPipelineRuns. */ export interface GetPipelineRunsOutputArgs { /** * 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 pipeline. */ pipelineId?: pulumi.Input; /** * The current state of the PipelineRun. */ state?: pulumi.Input; } //# sourceMappingURL=getPipelineRuns.d.ts.map