Share via


SplitContent Class

Definition

The request for reservation split.

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

Constructors

SplitContent()

Initializes a new instance of SplitContent.

Properties

Quantities

List of the quantities in the new reservations to create.

ReservationId

Resource id of the reservation to be split. Format of the resource id should be /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SplitContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SplitContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SplitContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SplitContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SplitContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to