C# Class Elastacloud.AzureManagement.Fluent.Storage.StorageManager

Used to create or delete storage accounts
Inheritance: IAzureManager, ICertificateActivity, IStorageActivity, IStorageAccount
Mostra file Open project: azurecoder/fluent-management

Public Properties

Property Type Description
CreateNewStorageAccount bool

Public Methods

Method Description
CreateNew ( string name ) : ICertificateActivity

Creates a new instance of a storage account

Delete ( string name ) : ICertificateActivity

Used to delete a storage account

ForStorageInformationQuery ( ) : ICertificateActivity

A passthrough method to allow a query to be run against a storage account

WriteComplete ( EventPoint point, string message ) : void

Private Methods

Method Description
ICertificateActivity ( X509Certificate2 certificate ) : IStorageActivity

Adds an X509 certificate from a .NET X509Certificate2 object

ICertificateActivity ( string thumbprint ) : IStorageActivity

Adds a certificate from a store using the thumbprint

IStorageActivity ( ) : IServiceTransaction

Used to execute the activity

IStorageActivity ( string description ) : IStorageActivity

Used to add a description to the hosted service and the deployment

IStorageActivity ( bool includeKeyDetails ) : List

Gets a list of all the available storage accounts within the subscription

StorageManager ( string subscriptionId ) : System.Collections.Generic

Used to construct for a particular subscription

Method Details

CreateNew() public method

Creates a new instance of a storage account
public CreateNew ( string name ) : ICertificateActivity
name string The name of the account
return ICertificateActivity

Delete() public method

Used to delete a storage account
public Delete ( string name ) : ICertificateActivity
name string The name of the account
return ICertificateActivity

ForStorageInformationQuery() public method

A passthrough method to allow a query to be run against a storage account
public ForStorageInformationQuery ( ) : ICertificateActivity
return ICertificateActivity

WriteComplete() public method

public WriteComplete ( EventPoint point, string message ) : void
point EventPoint
message string
return void

Property Details

CreateNewStorageAccount public_oe property

Used to tell whether a new storage account is being or not - by default false which means that the storage account with {name} will be deleted
public bool CreateNewStorageAccount
return bool