Sdílet prostřednictvím


CloudTask.ResourceFiles Property

Definition

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

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

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

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.

Applies to