C# 클래스 Elastacloud.AzureManagement.Fluent.Clients.StorageClient

Defines a class which can perform operations on blobs
상속: IStorageClient
파일 보기 프로젝트 열기: azurecoder/fluent-management 1 사용 예제들

공개 메소드들

메소드 설명
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