Fork me on GitHub

Module dataflow

@pulumi/gcp > dataflow

Index

dataflow/job.ts

class Job

Creates a job on Dataflow, which is an implementation of Apache Beam running on Google Compute Engine. For more information see the official documentation for Beam and Dataflow.

constructor

new Job(name: string, args: JobArgs, opts?: pulumi.CustomResourceOptions)

Create a Job resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: JobState): Job

Get an existing Job resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property maxWorkers

public maxWorkers: pulumi.Output<number | undefined>;

The number of workers permitted to work on the job. More workers may improve processing speed at additional cost.

property name

public name: pulumi.Output<string>;

A unique name for the resource, required by Dataflow.

property onDelete

public onDelete: pulumi.Output<string | undefined>;

One of “drain” or “cancel”. Specifies behavior of deletion during terraform destroy. See above note.

property parameters

public parameters: pulumi.Output<{ ... } | undefined>;

Key/Value pairs to be passed to the Dataflow job (as used in the template).

property project

public project: pulumi.Output<string | undefined>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property state

public state: pulumi.Output<string>;

The current state of the resource, selected from the JobState enum

property tempGcsLocation

public tempGcsLocation: pulumi.Output<string>;

A writeable location on GCS for the Dataflow job to dump its temporary data.

property templateGcsPath

public templateGcsPath: pulumi.Output<string>;

The GCS path to the Dataflow job template.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property zone

public zone: pulumi.Output<string | undefined>;

The zone in which the created job should run. If it is not provided, the provider zone is used.

interface JobArgs

The set of arguments for constructing a Job resource.

property maxWorkers

maxWorkers?: pulumi.Input<number>;

The number of workers permitted to work on the job. More workers may improve processing speed at additional cost.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by Dataflow.

property onDelete

onDelete?: pulumi.Input<string>;

One of “drain” or “cancel”. Specifies behavior of deletion during terraform destroy. See above note.

property parameters

parameters?: pulumi.Input<{ ... }>;

Key/Value pairs to be passed to the Dataflow job (as used in the template).

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property tempGcsLocation

tempGcsLocation: pulumi.Input<string>;

A writeable location on GCS for the Dataflow job to dump its temporary data.

property templateGcsPath

templateGcsPath: pulumi.Input<string>;

The GCS path to the Dataflow job template.

property zone

zone?: pulumi.Input<string>;

The zone in which the created job should run. If it is not provided, the provider zone is used.

interface JobState

Input properties used for looking up and filtering Job resources.

property maxWorkers

maxWorkers?: pulumi.Input<number>;

The number of workers permitted to work on the job. More workers may improve processing speed at additional cost.

property name

name?: pulumi.Input<string>;

A unique name for the resource, required by Dataflow.

property onDelete

onDelete?: pulumi.Input<string>;

One of “drain” or “cancel”. Specifies behavior of deletion during terraform destroy. See above note.

property parameters

parameters?: pulumi.Input<{ ... }>;

Key/Value pairs to be passed to the Dataflow job (as used in the template).

property project

project?: pulumi.Input<string>;

The project in which the resource belongs. If it is not provided, the provider project is used.

property state

state?: pulumi.Input<string>;

The current state of the resource, selected from the JobState enum

property tempGcsLocation

tempGcsLocation?: pulumi.Input<string>;

A writeable location on GCS for the Dataflow job to dump its temporary data.

property templateGcsPath

templateGcsPath?: pulumi.Input<string>;

The GCS path to the Dataflow job template.

property zone

zone?: pulumi.Input<string>;

The zone in which the created job should run. If it is not provided, the provider zone is used.