MultiInstanceSettings.CommonResourceFiles Property

Definition

Gets or sets a list of files that the Batch service will download before running the coordination command line.

public System.Collections.Generic.IList<Microsoft.Azure.Batch.ResourceFile> CommonResourceFiles { get; set; }
member this.CommonResourceFiles : System.Collections.Generic.IList<Microsoft.Azure.Batch.ResourceFile> with get, set
Public Property CommonResourceFiles As IList(Of ResourceFile)

Property Value

Remarks

The difference between common resource files and task resource files is that common resource files are downloaded for all subtasks including the primary, whereas task resource files are downloaded only for the primary. 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 resource files must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.

Applies to