C# Class Elastacloud.AzureManagement.Fluent.Services.DeploymentManager

The deployment manager will allow a hosted service and a deployment to be done
Inheritance: IAzureManager, IDeploymentActivity, IDeploymentConfigurationFileActivity, IDeploymentConfigurationStorageActivity, IDeploymentConfigurationParamActivity, IRoleReference, IRoleActivity, IHostedServiceActivity, ICertificateActivity, IBuildActivity, IServiceCertificate, IRemoteDesktop, IDefinitionActivity, IQueryCloudService
Mostra file Open project: azurecoder/fluent-management

Public Properties

Property Type Description
CscfgFileInstance Elastacloud.AzureManagement.Fluent.Types.ConfigurationFile

Private Properties

Property Type Description
DeploymentManager System
IBuildActivity IDefinitionActivity
IBuildActivity IHostedServiceActivity
ICertificateActivity IDeploymentActivity
ICertificateActivity IDeploymentActivity
IDefinitionActivity IRemoteDesktop
IDefinitionActivity IServiceCertificate
IDeploymentActivity IBuildActivity
IDeploymentActivity IQueryCloudService
IDeploymentConfigurationFileActivity IDeploymentConfigurationStorageActivity
IDeploymentConfigurationParamActivity IDeploymentConfigurationParamActivity
IDeploymentConfigurationParamActivity IDeploymentConfigurationParamActivity
IDeploymentConfigurationParamActivity IRoleReference
IDeploymentConfigurationStorageActivity IDeploymentConfigurationParamActivity
IHostedServiceActivity IDeploymentConfigurationStorageActivity
IQueryCloudService Elastacloud.AzureManagement.Fluent.Types.CscfgFile
IQueryCloudService List
IQueryCloudService List
IRemoteDesktop IServiceCertificate
IRoleActivity IRoleReference
IRoleReference IRoleActivity
IRoleReference IRoleReference
IRoleReference IServiceCompleteActivity
IServiceCertificate IHostedServiceActivity
IServiceCertificate IHostedServiceActivity
IServiceCompleteActivity IServiceTransaction
ReturnBase64AmmendedString string
WriteComplete void

Public Methods

Method Description
IDeploymentConfigurationParamActivity ( ) : void

Used to create a hosted service only without an attached deployment

IHostedServiceActivity ( string name ) : void

Deletes an existing hosted service and any deployments associated with it

SetCspkgEndpoint ( Uri uriEndpoint, System.Xml.Linq.XDocument configuration ) : IHostedServiceActivity

Private Methods

Method Description
DeploymentManager ( string subscriptionId ) : System
IBuildActivity ( string directoryName ) : IDefinitionActivity

Sets the root path to .ccproj

IBuildActivity ( string uriEndpoint, string cscfgFilePath ) : IHostedServiceActivity

Sets the endpoint for the package instead of doing an upload

ICertificateActivity ( X509Certificate2 certificate ) : IDeploymentActivity

Adds a management certificate to the request

ICertificateActivity ( string thumbprint ) : IDeploymentActivity

Given a certificate thumbprint scours several local stores to find the cert by thumbprint

IDefinitionActivity ( string name ) : IRemoteDesktop

Used to enable remote desktop

IDefinitionActivity ( string name ) : IServiceCertificate

Enables SSL for the particular role by updating the necessary config

IDeploymentActivity ( string name ) : IBuildActivity

Sets the deployment name for a new deployment

IDeploymentActivity ( ) : IQueryCloudService

Just used for a service information query

IDeploymentConfigurationFileActivity ( string directoryName ) : IDeploymentConfigurationStorageActivity
IDeploymentConfigurationParamActivity ( DeploymentSlot slot ) : IDeploymentConfigurationParamActivity

Sets the deployment slot for the deployment in productino or staging

IDeploymentConfigurationParamActivity ( string description ) : IDeploymentConfigurationParamActivity
IDeploymentConfigurationParamActivity ( DeploymentParams pParams ) : IRoleReference

Adds the params to start the service automatically and report on errors

IDeploymentConfigurationStorageActivity ( string storageAccountName ) : IDeploymentConfigurationParamActivity
IHostedServiceActivity ( string name ) : IDeploymentConfigurationStorageActivity

Will use an existing hosted service to deploy the deployment to

IQueryCloudService ( string serviceName ) : CscfgFile

Gets the deployment configuration in the production slot for a cloud service

IQueryCloudService ( ) : List

Gets a list of cloud services with their attached deployments

IQueryCloudService ( string serviceName ) : List

Gets a list of role names for a particular hosted service in the production slot

IRemoteDesktop ( string username, string password ) : IServiceCertificate

Sets the username and password for the remote desktop configuration

IRoleActivity ( int count ) : IRoleReference

Changes the instance count defined in the .cscfg file

IRoleReference ( string name ) : IRoleActivity

Defines additional roles that the operation should be done on

IRoleReference ( string filename ) : IRoleReference

Replaces a configuration with a new .cscfg configuration

IRoleReference ( ) : IServiceCompleteActivity
IServiceCertificate ( string name ) : IHostedServiceActivity

Generates a service certificate and adds the appropriate text to the tag in the .cscfg file

IServiceCertificate ( string thumbprint, string password ) : IHostedServiceActivity

Given a thumbprint and password will search the local stores to find a certificate and associated private key

IServiceCompleteActivity ( ) : IServiceTransaction

Goes through an effective script to determine what the user wants to do - this will involve setting up a new hosted service or using an existing one and possibly modifying config file as well as going through a build step

ReturnBase64AmmendedString ( ) : string

Returns a Base64 encoded string - of the .cscfg

WriteComplete ( EventPoint point, string message ) : void

Method Details

IDeploymentConfigurationParamActivity() public method

Used to create a hosted service only without an attached deployment
public IDeploymentConfigurationParamActivity ( ) : void
return void

IHostedServiceActivity() public method

Deletes an existing hosted service and any deployments associated with it
public IHostedServiceActivity ( string name ) : void
name string the name of the hosted service
return void

SetCspkgEndpoint() public method

public SetCspkgEndpoint ( Uri uriEndpoint, System.Xml.Linq.XDocument configuration ) : IHostedServiceActivity
uriEndpoint System.Uri
configuration System.Xml.Linq.XDocument
return IHostedServiceActivity

Property Details

CscfgFileInstance public_oe property

The .csdef and .cscfg files are wrapped up in the ConfigurationFile classes
public ConfigurationFile,Elastacloud.AzureManagement.Fluent.Types CscfgFileInstance
return Elastacloud.AzureManagement.Fluent.Types.ConfigurationFile