Share via


FileToStage Class

Definition

Provides for file staging of a local file to blob storage.

public sealed class FileToStage : Microsoft.Azure.Batch.FileStaging.IFileStagingProvider
type FileToStage = class
    interface IFileStagingProvider
Public NotInheritable Class FileToStage
Implements IFileStagingProvider
Inheritance
FileToStage
Implements

Constructors

FileToStage(String, StagingStorageAccount, String)

Specifies that a local file should be staged to blob storage.
The specified account will be charged for storage costs.

Properties

Exception

The exception, if any, caught while attempting to stage this file.

LocalFileToStage

The name of the local file to stage to blob storage

NodeFileName

The target filename, on the compute node, to which the blob contents will be downloaded.

StagedFiles

The instances of ResourcesFile for the staged local file. For this implementation, successful file staging of this object will result in a collection with only one entry.

Methods

CreateStagingArtifact()

See CreateStagingArtifact().

StageFilesAsync(List<IFileStagingProvider>, IFileStagingArtifact)

See StageFilesAsync(List<IFileStagingProvider>, IFileStagingArtifact).

Validate()

See Validate().

Applies to