共用方式為


FileToStage(String, StagingStorageAccount, String) Constructor

Definition

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

public FileToStage (string localFileToStage, Microsoft.Azure.Batch.FileStaging.StagingStorageAccount storageCredentials, string nodeFileName = default);
new Microsoft.Azure.Batch.FileStaging.FileToStage : string * Microsoft.Azure.Batch.FileStaging.StagingStorageAccount * string -> Microsoft.Azure.Batch.FileStaging.FileToStage
Public Sub New (localFileToStage As String, storageCredentials As StagingStorageAccount, Optional nodeFileName As String = Nothing)

Parameters

localFileToStage
String

The name of the local file.

storageCredentials
StagingStorageAccount

The storage credentials to be used when creating the default container.

nodeFileName
String

Optional name to be given to the file on the compute node. If this parameter is null or missing the name on the compute node will be set to the value of localFileToStage stripped of all path information.

Applies to