TaskAddParameter.ApplicationPackageReferences Property

Definition

Gets or sets a list of application packages that the Batch service will deploy to the compute node before running the command line.

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

Property Value

System.Collections.Generic.IList<ApplicationPackageReference>
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

Application packages are downloaded and deployed to a shared directory, not the task working directory. Therefore, if a referenced package is already on the compute node, and is up to date, then it is not re-downloaded; the existing copy on the compute node is used. If a referenced application package cannot be installed, for example because the package has been deleted or because download failed, the task fails.

Applies to