共用方式為


ResourceFile 建構函式

定義

多載

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 儲存體的使用者指派身分識別參考

適用於