C# Class Microsoft.WindowsAzure.Commands.Storage.Blob.Cmdlet.NewAzureStorageBlobSasTokenCommand

Inheritance: StorageCloudBlobCmdletBase
Datei anzeigen Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
ExecuteCmdlet void
GetBlobSharedAccessSignature string
GetCloudBlobByName CloudBlob
SetupAccessPolicy void

Public Methods

Method Description
NewAzureStorageBlobSasTokenCommand ( ) : Microsoft.WindowsAzure.Commands.Storage.Common

Initializes a new instance of the NewAzureStorageBlobSasCommand class.

NewAzureStorageBlobSasTokenCommand ( IStorageBlobManagement channel ) : Microsoft.WindowsAzure.Commands.Storage.Common

Initializes a new instance of the NewAzureStorageBlobSasCommand class.

Private Methods

Method Description
ExecuteCmdlet ( ) : void
GetBlobSharedAccessSignature ( CloudBlob blob, SharedAccessBlobPolicy accessPolicy, string policyIdentifier, SharedAccessProtocol protocol, IPAddressOrRange iPAddressOrRange ) : string

Get blob shared access signature

GetCloudBlobByName ( string ContainerName, string BlobName ) : CloudBlob

Get CloudBlob object by name

SetupAccessPolicy ( SharedAccessBlobPolicy accessPolicy, bool shouldSetExpiryTime ) : void

Update the access policy

Method Details

NewAzureStorageBlobSasTokenCommand() public method

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

NewAzureStorageBlobSasTokenCommand() public method

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