Documentation
¶
Index ¶
- type Job
- func (r *Job) ID() *pulumi.IDOutput
- func (r *Job) MaxWorkers() *pulumi.IntOutput
- func (r *Job) Name() *pulumi.StringOutput
- func (r *Job) OnDelete() *pulumi.StringOutput
- func (r *Job) Parameters() *pulumi.MapOutput
- func (r *Job) Project() *pulumi.StringOutput
- func (r *Job) State() *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
}
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](https://beam.apache.org) and [Dataflow](https://cloud.google.com/dataflow/).
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) 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) OnDelete ¶
func (r *Job) OnDelete() *pulumi.StringOutput
One of "drain" or "cancel". Specifies behavior of deletion during `terraform destroy`. See above note.
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) 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) 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 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{} // One of "drain" or "cancel". Specifies behavior of deletion during `terraform destroy`. See above note. 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{} // 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 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{} // One of "drain" or "cancel". Specifies behavior of deletion during `terraform destroy`. See above note. 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{} // 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{} // 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.