ArmContainerServiceModelFactory.ContainerServiceMachineHardwareProfile Method

Definition

public static Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineHardwareProfile ContainerServiceMachineHardwareProfile(string vmSize = default, Azure.ResourceManager.ContainerService.Models.GpuInstanceProfile? gpuInstanceProfile = default, Azure.ResourceManager.ContainerService.Models.AgentPoolGpuProfile gpuProfile = default, bool? isUltraSsdEnabled = default);
static member ContainerServiceMachineHardwareProfile : string * Nullable<Azure.ResourceManager.ContainerService.Models.GpuInstanceProfile> * Azure.ResourceManager.ContainerService.Models.AgentPoolGpuProfile * Nullable<bool> -> Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineHardwareProfile
Public Shared Function ContainerServiceMachineHardwareProfile (Optional vmSize As String = Nothing, Optional gpuInstanceProfile As Nullable(Of GpuInstanceProfile) = Nothing, Optional gpuProfile As AgentPoolGpuProfile = Nothing, Optional isUltraSsdEnabled As Nullable(Of Boolean) = Nothing) As ContainerServiceMachineHardwareProfile

Parameters

vmSize
String

The size of the VM. VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions.

gpuInstanceProfile
Nullable<GpuInstanceProfile>

GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.

gpuProfile
AgentPoolGpuProfile

The GPU settings of the machine.

isUltraSsdEnabled
Nullable<Boolean>

Whether to enable UltraSSD.

Returns

A new ContainerServiceMachineHardwareProfile instance for mocking.

Applies to