JobState constructor
- Input<
String?> ? deletionPolicy, - Input<
String?> ? driverControlsFilesUri, - Input<
String?> ? driverOutputResourceUri, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? forceDelete, - Input<
JobHadoopConfig?> ? hadoopConfig, - Input<
JobHiveConfig?> ? hiveConfig, - Input<
Map< ? labels,String, String> ?> - Input<
JobPigConfig?> ? pigConfig, - Input<
JobPlacement?> ? placement, - Input<
JobPrestoConfig?> ? prestoConfig, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
JobPysparkConfig?> ? pysparkConfig, - Input<
JobReference?> ? reference, - Input<
String?> ? region, - Input<
JobScheduling?> ? scheduling, - Input<
JobSparkConfig?> ? sparkConfig, - Input<
JobSparksqlConfig?> ? sparksqlConfig, - Input<
List< ? statuses,JobStatus> ?> - 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,
});