ClusterClusterConfigWorkerConfig constructor

const ClusterClusterConfigWorkerConfig({
  1. Input<List<ClusterClusterConfigWorkerConfigAccelerator>?>? accelerators,
  2. Input<ClusterClusterConfigWorkerConfigDiskConfig?>? diskConfig,
  3. Input<String?>? imageUri,
  4. Input<ClusterClusterConfigWorkerConfigInstanceFlexibilityPolicy?>? instanceFlexibilityPolicy,
  5. Input<List<String>?>? instanceNames,
  6. Input<String?>? machineType,
  7. Input<String?>? minCpuPlatform,
  8. Input<int?>? minNumInstances,
  9. 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,
});