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

PoolAddParameter.ApplicationPackageReferences 属性

定义

获取或设置要安装在池中每个计算节点上的包的列表。

[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

注解

创建池时,包的应用程序 ID 必须完全限定 (/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationName}) 。 对包引用的更改会影响加入池的所有新节点,但在重新启动或重置映像之前,不会影响池中已有的计算节点。 任何给定池中最多有 10 个包引用。

适用于