JobState class

Input properties used for looking up and filtering Job resources.

Constructors

JobState({Input<String?>? deletionPolicy, Input<String?>? driverControlsFilesUri, Input<String?>? driverOutputResourceUri, Input<Map<String, String>?>? effectiveLabels, Input<bool?>? forceDelete, Input<JobHadoopConfig?>? hadoopConfig, Input<JobHiveConfig?>? hiveConfig, Input<Map<String, String>?>? labels, Input<JobPigConfig?>? pigConfig, Input<JobPlacement?>? placement, Input<JobPrestoConfig?>? prestoConfig, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<JobPysparkConfig?>? pysparkConfig, Input<JobReference?>? reference, Input<String?>? region, Input<JobScheduling?>? scheduling, Input<JobSparkConfig?>? sparkConfig, Input<JobSparksqlConfig?>? sparksqlConfig, Input<List<JobStatus>?>? statuses, 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.
const
JobState.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
driverControlsFilesUri → Input<String?>?
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.
final
driverOutputResourceUri → Input<String?>?
A URI pointing to the location of the stdout of the job's driver program.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
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
statuses → Input<List<JobStatus>?>?
The status of the 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