Language

PurchaseRequestProperties Class

Definition

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

Constructors

Name Description
PurchaseRequestProperties()

Creates an new PurchaseRequestProperties instance.

Properties

Name Description
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 benefit is applied.

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

CommitmentAmount
CommitmentCurrencyCode

The ISO 4217 3-letter currency code for the currency used by this purchase record.

CommitmentGrain

Commitment grain.

DisplayName

Friendly name of the savings plan

EffectiveDateTime

DateTime of the savings plan starts providing benefit from.

Renew

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

Term

Represent benefit term in ISO 8601 format.

Methods

Name Description
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.BillingBenefits.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