InstanceGroupConfigArgs

data class InstanceGroupConfigArgs(val accelerators: Output<List<AcceleratorConfigArgs>>? = null, val diskConfig: Output<DiskConfigArgs>? = null, val imageUri: Output<String>? = null, val machineTypeUri: Output<String>? = null, val minCpuPlatform: Output<String>? = null, val numInstances: Output<Int>? = null, val preemptibility: Output<InstanceGroupConfigPreemptibility>? = null) : ConvertibleToJava<InstanceGroupConfigArgs>

The config settings for Compute Engine resources in an instance group, such as a master or worker group.

Constructors

Link copied to clipboard
fun InstanceGroupConfigArgs(accelerators: Output<List<AcceleratorConfigArgs>>? = null, diskConfig: Output<DiskConfigArgs>? = null, imageUri: Output<String>? = null, machineTypeUri: Output<String>? = null, minCpuPlatform: Output<String>? = null, numInstances: Output<Int>? = null, preemptibility: Output<InstanceGroupConfigPreemptibility>? = null)

Functions

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

Properties

Link copied to clipboard

Optional. The Compute Engine accelerator configuration for these instances.

Link copied to clipboard
val diskConfig: Output<DiskConfigArgs>? = null

Optional. Disk option config settings.

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

Optional. The Compute Engine image resource used for cluster instances.The URI can represent an image or image family.Image examples: https://www.googleapis.com/compute/v1/projects/[project_id]/global/images/[image-id] projects/[project_id]/global/images/[image-id] image-idImage family examples. Dataproc will use the most recent image from the family: https://www.googleapis.com/compute/v1/projects/project_id/global/images/family/custom-image-family-name projects/project_id/global/images/family/custom-image-family-nameIf the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.

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

Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/machineTypes/n1-standard-2 projects/project_id/zones/zone/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Dataproc Auto Zone Placement (https://cloud.google.com/dataproc/docs/concepts/configuring-clusters/auto-zone#using_auto_zone_placement) feature, you must use the short name of the machine type resource, for example, n1-standard-2.

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

Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).

Link copied to clipboard
val numInstances: Output<Int>? = null

Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.

Link copied to clipboard

Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.