Share via


ResourceFile.FromStorageContainerUrl Method

Definition

Overloads

FromStorageContainerUrl(String, String, String, String)

Creates a new ResourceFile from the specified Azure Storage container URL.

FromStorageContainerUrl(String, ComputeNodeIdentityReference, String, String, String)

Creates a new ResourceFile from the specified Azure Storage container URL.

FromStorageContainerUrl(String, String, String, String)

Source:
ResourceFile.cs

Creates a new ResourceFile from the specified Azure Storage container URL.

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

Parameters

storageContainerUrl
String

The URL of the blob container within Azure Blob Storage.

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 Azure Storage container URL.

Applies to

FromStorageContainerUrl(String, ComputeNodeIdentityReference, String, String, String)

Source:
ResourceFile.cs

Creates a new ResourceFile from the specified Azure Storage container URL.

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

Parameters

storageContainerUrl
String

The URL of the blob container within Azure Blob Storage.

identityReference
ComputeNodeIdentityReference

The identity to use for accessing the container in Azure Storage

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 Azure Storage container URL.

Applies to