次の方法で共有


MultiInstanceSettings.CommonResourceFiles Property

Definition

A list of files that the Batch service will download before running the coordination command line. 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. Also note that these resource files are not downloaded to the Task working directory, but instead are downloaded to the Task root directory (one directory above the working directory). 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.IList<Azure.Compute.Batch.ResourceFile> CommonResourceFiles { get; }
member this.CommonResourceFiles : System.Collections.Generic.IList<Azure.Compute.Batch.ResourceFile>
Public ReadOnly Property CommonResourceFiles As IList(Of ResourceFile)

Property Value

Applies to