你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PurchaseRequest interface

预留购买请求

属性

appliedScopeProperties

特定于应用的范围类型的属性。 如果不适用,则不需要。 如果 AppliedScopeType 为 ManagementGroup,则需要提供 tenantId 和 managementGroupId

appliedScopes

将应用权益的订阅列表。 请勿指定 AppliedScopeType 是否为 Shared。 此属性将被弃用,并替换为 Single AppliedScopeType 的 appliedScopeProperties。

appliedScopeType

应用的作用域的类型。

billingPlan

表示计费计划。

billingScopeId

购买预留或节省计划的订阅

displayName

预留的友好名称

location

保留资源的 Azure 区域。

quantity

属于预留的 SKU 的数量。

renew

如果设置为 true,则会在到期日期时间自动购买新预留。

reservedResourceProperties

特定于每个保留资源类型的属性。 如果不适用,则不需要。

reservedResourceType

正在保留的资源的类型。

reviewDateTime

这是需要查看 Azure 混合权益的日期时间。

sku

SKU 的名称

term

表示预留期限。

属性详细信息

appliedScopeProperties

特定于应用的范围类型的属性。 如果不适用,则不需要。 如果 AppliedScopeType 为 ManagementGroup,则需要提供 tenantId 和 managementGroupId

appliedScopeProperties?: AppliedScopeProperties

属性值

appliedScopes

将应用权益的订阅列表。 请勿指定 AppliedScopeType 是否为 Shared。 此属性将被弃用,并替换为 Single AppliedScopeType 的 appliedScopeProperties。

appliedScopes?: string[]

属性值

string[]

appliedScopeType

应用的作用域的类型。

appliedScopeType?: string

属性值

string

billingPlan

表示计费计划。

billingPlan?: string

属性值

string

billingScopeId

购买预留或节省计划的订阅

billingScopeId?: string

属性值

string

displayName

预留的友好名称

displayName?: string

属性值

string

location

保留资源的 Azure 区域。

location?: string

属性值

string

quantity

属于预留的 SKU 的数量。

quantity?: number

属性值

number

renew

如果设置为 true,则会在到期日期时间自动购买新预留。

renew?: boolean

属性值

boolean

reservedResourceProperties

特定于每个保留资源类型的属性。 如果不适用,则不需要。

reservedResourceProperties?: PurchaseRequestPropertiesReservedResourceProperties

属性值

reservedResourceType

正在保留的资源的类型。

reservedResourceType?: string

属性值

string

reviewDateTime

这是需要查看 Azure 混合权益的日期时间。

reviewDateTime?: Date

属性值

Date

sku

SKU 的名称

sku?: SkuName

属性值

term

表示预留期限。

term?: string

属性值

string