C# Класс Microsoft.WindowsAzure.Commands.Common.Storage.StorageUtilities

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateHttpsEndpoint ( string endpointUri ) : Uri

Creates https endpoint from the given endpoint.

GenerateBlobStorageSasUrl ( string connectionString, string blobContainerName, System.DateTime expiryTime, SharedAccessBlobPermissions permissions ) : string
GenerateCloudStorageAccount ( IStorageManagementClient storageClient, string accountName ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Create a cloud storage account using a service management storage client

GenerateCloudStorageAccount ( IStorageServiceProvider provider, string resourceGroupName, string accountName ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount

Create a cloud storage account using an ARM storage management client

GenerateStorageCredentials ( IStorageManagementClient storageClient, string accountName ) : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

Create storage credentials for the given account

GenerateStorageCredentials ( IStorageServiceProvider provider, string resourceGroupName, string accountName ) : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

Create storage credentials for the given account

GenerateTableStorageSasUrl ( string connectionString, string tableName, System.DateTime expiryTime, SharedAccessTablePermissions permissions ) : string

Описание методов

CreateHttpsEndpoint() публичный статический Метод

Creates https endpoint from the given endpoint.
public static CreateHttpsEndpoint ( string endpointUri ) : Uri
endpointUri string The endpoint uri.
Результат System.Uri

GenerateBlobStorageSasUrl() публичный статический Метод

public static GenerateBlobStorageSasUrl ( string connectionString, string blobContainerName, System.DateTime expiryTime, SharedAccessBlobPermissions permissions ) : string
connectionString string
blobContainerName string
expiryTime System.DateTime
permissions SharedAccessBlobPermissions
Результат string

GenerateCloudStorageAccount() публичный статический Метод

Create a cloud storage account using a service management storage client
public static GenerateCloudStorageAccount ( IStorageManagementClient storageClient, string accountName ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
storageClient IStorageManagementClient The client to use to get storage account details.
accountName string The name of the storage account.
Результат Microsoft.WindowsAzure.Storage.CloudStorageAccount

GenerateCloudStorageAccount() публичный статический Метод

Create a cloud storage account using an ARM storage management client
public static GenerateCloudStorageAccount ( IStorageServiceProvider provider, string resourceGroupName, string accountName ) : Microsoft.WindowsAzure.Storage.CloudStorageAccount
provider IStorageServiceProvider The adapter to ARM storage services.
resourceGroupName string The resource group containing the storage account.
accountName string The name of the storage account.
Результат Microsoft.WindowsAzure.Storage.CloudStorageAccount

GenerateStorageCredentials() публичный статический Метод

Create storage credentials for the given account
public static GenerateStorageCredentials ( IStorageManagementClient storageClient, string accountName ) : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
storageClient IStorageManagementClient The RDFE storage management client.
accountName string The storage account name.
Результат Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

GenerateStorageCredentials() публичный статический Метод

Create storage credentials for the given account
public static GenerateStorageCredentials ( IStorageServiceProvider provider, string resourceGroupName, string accountName ) : Microsoft.WindowsAzure.Storage.Auth.StorageCredentials
provider IStorageServiceProvider The storage provider for ARM storage services.
resourceGroupName string The resource group containing the storage account.
accountName string The storage account name.
Результат Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

GenerateTableStorageSasUrl() публичный статический Метод

public static GenerateTableStorageSasUrl ( string connectionString, string tableName, System.DateTime expiryTime, SharedAccessTablePermissions permissions ) : string
connectionString string
tableName string
expiryTime System.DateTime
permissions SharedAccessTablePermissions
Результат string