Share via


DeviceCapacityRequestContent Class

Definition

Object for Capturing DeviceCapacityRequestInfo.

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

Constructors

DeviceCapacityRequestContent(IEnumerable<IList<String>>)

Initializes a new instance of DeviceCapacityRequestContent.

Properties

VmPlacementQuery

Array containing the sizes of the VMs for checking if its feasible to create them on the appliance.

VmPlacementResults

Array of the VMs of the sizes in VmSizes can be provisioned on the appliance.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DeviceCapacityRequestContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DeviceCapacityRequestContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DeviceCapacityRequestContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DeviceCapacityRequestContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DeviceCapacityRequestContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to