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

JobManagerTask.ApplicationPackageReferences 属性

定义

获取或设置应用程序包的列表,Batch 服务将在运行命令行之前部署到计算节点。

[Newtonsoft.Json.JsonProperty(PropertyName="applicationPackageReferences")]
public System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> ApplicationPackageReferences { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="applicationPackageReferences")>]
member this.ApplicationPackageReferences : System.Collections.Generic.IList<Microsoft.Azure.Batch.Protocol.Models.ApplicationPackageReference> with get, set
Public Property ApplicationPackageReferences As IList(Of ApplicationPackageReference)

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

应用程序包下载并部署到共享目录,而不是任务工作目录。 因此,如果引用的应用程序包已在计算节点上并且是最新的,则不会重新下载;使用计算节点上的现有副本。 如果无法安装引用的应用程序包,例如,因为包已被删除或下载失败,则任务将失败。

适用于