JobArgs constructor

const JobArgs({
  1. Input<String?>? deletionPolicy,
  2. Input<bool?>? forceDelete,
  3. Input<JobHadoopConfig?>? hadoopConfig,
  4. Input<JobHiveConfig?>? hiveConfig,
  5. Input<Map<String, String>?>? labels,
  6. Input<JobPigConfig?>? pigConfig,
  7. required Input<JobPlacement> placement,
  8. Input<JobPrestoConfig?>? prestoConfig,
  9. Input<String?>? project,
  10. Input<JobPysparkConfig?>? pysparkConfig,
  11. Input<JobReference?>? reference,
  12. Input<String?>? region,
  13. Input<JobScheduling?>? scheduling,
  14. Input<JobSparkConfig?>? sparkConfig,
  15. Input<JobSparksqlConfig?>? sparksqlConfig,
  16. 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.

Implementation

const JobArgs({
  this.deletionPolicy,
  this.forceDelete,
  this.hadoopConfig,
  this.hiveConfig,
  this.labels,
  this.pigConfig,
  required this.placement,
  this.prestoConfig,
  this.project,
  this.pysparkConfig,
  this.reference,
  this.region,
  this.scheduling,
  this.sparkConfig,
  this.sparksqlConfig,
  this.waitForCompletion,
});