Поделиться через


BillingBenefitsReservationOrderAliasData Class

Definition

A class representing the BillingBenefitsReservationOrderAlias data model. Reservation order alias

public class BillingBenefitsReservationOrderAliasData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BillingBenefits.BillingBenefitsReservationOrderAliasData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BillingBenefits.BillingBenefitsReservationOrderAliasData>
type BillingBenefitsReservationOrderAliasData = class
    inherit ResourceData
    interface IJsonModel<BillingBenefitsReservationOrderAliasData>
    interface IPersistableModel<BillingBenefitsReservationOrderAliasData>
Public Class BillingBenefitsReservationOrderAliasData
Inherits ResourceData
Implements IJsonModel(Of BillingBenefitsReservationOrderAliasData), IPersistableModel(Of BillingBenefitsReservationOrderAliasData)
Inheritance
BillingBenefitsReservationOrderAliasData
Implements

Constructors

BillingBenefitsReservationOrderAliasData(BillingBenefitsSku)

Initializes a new instance of BillingBenefitsReservationOrderAliasData.

Properties

AppliedScopeProperties

Properties specific to applied scope type. Not required if not applicable.

AppliedScopeType

Type of the Applied Scope.

BillingPlan

Represents the billing plan in ISO 8601 format. Required only for monthly billing plans.

BillingScopeId

Subscription that will be charged for purchasing the benefit.

DisplayName

Display name.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsRenewed

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

Location

The Azure Region where the reserved resource lives.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

Provisioning state.

Quantity

Total Quantity of the SKUs purchased in the Reservation.

ReservationOrderId

Identifier of the reservation order created.

ReservedResourceInstanceFlexibility

Turning this on will apply the reservation discount to other VMs in the same VM size group.

ReservedResourceType

The type of the resource that is being reserved.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ReviewOn

This is the date-time when the Reservation needs to be reviewed.

SkuName

Name of the SKU to be applied.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Term

Represent benefit term in ISO 8601 format.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BillingBenefitsReservationOrderAliasData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BillingBenefitsReservationOrderAliasData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BillingBenefitsReservationOrderAliasData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BillingBenefitsReservationOrderAliasData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BillingBenefitsReservationOrderAliasData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to