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

ResourceFile.FilePath 属性

定义

获取或设置计算节点上要下载文件 () 相对于任务的工作目录的位置。

[Newtonsoft.Json.JsonProperty(PropertyName="filePath")]
public string FilePath { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="filePath")>]
member this.FilePath : string with get, set
Public Property FilePath As String

属性值

属性
Newtonsoft.Json.JsonPropertyAttribute

注解

如果指定了 httpUrl 属性,则 filePath 是必需的,并描述文件将下载到的路径,包括文件名。 否则,如果指定了 autoStorageContainerName 或 storageContainerUrl 属性,则 filePath 是可选的,并且是将文件下载到的目录。 如果 filePath 用作目录,则已与输入数据关联的任何目录结构都将完全保留并追加到指定的 filePath 目录。 指定的相对路径不能从 Task 的工作目录 (例如通过使用“..”) 。

适用于