Share via


BillingReservationPatch Class

Definition

The request for reservation patch.

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

Constructors

BillingReservationPatch()

Initializes a new instance of BillingReservationPatch.

Properties

AppliedScopeProperties

Properties specific to applied scope type. Not required if not applicable. Required and need to provide tenantId and managementGroupId if AppliedScopeType is ManagementGroup.

AppliedScopeType

Type of the Applied Scope.

DisplayName

Display name of the reservation.

InstanceFlexibility

Turning this on will apply the reservation discount to other VMs in the same VM size group. Only specify for VirtualMachines reserved resource type.

IsRenewed

Setting this to true will automatically purchase a new benefit on the expiration date time.

PurchaseProperties

The request for reservation purchase.

ReviewOn

This is the date-time when the Azure hybrid benefit needs to be reviewed.

SkuName

The name of the reservation sku.

Tags

Tags for this reservation.

Explicit Interface Implementations

IJsonModel<BillingReservationPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingReservationPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingReservationPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingReservationPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingReservationPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to