Share via


MachineLearningContainerResourceSettings Class

Definition

The MachineLearningContainerResourceSettings.

public class MachineLearningContainerResourceSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerResourceSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.MachineLearning.Models.MachineLearningContainerResourceSettings>
public class MachineLearningContainerResourceSettings
type MachineLearningContainerResourceSettings = class
    interface IJsonModel<MachineLearningContainerResourceSettings>
    interface IPersistableModel<MachineLearningContainerResourceSettings>
type MachineLearningContainerResourceSettings = class
Public Class MachineLearningContainerResourceSettings
Implements IJsonModel(Of MachineLearningContainerResourceSettings), IPersistableModel(Of MachineLearningContainerResourceSettings)
Public Class MachineLearningContainerResourceSettings
Inheritance
MachineLearningContainerResourceSettings
Implements

Constructors

MachineLearningContainerResourceSettings()

Initializes a new instance of MachineLearningContainerResourceSettings.

Properties

Cpu

Number of vCPUs request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Gpu

Number of Nvidia GPU cards request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Memory

Memory size request/limit for container. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/

Explicit Interface Implementations

IJsonModel<MachineLearningContainerResourceSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MachineLearningContainerResourceSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MachineLearningContainerResourceSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MachineLearningContainerResourceSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MachineLearningContainerResourceSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to