FileToStage(String, StagingStorageAccount, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.