NodePoolNodeConfigGuestAccelerator constructor
const
NodePoolNodeConfigGuestAccelerator({
- required Input<
int> count, - Input<
NodePoolNodeConfigGuestAcceleratorGpuDriverInstallationConfig?> ? gpuDriverInstallationConfig, - Input<
String?> ? gpuPartitionSize, - Input<
NodePoolNodeConfigGuestAcceleratorGpuSharingConfig?> ? gpuSharingConfig, - required Input<
String> type,
Creates a new NodePoolNodeConfigGuestAccelerator.
count The number of the accelerator cards exposed to an instance.
gpuDriverInstallationConfig Configuration for auto installation of GPU driver.
gpuPartitionSize Size of partitions to create on the GPU. Valid values are described in the NVIDIA mig user guide (https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning)
gpuSharingConfig Configuration for GPU sharing.
type The accelerator type resource name.
Implementation
const NodePoolNodeConfigGuestAccelerator({
required this.count,
this.gpuDriverInstallationConfig,
this.gpuPartitionSize,
this.gpuSharingConfig,
required this.type,
});