Documentation
¶
Index ¶
- type Cluster
- func (r *Cluster) ClusterConfig() *pulumi.Output
- func (r *Cluster) ID() *pulumi.IDOutput
- func (r *Cluster) Labels() *pulumi.MapOutput
- func (r *Cluster) Name() *pulumi.StringOutput
- func (r *Cluster) Project() *pulumi.StringOutput
- func (r *Cluster) Region() *pulumi.StringOutput
- func (r *Cluster) URN() *pulumi.URNOutput
- type ClusterArgs
- type ClusterIAMBinding
- func (r *ClusterIAMBinding) Cluster() *pulumi.StringOutput
- func (r *ClusterIAMBinding) Etag() *pulumi.StringOutput
- func (r *ClusterIAMBinding) ID() *pulumi.IDOutput
- func (r *ClusterIAMBinding) Members() *pulumi.ArrayOutput
- func (r *ClusterIAMBinding) Project() *pulumi.StringOutput
- func (r *ClusterIAMBinding) Region() *pulumi.StringOutput
- func (r *ClusterIAMBinding) Role() *pulumi.StringOutput
- func (r *ClusterIAMBinding) URN() *pulumi.URNOutput
- type ClusterIAMBindingArgs
- type ClusterIAMBindingState
- type ClusterIAMMember
- func (r *ClusterIAMMember) Cluster() *pulumi.StringOutput
- func (r *ClusterIAMMember) Etag() *pulumi.StringOutput
- func (r *ClusterIAMMember) ID() *pulumi.IDOutput
- func (r *ClusterIAMMember) Member() *pulumi.StringOutput
- func (r *ClusterIAMMember) Project() *pulumi.StringOutput
- func (r *ClusterIAMMember) Region() *pulumi.StringOutput
- func (r *ClusterIAMMember) Role() *pulumi.StringOutput
- func (r *ClusterIAMMember) URN() *pulumi.URNOutput
- type ClusterIAMMemberArgs
- type ClusterIAMMemberState
- type ClusterIAMPolicy
- func (r *ClusterIAMPolicy) Cluster() *pulumi.StringOutput
- func (r *ClusterIAMPolicy) Etag() *pulumi.StringOutput
- func (r *ClusterIAMPolicy) ID() *pulumi.IDOutput
- func (r *ClusterIAMPolicy) PolicyData() *pulumi.StringOutput
- func (r *ClusterIAMPolicy) Project() *pulumi.StringOutput
- func (r *ClusterIAMPolicy) Region() *pulumi.StringOutput
- func (r *ClusterIAMPolicy) URN() *pulumi.URNOutput
- type ClusterIAMPolicyArgs
- type ClusterIAMPolicyState
- type ClusterState
- type Job
- func (r *Job) DriverControlsFilesUri() *pulumi.StringOutput
- func (r *Job) DriverOutputResourceUri() *pulumi.StringOutput
- func (r *Job) ForceDelete() *pulumi.BoolOutput
- func (r *Job) HadoopConfig() *pulumi.Output
- func (r *Job) HiveConfig() *pulumi.Output
- func (r *Job) ID() *pulumi.IDOutput
- func (r *Job) Labels() *pulumi.MapOutput
- func (r *Job) PigConfig() *pulumi.Output
- func (r *Job) Placement() *pulumi.Output
- func (r *Job) Project() *pulumi.StringOutput
- func (r *Job) PysparkConfig() *pulumi.Output
- func (r *Job) Reference() *pulumi.Output
- func (r *Job) Region() *pulumi.StringOutput
- func (r *Job) Scheduling() *pulumi.Output
- func (r *Job) SparkConfig() *pulumi.Output
- func (r *Job) SparksqlConfig() *pulumi.Output
- func (r *Job) Status() *pulumi.Output
- func (r *Job) URN() *pulumi.URNOutput
- type JobArgs
- type JobIAMBinding
- func (r *JobIAMBinding) Etag() *pulumi.StringOutput
- func (r *JobIAMBinding) ID() *pulumi.IDOutput
- func (r *JobIAMBinding) JobId() *pulumi.StringOutput
- func (r *JobIAMBinding) Members() *pulumi.ArrayOutput
- func (r *JobIAMBinding) Project() *pulumi.StringOutput
- func (r *JobIAMBinding) Region() *pulumi.StringOutput
- func (r *JobIAMBinding) Role() *pulumi.StringOutput
- func (r *JobIAMBinding) URN() *pulumi.URNOutput
- type JobIAMBindingArgs
- type JobIAMBindingState
- type JobIAMMember
- func (r *JobIAMMember) Etag() *pulumi.StringOutput
- func (r *JobIAMMember) ID() *pulumi.IDOutput
- func (r *JobIAMMember) JobId() *pulumi.StringOutput
- func (r *JobIAMMember) Member() *pulumi.StringOutput
- func (r *JobIAMMember) Project() *pulumi.StringOutput
- func (r *JobIAMMember) Region() *pulumi.StringOutput
- func (r *JobIAMMember) Role() *pulumi.StringOutput
- func (r *JobIAMMember) URN() *pulumi.URNOutput
- type JobIAMMemberArgs
- type JobIAMMemberState
- type JobIAMPolicy
- func (r *JobIAMPolicy) Etag() *pulumi.StringOutput
- func (r *JobIAMPolicy) ID() *pulumi.IDOutput
- func (r *JobIAMPolicy) JobId() *pulumi.StringOutput
- func (r *JobIAMPolicy) PolicyData() *pulumi.StringOutput
- func (r *JobIAMPolicy) Project() *pulumi.StringOutput
- func (r *JobIAMPolicy) Region() *pulumi.StringOutput
- func (r *JobIAMPolicy) URN() *pulumi.URNOutput
- type JobIAMPolicyArgs
- type JobIAMPolicyState
- type JobState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Manages a Cloud Dataproc cluster resource within GCP. For more information see [the official dataproc documentation](https://cloud.google.com/dataproc/).
!> **Warning:** Due to limitations of the API, all arguments except `labels`,`cluster_config.worker_config.num_instances` and `cluster_config.preemptible_worker_config.num_instances` are non-updateable. Changing others will cause recreation of the whole cluster!
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterState, opts ...pulumi.ResourceOpt) (*Cluster, error)
GetCluster gets an existing Cluster 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 NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOpt) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ClusterConfig ¶
Allows you to configure various aspects of the cluster. Structure defined below.
func (*Cluster) Labels ¶
The list of labels (key/value pairs) to be applied to instances in the cluster. GCP generates some itself including `goog-dataproc-cluster-name` which is the name of the cluster.
func (*Cluster) Name ¶
func (r *Cluster) Name() *pulumi.StringOutput
The name of the cluster, unique within the project and zone.
func (*Cluster) Project ¶
func (r *Cluster) Project() *pulumi.StringOutput
The ID of the project in which the `cluster` will exist. If it is not provided, the provider project is used.
func (*Cluster) Region ¶
func (r *Cluster) Region() *pulumi.StringOutput
The region in which the cluster and associated nodes will be created in. Defaults to `global`.
type ClusterArgs ¶
type ClusterArgs struct { // Allows you to configure various aspects of the cluster. // Structure defined below. ClusterConfig interface{} // The list of labels (key/value pairs) to be applied to // instances in the cluster. GCP generates some itself including `goog-dataproc-cluster-name` // which is the name of the cluster. Labels interface{} // The name of the cluster, unique within the project and // zone. Name interface{} // The ID of the project in which the `cluster` will exist. If it // is not provided, the provider project is used. Project interface{} // The region in which the cluster and associated nodes will be created in. // Defaults to `global`. Region interface{} }
The set of arguments for constructing a Cluster resource.
type ClusterIAMBinding ¶ added in v0.18.6
type ClusterIAMBinding struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc clusters. Each of these resources serves a different use case:
* `google_dataproc_cluster_iam_policy`: Authoritative. Sets the IAM policy for the cluster and replaces any existing policy already attached. * `google_dataproc_cluster_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the cluster are preserved. * `google_dataproc_cluster_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the cluster are preserved.
> **Note:** `google_dataproc_cluster_iam_policy` **cannot** be used in conjunction with `google_dataproc_cluster_iam_binding` and `google_dataproc_cluster_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the cluster as `google_dataproc_cluster_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_cluster_iam_binding` resources **can be** used in conjunction with `google_dataproc_cluster_iam_member` resources **only if** they do not grant privilege to the same role.
func GetClusterIAMBinding ¶ added in v0.18.6
func GetClusterIAMBinding(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterIAMBindingState, opts ...pulumi.ResourceOpt) (*ClusterIAMBinding, error)
GetClusterIAMBinding gets an existing ClusterIAMBinding 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 NewClusterIAMBinding ¶ added in v0.18.6
func NewClusterIAMBinding(ctx *pulumi.Context, name string, args *ClusterIAMBindingArgs, opts ...pulumi.ResourceOpt) (*ClusterIAMBinding, error)
NewClusterIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*ClusterIAMBinding) Cluster ¶ added in v0.18.6
func (r *ClusterIAMBinding) Cluster() *pulumi.StringOutput
The name or relative resource id of the cluster to manage IAM policies for.
func (*ClusterIAMBinding) Etag ¶ added in v0.18.6
func (r *ClusterIAMBinding) Etag() *pulumi.StringOutput
(Computed) The etag of the clusters's IAM policy.
func (*ClusterIAMBinding) ID ¶ added in v0.18.6
func (r *ClusterIAMBinding) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ClusterIAMBinding) Members ¶ added in v0.18.6
func (r *ClusterIAMBinding) Members() *pulumi.ArrayOutput
func (*ClusterIAMBinding) Project ¶ added in v0.18.6
func (r *ClusterIAMBinding) Project() *pulumi.StringOutput
The project in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMBinding) Region ¶ added in v0.18.6
func (r *ClusterIAMBinding) Region() *pulumi.StringOutput
The region in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMBinding) Role ¶ added in v0.18.6
func (r *ClusterIAMBinding) Role() *pulumi.StringOutput
The role that should be applied. Only one `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*ClusterIAMBinding) URN ¶ added in v0.18.6
func (r *ClusterIAMBinding) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ClusterIAMBindingArgs ¶ added in v0.18.6
type ClusterIAMBindingArgs struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} Members interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
The set of arguments for constructing a ClusterIAMBinding resource.
type ClusterIAMBindingState ¶ added in v0.18.6
type ClusterIAMBindingState struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} // (Computed) The etag of the clusters's IAM policy. Etag interface{} Members interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
Input properties used for looking up and filtering ClusterIAMBinding resources.
type ClusterIAMMember ¶ added in v0.18.6
type ClusterIAMMember struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc clusters. Each of these resources serves a different use case:
* `google_dataproc_cluster_iam_policy`: Authoritative. Sets the IAM policy for the cluster and replaces any existing policy already attached. * `google_dataproc_cluster_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the cluster are preserved. * `google_dataproc_cluster_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the cluster are preserved.
> **Note:** `google_dataproc_cluster_iam_policy` **cannot** be used in conjunction with `google_dataproc_cluster_iam_binding` and `google_dataproc_cluster_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the cluster as `google_dataproc_cluster_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_cluster_iam_binding` resources **can be** used in conjunction with `google_dataproc_cluster_iam_member` resources **only if** they do not grant privilege to the same role.
func GetClusterIAMMember ¶ added in v0.18.6
func GetClusterIAMMember(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterIAMMemberState, opts ...pulumi.ResourceOpt) (*ClusterIAMMember, error)
GetClusterIAMMember gets an existing ClusterIAMMember 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 NewClusterIAMMember ¶ added in v0.18.6
func NewClusterIAMMember(ctx *pulumi.Context, name string, args *ClusterIAMMemberArgs, opts ...pulumi.ResourceOpt) (*ClusterIAMMember, error)
NewClusterIAMMember registers a new resource with the given unique name, arguments, and options.
func (*ClusterIAMMember) Cluster ¶ added in v0.18.6
func (r *ClusterIAMMember) Cluster() *pulumi.StringOutput
The name or relative resource id of the cluster to manage IAM policies for.
func (*ClusterIAMMember) Etag ¶ added in v0.18.6
func (r *ClusterIAMMember) Etag() *pulumi.StringOutput
(Computed) The etag of the clusters's IAM policy.
func (*ClusterIAMMember) ID ¶ added in v0.18.6
func (r *ClusterIAMMember) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ClusterIAMMember) Member ¶ added in v0.18.6
func (r *ClusterIAMMember) Member() *pulumi.StringOutput
func (*ClusterIAMMember) Project ¶ added in v0.18.6
func (r *ClusterIAMMember) Project() *pulumi.StringOutput
The project in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMMember) Region ¶ added in v0.18.6
func (r *ClusterIAMMember) Region() *pulumi.StringOutput
The region in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMMember) Role ¶ added in v0.18.6
func (r *ClusterIAMMember) Role() *pulumi.StringOutput
The role that should be applied. Only one `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*ClusterIAMMember) URN ¶ added in v0.18.6
func (r *ClusterIAMMember) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ClusterIAMMemberArgs ¶ added in v0.18.6
type ClusterIAMMemberArgs struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} Member interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
The set of arguments for constructing a ClusterIAMMember resource.
type ClusterIAMMemberState ¶ added in v0.18.6
type ClusterIAMMemberState struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} // (Computed) The etag of the clusters's IAM policy. Etag interface{} Member interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_cluster_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
Input properties used for looking up and filtering ClusterIAMMember resources.
type ClusterIAMPolicy ¶ added in v0.18.6
type ClusterIAMPolicy struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc clusters. Each of these resources serves a different use case:
* `google_dataproc_cluster_iam_policy`: Authoritative. Sets the IAM policy for the cluster and replaces any existing policy already attached. * `google_dataproc_cluster_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the cluster are preserved. * `google_dataproc_cluster_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the cluster are preserved.
> **Note:** `google_dataproc_cluster_iam_policy` **cannot** be used in conjunction with `google_dataproc_cluster_iam_binding` and `google_dataproc_cluster_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the cluster as `google_dataproc_cluster_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_cluster_iam_binding` resources **can be** used in conjunction with `google_dataproc_cluster_iam_member` resources **only if** they do not grant privilege to the same role.
func GetClusterIAMPolicy ¶ added in v0.18.6
func GetClusterIAMPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterIAMPolicyState, opts ...pulumi.ResourceOpt) (*ClusterIAMPolicy, error)
GetClusterIAMPolicy gets an existing ClusterIAMPolicy 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 NewClusterIAMPolicy ¶ added in v0.18.6
func NewClusterIAMPolicy(ctx *pulumi.Context, name string, args *ClusterIAMPolicyArgs, opts ...pulumi.ResourceOpt) (*ClusterIAMPolicy, error)
NewClusterIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*ClusterIAMPolicy) Cluster ¶ added in v0.18.6
func (r *ClusterIAMPolicy) Cluster() *pulumi.StringOutput
The name or relative resource id of the cluster to manage IAM policies for.
func (*ClusterIAMPolicy) Etag ¶ added in v0.18.6
func (r *ClusterIAMPolicy) Etag() *pulumi.StringOutput
(Computed) The etag of the clusters's IAM policy.
func (*ClusterIAMPolicy) ID ¶ added in v0.18.6
func (r *ClusterIAMPolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ClusterIAMPolicy) PolicyData ¶ added in v0.18.6
func (r *ClusterIAMPolicy) PolicyData() *pulumi.StringOutput
The policy data generated by a `google_iam_policy` data source.
func (*ClusterIAMPolicy) Project ¶ added in v0.18.6
func (r *ClusterIAMPolicy) Project() *pulumi.StringOutput
The project in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMPolicy) Region ¶ added in v0.18.6
func (r *ClusterIAMPolicy) Region() *pulumi.StringOutput
The region in which the cluster belongs. If it is not provided, Terraform will use the provider default.
func (*ClusterIAMPolicy) URN ¶ added in v0.18.6
func (r *ClusterIAMPolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ClusterIAMPolicyArgs ¶ added in v0.18.6
type ClusterIAMPolicyArgs struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} // The policy data generated by a `google_iam_policy` data source. PolicyData interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} }
The set of arguments for constructing a ClusterIAMPolicy resource.
type ClusterIAMPolicyState ¶ added in v0.18.6
type ClusterIAMPolicyState struct { // The name or relative resource id of the cluster to manage IAM policies for. Cluster interface{} // (Computed) The etag of the clusters's IAM policy. Etag interface{} // The policy data generated by a `google_iam_policy` data source. PolicyData interface{} // The project in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the cluster belongs. If it // is not provided, Terraform will use the provider default. Region interface{} }
Input properties used for looking up and filtering ClusterIAMPolicy resources.
type ClusterState ¶
type ClusterState struct { // Allows you to configure various aspects of the cluster. // Structure defined below. ClusterConfig interface{} // The list of labels (key/value pairs) to be applied to // instances in the cluster. GCP generates some itself including `goog-dataproc-cluster-name` // which is the name of the cluster. Labels interface{} // The name of the cluster, unique within the project and // zone. Name interface{} // The ID of the project in which the `cluster` will exist. If it // is not provided, the provider project is used. Project interface{} // The region in which the cluster and associated nodes will be created in. // Defaults to `global`. Region interface{} }
Input properties used for looking up and filtering Cluster resources.
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
Manages a job resource within a Dataproc cluster within GCE. For more information see [the official dataproc documentation](https://cloud.google.com/dataproc/).
!> **Note:** This resource does not support 'update' and changing any attributes will cause the resource to be recreated.
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) DriverControlsFilesUri ¶
func (r *Job) DriverControlsFilesUri() *pulumi.StringOutput
If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri.
func (*Job) DriverOutputResourceUri ¶
func (r *Job) DriverOutputResourceUri() *pulumi.StringOutput
A URI pointing to the location of the stdout of the job's driver program.
func (*Job) ForceDelete ¶
func (r *Job) ForceDelete() *pulumi.BoolOutput
By default, you can only delete inactive jobs within Dataproc. Setting this to true, and calling destroy, will ensure that the job is first cancelled before issuing the delete.
func (*Job) HadoopConfig ¶
func (*Job) HiveConfig ¶
func (*Job) Project ¶
func (r *Job) Project() *pulumi.StringOutput
The project in which the `cluster` can be found and jobs subsequently run against. If it is not provided, the provider project is used.
func (*Job) PysparkConfig ¶
func (*Job) Region ¶
func (r *Job) Region() *pulumi.StringOutput
The Cloud Dataproc region. This essentially determines which clusters are available for this job to be submitted to. If not specified, defaults to `global`.
func (*Job) Scheduling ¶
Optional. Job scheduling configuration.
func (*Job) SparkConfig ¶
func (*Job) SparksqlConfig ¶
type JobArgs ¶
type JobArgs struct { // By default, you can only delete inactive jobs within // Dataproc. Setting this to true, and calling destroy, will ensure that the // job is first cancelled before issuing the delete. ForceDelete interface{} HadoopConfig interface{} HiveConfig interface{} // The list of labels (key/value pairs) to add to the job. Labels interface{} PigConfig interface{} Placement interface{} // The project in which the `cluster` can be found and jobs // subsequently run against. If it is not provided, the provider project is used. Project interface{} PysparkConfig interface{} Reference interface{} // The Cloud Dataproc region. This essentially determines which clusters are available // for this job to be submitted to. If not specified, defaults to `global`. Region interface{} // Optional. Job scheduling configuration. Scheduling interface{} SparkConfig interface{} SparksqlConfig interface{} }
The set of arguments for constructing a Job resource.
type JobIAMBinding ¶ added in v0.18.6
type JobIAMBinding struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc jobs. Each of these resources serves a different use case:
* `google_dataproc_job_iam_policy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `google_dataproc_job_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `google_dataproc_job_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.
> **Note:** `google_dataproc_job_iam_policy` **cannot** be used in conjunction with `google_dataproc_job_iam_binding` and `google_dataproc_job_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the job as `google_dataproc_job_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_job_iam_binding` resources **can be** used in conjunction with `google_dataproc_job_iam_member` resources **only if** they do not grant privilege to the same role.
func GetJobIAMBinding ¶ added in v0.18.6
func GetJobIAMBinding(ctx *pulumi.Context, name string, id pulumi.ID, state *JobIAMBindingState, opts ...pulumi.ResourceOpt) (*JobIAMBinding, error)
GetJobIAMBinding gets an existing JobIAMBinding 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 NewJobIAMBinding ¶ added in v0.18.6
func NewJobIAMBinding(ctx *pulumi.Context, name string, args *JobIAMBindingArgs, opts ...pulumi.ResourceOpt) (*JobIAMBinding, error)
NewJobIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*JobIAMBinding) Etag ¶ added in v0.18.6
func (r *JobIAMBinding) Etag() *pulumi.StringOutput
(Computed) The etag of the jobs's IAM policy.
func (*JobIAMBinding) ID ¶ added in v0.18.6
func (r *JobIAMBinding) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*JobIAMBinding) JobId ¶ added in v0.18.6
func (r *JobIAMBinding) JobId() *pulumi.StringOutput
func (*JobIAMBinding) Members ¶ added in v0.18.6
func (r *JobIAMBinding) Members() *pulumi.ArrayOutput
func (*JobIAMBinding) Project ¶ added in v0.18.6
func (r *JobIAMBinding) Project() *pulumi.StringOutput
The project in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMBinding) Region ¶ added in v0.18.6
func (r *JobIAMBinding) Region() *pulumi.StringOutput
The region in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMBinding) Role ¶ added in v0.18.6
func (r *JobIAMBinding) Role() *pulumi.StringOutput
The role that should be applied. Only one `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*JobIAMBinding) URN ¶ added in v0.18.6
func (r *JobIAMBinding) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type JobIAMBindingArgs ¶ added in v0.18.6
type JobIAMBindingArgs struct { JobId interface{} Members interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
The set of arguments for constructing a JobIAMBinding resource.
type JobIAMBindingState ¶ added in v0.18.6
type JobIAMBindingState struct { // (Computed) The etag of the jobs's IAM policy. Etag interface{} JobId interface{} Members interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
Input properties used for looking up and filtering JobIAMBinding resources.
type JobIAMMember ¶ added in v0.18.6
type JobIAMMember struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc jobs. Each of these resources serves a different use case:
* `google_dataproc_job_iam_policy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `google_dataproc_job_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `google_dataproc_job_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.
> **Note:** `google_dataproc_job_iam_policy` **cannot** be used in conjunction with `google_dataproc_job_iam_binding` and `google_dataproc_job_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the job as `google_dataproc_job_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_job_iam_binding` resources **can be** used in conjunction with `google_dataproc_job_iam_member` resources **only if** they do not grant privilege to the same role.
func GetJobIAMMember ¶ added in v0.18.6
func GetJobIAMMember(ctx *pulumi.Context, name string, id pulumi.ID, state *JobIAMMemberState, opts ...pulumi.ResourceOpt) (*JobIAMMember, error)
GetJobIAMMember gets an existing JobIAMMember 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 NewJobIAMMember ¶ added in v0.18.6
func NewJobIAMMember(ctx *pulumi.Context, name string, args *JobIAMMemberArgs, opts ...pulumi.ResourceOpt) (*JobIAMMember, error)
NewJobIAMMember registers a new resource with the given unique name, arguments, and options.
func (*JobIAMMember) Etag ¶ added in v0.18.6
func (r *JobIAMMember) Etag() *pulumi.StringOutput
(Computed) The etag of the jobs's IAM policy.
func (*JobIAMMember) ID ¶ added in v0.18.6
func (r *JobIAMMember) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*JobIAMMember) JobId ¶ added in v0.18.6
func (r *JobIAMMember) JobId() *pulumi.StringOutput
func (*JobIAMMember) Member ¶ added in v0.18.6
func (r *JobIAMMember) Member() *pulumi.StringOutput
func (*JobIAMMember) Project ¶ added in v0.18.6
func (r *JobIAMMember) Project() *pulumi.StringOutput
The project in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMMember) Region ¶ added in v0.18.6
func (r *JobIAMMember) Region() *pulumi.StringOutput
The region in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMMember) Role ¶ added in v0.18.6
func (r *JobIAMMember) Role() *pulumi.StringOutput
The role that should be applied. Only one `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (*JobIAMMember) URN ¶ added in v0.18.6
func (r *JobIAMMember) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type JobIAMMemberArgs ¶ added in v0.18.6
type JobIAMMemberArgs struct { JobId interface{} Member interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
The set of arguments for constructing a JobIAMMember resource.
type JobIAMMemberState ¶ added in v0.18.6
type JobIAMMemberState struct { // (Computed) The etag of the jobs's IAM policy. Etag interface{} JobId interface{} Member interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} // The role that should be applied. Only one // `google_dataproc_job_iam_binding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role interface{} }
Input properties used for looking up and filtering JobIAMMember resources.
type JobIAMPolicy ¶ added in v0.18.6
type JobIAMPolicy struct {
// contains filtered or unexported fields
}
Three different resources help you manage IAM policies on dataproc jobs. Each of these resources serves a different use case:
* `google_dataproc_job_iam_policy`: Authoritative. Sets the IAM policy for the job and replaces any existing policy already attached. * `google_dataproc_job_iam_binding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the job are preserved. * `google_dataproc_job_iam_member`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the job are preserved.
> **Note:** `google_dataproc_job_iam_policy` **cannot** be used in conjunction with `google_dataproc_job_iam_binding` and `google_dataproc_job_iam_member` or they will fight over what your policy should be. In addition, be careful not to accidentaly unset ownership of the job as `google_dataproc_job_iam_policy` replaces the entire policy.
> **Note:** `google_dataproc_job_iam_binding` resources **can be** used in conjunction with `google_dataproc_job_iam_member` resources **only if** they do not grant privilege to the same role.
func GetJobIAMPolicy ¶ added in v0.18.6
func GetJobIAMPolicy(ctx *pulumi.Context, name string, id pulumi.ID, state *JobIAMPolicyState, opts ...pulumi.ResourceOpt) (*JobIAMPolicy, error)
GetJobIAMPolicy gets an existing JobIAMPolicy 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 NewJobIAMPolicy ¶ added in v0.18.6
func NewJobIAMPolicy(ctx *pulumi.Context, name string, args *JobIAMPolicyArgs, opts ...pulumi.ResourceOpt) (*JobIAMPolicy, error)
NewJobIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*JobIAMPolicy) Etag ¶ added in v0.18.6
func (r *JobIAMPolicy) Etag() *pulumi.StringOutput
(Computed) The etag of the jobs's IAM policy.
func (*JobIAMPolicy) ID ¶ added in v0.18.6
func (r *JobIAMPolicy) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*JobIAMPolicy) JobId ¶ added in v0.18.6
func (r *JobIAMPolicy) JobId() *pulumi.StringOutput
func (*JobIAMPolicy) PolicyData ¶ added in v0.18.6
func (r *JobIAMPolicy) PolicyData() *pulumi.StringOutput
The policy data generated by a `google_iam_policy` data source.
func (*JobIAMPolicy) Project ¶ added in v0.18.6
func (r *JobIAMPolicy) Project() *pulumi.StringOutput
The project in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMPolicy) Region ¶ added in v0.18.6
func (r *JobIAMPolicy) Region() *pulumi.StringOutput
The region in which the job belongs. If it is not provided, Terraform will use the provider default.
func (*JobIAMPolicy) URN ¶ added in v0.18.6
func (r *JobIAMPolicy) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type JobIAMPolicyArgs ¶ added in v0.18.6
type JobIAMPolicyArgs struct { JobId interface{} // The policy data generated by a `google_iam_policy` data source. PolicyData interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} }
The set of arguments for constructing a JobIAMPolicy resource.
type JobIAMPolicyState ¶ added in v0.18.6
type JobIAMPolicyState struct { // (Computed) The etag of the jobs's IAM policy. Etag interface{} JobId interface{} // The policy data generated by a `google_iam_policy` data source. PolicyData interface{} // The project in which the job belongs. If it // is not provided, Terraform will use the provider default. Project interface{} // The region in which the job belongs. If it // is not provided, Terraform will use the provider default. Region interface{} }
Input properties used for looking up and filtering JobIAMPolicy resources.
type JobState ¶
type JobState struct { // If present, the location of miscellaneous control files which may be used as part of job setup and handling. If not present, control files may be placed in the same location as driver_output_uri. DriverControlsFilesUri interface{} // A URI pointing to the location of the stdout of the job's driver program. DriverOutputResourceUri interface{} // By default, you can only delete inactive jobs within // Dataproc. Setting this to true, and calling destroy, will ensure that the // job is first cancelled before issuing the delete. ForceDelete interface{} HadoopConfig interface{} HiveConfig interface{} // The list of labels (key/value pairs) to add to the job. Labels interface{} PigConfig interface{} Placement interface{} // The project in which the `cluster` can be found and jobs // subsequently run against. If it is not provided, the provider project is used. Project interface{} PysparkConfig interface{} Reference interface{} // The Cloud Dataproc region. This essentially determines which clusters are available // for this job to be submitted to. If not specified, defaults to `global`. Region interface{} // Optional. Job scheduling configuration. Scheduling interface{} SparkConfig interface{} SparksqlConfig interface{} Status interface{} }
Input properties used for looking up and filtering Job resources.