JobArgs class

The set of arguments for Job. The set of arguments for Job.

Constructors

JobArgs({Input<String?>? deletionPolicy, Input<bool?>? forceDelete, Input<JobHadoopConfig?>? hadoopConfig, Input<JobHiveConfig?>? hiveConfig, Input<Map<String, String>?>? labels, Input<JobPigConfig?>? pigConfig, required Input<JobPlacement> placement, Input<JobPrestoConfig?>? prestoConfig, Input<String?>? project, Input<JobPysparkConfig?>? pysparkConfig, Input<JobReference?>? reference, Input<String?>? region, Input<JobScheduling?>? scheduling, Input<JobSparkConfig?>? sparkConfig, Input<JobSparksqlConfig?>? sparksqlConfig, Input<bool?>? waitForCompletion})
Creates a new JobArgs. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". forceDelete By default, you can only delete inactive jobs within hadoopConfig The config of Hadoop job hiveConfig The config of hive job labels The list of labels (key/value pairs) to add to the job. pigConfig The config of pag job. placement The config of job placement. prestoConfig The config of presto job project The project in which the cluster can be found and jobs pysparkConfig The config of pySpark job. reference The reference of the job region The Cloud Dataproc region. This essentially determines which clusters are available scheduling Optional. Job scheduling configuration. sparkConfig The config of the Spark job. sparksqlConfig The config of SparkSql job waitForCompletion If set to true, Terraform will wait for the job to reach a terminal state (DONE, ERROR, CANCELLED, ATTEMPT_FAILURE). Otherwise, Terraform will consider the job 'created' once it is in the RUNNING state.
const
JobArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
forceDelete → Input<bool?>?
By default, you can only delete inactive jobs within Dataproc. Setting this to true, and calling destroy, will ensure that the job is first cancelled before issuing the delete.
final
hadoopConfig → Input<JobHadoopConfig?>?
The config of Hadoop job
final
hashCode → int
The hash code for this object.
no setterinherited
hiveConfig → Input<JobHiveConfig?>?
The config of hive job
final
labels → Input<Map<String, String>?>?
The list of labels (key/value pairs) to add to the job. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
final
pigConfig → Input<JobPigConfig?>?
The config of pag job.
final
placement → Input<JobPlacement>
The config of job placement.
final
prestoConfig → Input<JobPrestoConfig?>?
The config of presto job
final
project → Input<String?>?
The project in which the cluster can be found and jobs subsequently run against. If it is not provided, the provider project is used.
final
pysparkConfig → Input<JobPysparkConfig?>?
The config of pySpark job.
final
reference → Input<JobReference?>?
The reference of the job
final
region → Input<String?>?
The Cloud Dataproc region. This essentially determines which clusters are available for this job to be submitted to. If not specified, defaults to global.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scheduling → Input<JobScheduling?>?
Optional. Job scheduling configuration.
final
sparkConfig → Input<JobSparkConfig?>?
The config of the Spark job.
final
sparksqlConfig → Input<JobSparksqlConfig?>?
The config of SparkSql job
final
waitForCompletion → Input<bool?>?
If set to true, Terraform will wait for the job to reach a terminal state (DONE, ERROR, CANCELLED, ATTEMPT_FAILURE). Otherwise, Terraform will consider the job 'created' once it is in the RUNNING state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited