你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReservationSwapProperties 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.
Properties of reservation swap.
public class ReservationSwapProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Billing.Models.ReservationSwapProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Billing.Models.ReservationSwapProperties>
type ReservationSwapProperties = class
interface IJsonModel<ReservationSwapProperties>
interface IPersistableModel<ReservationSwapProperties>
Public Class ReservationSwapProperties
Implements IJsonModel(Of ReservationSwapProperties), IPersistableModel(Of ReservationSwapProperties)
- Inheritance
-
ReservationSwapProperties
- Implements
Constructors
ReservationSwapProperties() |
Initializes a new instance of ReservationSwapProperties. |
Properties
SwapDestination |
Reservation resource id that the original resource gets swapped to. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}. |
SwapSource |
Resource id of the source reservation that gets swapped. Format of the resource id is /providers/microsoft.capacity/reservationOrders/{reservationOrderId}/reservations/{reservationId}. |
Explicit Interface Implementations
IJsonModel<ReservationSwapProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ReservationSwapProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ReservationSwapProperties>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ReservationSwapProperties>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ReservationSwapProperties>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |