oci.DataFlow.getApplications
Explore with Pulumi AI
This data source provides the list of Applications in Oracle Cloud Infrastructure Data Flow service.
Lists all applications in the specified compartment. Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testApplications = oci.DataFlow.getApplications({
compartmentId: compartmentId,
displayName: applicationDisplayName,
displayNameStartsWith: applicationDisplayNameStartsWith,
ownerPrincipalId: testOwnerPrincipal.id,
sparkVersion: applicationSparkVersion,
});
import pulumi
import pulumi_oci as oci
test_applications = oci.DataFlow.get_applications(compartment_id=compartment_id,
display_name=application_display_name,
display_name_starts_with=application_display_name_starts_with,
owner_principal_id=test_owner_principal["id"],
spark_version=application_spark_version)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DataFlow"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DataFlow.GetApplications(ctx, &dataflow.GetApplicationsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(applicationDisplayName),
DisplayNameStartsWith: pulumi.StringRef(applicationDisplayNameStartsWith),
OwnerPrincipalId: pulumi.StringRef(testOwnerPrincipal.Id),
SparkVersion: pulumi.StringRef(applicationSparkVersion),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testApplications = Oci.DataFlow.GetApplications.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = applicationDisplayName,
DisplayNameStartsWith = applicationDisplayNameStartsWith,
OwnerPrincipalId = testOwnerPrincipal.Id,
SparkVersion = applicationSparkVersion,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataFlow.DataFlowFunctions;
import com.pulumi.oci.DataFlow.inputs.GetApplicationsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testApplications = DataFlowFunctions.getApplications(GetApplicationsArgs.builder()
.compartmentId(compartmentId)
.displayName(applicationDisplayName)
.displayNameStartsWith(applicationDisplayNameStartsWith)
.ownerPrincipalId(testOwnerPrincipal.id())
.sparkVersion(applicationSparkVersion)
.build());
}
}
variables:
testApplications:
fn::invoke:
Function: oci:DataFlow:getApplications
Arguments:
compartmentId: ${compartmentId}
displayName: ${applicationDisplayName}
displayNameStartsWith: ${applicationDisplayNameStartsWith}
ownerPrincipalId: ${testOwnerPrincipal.id}
sparkVersion: ${applicationSparkVersion}
Using getApplications
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApplications(args: GetApplicationsArgs, opts?: InvokeOptions): Promise<GetApplicationsResult>
function getApplicationsOutput(args: GetApplicationsOutputArgs, opts?: InvokeOptions): Output<GetApplicationsResult>
def get_applications(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
display_name_starts_with: Optional[str] = None,
filters: Optional[Sequence[_dataflow.GetApplicationsFilter]] = None,
owner_principal_id: Optional[str] = None,
spark_version: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApplicationsResult
def get_applications_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
display_name_starts_with: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_dataflow.GetApplicationsFilterArgs]]]] = None,
owner_principal_id: Optional[pulumi.Input[str]] = None,
spark_version: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApplicationsResult]
func GetApplications(ctx *Context, args *GetApplicationsArgs, opts ...InvokeOption) (*GetApplicationsResult, error)
func GetApplicationsOutput(ctx *Context, args *GetApplicationsOutputArgs, opts ...InvokeOption) GetApplicationsResultOutput
> Note: This function is named GetApplications
in the Go SDK.
public static class GetApplications
{
public static Task<GetApplicationsResult> InvokeAsync(GetApplicationsArgs args, InvokeOptions? opts = null)
public static Output<GetApplicationsResult> Invoke(GetApplicationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApplicationsResult> getApplications(GetApplicationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataFlow/getApplications:getApplications
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - The query parameter for the Spark application name.
- Display
Name stringStarts With - The displayName prefix.
- Filters
List<Get
Applications Filter> - Owner
Principal stringId - The OCID of the user who created the resource.
- Spark
Version string - The Spark version utilized to run the application.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - The query parameter for the Spark application name.
- Display
Name stringStarts With - The displayName prefix.
- Filters
[]Get
Applications Filter - Owner
Principal stringId - The OCID of the user who created the resource.
- Spark
Version string - The Spark version utilized to run the application.
- compartment
Id String - The OCID of the compartment.
- display
Name String - The query parameter for the Spark application name.
- display
Name StringStarts With - The displayName prefix.
- filters
List<Get
Applications Filter> - owner
Principal StringId - The OCID of the user who created the resource.
- spark
Version String - The Spark version utilized to run the application.
- compartment
Id string - The OCID of the compartment.
- display
Name string - The query parameter for the Spark application name.
- display
Name stringStarts With - The displayName prefix.
- filters
Get
Applications Filter[] - owner
Principal stringId - The OCID of the user who created the resource.
- spark
Version string - The Spark version utilized to run the application.
- compartment_
id str - The OCID of the compartment.
- display_
name str - The query parameter for the Spark application name.
- display_
name_ strstarts_ with - The displayName prefix.
- filters
Sequence[dataflow.
Get Applications Filter] - owner_
principal_ strid - The OCID of the user who created the resource.
- spark_
version str - The Spark version utilized to run the application.
- compartment
Id String - The OCID of the compartment.
- display
Name String - The query parameter for the Spark application name.
- display
Name StringStarts With - The displayName prefix.
- filters List<Property Map>
- owner
Principal StringId - The OCID of the user who created the resource.
- spark
Version String - The Spark version utilized to run the application.
getApplications Result
The following output properties are available:
- Applications
List<Get
Applications Application> - The list of applications.
- Compartment
Id string - The OCID of a compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. This name is not necessarily unique.
- Display
Name stringStarts With - Filters
List<Get
Applications Filter> - Owner
Principal stringId - The OCID of the user who created the resource.
- Spark
Version string - The Spark version utilized to run the application.
- Applications
[]Get
Applications Application - The list of applications.
- Compartment
Id string - The OCID of a compartment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - A user-friendly name. This name is not necessarily unique.
- Display
Name stringStarts With - Filters
[]Get
Applications Filter - Owner
Principal stringId - The OCID of the user who created the resource.
- Spark
Version string - The Spark version utilized to run the application.
- applications
List<Get
Applications Application> - The list of applications.
- compartment
Id String - The OCID of a compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. This name is not necessarily unique.
- display
Name StringStarts With - filters
List<Get
Applications Filter> - owner
Principal StringId - The OCID of the user who created the resource.
- spark
Version String - The Spark version utilized to run the application.
- applications
Get
Applications Application[] - The list of applications.
- compartment
Id string - The OCID of a compartment.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - A user-friendly name. This name is not necessarily unique.
- display
Name stringStarts With - filters
Get
Applications Filter[] - owner
Principal stringId - The OCID of the user who created the resource.
- spark
Version string - The Spark version utilized to run the application.
- applications
Sequence[dataflow.
Get Applications Application] - The list of applications.
- compartment_
id str - The OCID of a compartment.
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - A user-friendly name. This name is not necessarily unique.
- display_
name_ strstarts_ with - filters
Sequence[dataflow.
Get Applications Filter] - owner_
principal_ strid - The OCID of the user who created the resource.
- spark_
version str - The Spark version utilized to run the application.
- applications List<Property Map>
- The list of applications.
- compartment
Id String - The OCID of a compartment.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - A user-friendly name. This name is not necessarily unique.
- display
Name StringStarts With - filters List<Property Map>
- owner
Principal StringId - The OCID of the user who created the resource.
- spark
Version String - The Spark version utilized to run the application.
Supporting Types
GetApplicationsApplication
- Application
Log List<GetConfigs Applications Application Application Log Config> - Logging details of Application logs for Data Flow Run.
- Archive
Uri string - 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. - Arguments List<string>
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- Class
Name string - The class for the application.
- Compartment
Id string - The OCID of the compartment.
- Configuration Dictionary<string, object>
- 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.
- Dictionary<string, object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- A user-friendly description.
- Display
Name string - The query parameter for the Spark application name.
- Driver
Shape string - The VM shape for the driver. Sets the driver cores and memory.
- Driver
Shape List<GetConfigs Applications Application Driver Shape Config> - This is used to configure the shape of the driver or executor if a flexible shape is used.
- Execute string
- 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. - Executor
Shape string - The VM shape for the executors. Sets the executor cores and memory.
- Executor
Shape List<GetConfigs Applications Application Executor Shape Config> - This is used to configure the shape of the driver or executor if a flexible shape is used.
- File
Uri string - 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.
- Dictionary<string, object>
- 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. Example:
{"Department": "Finance"}
- Id string
- The application ID.
- Idle
Timeout stringIn Minutes - 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) - Language string
- The Spark language.
- Logs
Bucket stringUri - 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.
- Max
Duration stringIn Minutes - 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. - Metastore
Id string - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- Num
Executors int - The number of executor VMs requested.
- Owner
Principal stringId - The OCID of the user who created the resource.
- Owner
User stringName - 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. - Parameters
List<Get
Applications Application Parameter> - 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - Pool
Id string - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- Private
Endpoint stringId - The OCID of a private endpoint.
- Spark
Version string - The Spark version utilized to run the application.
- State string
- The current state of this application.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Updated string - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Type string
- The Spark application processing type.
- Warehouse
Bucket stringUri - 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.
- Application
Log []GetConfigs Applications Application Application Log Config - Logging details of Application logs for Data Flow Run.
- Archive
Uri string - 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. - Arguments []string
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- Class
Name string - The class for the application.
- Compartment
Id string - The OCID of the compartment.
- Configuration map[string]interface{}
- 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.
- map[string]interface{}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Description string
- A user-friendly description.
- Display
Name string - The query parameter for the Spark application name.
- Driver
Shape string - The VM shape for the driver. Sets the driver cores and memory.
- Driver
Shape []GetConfigs Applications Application Driver Shape Config - This is used to configure the shape of the driver or executor if a flexible shape is used.
- Execute string
- 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. - Executor
Shape string - The VM shape for the executors. Sets the executor cores and memory.
- Executor
Shape []GetConfigs Applications Application Executor Shape Config - This is used to configure the shape of the driver or executor if a flexible shape is used.
- File
Uri string - 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.
- map[string]interface{}
- 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. Example:
{"Department": "Finance"}
- Id string
- The application ID.
- Idle
Timeout stringIn Minutes - 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) - Language string
- The Spark language.
- Logs
Bucket stringUri - 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.
- Max
Duration stringIn Minutes - 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. - Metastore
Id string - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- Num
Executors int - The number of executor VMs requested.
- Owner
Principal stringId - The OCID of the user who created the resource.
- Owner
User stringName - 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. - Parameters
[]Get
Applications Application Parameter - 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - Pool
Id string - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- Private
Endpoint stringId - The OCID of a private endpoint.
- Spark
Version string - The Spark version utilized to run the application.
- State string
- The current state of this application.
- Time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Time
Updated string - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- Type string
- The Spark application processing type.
- Warehouse
Bucket stringUri - 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.
- application
Log List<GetConfigs Applications Application Application Log Config> - Logging details of Application logs for Data Flow Run.
- archive
Uri String - 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. - arguments List<String>
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- class
Name String - The class for the application.
- compartment
Id String - The OCID of the compartment.
- configuration Map<String,Object>
- 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.
- Map<String,Object>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- A user-friendly description.
- display
Name String - The query parameter for the Spark application name.
- driver
Shape String - The VM shape for the driver. Sets the driver cores and memory.
- driver
Shape List<GetConfigs Applications Application Driver Shape Config> - This is used to configure the shape of the driver or executor if a flexible shape is used.
- execute String
- 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. - executor
Shape String - The VM shape for the executors. Sets the executor cores and memory.
- executor
Shape List<GetConfigs Applications Application Executor Shape Config> - This is used to configure the shape of the driver or executor if a flexible shape is used.
- file
Uri String - 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.
- Map<String,Object>
- 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. Example:
{"Department": "Finance"}
- id String
- The application ID.
- idle
Timeout StringIn Minutes - 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) - language String
- The Spark language.
- logs
Bucket StringUri - 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.
- max
Duration StringIn Minutes - 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. - metastore
Id String - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- num
Executors Integer - The number of executor VMs requested.
- owner
Principal StringId - The OCID of the user who created the resource.
- owner
User StringName - 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. - parameters
List<Get
Applications Application Parameter> - 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - pool
Id String - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- private
Endpoint StringId - The OCID of a private endpoint.
- spark
Version String - The Spark version utilized to run the application.
- state String
- The current state of this application.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated String - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- type String
- The Spark application processing type.
- warehouse
Bucket StringUri - 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.
- application
Log GetConfigs Applications Application Application Log Config[] - Logging details of Application logs for Data Flow Run.
- archive
Uri string - 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. - arguments string[]
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- class
Name string - The class for the application.
- compartment
Id string - The OCID of the compartment.
- configuration {[key: string]: any}
- 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.
- {[key: string]: any}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description string
- A user-friendly description.
- display
Name string - The query parameter for the Spark application name.
- driver
Shape string - The VM shape for the driver. Sets the driver cores and memory.
- driver
Shape GetConfigs Applications Application Driver Shape Config[] - This is used to configure the shape of the driver or executor if a flexible shape is used.
- execute string
- 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. - executor
Shape string - The VM shape for the executors. Sets the executor cores and memory.
- executor
Shape GetConfigs Applications Application Executor Shape Config[] - This is used to configure the shape of the driver or executor if a flexible shape is used.
- file
Uri string - 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.
- {[key: string]: any}
- 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. Example:
{"Department": "Finance"}
- id string
- The application ID.
- idle
Timeout stringIn Minutes - 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) - language string
- The Spark language.
- logs
Bucket stringUri - 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.
- max
Duration stringIn Minutes - 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. - metastore
Id string - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- num
Executors number - The number of executor VMs requested.
- owner
Principal stringId - The OCID of the user who created the resource.
- owner
User stringName - 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. - parameters
Get
Applications Application Parameter[] - 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - pool
Id string - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- private
Endpoint stringId - The OCID of a private endpoint.
- spark
Version string - The Spark version utilized to run the application.
- state string
- The current state of this application.
- time
Created string - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated string - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- type string
- The Spark application processing type.
- warehouse
Bucket stringUri - 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.
- application_
log_ Sequence[dataflow.configs Get Applications Application Application Log Config] - Logging details of Application logs for Data Flow Run.
- archive_
uri str - 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. - arguments Sequence[str]
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- class_
name str - The class for the application.
- compartment_
id str - The OCID of the compartment.
- configuration Mapping[str, Any]
- 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.
- Mapping[str, Any]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description str
- A user-friendly description.
- display_
name str - The query parameter for the Spark application name.
- driver_
shape str - The VM shape for the driver. Sets the driver cores and memory.
- driver_
shape_ Sequence[dataflow.configs Get Applications Application Driver Shape Config] - This is used to configure the shape of the driver or executor if a flexible shape is used.
- execute str
- 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. - executor_
shape str - The VM shape for the executors. Sets the executor cores and memory.
- executor_
shape_ Sequence[dataflow.configs Get Applications Application Executor Shape Config] - This is used to configure the shape of the driver or executor if a flexible shape is used.
- file_
uri str - 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.
- Mapping[str, Any]
- 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. Example:
{"Department": "Finance"}
- id str
- The application ID.
- idle_
timeout_ strin_ minutes - 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) - language str
- The Spark language.
- logs_
bucket_ struri - 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.
- max_
duration_ strin_ minutes - 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. - metastore_
id str - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- num_
executors int - The number of executor VMs requested.
- owner_
principal_ strid - The OCID of the user who created the resource.
- owner_
user_ strname - 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. - parameters
Sequence[dataflow.
Get Applications Application Parameter] - 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - pool_
id str - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- private_
endpoint_ strid - The OCID of a private endpoint.
- spark_
version str - The Spark version utilized to run the application.
- state str
- The current state of this application.
- time_
created str - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time_
updated str - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- type str
- The Spark application processing type.
- warehouse_
bucket_ struri - 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.
- application
Log List<Property Map>Configs - Logging details of Application logs for Data Flow Run.
- archive
Uri String - 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. - arguments List<String>
- 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
, wherename
is the name of the parameter. Example:[ "--input", "${input_file}", "--name", "John Doe" ]
If "input_file" has a value of "mydata.xml", then the value above will be translated to--input mydata.xml --name "John Doe"
- class
Name String - The class for the application.
- compartment
Id String - The OCID of the compartment.
- configuration Map<Any>
- 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.
- Map<Any>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- description String
- A user-friendly description.
- display
Name String - The query parameter for the Spark application name.
- driver
Shape String - The VM shape for the driver. Sets the driver cores and memory.
- driver
Shape List<Property Map>Configs - This is used to configure the shape of the driver or executor if a flexible shape is used.
- execute String
- 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. - executor
Shape String - The VM shape for the executors. Sets the executor cores and memory.
- executor
Shape List<Property Map>Configs - This is used to configure the shape of the driver or executor if a flexible shape is used.
- file
Uri String - 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.
- Map<Any>
- 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. Example:
{"Department": "Finance"}
- id String
- The application ID.
- idle
Timeout StringIn Minutes - 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) - language String
- The Spark language.
- logs
Bucket StringUri - 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.
- max
Duration StringIn Minutes - 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. - metastore
Id String - The OCID of Oracle Cloud Infrastructure Hive Metastore.
- num
Executors Number - The number of executor VMs requested.
- owner
Principal StringId - The OCID of the user who created the resource.
- owner
User StringName - 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. - parameters List<Property Map>
- 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: "input_file", value: "mydata.xml" }, { name: "variable_x", value: "${x}"} ] - pool
Id String - The OCID of a pool. Unique Id to indentify a dataflow pool resource.
- private
Endpoint StringId - The OCID of a private endpoint.
- spark
Version String - The Spark version utilized to run the application.
- state String
- The current state of this application.
- time
Created String - The date and time the resource was created, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- time
Updated String - The date and time the resource was updated, expressed in RFC 3339 timestamp format. Example:
2018-04-03T21:10:29.600Z
- type String
- The Spark application processing type.
- warehouse
Bucket StringUri - 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.
GetApplicationsApplicationApplicationLogConfig
- Log
Group stringId - The log group id for where log objects will be for Data Flow Runs.
- Log
Id string - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
- Log
Group stringId - The log group id for where log objects will be for Data Flow Runs.
- Log
Id string - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
- log
Group StringId - The log group id for where log objects will be for Data Flow Runs.
- log
Id String - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
- log
Group stringId - The log group id for where log objects will be for Data Flow Runs.
- log
Id string - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
- log_
group_ strid - The log group id for where log objects will be for Data Flow Runs.
- log_
id str - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
- log
Group StringId - The log group id for where log objects will be for Data Flow Runs.
- log
Id String - The log id of the log object the Application Logs of Data Flow Run will be shipped to.
GetApplicationsApplicationDriverShapeConfig
- Memory
In doubleGbs - The amount of memory used for the driver or executors.
- Ocpus double
- The total number of OCPUs used for the driver or executors. See here for details.
- Memory
In float64Gbs - The amount of memory used for the driver or executors.
- Ocpus float64
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In DoubleGbs - The amount of memory used for the driver or executors.
- ocpus Double
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In numberGbs - The amount of memory used for the driver or executors.
- ocpus number
- The total number of OCPUs used for the driver or executors. See here for details.
- memory_
in_ floatgbs - The amount of memory used for the driver or executors.
- ocpus float
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In NumberGbs - The amount of memory used for the driver or executors.
- ocpus Number
- The total number of OCPUs used for the driver or executors. See here for details.
GetApplicationsApplicationExecutorShapeConfig
- Memory
In doubleGbs - The amount of memory used for the driver or executors.
- Ocpus double
- The total number of OCPUs used for the driver or executors. See here for details.
- Memory
In float64Gbs - The amount of memory used for the driver or executors.
- Ocpus float64
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In DoubleGbs - The amount of memory used for the driver or executors.
- ocpus Double
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In numberGbs - The amount of memory used for the driver or executors.
- ocpus number
- The total number of OCPUs used for the driver or executors. See here for details.
- memory_
in_ floatgbs - The amount of memory used for the driver or executors.
- ocpus float
- The total number of OCPUs used for the driver or executors. See here for details.
- memory
In NumberGbs - The amount of memory used for the driver or executors.
- ocpus Number
- The total number of OCPUs used for the driver or executors. See here for details.
GetApplicationsApplicationParameter
GetApplicationsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.