NodeGroupArgs

data class NodeGroupArgs(val clusterId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val name: Output<String>? = null, val nodeGroupConfig: Output<InstanceGroupConfigArgs>? = null, val nodeGroupId: Output<String>? = null, val project: Output<String>? = null, val regionId: Output<String>? = null, val requestId: Output<String>? = null, val roles: Output<List<NodeGroupRolesItem>>? = null) : ConvertibleToJava<NodeGroupArgs>

Creates a node group in a cluster. The returned Operation.metadata is NodeGroupOperationMetadata (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#nodegroupoperationmetadata). Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
constructor(clusterId: Output<String>? = null, labels: Output<Map<String, String>>? = null, name: Output<String>? = null, nodeGroupConfig: Output<InstanceGroupConfigArgs>? = null, nodeGroupId: Output<String>? = null, project: Output<String>? = null, regionId: Output<String>? = null, requestId: Output<String>? = null, roles: Output<List<NodeGroupRolesItem>>? = null)

Properties

Link copied to clipboard
val clusterId: Output<String>? = null
Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. Node group labels. Label keys must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty. If specified, they must consist of from 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). The node group must have no more than 32 labelsn.

Link copied to clipboard
val name: Output<String>? = null

The Node group resource name (https://aip.dev/122).

Link copied to clipboard

Optional. The node group instance group configuration.

Link copied to clipboard
val nodeGroupId: Output<String>? = null

Optional. An optional node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val regionId: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. A unique ID used to identify the request. If the server receives two CreateNodeGroupRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.CreateNodeGroupRequests) with the same ID, the second request is ignored and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Link copied to clipboard
val roles: Output<List<NodeGroupRolesItem>>? = null

Node group roles.

Functions

Link copied to clipboard
open override fun toJava(): NodeGroupArgs