JobState constructor

const JobState({
  1. Input<String?>? deletionPolicy,
  2. Input<String?>? driverControlsFilesUri,
  3. Input<String?>? driverOutputResourceUri,
  4. Input<Map<String, String>?>? effectiveLabels,
  5. Input<bool?>? forceDelete,
  6. Input<JobHadoopConfig?>? hadoopConfig,
  7. Input<JobHiveConfig?>? hiveConfig,
  8. Input<Map<String, String>?>? labels,
  9. Input<JobPigConfig?>? pigConfig,
  10. Input<JobPlacement?>? placement,
  11. Input<JobPrestoConfig?>? prestoConfig,
  12. Input<String?>? project,
  13. Input<Map<String, String>?>? pulumiLabels,
  14. Input<JobPysparkConfig?>? pysparkConfig,
  15. Input<JobReference?>? reference,
  16. Input<String?>? region,
  17. Input<JobScheduling?>? scheduling,
  18. Input<JobSparkConfig?>? sparkConfig,
  19. Input<JobSparksqlConfig?>? sparksqlConfig,
  20. Input<List<JobStatus>?>? statuses,
  21. Input<bool?>? waitForCompletion,
})

Creates a new JobState. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". driverControlsFilesUri If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri. driverOutputResourceUri A URI pointing to the location of the stdout of the job's driver program. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. 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 pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. 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 statuses The status of the 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 JobState({
  this.deletionPolicy,
  this.driverControlsFilesUri,
  this.driverOutputResourceUri,
  this.effectiveLabels,
  this.forceDelete,
  this.hadoopConfig,
  this.hiveConfig,
  this.labels,
  this.pigConfig,
  this.placement,
  this.prestoConfig,
  this.project,
  this.pulumiLabels,
  this.pysparkConfig,
  this.reference,
  this.region,
  this.scheduling,
  this.sparkConfig,
  this.sparksqlConfig,
  this.statuses,
  this.waitForCompletion,
});