import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Invoke Run resource in Oracle Cloud Infrastructure Data Flow service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-flow/latest/InvokeRun * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataflow * * Creates a run for an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInvokeRun = new oci.dataflow.InvokeRun("test_invoke_run", { * compartmentId: compartmentId, * applicationId: testApplication.id, * applicationLogConfig: { * logGroupId: testLogGroup.id, * logId: testLog.id, * }, * archiveUri: invokeRunArchiveUri, * arguments: invokeRunArguments, * configuration: invokeRunConfiguration, * definedTags: { * "Operations.CostCenter": "42", * }, * displayName: invokeRunDisplayName, * driverShape: invokeRunDriverShape, * driverShapeConfig: { * memoryInGbs: invokeRunDriverShapeConfigMemoryInGbs, * ocpus: invokeRunDriverShapeConfigOcpus, * }, * execute: invokeRunExecute, * executorShape: invokeRunExecutorShape, * executorShapeConfig: { * memoryInGbs: invokeRunExecutorShapeConfigMemoryInGbs, * ocpus: invokeRunExecutorShapeConfigOcpus, * }, * freeformTags: { * Department: "Finance", * }, * idleTimeoutInMinutes: invokeRunIdleTimeoutInMinutes, * logsBucketUri: invokeRunLogsBucketUri, * maxDurationInMinutes: invokeRunMaxDurationInMinutes, * metastoreId: metastoreId, * numExecutors: Number(invokeRunNumExecutors), * opcParentRptUrl: invokeRunOpcParentRptUrl, * parameters: [{ * name: invokeRunParametersName, * value: invokeRunParametersValue, * }], * poolId: testPool.id, * sparkVersion: invokeRunSparkVersion, * type: invokeRunType, * warehouseBucketUri: invokeRunWarehouseBucketUri, * }); * ``` * * ## Note * * At a time service allows only one run to succeed if user is trying to invoke runs on multiple applications which have Private Endpoints and service will proceed invoking only one run and put the rest of them in failed state. * * ## Import * * InvokeRuns can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataFlow/invokeRun:InvokeRun test_invoke_run "id" * ``` */ export declare class InvokeRun extends pulumi.CustomResource { /** * Get an existing InvokeRun 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?: InvokeRunState, opts?: pulumi.CustomResourceOptions): InvokeRun; /** * Returns true if the given object is an instance of InvokeRun. 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 InvokeRun; /** * The OCID of the associated application. If this value is set, then no value for the execute parameter is required. If this value is not set, then a value for the execute parameter is required, and a new application is created and associated with the new run. */ readonly applicationId: pulumi.Output; /** * Logging details of Application logs for Data Flow Run. */ readonly applicationLogConfig: pulumi.Output; /** * A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ readonly archiveUri: pulumi.Output; /** * The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "inputFile" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` */ readonly arguments: pulumi.Output; /** * Flag to invoke run asynchronously. The default is true and Terraform provider will not wait for run resource to reach target state of `SUCCEEDED`, `FAILED` or `CANCELLED` before exiting. User must wait to perform operations that need resource to be in target states. Set this to false to override this behavior. */ readonly asynchronous: pulumi.Output; /** * The class for the application. */ readonly className: pulumi.Output; /** * (Updatable) The OCID of a compartment. */ readonly compartmentId: pulumi.Output; /** * The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. */ readonly configuration: pulumi.Output<{ [key: string]: string; }>; /** * The data read by the run in bytes. */ readonly dataReadInBytes: pulumi.Output; /** * The data written by the run in bytes. */ readonly dataWrittenInBytes: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, 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; }>; /** * A user-friendly name that does not have to be unique. Avoid entering confidential information. If this value is not specified, it will be derived from the associated application's displayName or set by API using fileUri's application file name. */ readonly displayName: pulumi.Output; /** * The VM shape for the driver. Sets the driver cores and memory. */ readonly driverShape: pulumi.Output; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ readonly driverShapeConfig: pulumi.Output; /** * The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. */ readonly execute: pulumi.Output; /** * The VM shape for the executors. Sets the executor cores and memory. */ readonly executorShape: pulumi.Output; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ readonly executorShapeConfig: pulumi.Output; /** * An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ readonly fileUri: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) */ readonly idleTimeoutInMinutes: pulumi.Output; /** * The Spark language. */ readonly language: pulumi.Output; /** * The detailed messages about the lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ readonly logsBucketUri: pulumi.Output; /** * (Updatable) The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. */ readonly maxDurationInMinutes: pulumi.Output; /** * The OCID of Oracle Cloud Infrastructure Hive Metastore. */ readonly metastoreId: pulumi.Output; /** * The number of executor VMs requested. */ readonly numExecutors: pulumi.Output; /** * (Optional header param, required for Resource Principal version 3.0+) Parent resource control plane endpoint used to exchange for upper level resource principal token. */ readonly opcParentRptUrl: pulumi.Output; /** * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. */ readonly opcRequestId: pulumi.Output; /** * The OCID of the user who created the resource. */ readonly ownerPrincipalId: pulumi.Output; /** * The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. */ readonly ownerUserName: pulumi.Output; /** * An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "inputFile", value: "mydata.xml" }, { name: "variableX", value: "${x}"} ] */ readonly parameters: pulumi.Output; /** * The OCID of a pool. Unique Id to indentify a dataflow pool resource. */ readonly poolId: pulumi.Output; /** * An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` */ readonly privateEndpointDnsZones: pulumi.Output; /** * The OCID of a private endpoint. */ readonly privateEndpointId: pulumi.Output; /** * The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. */ readonly privateEndpointMaxHostCount: pulumi.Output; /** * An array of network security group OCIDs. */ readonly privateEndpointNsgIds: pulumi.Output; /** * The OCID of a subnet. */ readonly privateEndpointSubnetId: pulumi.Output; /** * The duration of the run in milliseconds. */ readonly runDurationInMilliseconds: pulumi.Output; /** * The Spark version utilized to run the application. This value may be set if applicationId is not since the Spark version will be taken from the associated application. */ readonly sparkVersion: pulumi.Output; /** * The current state of this run. */ readonly state: pulumi.Output; /** * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ readonly timeUpdated: pulumi.Output; /** * The total number of oCPU requested by the run. */ readonly totalOcpu: pulumi.Output; /** * The Spark application processing type. */ readonly type: pulumi.Output; /** * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. * * ** 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 warehouseBucketUri: pulumi.Output; /** * Create a InvokeRun 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: InvokeRunArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering InvokeRun resources. */ export interface InvokeRunState { /** * The OCID of the associated application. If this value is set, then no value for the execute parameter is required. If this value is not set, then a value for the execute parameter is required, and a new application is created and associated with the new run. */ applicationId?: pulumi.Input; /** * Logging details of Application logs for Data Flow Run. */ applicationLogConfig?: pulumi.Input; /** * A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ archiveUri?: pulumi.Input; /** * The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "inputFile" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` */ arguments?: pulumi.Input[] | undefined>; /** * Flag to invoke run asynchronously. The default is true and Terraform provider will not wait for run resource to reach target state of `SUCCEEDED`, `FAILED` or `CANCELLED` before exiting. User must wait to perform operations that need resource to be in target states. Set this to false to override this behavior. */ asynchronous?: pulumi.Input; /** * The class for the application. */ className?: pulumi.Input; /** * (Updatable) The OCID of a compartment. */ compartmentId?: pulumi.Input; /** * The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. */ configuration?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The data read by the run in bytes. */ dataReadInBytes?: pulumi.Input; /** * The data written by the run in bytes. */ dataWrittenInBytes?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, 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>; /** * A user-friendly name that does not have to be unique. Avoid entering confidential information. If this value is not specified, it will be derived from the associated application's displayName or set by API using fileUri's application file name. */ displayName?: pulumi.Input; /** * The VM shape for the driver. Sets the driver cores and memory. */ driverShape?: pulumi.Input; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ driverShapeConfig?: pulumi.Input; /** * The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. */ execute?: pulumi.Input; /** * The VM shape for the executors. Sets the executor cores and memory. */ executorShape?: pulumi.Input; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ executorShapeConfig?: pulumi.Input; /** * An Oracle Cloud Infrastructure URI of the file containing the application to execute. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ fileUri?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, 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>; /** * (Updatable) The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) */ idleTimeoutInMinutes?: pulumi.Input; /** * The Spark language. */ language?: pulumi.Input; /** * The detailed messages about the lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ logsBucketUri?: pulumi.Input; /** * (Updatable) The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. */ maxDurationInMinutes?: pulumi.Input; /** * The OCID of Oracle Cloud Infrastructure Hive Metastore. */ metastoreId?: pulumi.Input; /** * The number of executor VMs requested. */ numExecutors?: pulumi.Input; /** * (Optional header param, required for Resource Principal version 3.0+) Parent resource control plane endpoint used to exchange for upper level resource principal token. */ opcParentRptUrl?: pulumi.Input; /** * Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. */ opcRequestId?: pulumi.Input; /** * The OCID of the user who created the resource. */ ownerPrincipalId?: pulumi.Input; /** * The username of the user who created the resource. If the username of the owner does not exist, `null` will be returned and the caller should refer to the ownerPrincipalId value instead. */ ownerUserName?: pulumi.Input; /** * An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "inputFile", value: "mydata.xml" }, { name: "variableX", value: "${x}"} ] */ parameters?: pulumi.Input[] | undefined>; /** * The OCID of a pool. Unique Id to indentify a dataflow pool resource. */ poolId?: pulumi.Input; /** * An array of DNS zone names. Example: `[ "app.examplecorp.com", "app.examplecorp2.com" ]` */ privateEndpointDnsZones?: pulumi.Input[] | undefined>; /** * The OCID of a private endpoint. */ privateEndpointId?: pulumi.Input; /** * The maximum number of hosts to be accessed through the private endpoint. This value is used to calculate the relevant CIDR block and should be a multiple of 256. If the value is not a multiple of 256, it is rounded up to the next multiple of 256. For example, 300 is rounded up to 512. */ privateEndpointMaxHostCount?: pulumi.Input; /** * An array of network security group OCIDs. */ privateEndpointNsgIds?: pulumi.Input[] | undefined>; /** * The OCID of a subnet. */ privateEndpointSubnetId?: pulumi.Input; /** * The duration of the run in milliseconds. */ runDurationInMilliseconds?: pulumi.Input; /** * The Spark version utilized to run the application. This value may be set if applicationId is not since the Spark version will be taken from the associated application. */ sparkVersion?: pulumi.Input; /** * The current state of this run. */ state?: pulumi.Input; /** * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ timeUpdated?: pulumi.Input; /** * The total number of oCPU requested by the run. */ totalOcpu?: pulumi.Input; /** * The Spark application processing type. */ type?: pulumi.Input; /** * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. * * ** 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 */ warehouseBucketUri?: pulumi.Input; } /** * The set of arguments for constructing a InvokeRun resource. */ export interface InvokeRunArgs { /** * The OCID of the associated application. If this value is set, then no value for the execute parameter is required. If this value is not set, then a value for the execute parameter is required, and a new application is created and associated with the new run. */ applicationId?: pulumi.Input; /** * Logging details of Application logs for Data Flow Run. */ applicationLogConfig?: pulumi.Input; /** * A comma separated list of one or more archive files as Oracle Cloud Infrastructure URIs. For example, ``oci://path/to/a.zip,oci://path/to/b.zip``. An Oracle Cloud Infrastructure URI of an archive.zip file containing custom dependencies that may be used to support the execution of a Python, Java, or Scala application. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ archiveUri?: pulumi.Input; /** * The arguments passed to the running application as command line arguments. An argument is either a plain text or a placeholder. Placeholders are replaced using values from the parameters map. Each placeholder specified must be represented in the parameters map else the request (POST or PUT) will fail with a HTTP 400 status code. Placeholders are specified as `Service Api Spec`, where `name` is the name of the parameter. Example: `[ "--input", "${input_file}", "--name", "John Doe" ]` If "inputFile" has a value of "mydata.xml", then the value above will be translated to `--input mydata.xml --name "John Doe"` */ arguments?: pulumi.Input[] | undefined>; /** * Flag to invoke run asynchronously. The default is true and Terraform provider will not wait for run resource to reach target state of `SUCCEEDED`, `FAILED` or `CANCELLED` before exiting. User must wait to perform operations that need resource to be in target states. Set this to false to override this behavior. */ asynchronous?: pulumi.Input; /** * (Updatable) The OCID of a compartment. */ compartmentId: pulumi.Input; /** * The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. */ configuration?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, 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>; /** * A user-friendly name that does not have to be unique. Avoid entering confidential information. If this value is not specified, it will be derived from the associated application's displayName or set by API using fileUri's application file name. */ displayName?: pulumi.Input; /** * The VM shape for the driver. Sets the driver cores and memory. */ driverShape?: pulumi.Input; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ driverShapeConfig?: pulumi.Input; /** * The input used for spark-submit command. For more details see https://spark.apache.org/docs/latest/submitting-applications.html#launching-applications-with-spark-submit. Supported options include ``--class``, ``--file``, ``--jars``, ``--conf``, ``--py-files``, and main application file with arguments. Example: ``--jars oci://path/to/a.jar,oci://path/to/b.jar --files oci://path/to/a.json,oci://path/to/b.csv --py-files oci://path/to/a.py,oci://path/to/b.py --conf spark.sql.crossJoin.enabled=true --class org.apache.spark.examples.SparkPi oci://path/to/main.jar 10`` Note: If execute is specified together with applicationId, className, configuration, fileUri, language, arguments, parameters during application create/update, or run create/submit, Data Flow service will use derived information from execute input only. */ execute?: pulumi.Input; /** * The VM shape for the executors. Sets the executor cores and memory. */ executorShape?: pulumi.Input; /** * This is used to configure the shape of the driver or executor if a flexible shape is used. */ executorShapeConfig?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, 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>; /** * (Updatable) The timeout value in minutes used to manage Runs. A Run would be stopped after inactivity for this amount of time period. Note: This parameter is currently only applicable for Runs of type `SESSION`. Default value is 2880 minutes (2 days) */ idleTimeoutInMinutes?: pulumi.Input; /** * An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. */ logsBucketUri?: pulumi.Input; /** * (Updatable) The maximum duration in minutes for which an Application should run. Data Flow Run would be terminated once it reaches this duration from the time it transitions to `IN_PROGRESS` state. */ maxDurationInMinutes?: pulumi.Input; /** * The OCID of Oracle Cloud Infrastructure Hive Metastore. */ metastoreId?: pulumi.Input; /** * The number of executor VMs requested. */ numExecutors?: pulumi.Input; /** * (Optional header param, required for Resource Principal version 3.0+) Parent resource control plane endpoint used to exchange for upper level resource principal token. */ opcParentRptUrl?: pulumi.Input; /** * An array of name/value pairs used to fill placeholders found in properties like `Application.arguments`. The name must be a string of one or more word characters (a-z, A-Z, 0-9, _). The value can be a string of 0 or more characters of any kind. Example: [ { name: "iterations", value: "10"}, { name: "inputFile", value: "mydata.xml" }, { name: "variableX", value: "${x}"} ] */ parameters?: pulumi.Input[] | undefined>; /** * The OCID of a pool. Unique Id to indentify a dataflow pool resource. */ poolId?: pulumi.Input; /** * The Spark version utilized to run the application. This value may be set if applicationId is not since the Spark version will be taken from the associated application. */ sparkVersion?: pulumi.Input; /** * The Spark application processing type. */ type?: pulumi.Input; /** * An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. * * ** 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 */ warehouseBucketUri?: pulumi.Input; } //# sourceMappingURL=invokeRun.d.ts.map