WorkflowTemplatePlacementManagedClusterConfigMasterConfig class
Constructors
-
WorkflowTemplatePlacementManagedClusterConfigMasterConfig({Input<List<WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerator>?>? accelerators, Input<WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig?>? diskConfig, Input<String?>? image, Input<List<String>?>? instanceNames, Input<bool?>? isPreemptible, Input<String?>? machineType, Input<List<WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig>?>? managedGroupConfigs, Input<String?>? minCpuPlatform, Input<int?>? numInstances, Input<String?>? preemptibility})
-
Creates a new WorkflowTemplatePlacementManagedClusterConfigMasterConfig.
accelerators The Compute Engine accelerator configuration for these instances.
diskConfig Disk option config settings.
image 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/beta/projects/ If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
instanceNames Output only. The list of instance names. Dataproc derives the names from clusterName, numInstances, and the instance group.
isPreemptible Output only. Specifies that this instance group contains preemptible instances.
machineType 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/(https://docs.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. [managedGroupConfigs] Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups. [minCpuPlatform] Specifies the minimum cpu platform for the Instance Group. See [Minimum CPU platform](https://docs.cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu). [numInstances] The number of VM instances in the instance group. For master instance groups, must be set to 1. [preemptibility] 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`. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE
const
-
WorkflowTemplatePlacementManagedClusterConfigMasterConfig.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
accelerators
→ Input<List<WorkflowTemplatePlacementManagedClusterConfigMasterConfigAccelerator>?>?
-
The Compute Engine accelerator configuration for these instances.
final
-
diskConfig
→ Input<WorkflowTemplatePlacementManagedClusterConfigMasterConfigDiskConfig?>?
-
Disk option config settings.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
image
→ Input<String?>?
-
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/beta/projects/ If the URI is unspecified, it will be inferred from SoftwareConfig.image_version or the system default.
final
-
instanceNames
→ Input<List<String>?>?
-
Output only. The list of instance names. Dataproc derives the names from
clusterName, numInstances, and the instance group.
final
-
isPreemptible
→ Input<bool?>?
-
Output only. Specifies that this instance group contains preemptible instances.
final
-
machineType
→ Input<String?>?
-
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/(https://docs.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`.
final
-
managedGroupConfigs
→ Input<List<WorkflowTemplatePlacementManagedClusterConfigMasterConfigManagedGroupConfig>?>?
-
Output only. The config for Compute Engine Instance Group Manager that manages this group. This is only used for preemptible instance groups.
final
-
minCpuPlatform
→ Input<String?>?
-
Specifies the minimum cpu platform for the Instance Group. See Minimum CPU platform.
final
-
numInstances
→ Input<int?>?
-
The number of VM instances in the instance group. For master instance groups, must be set to 1.
final
-
preemptibility
→ Input<String?>?
-
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. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited