Partager via


ReservationMergeProperties Class

Definition

Properties of reservation merge.

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

Constructors

ReservationMergeProperties()

Initializes a new instance of ReservationMergeProperties.

Properties

MergeDestination

Reservation resource id Created due to the merge. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

MergeSources

Resource ids of the source reservation's merged to form this reservation. Format of the resource id is /providers/Microsoft.Capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}.

Explicit Interface Implementations

IJsonModel<ReservationMergeProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ReservationMergeProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ReservationMergeProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ReservationMergeProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ReservationMergeProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to