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

Afficher le fichier Open project: Azure/azure-powershell Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CreateHttpsEndpoint() public static méthode

Creates https endpoint from the given endpoint.
public static CreateHttpsEndpoint ( string endpointUri ) : Uri
endpointUri string The endpoint uri.
Résultat System.Uri

GenerateBlobStorageSasUrl() public static méthode

public static GenerateBlobStorageSasUrl ( string connectionString, string blobContainerName, System.DateTime expiryTime, SharedAccessBlobPermissions permissions ) : string
connectionString string
blobContainerName string
expiryTime System.DateTime
permissions SharedAccessBlobPermissions
Résultat string

GenerateCloudStorageAccount() public static méthode

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.
Résultat Microsoft.WindowsAzure.Storage.CloudStorageAccount

GenerateCloudStorageAccount() public static méthode

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.
Résultat Microsoft.WindowsAzure.Storage.CloudStorageAccount

GenerateStorageCredentials() public static méthode

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.
Résultat Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

GenerateStorageCredentials() public static méthode

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.
Résultat Microsoft.WindowsAzure.Storage.Auth.StorageCredentials

GenerateTableStorageSasUrl() public static méthode

public static GenerateTableStorageSasUrl ( string connectionString, string tableName, System.DateTime expiryTime, SharedAccessTablePermissions permissions ) : string
connectionString string
tableName string
expiryTime System.DateTime
permissions SharedAccessTablePermissions
Résultat string