Udostępnij za pośrednictwem


ResourceFile.FromAutoStorageContainer(String, String, String, String) Method

Definition

Creates a new ResourceFile from the specified auto storage container name.

public static Microsoft.Azure.Batch.ResourceFile FromAutoStorageContainer (string autoStorageContainerName, string filePath = default, string blobPrefix = default, string fileMode = default);
static member FromAutoStorageContainer : string * string * string * string -> Microsoft.Azure.Batch.ResourceFile
Public Shared Function FromAutoStorageContainer (autoStorageContainerName As String, Optional filePath As String = Nothing, Optional blobPrefix As String = Nothing, Optional fileMode As String = Nothing) As ResourceFile

Parameters

autoStorageContainerName
String

The storage container name in the auto storage account.

filePath
String

The location on the compute node to which to download the file(s), relative to the task's working directory.

blobPrefix
String

The blob prefix to use when downloading blobs from an Azure Storage container. Only the blobs whose names begin with the specified prefix will be downloaded.

fileMode
String

The file permission mode attribute in octal format.

Returns

A ResourceFile from the specified auto storage container name.

Applies to