ArmContainerServiceModelFactory.AgentPoolGpuProfile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ContainerService.Models.AgentPoolGpuProfile AgentPoolGpuProfile(Azure.ResourceManager.ContainerService.Models.AgentPoolGpuDriver? driver = default, Azure.ResourceManager.ContainerService.Models.AgentPoolGpuDriverType? driverType = default, Azure.ResourceManager.ContainerService.Models.AgentPoolNvidiaGpuProfile nvidia = default);
static member AgentPoolGpuProfile : Nullable<Azure.ResourceManager.ContainerService.Models.AgentPoolGpuDriver> * Nullable<Azure.ResourceManager.ContainerService.Models.AgentPoolGpuDriverType> * Azure.ResourceManager.ContainerService.Models.AgentPoolNvidiaGpuProfile -> Azure.ResourceManager.ContainerService.Models.AgentPoolGpuProfile
Public Shared Function AgentPoolGpuProfile (Optional driver As Nullable(Of AgentPoolGpuDriver) = Nothing, Optional driverType As Nullable(Of AgentPoolGpuDriverType) = Nothing, Optional nvidia As AgentPoolNvidiaGpuProfile = Nothing) As AgentPoolGpuProfile
Parameters
- driver
- Nullable<AgentPoolGpuDriver>
Whether to install GPU drivers. When it's not specified, default is Install.
- driverType
- Nullable<AgentPoolGpuDriverType>
Specify the type of GPU driver to install when creating Windows agent pools. If not provided, AKS selects the driver based on system compatibility. This cannot be changed once the AgentPool has been created. This cannot be set on Linux AgentPools. For Linux AgentPools, the driver is selected based on system compatibility.
- nvidia
- AgentPoolNvidiaGpuProfile
NVIDIA-specific GPU settings.
Returns
A new AgentPoolGpuProfile instance for mocking.