C# Class Microsoft.WindowsAzure.Commands.Storage.Common.DataManagementWrapper

Inheritance: ITransferManager
Show file Open project: Azure/azure-powershell

Public Methods

Method Description
DataManagementWrapper ( int concurrency ) : Microsoft.WindowsAzure.Commands.Common
DownloadAsync ( Microsoft.WindowsAzure.Storage.Blob.CloudBlob sourceBlob, string destPath, Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task

Download an Azure blob from Azure Blob Storage.

DownloadAsync ( Microsoft.WindowsAzure.Storage.File.CloudFile sourceFile, string destPath, Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task

Download an Azure file from Azure File Storage.

UploadAsync ( string sourcePath, Microsoft.WindowsAzure.Storage.Blob.CloudBlob destBlob, Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task

Upload a file to Azure Blob Storage.

UploadAsync ( string sourcePath, Microsoft.WindowsAzure.Storage.File.CloudFile destFile, Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task

Upload a file to Azure File Storage.

Method Details

DataManagementWrapper() public method

public DataManagementWrapper ( int concurrency ) : Microsoft.WindowsAzure.Commands.Common
concurrency int
return Microsoft.WindowsAzure.Commands.Common

DownloadAsync() public method

Download an Azure blob from Azure Blob Storage.
public DownloadAsync ( Microsoft.WindowsAzure.Storage.Blob.CloudBlob sourceBlob, string destPath, Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task
sourceBlob Microsoft.WindowsAzure.Storage.Blob.CloudBlob The Microsoft.WindowsAzure.Storage.Blob.CloudBlob that is the source Azure blob.
destPath string Path to the destination file.
options Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions A Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions object that specifies /// additional options for the operation.
context Microsoft.WindowsAzure.Storage.DataMovement.TransferContext A Microsoft.WindowsAzure.Storage.DataMovement.TransferContext object that represents /// the context for the current operation.
cancellationToken System.Threading.CancellationToken A System.Threading.CancellationToken object to observe while waiting for a task /// to complete.
return Task

DownloadAsync() public method

Download an Azure file from Azure File Storage.
public DownloadAsync ( Microsoft.WindowsAzure.Storage.File.CloudFile sourceFile, string destPath, Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task
sourceFile Microsoft.WindowsAzure.Storage.File.CloudFile The Microsoft.WindowsAzure.Storage.File.CloudFile that is the source Azure file.
destPath string Path to the destination file.
options Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions A Microsoft.WindowsAzure.Storage.DataMovement.DownloadOptions object that specifies additional options for the operation.
context Microsoft.WindowsAzure.Storage.DataMovement.TransferContext A Microsoft.WindowsAzure.Storage.DataMovement.TransferContext object that represents /// the context for the current operation.
cancellationToken System.Threading.CancellationToken A System.Threading.CancellationToken object to observe while waiting for a task to complete.
return Task

UploadAsync() public method

Upload a file to Azure Blob Storage.
public UploadAsync ( string sourcePath, Microsoft.WindowsAzure.Storage.Blob.CloudBlob destBlob, Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task
sourcePath string Path to the source file.
destBlob Microsoft.WindowsAzure.Storage.Blob.CloudBlob The Microsoft.WindowsAzure.Storage.Blob.CloudBlob that is the destination Azure blob.
options Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions An Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions object that specifies /// additional options for the operation.
context Microsoft.WindowsAzure.Storage.DataMovement.TransferContext A Microsoft.WindowsAzure.Storage.DataMovement.TransferContext object that represents /// the context for the current operation.
cancellationToken System.Threading.CancellationToken A System.Threading.CancellationToken object to observe while waiting for a task /// to complete.
return Task

UploadAsync() public method

Upload a file to Azure File Storage.
public UploadAsync ( string sourcePath, Microsoft.WindowsAzure.Storage.File.CloudFile destFile, Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions options, Microsoft.WindowsAzure.Storage.DataMovement.TransferContext context, CancellationToken cancellationToken ) : Task
sourcePath string Path to the source file.
destFile Microsoft.WindowsAzure.Storage.File.CloudFile The Microsoft.WindowsAzure.Storage.File.CloudFile that is the destination Azure file.
options Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions An Microsoft.WindowsAzure.Storage.DataMovement.UploadOptions object that specifies /// additional options for the operation.
context Microsoft.WindowsAzure.Storage.DataMovement.TransferContext A Microsoft.WindowsAzure.Storage.DataMovement.TransferContext object that represents /// the context for the current operation.
cancellationToken System.Threading.CancellationToken A System.Threading.CancellationToken object to observe while waiting for a task /// to complete.
return Task