C# Class Elastacloud.AzureManagement.Fluent.Subscriptions.SubscriptionDetailsManager

Used to bring back subscription information for a user and also query the history of a subscription
Inheritance: IAzureManager, ICertificateActivity, ISubscriptionQuery
Exibir arquivo Open project: azurecoder/fluent-management

Public Methods

Method Description
AddPublishSettingsFromFile ( string path ) : ISubscriptionQuery

Adds a .publishsettings file and extracts the certificate

AddPublishSettingsFromXml ( string xml ) : ISubscriptionQuery

Adds a .publishsettings profile from a given body of Xml

Protected Methods

Method Description
OnAzureTaskComplete ( EventPoint point, string message ) : void

Private Methods

Method Description
ICertificateActivity ( X509Certificate2 certificate ) : ISubscriptionQuery

Adds an X509Certificate2 certificate to the request

ICertificateActivity ( string thumbprint ) : ISubscriptionQuery

Searches various stores to find the certificate with the matching thumbprint id

ISubscriptionQuery ( ) : List

Invoked when the user needs a list of available locations they can deploy to Particularly relevant with free accounts given that they contain details of where deployment can occur

ISubscriptionQuery ( ) : Elastacloud.AzureManagement.Fluent.Types.SubscriptionInformation

Returns subscription information to the user

SubscriptionDetailsManager ( string subscriptionId ) : System.Collections.Generic

Sets the subscription id with the manager class

Method Details

AddPublishSettingsFromFile() public method

Adds a .publishsettings file and extracts the certificate
public AddPublishSettingsFromFile ( string path ) : ISubscriptionQuery
path string
return ISubscriptionQuery

AddPublishSettingsFromXml() public method

Adds a .publishsettings profile from a given body of Xml
public AddPublishSettingsFromXml ( string xml ) : ISubscriptionQuery
xml string
return ISubscriptionQuery

OnAzureTaskComplete() protected method

protected OnAzureTaskComplete ( EventPoint point, string message ) : void
point EventPoint
message string
return void