ClusterNodeConfigGuestAccelerator constructor

const ClusterNodeConfigGuestAccelerator({
  1. required Input<int> count,
  2. Input<ClusterNodeConfigGuestAcceleratorGpuDriverInstallationConfig?>? gpuDriverInstallationConfig,
  3. Input<String?>? gpuPartitionSize,
  4. Input<ClusterNodeConfigGuestAcceleratorGpuSharingConfig?>? gpuSharingConfig,
  5. required Input<String> type,
})

Creates a new ClusterNodeConfigGuestAccelerator. count The number of the guest accelerator cards exposed to this instance. gpuDriverInstallationConfig Configuration for auto installation of GPU driver. Structure is documented below. gpuPartitionSize Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide. gpuSharingConfig Configuration for GPU sharing. Structure is documented below. type The accelerator type resource to expose to this instance. E.g. nvidia-tesla-k80.

Implementation

const ClusterNodeConfigGuestAccelerator({
  required this.count,
  this.gpuDriverInstallationConfig,
  this.gpuPartitionSize,
  this.gpuSharingConfig,
  required this.type,
});