Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.dataproc/v1.getNodeGroup
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets the resource representation for a node group in a cluster.
Using getNodeGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNodeGroup(args: GetNodeGroupArgs, opts?: InvokeOptions): Promise<GetNodeGroupResult>
function getNodeGroupOutput(args: GetNodeGroupOutputArgs, opts?: InvokeOptions): Output<GetNodeGroupResult>def get_node_group(cluster_id: Optional[str] = None,
node_group_id: Optional[str] = None,
project: Optional[str] = None,
region_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNodeGroupResult
def get_node_group_output(cluster_id: Optional[pulumi.Input[str]] = None,
node_group_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNodeGroupResult]func LookupNodeGroup(ctx *Context, args *LookupNodeGroupArgs, opts ...InvokeOption) (*LookupNodeGroupResult, error)
func LookupNodeGroupOutput(ctx *Context, args *LookupNodeGroupOutputArgs, opts ...InvokeOption) LookupNodeGroupResultOutput> Note: This function is named LookupNodeGroup in the Go SDK.
public static class GetNodeGroup
{
public static Task<GetNodeGroupResult> InvokeAsync(GetNodeGroupArgs args, InvokeOptions? opts = null)
public static Output<GetNodeGroupResult> Invoke(GetNodeGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNodeGroupResult> getNodeGroup(GetNodeGroupArgs args, InvokeOptions options)
public static Output<GetNodeGroupResult> getNodeGroup(GetNodeGroupArgs args, InvokeOptions options)
fn::invoke:
function: google-native:dataproc/v1:getNodeGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Cluster
Id string - Node
Group stringId - Region
Id string - Project string
- Cluster
Id string - Node
Group stringId - Region
Id string - Project string
- cluster
Id String - node
Group StringId - region
Id String - project String
- cluster
Id string - node
Group stringId - region
Id string - project string
- cluster_
id str - node_
group_ strid - region_
id str - project str
- cluster
Id String - node
Group StringId - region
Id String - project String
getNodeGroup Result
The following output properties are available:
- Labels Dictionary<string, string>
- 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.
- Name string
- The Node group resource name (https://aip.dev/122).
- Node
Group Pulumi.Config Google Native. Dataproc. V1. Outputs. Instance Group Config Response - Optional. The node group instance group configuration.
- Roles List<string>
- Node group roles.
- Labels map[string]string
- 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.
- Name string
- The Node group resource name (https://aip.dev/122).
- Node
Group InstanceConfig Group Config Response - Optional. The node group instance group configuration.
- Roles []string
- Node group roles.
- labels Map<String,String>
- 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.
- name String
- The Node group resource name (https://aip.dev/122).
- node
Group InstanceConfig Group Config Response - Optional. The node group instance group configuration.
- roles List<String>
- Node group roles.
- labels {[key: string]: string}
- 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.
- name string
- The Node group resource name (https://aip.dev/122).
- node
Group InstanceConfig Group Config Response - Optional. The node group instance group configuration.
- roles string[]
- Node group roles.
- labels Mapping[str, str]
- 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.
- name str
- The Node group resource name (https://aip.dev/122).
- node_
group_ Instanceconfig Group Config Response - Optional. The node group instance group configuration.
- roles Sequence[str]
- Node group roles.
- labels Map<String>
- 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.
- name String
- The Node group resource name (https://aip.dev/122).
- node
Group Property MapConfig - Optional. The node group instance group configuration.
- roles List<String>
- Node group roles.
Supporting Types
AcceleratorConfigResponse
- Accelerator
Count int - The number of the accelerator cards of this type exposed to this instance.
- Accelerator
Type stringUri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
- Accelerator
Count int - The number of the accelerator cards of this type exposed to this instance.
- Accelerator
Type stringUri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
- accelerator
Count Integer - The number of the accelerator cards of this type exposed to this instance.
- accelerator
Type StringUri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
- accelerator
Count number - The number of the accelerator cards of this type exposed to this instance.
- accelerator
Type stringUri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
- accelerator_
count int - The number of the accelerator cards of this type exposed to this instance.
- accelerator_
type_ struri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
- accelerator
Count Number - The number of the accelerator cards of this type exposed to this instance.
- accelerator
Type StringUri - Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes (https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).Examples: https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80 nvidia-tesla-k80Auto 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 accelerator type resource, for example, nvidia-tesla-k80.
DiskConfigResponse
- Boot
Disk intSize Gb - Optional. Size in GB of the boot disk (default is 500GB).
- Boot
Disk stringType - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- Local
Ssd stringInterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- Num
Local intSsds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
- Boot
Disk intSize Gb - Optional. Size in GB of the boot disk (default is 500GB).
- Boot
Disk stringType - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- Local
Ssd stringInterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- Num
Local intSsds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
- boot
Disk IntegerSize Gb - Optional. Size in GB of the boot disk (default is 500GB).
- boot
Disk StringType - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- local
Ssd StringInterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- num
Local IntegerSsds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
- boot
Disk numberSize Gb - Optional. Size in GB of the boot disk (default is 500GB).
- boot
Disk stringType - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- local
Ssd stringInterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- num
Local numberSsds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
- boot_
disk_ intsize_ gb - Optional. Size in GB of the boot disk (default is 500GB).
- boot_
disk_ strtype - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- local_
ssd_ strinterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- num_
local_ intssds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
- boot
Disk NumberSize Gb - Optional. Size in GB of the boot disk (default is 500GB).
- boot
Disk StringType - Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), "pd-ssd" (Persistent Disk Solid State Drive), or "pd-standard" (Persistent Disk Hard Disk Drive). See Disk types (https://cloud.google.com/compute/docs/disks#disk-types).
- local
Ssd StringInterface - Optional. Interface type of local SSDs (default is "scsi"). Valid values: "scsi" (Small Computer System Interface), "nvme" (Non-Volatile Memory Express). See local SSD performance (https://cloud.google.com/compute/docs/disks/local-ssd#performance).
- num
Local NumberSsds - Optional. Number of attached SSDs, from 0 to 8 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries.Note: Local SSD options may vary by machine type and number of vCPUs selected.
InstanceFlexibilityPolicyResponse
- Instance
Selection List<Pulumi.List Google Native. Dataproc. V1. Inputs. Instance Selection Response> - Optional. List of instance selection options that the group will use when creating new VMs.
- Instance
Selection List<Pulumi.Results Google Native. Dataproc. V1. Inputs. Instance Selection Result Response> - A list of instance selection results in the group.
- Instance
Selection []InstanceList Selection Response - Optional. List of instance selection options that the group will use when creating new VMs.
- Instance
Selection []InstanceResults Selection Result Response - A list of instance selection results in the group.
- instance
Selection List<InstanceList Selection Response> - Optional. List of instance selection options that the group will use when creating new VMs.
- instance
Selection List<InstanceResults Selection Result Response> - A list of instance selection results in the group.
- instance
Selection InstanceList Selection Response[] - Optional. List of instance selection options that the group will use when creating new VMs.
- instance
Selection InstanceResults Selection Result Response[] - A list of instance selection results in the group.
- instance_
selection_ Sequence[Instancelist Selection Response] - Optional. List of instance selection options that the group will use when creating new VMs.
- instance_
selection_ Sequence[Instanceresults Selection Result Response] - A list of instance selection results in the group.
- instance
Selection List<Property Map>List - Optional. List of instance selection options that the group will use when creating new VMs.
- instance
Selection List<Property Map>Results - A list of instance selection results in the group.
InstanceGroupConfigResponse
- Accelerators
List<Pulumi.
Google Native. Dataproc. V1. Inputs. Accelerator Config Response> - Optional. The Compute Engine accelerator configuration for these instances.
- Disk
Config Pulumi.Google Native. Dataproc. V1. Inputs. Disk Config Response - Optional. Disk option config settings.
- Image
Uri string - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- Instance
Flexibility Pulumi.Policy Google Native. Dataproc. V1. Inputs. Instance Flexibility Policy Response - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- Instance
Names List<string> - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- Instance
References List<Pulumi.Google Native. Dataproc. V1. Inputs. Instance Reference Response> - List of references to Compute Engine instances.
- Is
Preemptible bool - Specifies that this instance group contains preemptible instances.
- Machine
Type stringUri - 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.
- Managed
Group Pulumi.Config Google Native. Dataproc. V1. Inputs. Managed Group Config Response - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- Min
Cpu stringPlatform - 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).
- Min
Num intInstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- Num
Instances int - 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.
- Preemptibility string
- 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.
- Startup
Config Pulumi.Google Native. Dataproc. V1. Inputs. Startup Config Response - Optional. Configuration to handle the startup of instances during cluster create and update process.
- Accelerators
[]Accelerator
Config Response - Optional. The Compute Engine accelerator configuration for these instances.
- Disk
Config DiskConfig Response - Optional. Disk option config settings.
- Image
Uri string - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- Instance
Flexibility InstancePolicy Flexibility Policy Response - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- Instance
Names []string - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- Instance
References []InstanceReference Response - List of references to Compute Engine instances.
- Is
Preemptible bool - Specifies that this instance group contains preemptible instances.
- Machine
Type stringUri - 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.
- Managed
Group ManagedConfig Group Config Response - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- Min
Cpu stringPlatform - 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).
- Min
Num intInstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- Num
Instances int - 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.
- Preemptibility string
- 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.
- Startup
Config StartupConfig Response - Optional. Configuration to handle the startup of instances during cluster create and update process.
- accelerators
List<Accelerator
Config Response> - Optional. The Compute Engine accelerator configuration for these instances.
- disk
Config DiskConfig Response - Optional. Disk option config settings.
- image
Uri String - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- instance
Flexibility InstancePolicy Flexibility Policy Response - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- instance
Names List<String> - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- instance
References List<InstanceReference Response> - List of references to Compute Engine instances.
- is
Preemptible Boolean - Specifies that this instance group contains preemptible instances.
- machine
Type StringUri - 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.
- managed
Group ManagedConfig Group Config Response - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- min
Cpu StringPlatform - 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).
- min
Num IntegerInstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- num
Instances Integer - 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.
- preemptibility String
- 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.
- startup
Config StartupConfig Response - Optional. Configuration to handle the startup of instances during cluster create and update process.
- accelerators
Accelerator
Config Response[] - Optional. The Compute Engine accelerator configuration for these instances.
- disk
Config DiskConfig Response - Optional. Disk option config settings.
- image
Uri string - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- instance
Flexibility InstancePolicy Flexibility Policy Response - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- instance
Names string[] - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- instance
References InstanceReference Response[] - List of references to Compute Engine instances.
- is
Preemptible boolean - Specifies that this instance group contains preemptible instances.
- machine
Type stringUri - 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.
- managed
Group ManagedConfig Group Config Response - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- min
Cpu stringPlatform - 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).
- min
Num numberInstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- num
Instances number - 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.
- preemptibility string
- 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.
- startup
Config StartupConfig Response - Optional. Configuration to handle the startup of instances during cluster create and update process.
- accelerators
Sequence[Accelerator
Config Response] - Optional. The Compute Engine accelerator configuration for these instances.
- disk_
config DiskConfig Response - Optional. Disk option config settings.
- image_
uri str - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- instance_
flexibility_ Instancepolicy Flexibility Policy Response - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- instance_
names Sequence[str] - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- instance_
references Sequence[InstanceReference Response] - List of references to Compute Engine instances.
- is_
preemptible bool - Specifies that this instance group contains preemptible instances.
- machine_
type_ struri - 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.
- managed_
group_ Managedconfig Group Config Response - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- min_
cpu_ strplatform - 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).
- min_
num_ intinstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- num_
instances int - 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.
- preemptibility str
- 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.
- startup_
config StartupConfig Response - Optional. Configuration to handle the startup of instances during cluster create and update process.
- accelerators List<Property Map>
- Optional. The Compute Engine accelerator configuration for these instances.
- disk
Config Property Map - Optional. Disk option config settings.
- image
Uri String - 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-name]If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
- instance
Flexibility Property MapPolicy - Optional. Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.
- instance
Names List<String> - The list of instance names. Dataproc derives the names from cluster_name, num_instances, and the instance group.
- instance
References List<Property Map> - List of references to Compute Engine instances.
- is
Preemptible Boolean - Specifies that this instance group contains preemptible instances.
- machine
Type StringUri - 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.
- managed
Group Property MapConfig - The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
- min
Cpu StringPlatform - 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).
- min
Num NumberInstances - Optional. The minimum number of primary worker instances to create. If min_num_instances is set, cluster creation will succeed if the number of primary workers created is at least equal to the min_num_instances number.Example: Cluster creation request with num_instances = 5 and min_num_instances = 3: If 4 VMs are created and 1 instance fails, the failed VM is deleted. The cluster is resized to 4 instances and placed in a RUNNING state. If 2 instances are created and 3 instances fail, the cluster in placed in an ERROR state. The failed VMs are not deleted.
- num
Instances Number - 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.
- preemptibility String
- 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.
- startup
Config Property Map - Optional. Configuration to handle the startup of instances during cluster create and update process.
InstanceReferenceResponse
- Instance
Id string - The unique identifier of the Compute Engine instance.
- Instance
Name string - The user-friendly name of the Compute Engine instance.
- Public
Ecies stringKey - The public ECIES key used for sharing data with this instance.
- Public
Key string - The public RSA key used for sharing data with this instance.
- Instance
Id string - The unique identifier of the Compute Engine instance.
- Instance
Name string - The user-friendly name of the Compute Engine instance.
- Public
Ecies stringKey - The public ECIES key used for sharing data with this instance.
- Public
Key string - The public RSA key used for sharing data with this instance.
- instance
Id String - The unique identifier of the Compute Engine instance.
- instance
Name String - The user-friendly name of the Compute Engine instance.
- public
Ecies StringKey - The public ECIES key used for sharing data with this instance.
- public
Key String - The public RSA key used for sharing data with this instance.
- instance
Id string - The unique identifier of the Compute Engine instance.
- instance
Name string - The user-friendly name of the Compute Engine instance.
- public
Ecies stringKey - The public ECIES key used for sharing data with this instance.
- public
Key string - The public RSA key used for sharing data with this instance.
- instance_
id str - The unique identifier of the Compute Engine instance.
- instance_
name str - The user-friendly name of the Compute Engine instance.
- public_
ecies_ strkey - The public ECIES key used for sharing data with this instance.
- public_
key str - The public RSA key used for sharing data with this instance.
- instance
Id String - The unique identifier of the Compute Engine instance.
- instance
Name String - The user-friendly name of the Compute Engine instance.
- public
Ecies StringKey - The public ECIES key used for sharing data with this instance.
- public
Key String - The public RSA key used for sharing data with this instance.
InstanceSelectionResponse
- Machine
Types List<string> - Optional. Full machine-type names, e.g. "n1-standard-16".
- Rank int
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
- Machine
Types []string - Optional. Full machine-type names, e.g. "n1-standard-16".
- Rank int
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
- machine
Types List<String> - Optional. Full machine-type names, e.g. "n1-standard-16".
- rank Integer
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
- machine
Types string[] - Optional. Full machine-type names, e.g. "n1-standard-16".
- rank number
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
- machine_
types Sequence[str] - Optional. Full machine-type names, e.g. "n1-standard-16".
- rank int
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
- machine
Types List<String> - Optional. Full machine-type names, e.g. "n1-standard-16".
- rank Number
- Optional. Preference of this instance selection. Lower number means higher preference. Dataproc will first try to create a VM based on the machine-type with priority rank and fallback to next rank based on availability. Machine types and instance selections with the same priority have the same preference.
InstanceSelectionResultResponse
- Machine
Type string - Full machine-type names, e.g. "n1-standard-16".
- Vm
Count int - Number of VM provisioned with the machine_type.
- Machine
Type string - Full machine-type names, e.g. "n1-standard-16".
- Vm
Count int - Number of VM provisioned with the machine_type.
- machine
Type String - Full machine-type names, e.g. "n1-standard-16".
- vm
Count Integer - Number of VM provisioned with the machine_type.
- machine
Type string - Full machine-type names, e.g. "n1-standard-16".
- vm
Count number - Number of VM provisioned with the machine_type.
- machine_
type str - Full machine-type names, e.g. "n1-standard-16".
- vm_
count int - Number of VM provisioned with the machine_type.
- machine
Type String - Full machine-type names, e.g. "n1-standard-16".
- vm
Count Number - Number of VM provisioned with the machine_type.
ManagedGroupConfigResponse
- Instance
Group stringManager Name - The name of the Instance Group Manager for this group.
- Instance
Group stringManager Uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- Instance
Template stringName - The name of the Instance Template used for the Managed Instance Group.
- Instance
Group stringManager Name - The name of the Instance Group Manager for this group.
- Instance
Group stringManager Uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- Instance
Template stringName - The name of the Instance Template used for the Managed Instance Group.
- instance
Group StringManager Name - The name of the Instance Group Manager for this group.
- instance
Group StringManager Uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- instance
Template StringName - The name of the Instance Template used for the Managed Instance Group.
- instance
Group stringManager Name - The name of the Instance Group Manager for this group.
- instance
Group stringManager Uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- instance
Template stringName - The name of the Instance Template used for the Managed Instance Group.
- instance_
group_ strmanager_ name - The name of the Instance Group Manager for this group.
- instance_
group_ strmanager_ uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- instance_
template_ strname - The name of the Instance Template used for the Managed Instance Group.
- instance
Group StringManager Name - The name of the Instance Group Manager for this group.
- instance
Group StringManager Uri - The partial URI to the instance group manager for this group. E.g. projects/my-project/regions/us-central1/instanceGroupManagers/my-igm.
- instance
Template StringName - The name of the Instance Template used for the Managed Instance Group.
StartupConfigResponse
- Required
Registration doubleFraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
- Required
Registration float64Fraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
- required
Registration DoubleFraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
- required
Registration numberFraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
- required_
registration_ floatfraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
- required
Registration NumberFraction - Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent registration, and service registration (if enabled).
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
