Share via


HciVmInstanceHardwareProfileGpuConfiguration Class

Definition

GPU properties - describes the GPU configuration.

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

Constructors

Name Description
HciVmInstanceHardwareProfileGpuConfiguration(GpuAssignmentType)

Initializes a new instance of HciVmInstanceHardwareProfileGpuConfiguration.

Properties

Name Description
AssignmentType

GPU assignment type.

GpuName

Name of the GPU.

PartitionSizeInMB

Size of gpu partition in MB for GPU-P.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<HciVmInstanceHardwareProfileGpuConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmInstanceHardwareProfileGpuConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmInstanceHardwareProfileGpuConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmInstanceHardwareProfileGpuConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmInstanceHardwareProfileGpuConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to