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);

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);

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