google_api_dataproc v0.14.0 GoogleApi.Dataproc.V1.Model.InstanceGroupConfig View Source

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

Attributes

  • accelerators (type: list(GoogleApi.Dataproc.V1.Model.AcceleratorConfig.t), default: nil) - Optional. The Compute Engine accelerator configuration for these instances.
  • diskConfig (type: GoogleApi.Dataproc.V1.Model.DiskConfig.t, default: nil) - Optional. Disk option config settings.
  • imageUri (type: String.t, default: nil) - Optional. The Compute Engine image resource used for cluster instances. It can be specified or may be inferred from SoftwareConfig.image_version.
  • instanceNames (type: list(String.t), default: nil) - Output only. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group.
  • isPreemptible (type: boolean(), default: nil) - Optional. Specifies that this instance group contains preemptible instances.
  • machineTypeUri (type: String.t, default: nil) - 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/us-east1-a/machineTypes/n1-standard-2 projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2 n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.
  • managedGroupConfig (type: GoogleApi.Dataproc.V1.Model.ManagedGroupConfig.t, default: nil) - Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
  • numInstances (type: integer(), default: nil) - Optional. The number of VM instances in the instance group. For master instance groups, must be set to 1.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dataproc.V1.Model.InstanceGroupConfig{
  accelerators: [GoogleApi.Dataproc.V1.Model.AcceleratorConfig.t()],
  diskConfig: GoogleApi.Dataproc.V1.Model.DiskConfig.t(),
  imageUri: String.t(),
  instanceNames: [String.t()],
  isPreemptible: boolean(),
  machineTypeUri: String.t(),
  managedGroupConfig: GoogleApi.Dataproc.V1.Model.ManagedGroupConfig.t(),
  numInstances: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.