PurchaseRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.PurchaseRequestTypeConverter))]
public class PurchaseRequest : Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.IPurchaseRequest
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.PurchaseRequestTypeConverter))>]
type PurchaseRequest = class
interface IPurchaseRequest
interface IJsonSerializable
Public Class PurchaseRequest
Implements IPurchaseRequest
- Inheritance
-
PurchaseRequest
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PurchaseRequest() |
Creates an new PurchaseRequest 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. |
| SkuName |
Name of the SKU to be applied |
| Term |
Represent benefit term in ISO 8601 format. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PurchaseRequest. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PurchaseRequest. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.BillingBenefits.Models.Api20221101.IPurchaseRequest. |
| FromJsonString(String) |
Creates a new instance of PurchaseRequest, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of PurchaseRequest into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |