Share via


BatchTask.ResourceFiles Property

Definition

A list of files that the Batch service will download to the Compute Node before running the command line. For multi-instance Tasks, the resource files will only be downloaded to the Compute Node on which the primary Task is executed. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.

public System.Collections.Generic.IReadOnlyList<Azure.Compute.Batch.ResourceFile> ResourceFiles { get; }
member this.ResourceFiles : System.Collections.Generic.IReadOnlyList<Azure.Compute.Batch.ResourceFile>
Public ReadOnly Property ResourceFiles As IReadOnlyList(Of ResourceFile)

Property Value

Applies to