JobArgs constructor
- Input<
List< ? additionalExperiments,String> ?> - Input<
String?> ? deletionPolicy, - Input<
bool?> ? enableStreamingEngine, - Input<
String?> ? ipConfiguration, - Input<
String?> ? kmsKeyName, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? machineType, - Input<
int?> ? maxWorkers, - Input<
String?> ? name, - Input<
String?> ? network, - Input<
String?> ? onDelete, - Input<
Map< ? parameters,String, String> ?> - Input<
String?> ? project, - Input<
String?> ? region, - Input<
String?> ? serviceAccountEmail, - Input<
bool?> ? skipWaitOnJobTermination, - Input<
String?> ? subnetwork, - required Input<
String> tempGcsLocation, - required Input<
String> templateGcsPath, - Input<
Map< ? transformNameMapping,String, String> ?> - Input<
String?> ? zone,
Creates a new JobArgs.
additionalExperiments List of experiments that should be used by the job. An example value is ["enableStackdriverAgentMetrics"].
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
enableStreamingEngine Enable/disable the use of Streaming Engine for the job. Note that Streaming Engine is enabled by default for pipelines developed against the Beam SDK for Python v2.21.0 or later when using Python 3.
ipConfiguration The configuration for VM IPs. Options are "WORKER_IP_PUBLIC" or "WORKER_IP_PRIVATE".
kmsKeyName The name for the Cloud KMS key for the job. Key format is: projects/PROJECT_ID/locations/LOCATION/keyRings/KEY_RING/cryptoKeys/KEY
labels User labels to be specified for the job. Keys and values should follow the restrictions
machineType The machine type to use for the job.
maxWorkers The number of workers permitted to work on the job. More workers may improve processing speed at additional cost.
name A unique name for the resource, required by Dataflow.
network The network to which VMs will be assigned. If it is not provided, "default" will be used.
onDelete One of "drain" or "cancel". Specifies behavior of deletion during pulumi destroy. See above note.
parameters Template specific Key/Value pairs to be forwarded to the pipeline's options; keys are
project The project in which the resource belongs. If it is not provided, the provider project is used.
region The region in which the created job should run.
serviceAccountEmail The Service Account email used to create the job. This should be just an email e.g. myserviceaccount@myproject.iam.gserviceaccount.com. Do not include any serviceAccount: or other prefix.
skipWaitOnJobTermination If set to true, Pulumi will treat DRAINING and CANCELLING as terminal states when deleting the resource, and will remove the resource from Pulumi state and move on. See above note.
subnetwork The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK". If the subnetwork is located in a Shared VPC network, you must use the complete URL. For example "googleapis.com/compute/v1/projects/PROJECT_ID/regions/REGION/subnetworks/SUBNET_NAME"
tempGcsLocation A writeable location on GCS for the Dataflow job to dump its temporary data.
templateGcsPath The GCS path to the Dataflow job template.
transformNameMapping Only applicable when updating a pipeline. Map of transform name prefixes of the job to be replaced with the corresponding name prefixes of the new job. This field is not used outside of update.
zone The zone in which the created job should run. If it is not provided, the provider zone is used.
Implementation
const JobArgs({
this.additionalExperiments,
this.deletionPolicy,
this.enableStreamingEngine,
this.ipConfiguration,
this.kmsKeyName,
this.labels,
this.machineType,
this.maxWorkers,
this.name,
this.network,
this.onDelete,
this.parameters,
this.project,
this.region,
this.serviceAccountEmail,
this.skipWaitOnJobTermination,
this.subnetwork,
required this.tempGcsLocation,
required this.templateGcsPath,
this.transformNameMapping,
this.zone,
});