共用方式為


ResourceFile Class

Definition

A file to be downloaded to a compute node from Azure Blob Storage, such as task executables and task input data files.

public class ResourceFile
type ResourceFile = class
Public Class ResourceFile
Inheritance
ResourceFile

Properties

AutoStorageContainerName

Gets the storage container name in the auto storage account.

BlobPrefix

Gets 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

Gets the file permission mode attribute in octal format.

FilePath

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

HttpUrl

Gets the URL of the file to download.

IdentityReference

Gets the reference to the user assigned identity to use to access Azure Blob Storage specified by storageContainerUrl or httpUrl

StorageContainerUrl

Gets the URL of the blob container within Azure Blob Storage.

Methods

FromAutoStorageContainer(String, String, String, String)

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

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

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

FromStorageContainerUrl(String, String, String, String)

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

FromUrl(String, ComputeNodeIdentityReference, String, String)

Creates a new ResourceFile from the specified HTTP URL.

FromUrl(String, String, String)

Creates a new ResourceFile from the specified HTTP URL.

Applies to