C# Class Microsoft.WindowsAzure.Commands.Storage.Blob.SetAzureBlobContentCommand

Inheritance: StorageDataMovementCmdletBase
ファイルを表示 Open project: Azure/azure-powershell

Public Properties

Property Type Description
BlobName string

Private Properties

Property Type Description
GetFullSendFilePath string
SetAzureBlobContent void
SetBlobMeta Common.Task
SetBlobProperties Common.Task
Upload2Blob Common.Task
ValidateBlobProperties void

Public Methods

Method Description
ExecuteCmdlet ( ) : void

execute command

SetAzureBlobContentCommand ( ) : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel

Initializes a new instance of the SetAzureBlobContentCommand class.

SetAzureBlobContentCommand ( IStorageBlobManagement channel ) : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel

Initializes a new instance of the SetAzureBlobContentCommand class.

Protected Methods

Method Description
EndProcessing ( ) : void
OnTaskSuccessful ( DataMovementUserData data ) : void

On Task run successfully

Private Methods

Method Description
GetFullSendFilePath ( string fileName ) : string

get full file path according to the specified file name

SetAzureBlobContent ( string fileName, string blobName ) : void

set azure blob content

SetBlobMeta ( IStorageBlobManagement localChannel, Microsoft.WindowsAzure.Storage.Blob blob, Hashtable meta ) : Common.Task

set blob meta

SetBlobProperties ( IStorageBlobManagement localChannel, Microsoft.WindowsAzure.Storage.Blob blob, Hashtable properties ) : Common.Task

set blob properties

Upload2Blob ( long taskId, IStorageBlobManagement localChannel, string filePath, Microsoft.WindowsAzure.Storage.Blob blob ) : Common.Task

upload file to azure blob

ValidateBlobProperties ( Hashtable properties ) : void

check whether the blob properties is valid

Method Details

EndProcessing() protected method

protected EndProcessing ( ) : void
return void

ExecuteCmdlet() public method

execute command
public ExecuteCmdlet ( ) : void
return void

OnTaskSuccessful() protected method

On Task run successfully
protected OnTaskSuccessful ( DataMovementUserData data ) : void
data DataMovementUserData User data
return void

SetAzureBlobContentCommand() public method

Initializes a new instance of the SetAzureBlobContentCommand class.
public SetAzureBlobContentCommand ( ) : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel
return Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel

SetAzureBlobContentCommand() public method

Initializes a new instance of the SetAzureBlobContentCommand class.
public SetAzureBlobContentCommand ( IStorageBlobManagement channel ) : Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel
channel IStorageBlobManagement IStorageBlobManagement channel
return Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel

Property Details

BlobName public_oe property

public string BlobName
return string