C# Class Elastacloud.AzureManagement.Fluent.Services.Classes.DeploymentTransaction

An IServiceTransaction implementation for deployments and hosted services
Inheritance: IServiceTransaction
Mostra file Open project: azurecoder/fluent-management

Public Methods

Method Description
Commit ( ) : dynamic

Used to commit the transaction data

DeploymentTransaction ( DeploymentManager manager ) : System

Constructs a DeploymenTransaction class instance

Rollback ( ) : void

Used to rollback the transaction in the event of failure

Private Methods

Method Description
BackoutBuildStep ( ) : void

BuildAndPrebuildSteps ( ) : void

Build and prebuild steps for the deployment manager when things need to be added

CreateDeployment ( string packageLocation ) : void

Creates a deplopment based on the specific criteria specified in the DeploymentManager

DeleteDeployment ( ) : void

Deletes a deployment to make space for a new one!

DeleteHostedService ( ) : void

Deletes a deployment to make space for a new one!

UploadPackageBlob ( ) : string

This creates a blob container using the default container name "elastadeploy" and uploads the package

Method Details

Commit() public method

Used to commit the transaction data
public Commit ( ) : dynamic
return dynamic

DeploymentTransaction() public method

Constructs a DeploymenTransaction class instance
public DeploymentTransaction ( DeploymentManager manager ) : System
manager DeploymentManager The DeploymentManager class which has the transaction state and context necessary
return System

Rollback() public method

Used to rollback the transaction in the event of failure
public Rollback ( ) : void
return void