Share via


PurchaseRequestPropertiesReservedResourceProperties Class

Definition

Properties specific to each reserved resource type. Not required if not applicable.

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

Constructors

PurchaseRequestPropertiesReservedResourceProperties()

Creates an new PurchaseRequestPropertiesReservedResourceProperties instance.

Properties

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PurchaseRequestPropertiesReservedResourceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PurchaseRequestPropertiesReservedResourceProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PurchaseRequestPropertiesReservedResourceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to