你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IPurchaseRequest Interface
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.Reservations.Models.Api20221101.PurchaseRequestTypeConverter))]
public interface IPurchaseRequest : Microsoft.Azure.PowerShell.Cmdlets.Reservations.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Reservations.Models.Api20221101.PurchaseRequestTypeConverter))>]
type IPurchaseRequest = interface
interface IJsonSerializable
Public Interface IPurchaseRequest
Implements IJsonSerializable
- Derived
- Attributes
- Implements
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 |
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. |
Location |
The Azure region where the reserved resource lives. |
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. |
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. |
Sku | |
Term |
Represent the term of reservation. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |