Documentation
¶
Overview ¶
nolint: lll Package dataflow exports types, functions, subpackages for provisioning dataflow resources.
> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-gcp) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-gcp` repo](https://github.com/terraform-providers/terraform-provider-gcp/issues).
Index ¶
- type Job
- func (r *Job) ID() *pulumi.IDOutput
- func (r *Job) MachineType() *pulumi.StringOutput
- func (r *Job) MaxWorkers() *pulumi.IntOutput
- func (r *Job) Name() *pulumi.StringOutput
- func (r *Job) Network() *pulumi.StringOutput
- func (r *Job) OnDelete() *pulumi.StringOutput
- func (r *Job) Parameters() *pulumi.MapOutput
- func (r *Job) Project() *pulumi.StringOutput
- func (r *Job) Region() *pulumi.StringOutput
- func (r *Job) ServiceAccountEmail() *pulumi.StringOutput
- func (r *Job) State() *pulumi.StringOutput
- func (r *Job) Subnetwork() *pulumi.StringOutput
- func (r *Job) TempGcsLocation() *pulumi.StringOutput
- func (r *Job) TemplateGcsPath() *pulumi.StringOutput
- func (r *Job) URN() *pulumi.URNOutput
- func (r *Job) Zone() *pulumi.StringOutput
- type JobArgs
- type JobState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-google/blob/master/website/docs/r/dataflow_job.html.markdown.
func GetJob ¶
func GetJob(ctx *pulumi.Context, name string, id pulumi.ID, state *JobState, opts ...pulumi.ResourceOpt) (*Job, error)
GetJob gets an existing Job resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewJob ¶
func NewJob(ctx *pulumi.Context, name string, args *JobArgs, opts ...pulumi.ResourceOpt) (*Job, error)
NewJob registers a new resource with the given unique name, arguments, and options.
func (*Job) MachineType ¶ added in v0.18.7
func (r *Job) MachineType() *pulumi.StringOutput
The machine type to use for the job.
func (*Job) MaxWorkers ¶
The number of workers permitted to work on the job. More workers may improve processing speed at additional cost.
func (*Job) Name ¶
func (r *Job) Name() *pulumi.StringOutput
A unique name for the resource, required by Dataflow.
func (*Job) Network ¶ added in v0.18.6
func (r *Job) Network() *pulumi.StringOutput
The network to which VMs will be assigned. If it is not provided, "default" will be used.
func (*Job) OnDelete ¶
func (r *Job) OnDelete() *pulumi.StringOutput
func (*Job) Parameters ¶
Key/Value pairs to be passed to the Dataflow job (as used in the template).
func (*Job) Project ¶
func (r *Job) Project() *pulumi.StringOutput
The project in which the resource belongs. If it is not provided, the provider project is used.
func (*Job) Region ¶ added in v0.16.0
func (r *Job) Region() *pulumi.StringOutput
func (*Job) ServiceAccountEmail ¶ added in v0.18.1
func (r *Job) ServiceAccountEmail() *pulumi.StringOutput
The Service Account email used to create the job.
func (*Job) State ¶
func (r *Job) State() *pulumi.StringOutput
The current state of the resource, selected from the [JobState enum](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#Job.JobState)
func (*Job) Subnetwork ¶ added in v0.18.6
func (r *Job) Subnetwork() *pulumi.StringOutput
The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK".
func (*Job) TempGcsLocation ¶
func (r *Job) TempGcsLocation() *pulumi.StringOutput
A writeable location on GCS for the Dataflow job to dump its temporary data.
func (*Job) TemplateGcsPath ¶
func (r *Job) TemplateGcsPath() *pulumi.StringOutput
The GCS path to the Dataflow job template.
func (*Job) Zone ¶
func (r *Job) Zone() *pulumi.StringOutput
The zone in which the created job should run. If it is not provided, the provider zone is used.
type JobArgs ¶
type JobArgs struct { // The machine type to use for the job. MachineType interface{} // The number of workers permitted to work on the job. More workers may improve processing speed at additional cost. MaxWorkers interface{} // A unique name for the resource, required by Dataflow. Name interface{} // The network to which VMs will be assigned. If it is not provided, "default" will be used. Network interface{} OnDelete interface{} // Key/Value pairs to be passed to the Dataflow job (as used in the template). Parameters interface{} // The project in which the resource belongs. If it is not provided, the provider project is used. Project interface{} Region interface{} // The Service Account email used to create the job. ServiceAccountEmail interface{} // The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK". Subnetwork interface{} // A writeable location on GCS for the Dataflow job to dump its temporary data. TempGcsLocation interface{} // The GCS path to the Dataflow job template. TemplateGcsPath interface{} // The zone in which the created job should run. If it is not provided, the provider zone is used. Zone interface{} }
The set of arguments for constructing a Job resource.
type JobState ¶
type JobState struct { // The machine type to use for the job. MachineType interface{} // The number of workers permitted to work on the job. More workers may improve processing speed at additional cost. MaxWorkers interface{} // A unique name for the resource, required by Dataflow. Name interface{} // The network to which VMs will be assigned. If it is not provided, "default" will be used. Network interface{} OnDelete interface{} // Key/Value pairs to be passed to the Dataflow job (as used in the template). Parameters interface{} // The project in which the resource belongs. If it is not provided, the provider project is used. Project interface{} Region interface{} // The Service Account email used to create the job. ServiceAccountEmail interface{} // The current state of the resource, selected from the [JobState enum](https://cloud.google.com/dataflow/docs/reference/rest/v1b3/projects.jobs#Job.JobState) State interface{} // The subnetwork to which VMs will be assigned. Should be of the form "regions/REGION/subnetworks/SUBNETWORK". Subnetwork interface{} // A writeable location on GCS for the Dataflow job to dump its temporary data. TempGcsLocation interface{} // The GCS path to the Dataflow job template. TemplateGcsPath interface{} // The zone in which the created job should run. If it is not provided, the provider zone is used. Zone interface{} }
Input properties used for looking up and filtering Job resources.