import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Pipeline Run resource in Oracle Cloud Infrastructure Data Science service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-science/latest/PipelineRun * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datascience * * Creates a new PipelineRun. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPipelineRun = new oci.datascience.PipelineRun("test_pipeline_run", { * compartmentId: compartmentId, * pipelineId: testPipeline.id, * configurationOverrideDetails: { * type: pipelineRunConfigurationOverrideDetailsType, * commandLineArguments: pipelineRunConfigurationOverrideDetailsCommandLineArguments, * environmentVariables: pipelineRunConfigurationOverrideDetailsEnvironmentVariables, * maximumRuntimeInMinutes: pipelineRunConfigurationOverrideDetailsMaximumRuntimeInMinutes, * }, * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: pipelineRunDisplayName, * freeformTags: { * Department: "Finance", * }, * infrastructureConfigurationOverrideDetails: { * blockStorageSizeInGbs: Number(pipelineRunInfrastructureConfigurationOverrideDetailsBlockStorageSizeInGbs), * shapeName: testShape.name, * blockStorageSizeInGbsParameterized: pipelineRunInfrastructureConfigurationOverrideDetailsBlockStorageSizeInGbsParameterized, * shapeConfigDetails: { * memoryInGbs: pipelineRunInfrastructureConfigurationOverrideDetailsShapeConfigDetailsMemoryInGbs, * memoryInGbsParameterized: pipelineRunInfrastructureConfigurationOverrideDetailsShapeConfigDetailsMemoryInGbsParameterized, * ocpus: pipelineRunInfrastructureConfigurationOverrideDetailsShapeConfigDetailsOcpus, * ocpusParameterized: pipelineRunInfrastructureConfigurationOverrideDetailsShapeConfigDetailsOcpusParameterized, * }, * subnetId: testSubnet.id, * }, * logConfigurationOverrideDetails: { * enableAutoLogCreation: pipelineRunLogConfigurationOverrideDetailsEnableAutoLogCreation === "true", * enableLogging: pipelineRunLogConfigurationOverrideDetailsEnableLogging === "true", * logGroupId: testLogGroup.id, * logId: testLog.id, * }, * opcParentRptUrl: pipelineRunOpcParentRptUrl, * parametersOverride: pipelineRunParametersOverride, * projectId: testProject.id, * stepOverrideDetails: [{ * stepConfigurationDetails: { * commandLineArguments: pipelineRunStepOverrideDetailsStepConfigurationDetailsCommandLineArguments, * environmentVariables: pipelineRunStepOverrideDetailsStepConfigurationDetailsEnvironmentVariables, * maximumRuntimeInMinutes: pipelineRunStepOverrideDetailsStepConfigurationDetailsMaximumRuntimeInMinutes, * }, * stepName: pipelineRunStepOverrideDetailsStepName, * stepContainerConfigurationDetails: { * containerType: pipelineRunStepOverrideDetailsStepContainerConfigurationDetailsContainerType, * image: pipelineRunStepOverrideDetailsStepContainerConfigurationDetailsImage, * cmds: pipelineRunStepOverrideDetailsStepContainerConfigurationDetailsCmd, * entrypoints: pipelineRunStepOverrideDetailsStepContainerConfigurationDetailsEntrypoint, * imageDigest: pipelineRunStepOverrideDetailsStepContainerConfigurationDetailsImageDigest, * imageSignatureId: testImageSignature.id, * }, * stepDataflowConfigurationDetails: { * configuration: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsConfiguration, * driverShape: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShape, * driverShapeConfigDetails: { * cpuBaseline: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShapeConfigDetailsCpuBaseline, * memoryInGbs: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShapeConfigDetailsMemoryInGbs, * memoryInGbsParameterized: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShapeConfigDetailsMemoryInGbsParameterized, * ocpus: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShapeConfigDetailsOcpus, * ocpusParameterized: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsDriverShapeConfigDetailsOcpusParameterized, * }, * executorShape: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShape, * executorShapeConfigDetails: { * cpuBaseline: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShapeConfigDetailsCpuBaseline, * memoryInGbs: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShapeConfigDetailsMemoryInGbs, * memoryInGbsParameterized: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShapeConfigDetailsMemoryInGbsParameterized, * ocpus: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShapeConfigDetailsOcpus, * ocpusParameterized: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsExecutorShapeConfigDetailsOcpusParameterized, * }, * logsBucketUri: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsLogsBucketUri, * numExecutors: Number(pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsNumExecutors), * warehouseBucketUri: pipelineRunStepOverrideDetailsStepDataflowConfigurationDetailsWarehouseBucketUri, * }, * stepInfrastructureConfigurationDetails: { * blockStorageSizeInGbs: Number(pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsBlockStorageSizeInGbs), * shapeName: testShape.name, * blockStorageSizeInGbsParameterized: pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsBlockStorageSizeInGbsParameterized, * shapeConfigDetails: { * memoryInGbs: pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsShapeConfigDetailsMemoryInGbs, * memoryInGbsParameterized: pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsShapeConfigDetailsMemoryInGbsParameterized, * ocpus: pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsShapeConfigDetailsOcpus, * ocpusParameterized: pipelineRunStepOverrideDetailsStepInfrastructureConfigurationDetailsShapeConfigDetailsOcpusParameterized, * }, * subnetId: testSubnet.id, * }, * stepStorageMountConfigurationDetailsLists: [{ * destinationDirectoryName: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListDestinationDirectoryName, * storageType: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListStorageType, * bucket: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListBucket, * destinationPath: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListDestinationPath, * exportId: testExport.id, * mountTargetId: testMountTarget.id, * namespace: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListNamespace, * prefix: pipelineRunStepOverrideDetailsStepStorageMountConfigurationDetailsListPrefix, * }], * }], * storageMountConfigurationOverrideDetailsLists: [{ * destinationDirectoryName: pipelineRunStorageMountConfigurationOverrideDetailsListDestinationDirectoryName, * storageType: pipelineRunStorageMountConfigurationOverrideDetailsListStorageType, * bucket: pipelineRunStorageMountConfigurationOverrideDetailsListBucket, * destinationPath: pipelineRunStorageMountConfigurationOverrideDetailsListDestinationPath, * exportId: testExport.id, * mountTargetId: testMountTarget.id, * namespace: pipelineRunStorageMountConfigurationOverrideDetailsListNamespace, * prefix: pipelineRunStorageMountConfigurationOverrideDetailsListPrefix, * }], * systemTags: pipelineRunSystemTags, * }); * ``` * * ## Import * * PipelineRuns can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataScience/pipelineRun:PipelineRun test_pipeline_run "id" * ``` */ export declare class PipelineRun extends pulumi.CustomResource { /** * Get an existing PipelineRun 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PipelineRunState, opts?: pulumi.CustomResourceOptions): PipelineRun; /** * Returns true if the given object is an instance of PipelineRun. 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 PipelineRun; /** * (Updatable) 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: pulumi.Output; /** * The configuration details of a pipeline. */ readonly configurationDetails: pulumi.Output; /** * The configuration details of a pipeline. */ readonly configurationOverrideDetails: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline run. */ readonly createdBy: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; readonly deleteRelatedJobRuns: pulumi.Output; /** * (Updatable) A user-friendly display name for the resource. */ readonly displayName: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * The infrastructure configuration details of a pipeline or a step. */ readonly infrastructureConfigurationOverrideDetails: pulumi.Output; /** * Details of the state of the step run. */ readonly lifecycleDetails: pulumi.Output; /** * The pipeline log configuration details. */ readonly logConfigurationOverrideDetails: pulumi.Output; /** * Customer logging details for pipeline run. */ readonly logDetails: pulumi.Output; /** * URL to fetch the Resource Principal Token from the parent resource. */ readonly opcParentRptUrl: pulumi.Output; /** * Parameters override used in the pipeline run. */ readonly parametersOverride: pulumi.Output<{ [key: string]: 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: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. */ readonly projectId: pulumi.Output; /** * The state of the step run. */ readonly state: pulumi.Output; /** * Array of step override details. Only Step Configuration is allowed to be overridden. */ readonly stepOverrideDetails: pulumi.Output; /** * Array of StepRun object for each step. */ readonly stepRuns: pulumi.Output; /** * The storage mount override details to mount to the instance running the pipeline step. */ readonly storageMountConfigurationOverrideDetailsLists: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the pipeline run was accepted in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeAccepted: pulumi.Output; /** * The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeFinished: pulumi.Output; /** * The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeStarted: pulumi.Output; /** * The date and time the pipeline run was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ readonly timeUpdated: pulumi.Output; /** * Create a PipelineRun 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: PipelineRunArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PipelineRun resources. */ export interface PipelineRunState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. */ compartmentId?: pulumi.Input; /** * The configuration details of a pipeline. */ configurationDetails?: pulumi.Input[] | undefined>; /** * The configuration details of a pipeline. */ configurationOverrideDetails?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the pipeline run. */ createdBy?: pulumi.Input; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; deleteRelatedJobRuns?: pulumi.Input; /** * (Updatable) A user-friendly display name for the resource. */ displayName?: pulumi.Input; /** * (Updatable) 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The infrastructure configuration details of a pipeline or a step. */ infrastructureConfigurationOverrideDetails?: pulumi.Input; /** * Details of the state of the step run. */ lifecycleDetails?: pulumi.Input; /** * The pipeline log configuration details. */ logConfigurationOverrideDetails?: pulumi.Input; /** * Customer logging details for pipeline run. */ logDetails?: pulumi.Input[] | undefined>; /** * URL to fetch the Resource Principal Token from the parent resource. */ opcParentRptUrl?: pulumi.Input; /** * Parameters override used in the pipeline run. */ parametersOverride?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline for which pipeline run is created. */ pipelineId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. */ projectId?: pulumi.Input; /** * The state of the step run. */ state?: pulumi.Input; /** * Array of step override details. Only Step Configuration is allowed to be overridden. */ stepOverrideDetails?: pulumi.Input[] | undefined>; /** * Array of StepRun object for each step. */ stepRuns?: pulumi.Input[] | undefined>; /** * The storage mount override details to mount to the instance running the pipeline step. */ storageMountConfigurationOverrideDetailsLists?: pulumi.Input[] | undefined>; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the pipeline run was accepted in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeAccepted?: pulumi.Input; /** * The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeFinished?: pulumi.Input; /** * The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeStarted?: pulumi.Input; /** * The date and time the pipeline run was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a PipelineRun resource. */ export interface PipelineRunArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the pipeline run. */ compartmentId: pulumi.Input; /** * The configuration details of a pipeline. */ configurationOverrideDetails?: pulumi.Input; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; deleteRelatedJobRuns?: pulumi.Input; /** * (Updatable) A user-friendly display name for the resource. */ displayName?: pulumi.Input; /** * (Updatable) 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The infrastructure configuration details of a pipeline or a step. */ infrastructureConfigurationOverrideDetails?: pulumi.Input; /** * The pipeline log configuration details. */ logConfigurationOverrideDetails?: pulumi.Input; /** * URL to fetch the Resource Principal Token from the parent resource. */ opcParentRptUrl?: pulumi.Input; /** * Parameters override used in the pipeline run. */ parametersOverride?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the pipeline for which pipeline run is created. */ pipelineId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project to associate the pipeline run with. */ projectId: pulumi.Input; /** * Array of step override details. Only Step Configuration is allowed to be overridden. */ stepOverrideDetails?: pulumi.Input[] | undefined>; /** * The storage mount override details to mount to the instance running the pipeline step. */ storageMountConfigurationOverrideDetailsLists?: pulumi.Input[] | undefined>; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=pipelineRun.d.ts.map