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

VmApplication interface

指定应提供给基础 VMSS 的库应用程序。

属性

configurationReference

可选,指定 Azure Blob 的 URI,该 URI 将替换包的默认配置(如果提供)。

enableAutomaticUpgrade

如果设置为 true,则当 PIR/SIG 中提供了新的库应用程序版本时,基础 VMSS 会自动更新它。

order

可选,指定包必须安装的顺序。

packageReferenceId

指定 /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/applications/{application}/versions/{version} 形式的 GalleryApplicationVersion 资源 ID。

treatFailureAsDeploymentFailure

可选,如果为 true,则 VmApplication 中任何操作的任何失败都将使部署失败。

vmGalleryTags

可选,指定更多泛型上下文的传递值。 接受 JSON 格式的字符串,例如“{”Tag1“:”Value1“,”Tag2“:”Value2“}”。

属性详细信息

configurationReference

可选,指定 Azure Blob 的 URI,该 URI 将替换包的默认配置(如果提供)。

configurationReference?: string

属性值

string

enableAutomaticUpgrade

如果设置为 true,则当 PIR/SIG 中提供了新的库应用程序版本时,基础 VMSS 会自动更新它。

enableAutomaticUpgrade?: boolean

属性值

boolean

order

可选,指定包必须安装的顺序。

order?: number

属性值

number

packageReferenceId

指定 /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/gallerys/{galleryName}/applications/{application}/versions/{version} 形式的 GalleryApplicationVersion 资源 ID。

packageReferenceId: string

属性值

string

treatFailureAsDeploymentFailure

可选,如果为 true,则 VmApplication 中任何操作的任何失败都将使部署失败。

treatFailureAsDeploymentFailure?: boolean

属性值

boolean

vmGalleryTags

可选,指定更多泛型上下文的传递值。 接受 JSON 格式的字符串,例如“{”Tag1“:”Value1“,”Tag2“:”Value2“}”。

vmGalleryTags?: string

属性值

string