FlexTemplateJobState constructor
- Input<
List< ? additionalExperiments,String> ?> - Input<
List< ? additionalPipelineOptions,String> ?> - Input<
String?> ? autoscalingAlgorithm, - Input<
String?> ? containerSpecGcsPath, - Input<
bool?> ? createIgnoreAlreadyExists, - Input<
String?> ? deletionPolicy, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
bool?> ? enableStreamingEngine, - Input<
String?> ? ipConfiguration, - Input<
String?> ? jobId, - Input<
String?> ? kmsKeyName, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? launcherMachineType, - Input<
String?> ? machineType, - Input<
int?> ? maxWorkers, - Input<
String?> ? name, - Input<
String?> ? network, - Input<
int?> ? numWorkers, - Input<
String?> ? onDelete, - Input<
Map< ? parameters,String, String> ?> - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
String?> ? region, - Input<
String?> ? sdkContainerImage, - Input<
String?> ? serviceAccountEmail, - Input<
bool?> ? skipWaitOnJobTermination, - Input<
String?> ? stagingLocation, - Input<
String?> ? state, - Input<
String?> ? subnetwork, - Input<
String?> ? tempLocation, - Input<
Map< ? transformNameMapping,String, String> ?> - Input<
String?> ? type,
Creates a new FlexTemplateJobState.
additionalExperiments List of experiments that should be used by the job. An example value is ["enableStackdriverAgentMetrics"].
additionalPipelineOptions List of pipeline options that should be used by the job. An example value is ["numberOfWorkerHarnessThreads=20"].
autoscalingAlgorithm The algorithm to use for autoscaling.
containerSpecGcsPath The GCS path to the Dataflow job Flex
createIgnoreAlreadyExists If true, if a 409 AlreadyExists error is returned on create, the provider will ignore it and adopt the existing resource.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
enableStreamingEngine Immutable. Indicates if the job should use the streaming engine feature.
ipConfiguration The configuration for VM IPs. Options are "WORKER_IP_PUBLIC" or "WORKER_IP_PRIVATE".
jobId The unique ID of this job.
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
launcherMachineType The machine type to use for launching the job. The default is n1-standard-1.
machineType The machine type to use for the job.
maxWorkers Immutable. The maximum number of Google Compute Engine instances to be made available to your pipeline during execution, from 1 to 1000.
name Immutable. 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.
numWorkers Immutable. The initial number of Google Compute Engine instances for the job.
onDelete One of "drain" or "cancel". Specifies behavior of
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
pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider.
region Immutable. The region in which the created job should run.
sdkContainerImage Docker registry location of container image to use for the 'worker harness. Default is the container for the version of the SDK. Note this field is only valid for portable pipelines.
serviceAccountEmail Service account email to run the workers as. 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, terraform will
stagingLocation The Cloud Storage path to use for staging files. Must be a valid Cloud Storage URL, beginning with gs://.
state The current state of the resource, selected from the JobState enum
subnetwork The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK".
tempLocation The Cloud Storage path to use for temporary files. Must be a valid Cloud Storage URL, beginning with gs://.
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.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.
type The type of this job, selected from the JobType enum.
Implementation
const FlexTemplateJobState({
this.additionalExperiments,
this.additionalPipelineOptions,
this.autoscalingAlgorithm,
this.containerSpecGcsPath,
this.createIgnoreAlreadyExists,
this.deletionPolicy,
this.effectiveLabels,
this.enableStreamingEngine,
this.ipConfiguration,
this.jobId,
this.kmsKeyName,
this.labels,
this.launcherMachineType,
this.machineType,
this.maxWorkers,
this.name,
this.network,
this.numWorkers,
this.onDelete,
this.parameters,
this.project,
this.pulumiLabels,
this.region,
this.sdkContainerImage,
this.serviceAccountEmail,
this.skipWaitOnJobTermination,
this.stagingLocation,
this.state,
this.subnetwork,
this.tempLocation,
this.transformNameMapping,
this.type,
});