ClusterClusterConfigWorkerConfig constructor
- Input<
List< ? accelerators,ClusterClusterConfigWorkerConfigAccelerator> ?> - Input<
ClusterClusterConfigWorkerConfigDiskConfig?> ? diskConfig, - Input<
String?> ? imageUri, - Input<
ClusterClusterConfigWorkerConfigInstanceFlexibilityPolicy?> ? instanceFlexibilityPolicy, - Input<
List< ? instanceNames,String> ?> - Input<
String?> ? machineType, - Input<
String?> ? minCpuPlatform, - Input<
int?> ? minNumInstances, - Input<
int?> ? numInstances,
Creates a new ClusterClusterConfigWorkerConfig.
accelerators The Compute Engine accelerator configuration for these instances. Can be specified multiple times.
diskConfig Disk Config
imageUri The URI for the image to use for this worker. See the guide
instanceFlexibilityPolicy Instance flexibility Policy allowing a mixture of VM shapes.
instanceNames List of worker instance names which have been assigned
machineType The name of a Google Compute Engine machine type
minCpuPlatform The name of a minimum generation of CPU family
minNumInstances The minimum number of primary worker instances to create. If minNumInstances is set, cluster creation will succeed if the number of primary workers created is at least equal to the minNumInstances number.
numInstances Specifies the number of worker nodes to create.
Implementation
const ClusterClusterConfigWorkerConfig({
this.accelerators,
this.diskConfig,
this.imageUri,
this.instanceFlexibilityPolicy,
this.instanceNames,
this.machineType,
this.minCpuPlatform,
this.minNumInstances,
this.numInstances,
});