MBrace.Azure


StorageManager

Namespace: MBrace.Azure.Management

Storage Account manager API

Instance members

Instance memberDescription
CreateAccount(accountName, region)
Signature: (accountName:string * region:Region option) -> StorageAccount

Creates a storage account with provided parameters.

CreateAccountAsync(accountName, region)
Signature: (accountName:string * region:Region option) -> Async<MStorageAccount>

Asynchronously creates a storage account with provided parameters.

DeleteAccount(accountName)
Signature: accountName:string -> unit

Deletes storage account by name.

DeleteAccountAsync(accountName)
Signature: accountName:string -> Async<unit>

Asynchronously deletes storage account by name.

GetAccount(accountName)
Signature: accountName:string -> StorageAccount

Fetches azure existing storage account by name.

GetAccountAsync(accountName)
Signature: accountName:string -> Async<StorageAccount>

Asynchronously fetches existing azure storage account by name.

GetAccounts(region)
Signature: (region:Region option) -> StorageAccount []

Fetches all storage account info for given region.

GetAccountsAsync(region)
Signature: (region:Region option) -> Async<MStorageAccount []>

Asynchronously fetches all storage account info for given region.

ShowAccounts(region)
Signature: (region:Region option) -> unit

Prints storage account info to stdout for given region.

Fork me on GitHub