Share via


SplitRequest Class

Definition

The request for reservation split

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.SplitRequestTypeConverter))]
public class SplitRequest : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ISplitRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.SplitRequestTypeConverter))>]
type SplitRequest = class
    interface ISplitRequest
    interface IJsonSerializable
Public Class SplitRequest
Implements ISplitRequest
Inheritance
SplitRequest
Attributes
Implements

Constructors

SplitRequest()

Creates an new SplitRequest instance.

Properties

Quantity

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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SplitRequest.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SplitRequest.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.ISplitRequest.

FromJsonString(String)

Creates a new instance of SplitRequest, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SplitRequest into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to