你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ResourceFile 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ResourceFile() |
初始化 ResourceFile 类的新实例。 |
ResourceFile(String, String, String, String, String, String, ComputeNodeIdentityReference) |
初始化 ResourceFile 类的新实例。 |
ResourceFile()
初始化 ResourceFile 类的新实例。
public ResourceFile ();
Public Sub New ()
适用于
ResourceFile(String, String, String, String, String, String, ComputeNodeIdentityReference)
初始化 ResourceFile 类的新实例。
public ResourceFile (string autoStorageContainerName = default, string storageContainerUrl = default, string httpUrl = default, string blobPrefix = default, string filePath = default, string fileMode = default, Microsoft.Azure.Management.Batch.Models.ComputeNodeIdentityReference identityReference = default);
new Microsoft.Azure.Management.Batch.Models.ResourceFile : string * string * string * string * string * string * Microsoft.Azure.Management.Batch.Models.ComputeNodeIdentityReference -> Microsoft.Azure.Management.Batch.Models.ResourceFile
Public Sub New (Optional autoStorageContainerName As String = Nothing, Optional storageContainerUrl As String = Nothing, Optional httpUrl As String = Nothing, Optional blobPrefix As String = Nothing, Optional filePath As String = Nothing, Optional fileMode As String = Nothing, Optional identityReference As ComputeNodeIdentityReference = Nothing)
参数
- autoStorageContainerName
- String
自动存储帐户中的存储容器名称。
- storageContainerUrl
- String
Azure Blob 存储中 Blob 容器的 URL。
- httpUrl
- String
要下载的文件的 URL。
- blobPrefix
- String
从 Azure 存储容器下载 Blob 时要使用的 Blob 前缀。 仅下载名称以指定前缀开头的 blob。
- filePath
- String
计算节点上下载文件的位置,相对于任务的工作目录。
- fileMode
- String
八进制格式的文件权限模式属性。
- identityReference
- ComputeNodeIdentityReference
对用户分配的标识的引用,用于访问 storageContainerUrl 或 httpUrl 指定的Azure Blob 存储