ContainerGpuResourceInfo Class

Definition

The GPU resource.

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

Constructors

ContainerGpuResourceInfo(Int32, ContainerGpuSku)

Initializes a new instance of ContainerGpuResourceInfo.

Properties

Count

The count of the GPU resource.

Sku

The SKU of the GPU resource.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerGpuResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerGpuResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerGpuResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerGpuResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerGpuResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to