C# Класс Elastacloud.AzureManagement.Fluent.Clients.StorageClient

Defines a class which can perform operations on blobs
Наследование: IStorageClient
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CreateNewStorageAccount ( string name, string location = LocationConstants.NorthEurope, StorageManagementOptions options = null ) : void

Creates a new storage account given a name and location

CreateStorageAccountIfNotExists ( string name, string location = LocationConstants.NorthEurope, StorageManagementOptions options = null ) : void

Create the storage account if an account by the same name doesn't exist

DeleteStorageAccount ( string name ) : void
GetSaSFromBlobUri ( string blobUri ) : string

Gets a shared access signature given a full blob uri

GetStorageAccountKeys ( string name ) : string[]
GetStorageAccountList ( ) : List
GetStorageAccountListWithKeys ( ) : List
GetStorageStatus ( string name ) : StorageStatus
StorageClient ( string subscriptionId, X509Certificate2 certificate ) : System

Used to construct a storage client with a subscription id and management certificate

StorageClient ( string accountName, string accountKey ) : System

Used to construct a client with an account name and account key

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

CreateNewStorageAccount() публичный Метод

Creates a new storage account given a name and location
public CreateNewStorageAccount ( string name, string location = LocationConstants.NorthEurope, StorageManagementOptions options = null ) : void
name string
location string
options StorageManagementOptions
Результат void

CreateStorageAccountIfNotExists() публичный Метод

Create the storage account if an account by the same name doesn't exist
public CreateStorageAccountIfNotExists ( string name, string location = LocationConstants.NorthEurope, StorageManagementOptions options = null ) : void
name string
location string
options StorageManagementOptions
Результат void

DeleteStorageAccount() публичный Метод

public DeleteStorageAccount ( string name ) : void
name string
Результат void

GetSaSFromBlobUri() публичный Метод

Gets a shared access signature given a full blob uri
public GetSaSFromBlobUri ( string blobUri ) : string
blobUri string
Результат string

GetStorageAccountKeys() публичный Метод

public GetStorageAccountKeys ( string name ) : string[]
name string
Результат string[]

GetStorageAccountList() публичный Метод

public GetStorageAccountList ( ) : List
Результат List

GetStorageAccountListWithKeys() публичный Метод

public GetStorageAccountListWithKeys ( ) : List
Результат List

GetStorageStatus() публичный Метод

public GetStorageStatus ( string name ) : StorageStatus
name string
Результат StorageStatus

StorageClient() публичный Метод

Used to construct a storage client with a subscription id and management certificate
public StorageClient ( string subscriptionId, X509Certificate2 certificate ) : System
subscriptionId string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
Результат System

StorageClient() публичный Метод

Used to construct a client with an account name and account key
public StorageClient ( string accountName, string accountKey ) : System
accountName string
accountKey string
Результат System