Aracılığıyla paylaş


PurchaseRequestProperties Class

Definition

Properties of reservation purchase request

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

Constructors

PurchaseRequestProperties()

Creates an new PurchaseRequestProperties instance.

Properties

AppliedScopePropertyDisplayName

Display name

AppliedScopePropertyManagementGroupId

Fully-qualified identifier of the management group where the benefit must be applied.

AppliedScopePropertyResourceGroupId

Fully-qualified identifier of the resource group.

AppliedScopePropertySubscriptionId

Fully-qualified identifier of the subscription.

AppliedScopePropertyTenantId

Tenant ID where the savings plan should apply benefit.

AppliedScopes

List of the subscriptions that the benefit will be applied. Do not specify if AppliedScopeType is Shared. This property will be deprecated and replaced by appliedScopeProperties instead for Single AppliedScopeType.

AppliedScopeType

Type of the Applied Scope.

BillingPlan

Represent the billing plans.

BillingScopeId

Subscription that will be charged for purchasing reservation or savings plan

DisplayName

Friendly name of the reservation

Quantity

Quantity of the skus that are part of the reservation.

Renew

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

ReservedResourcePropertyInstanceFlexibility

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

ReservedResourceType

The type of the resource that is being reserved.

ReviewDateTime

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

Term

Represent the term of reservation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PurchaseRequestProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PurchaseRequestProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PurchaseRequestProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to