MachineHardwareProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. MachineHardwareProfile
- com.
Implements
public final class MachineHardwareProfile
implements JsonSerializable<MachineHardwareProfile>
The hardware and GPU settings of the machine.
Constructor Summary
| Constructor | Description |
|---|---|
| MachineHardwareProfile() |
Creates an instance of Machine |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Machine |
fromJson(JsonReader jsonReader)
Reads an instance of Machine |
|
Gpu |
gpuInstanceProfile()
Get the gpu |
|
Gpu |
gpuProfile()
Get the gpu |
|
Json |
toJson(JsonWriter jsonWriter) |
| Boolean |
ultraSsdEnabled()
Get the ultra |
| void |
validate()
Validates the instance. |
| String |
vmSize()
Get the vm |
|
Machine |
withGpuInstanceProfile(GpuInstanceProfile gpuInstanceProfile)
Set the gpu |
|
Machine |
withGpuProfile(GpuProfile gpuProfile)
Set the gpu |
|
Machine |
withUltraSsdEnabled(Boolean ultraSsdEnabled)
Set the ultra |
|
Machine |
withVmSize(String vmSize)
Set the vm |
Methods inherited from java.lang.Object
Constructor Details
MachineHardwareProfile
public MachineHardwareProfile()
Creates an instance of MachineHardwareProfile class.
Method Details
fromJson
public static MachineHardwareProfile fromJson(JsonReader jsonReader)
Reads an instance of MachineHardwareProfile from the JsonReader.
Parameters:
Returns:
Throws:
gpuInstanceProfile
public GpuInstanceProfile gpuInstanceProfile()
Get the gpuInstanceProfile property: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
Returns:
gpuProfile
public GpuProfile gpuProfile()
Get the gpuProfile property: The GPU settings of the machine.
Returns:
toJson
ultraSsdEnabled
public Boolean ultraSsdEnabled()
Get the ultraSsdEnabled property: Whether to enable UltraSSD.
Returns:
validate
public void validate()
Validates the instance.
vmSize
public String vmSize()
Get the vmSize property: 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.
Returns:
withGpuInstanceProfile
public MachineHardwareProfile withGpuInstanceProfile(GpuInstanceProfile gpuInstanceProfile)
Set the gpuInstanceProfile property: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
Parameters:
Returns:
withGpuProfile
public MachineHardwareProfile withGpuProfile(GpuProfile gpuProfile)
Set the gpuProfile property: The GPU settings of the machine.
Parameters:
Returns:
withUltraSsdEnabled
public MachineHardwareProfile withUltraSsdEnabled(Boolean ultraSsdEnabled)
Set the ultraSsdEnabled property: Whether to enable UltraSSD.
Parameters:
Returns:
withVmSize
public MachineHardwareProfile withVmSize(String vmSize)
Set the vmSize property: 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.
Parameters:
Returns: