你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudTask.ResourceFiles 属性

定义

获取或设置 Batch 服务在运行命令行之前将下载到计算节点的文件列表。

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

属性值

注解

资源文件列表有最大大小。 超过最大大小时,请求将失败,响应错误代码为 RequestEntityTooLarge。 如果发生这种情况,必须减小资源文件集合的大小。 这可以通过.zip文件、应用程序包或 Docker 容器来实现。

适用于