C# Class Material.EBDeployer.DeployLogic.EB.ElasticBeanstalkService

Inheritance: IElasticBeanstalkService
Exibir arquivo Open project: MaterialDev/elastic-beanstalk-deploy Class Usage Examples

Public Methods

Method Description
CreateOrUpdateApplicationAsync ( CreateApplicationVersionRequest createApplicationVersionRequest ) : System.Threading.Tasks.Task

DockerEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
ElasticBeanstalkService ( IElasticBeanstalkServiceConfigurationProvider configurationProvider, ILoggerProvider loggerProvider ) : System
EnsureTerminationsCompleteAsync ( ) : System.Threading.Tasks.Task
GetEnvironmentDescription ( Environment environment ) : Task
IisEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
PurgeOldApplicationVersionsAsync ( ) : System.Threading.Tasks.Task
SingleSiteDockerApplicationEnsureSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
SwapEnvironmentCnamesAsync ( ) : System.Threading.Tasks.Task
UpdateEnvironmentAsync ( Environment environment, List additionalOptions = null ) : System.Threading.Tasks.Task
UpdateEnvironmentVariablesAsync ( Environment environment, List settings ) : System.Threading.Tasks.Task
WaitForEnvironmentCompletionAsync ( string environmentId ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateDockerCurrentEnvironmentAsync ( string environmentIdentifier, List optionSettings ) : System.Threading.Tasks.Task
CreateDockerNextEnvironmentAsync ( string environmentIdentifier, List vpcConfigurationOptionSettings ) : System.Threading.Tasks.Task
CreateDockerNextEnvironmentAsync ( string environmentIdentifier, string version, List optionSettings ) : System.Threading.Tasks.Task
CreateIisCurrentEnvironmentAsync ( string environmentIdentifier, List optionSettings ) : System.Threading.Tasks.Task
CreateIisNextEnvironmentAsync ( string environmentIdentifier, List vpcConfigurationOptionSettings ) : System.Threading.Tasks.Task
CreateIisNextEnvironmentAsync ( string environmentIdentifier, string version, List optionSettings ) : System.Threading.Tasks.Task
DescribeEnvironmentsWithRetryAsync ( AmazonElasticBeanstalkClient ebClient, string environmentId, int retryCount = 2, int interval = 5 ) : Task

Calls DescribeEnvironmentsAsync with a retry count where if the response returns no environments, it'll retry retryCount times with a interval second sleep

EnsureCreateEnvironmentCompleteAsync ( string environmentId ) : System.Threading.Tasks.Task

Checks that the environment is created before

GenerateCreateDockerEnvRequest ( List optionSettings, string currentEnvironmentName, string cNamePrefix ) : CreateEnvironmentRequest
GetAppSpecificCreateConfigurationOptionSettings ( ) : List
GetAppSpecificUpdateConfigurationOptionSettings ( ) : List
GetCurrentEnvironmentDescriptionAsync ( ) : Task
GetEnvironmentDescription ( Environment environment, AmazonElasticBeanstalkClient ebClient ) : Task
GetHttpConfigurationOptionSettings ( string allowHttpFlag ) : List

GetHttpsConfigurationOptionSettings ( string allowHttpsFlag ) : List

InjectAppSpecificOptionSettings ( IEnumerable optionSettings, IEnumerable optionSettingsApp ) : List
IsEnvironmentReadyAsync ( string environmentId ) : Task
IsNewApplicationAsync ( AmazonElasticBeanstalkClient client ) : Task
UpdateEnvironmentInternalAsync ( Environment environment, List baseConfigurationOptionSettings ) : System.Threading.Tasks.Task
WaitForCnameSwapToCompleteAsync ( string nextEnvironmentId, string nextUrlPrefix, string currentEnvironmentId, string currentUrlPrefix ) : System.Threading.Tasks.Task

Method Details

CreateOrUpdateApplicationAsync() public method

public CreateOrUpdateApplicationAsync ( CreateApplicationVersionRequest createApplicationVersionRequest ) : System.Threading.Tasks.Task
createApplicationVersionRequest Amazon.ElasticBeanstalk.Model.CreateApplicationVersionRequest
return System.Threading.Tasks.Task

DockerEnsureInitialEnvironmentSetupAsync() public method

public DockerEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
return System.Threading.Tasks.Task

ElasticBeanstalkService() public method

public ElasticBeanstalkService ( IElasticBeanstalkServiceConfigurationProvider configurationProvider, ILoggerProvider loggerProvider ) : System
configurationProvider IElasticBeanstalkServiceConfigurationProvider
loggerProvider ILoggerProvider
return System

EnsureTerminationsCompleteAsync() public method

public EnsureTerminationsCompleteAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetEnvironmentDescription() public method

public GetEnvironmentDescription ( Environment environment ) : Task
environment System.Environment
return Task

IisEnsureInitialEnvironmentSetupAsync() public method

public IisEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
return System.Threading.Tasks.Task

PurgeOldApplicationVersionsAsync() public method

public PurgeOldApplicationVersionsAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SingleSiteDockerApplicationEnsureSetupAsync() public method

public SingleSiteDockerApplicationEnsureSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
return System.Threading.Tasks.Task

SwapEnvironmentCnamesAsync() public method

public SwapEnvironmentCnamesAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UpdateEnvironmentAsync() public method

public UpdateEnvironmentAsync ( Environment environment, List additionalOptions = null ) : System.Threading.Tasks.Task
environment System.Environment
additionalOptions List
return System.Threading.Tasks.Task

UpdateEnvironmentVariablesAsync() public method

public UpdateEnvironmentVariablesAsync ( Environment environment, List settings ) : System.Threading.Tasks.Task
environment System.Environment
settings List
return System.Threading.Tasks.Task

WaitForEnvironmentCompletionAsync() public method

public WaitForEnvironmentCompletionAsync ( string environmentId ) : System.Threading.Tasks.Task
environmentId string
return System.Threading.Tasks.Task