你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Plan interface
指定用于创建虚拟机的市场映像的相关信息。 此元素仅用于市场映像。 必须先启用该映像以供编程使用,然后才能从 API 使用市场映像。 在Azure 门户,找到要使用的市场映像,然后单击“想要以编程方式部署”“入门”->。 输入任何所需信息,然后单击“ 保存”。
属性
name | 计划 ID。 |
product | 指定市场中映像的乘积。 此值与 imageReference 元素下的 Offer 值相同。 |
promotion |
促销代码。 |
publisher | 发布者 ID。 |
属性详细信息
name
计划 ID。
name?: string
属性值
string
product
指定市场中映像的乘积。 此值与 imageReference 元素下的 Offer 值相同。
product?: string
属性值
string
promotionCode
促销代码。
promotionCode?: string
属性值
string
publisher
发布者 ID。
publisher?: string
属性值
string