NvidiaGPUProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.NvidiaGPUProfile

Implements

public final class NvidiaGPUProfile
implements JsonSerializable<NvidiaGPUProfile>

NVIDIA-specific GPU settings.

Constructor Summary

Constructor Description
NvidiaGPUProfile()

Creates an instance of NvidiaGPUProfile class.

Method Summary

Modifier and Type Method and Description
static NvidiaGPUProfile fromJson(JsonReader jsonReader)

Reads an instance of NvidiaGPUProfile from the JsonReader.

ManagementMode managementMode()

Get the managementMode property: The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you.

MigStrategy migStrategy()

Get the migStrategy property: Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NvidiaGPUProfile withManagementMode(ManagementMode managementMode)

Set the managementMode property: The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you.

NvidiaGPUProfile withMigStrategy(MigStrategy migStrategy)

Set the migStrategy property: Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support.

Methods inherited from java.lang.Object

Constructor Details

NvidiaGPUProfile

public NvidiaGPUProfile()

Creates an instance of NvidiaGPUProfile class.

Method Details

fromJson

public static NvidiaGPUProfile fromJson(JsonReader jsonReader)

Reads an instance of NvidiaGPUProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NvidiaGPUProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NvidiaGPUProfile.

managementMode

public ManagementMode managementMode()

Get the managementMode property: The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you. For more details of what is installed, check out aka.ms/aks/managed-gpu.

Returns:

the managementMode value.

migStrategy

public MigStrategy migStrategy()

Get the migStrategy property: Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support. For more information about the different strategies, visit aka.ms/aks/managed-gpu. When not specified, the default is None.

Returns:

the migStrategy value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withManagementMode

public NvidiaGPUProfile withManagementMode(ManagementMode managementMode)

Set the managementMode property: The Managed GPU experience installs additional components, such as the Data Center GPU Manager (DCGM) metrics for monitoring, on top of the GPU driver for you. For more details of what is installed, check out aka.ms/aks/managed-gpu.

Parameters:

managementMode - the managementMode value to set.

Returns:

the NvidiaGPUProfile object itself.

withMigStrategy

public NvidiaGPUProfile withMigStrategy(MigStrategy migStrategy)

Set the migStrategy property: Sets the MIG (Multi-Instance GPU) strategy that will be used for managed MIG support. For more information about the different strategies, visit aka.ms/aks/managed-gpu. When not specified, the default is None.

Parameters:

migStrategy - the migStrategy value to set.

Returns:

the NvidiaGPUProfile object itself.

Applies to