C# Class Microsoft.WindowsAzure.Commands.Storage.Common.Cmdlet.NewAzureStorageContext

Inheritance: Microsoft.WindowsAzure.Commands.Common.AzureDataCmdlet
Show file Open project: Azure/azure-powershell Class Usage Examples

Private Properties

Property Type Description
ExecuteCmdlet void
GetAnonymousStorageAccount Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetAnonymousStorageAccountFromAzureEnvironment Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetDefaultEndPointDomain string
GetLocalDevelopmentStorageAccount Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountByConnectionString Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountByNameAndKey Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountByNameAndKeyFromAzureEnvironment Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountBySasToken Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountBySasTokenFromAzureEnvironment Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountWithAzureEnvironment Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountWithEndPoint Microsoft.WindowsAzure.Storage.CloudStorageAccount

Private Methods

Method Description
ExecuteCmdlet ( ) : void
GetAnonymousStorageAccount ( string storageAccountName, bool useHttps, string storageEndpoint = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get anonymous storage account

GetAnonymousStorageAccountFromAzureEnvironment ( string storageAccountName, bool useHttps, string azureEnvironmentName = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get anonymous storage account

GetDefaultEndPointDomain ( ) : string

Get default end point domain

GetLocalDevelopmentStorageAccount ( ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get local development storage account

GetStorageAccountByConnectionString ( string connectionString ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account by connection string

GetStorageAccountByNameAndKey ( string accountName, string accountKey, bool useHttps, string storageEndpoint = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account by account name and account key

GetStorageAccountByNameAndKeyFromAzureEnvironment ( string accountName, string accountKey, bool useHttps, string azureEnvironmentName = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account by account name and account key

GetStorageAccountBySasToken ( string storageAccountName, string sasToken, bool useHttps, string storageEndpoint = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account by sastoken

GetStorageAccountBySasTokenFromAzureEnvironment ( string storageAccountName, string sasToken, bool useHttps, string azureEnvironmentName = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
GetStorageAccountWithAzureEnvironment ( Microsoft.WindowsAzure.Storage.Auth.StorageCredentials credential, string storageAccountName, bool useHttps, string azureEnvironmentName = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account and use specific azure environment

GetStorageAccountWithEndPoint ( Microsoft.WindowsAzure.Storage.Auth.StorageCredentials credential, string storageAccountName, bool useHttps, string endPoint = "" ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Get storage account and use specific end point