ClusterClusterConfigMasterConfig class
Constructors
-
ClusterClusterConfigMasterConfig({Input<
List< ? accelerators, Input<ClusterClusterConfigMasterConfigAccelerator> ?>ClusterClusterConfigMasterConfigDiskConfig?> ? diskConfig, Input<String?> ? imageUri, Input<ClusterClusterConfigMasterConfigInstanceFlexibilityPolicy?> ? instanceFlexibilityPolicy, Input<List< ? instanceNames, Input<String> ?>String?> ? machineType, Input<String?> ? minCpuPlatform, Input<int?> ? numInstances}) -
Creates a new ClusterClusterConfigMasterConfig.
acceleratorsThe Compute Engine accelerator (GPU) configuration for these instances. Can be specified multiple times.diskConfigDisk ConfigimageUriThe URI for the image to use for this worker. See the guideinstanceFlexibilityPolicyInstance flexibility Policy allowing a mixture of VM shapes.instanceNamesList of master instance names whichmachineTypeThe name of a Google Compute Engine machine typeminCpuPlatformThe name of a minimum generation of CPU familynumInstancesSpecifies the number of master nodes to create.const -
ClusterClusterConfigMasterConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
accelerators
→ Input<
List< ?ClusterClusterConfigMasterConfigAccelerator> ?> -
The Compute Engine accelerator (GPU) configuration for these instances. Can be specified multiple times.
final
-
diskConfig
→ Input<
ClusterClusterConfigMasterConfigDiskConfig?> ? -
Disk Config
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imageUri
→ Input<
String?> ? -
The URI for the image to use for this worker. See the guide
for more information.
final
-
instanceFlexibilityPolicy
→ Input<
ClusterClusterConfigMasterConfigInstanceFlexibilityPolicy?> ? -
Instance flexibility Policy allowing a mixture of VM shapes.
final
-
instanceNames
→ Input<
List< ?String> ?> -
List of master instance names which
have been assigned to the cluster.
final
-
machineType
→ Input<
String?> ? -
The name of a Google Compute Engine machine type
to create for the master. If not specified, GCP will default to a predetermined
computed value (currently
n1-standard-4).final -
minCpuPlatform
→ Input<
String?> ? -
The name of a minimum generation of CPU family
for the master. If not specified, GCP will default to a predetermined computed value
for each zone. See the guide
for details about which CPU families are available (and defaulted) for each zone.
final
-
numInstances
→ Input<
int?> ? -
Specifies the number of master nodes to create.
If not specified, GCP will default to a predetermined computed value (currently 1).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited