ContainerResourceRequestsContent Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The resource requests.
public class ContainerResourceRequestsContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequestsContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerInstance.Models.ContainerResourceRequestsContent>
type ContainerResourceRequestsContent = class
interface IJsonModel<ContainerResourceRequestsContent>
interface IPersistableModel<ContainerResourceRequestsContent>
Public Class ContainerResourceRequestsContent
Implements IJsonModel(Of ContainerResourceRequestsContent), IPersistableModel(Of ContainerResourceRequestsContent)
- Inheritance
-
ContainerResourceRequestsContent
- Implements
Constructors
ContainerResourceRequestsContent(Double, Double) |
Initializes a new instance of ContainerResourceRequestsContent. |
Properties
Cpu |
The CPU request of this container instance. |
Gpu |
The GPU request of this container instance. |
MemoryInGB |
The memory request in GB of this container instance. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ContainerResourceRequestsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ContainerResourceRequestsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ContainerResourceRequestsContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ContainerResourceRequestsContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ContainerResourceRequestsContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |