C# Класс Material.EBDeployer.DeployLogic.EB.ElasticBeanstalkService

Наследование: IElasticBeanstalkService
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

CreateOrUpdateApplicationAsync() публичный Метод

public CreateOrUpdateApplicationAsync ( CreateApplicationVersionRequest createApplicationVersionRequest ) : System.Threading.Tasks.Task
createApplicationVersionRequest Amazon.ElasticBeanstalk.Model.CreateApplicationVersionRequest
Результат System.Threading.Tasks.Task

DockerEnsureInitialEnvironmentSetupAsync() публичный Метод

public DockerEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
Результат System.Threading.Tasks.Task

ElasticBeanstalkService() публичный Метод

public ElasticBeanstalkService ( IElasticBeanstalkServiceConfigurationProvider configurationProvider, ILoggerProvider loggerProvider ) : System
configurationProvider IElasticBeanstalkServiceConfigurationProvider
loggerProvider ILoggerProvider
Результат System

EnsureTerminationsCompleteAsync() публичный Метод

public EnsureTerminationsCompleteAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

GetEnvironmentDescription() публичный Метод

public GetEnvironmentDescription ( Environment environment ) : Task
environment System.Environment
Результат Task

IisEnsureInitialEnvironmentSetupAsync() публичный Метод

public IisEnsureInitialEnvironmentSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
Результат System.Threading.Tasks.Task

PurgeOldApplicationVersionsAsync() публичный Метод

public PurgeOldApplicationVersionsAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

SingleSiteDockerApplicationEnsureSetupAsync() публичный Метод

public SingleSiteDockerApplicationEnsureSetupAsync ( List optionSettings ) : System.Threading.Tasks.Task
optionSettings List
Результат System.Threading.Tasks.Task

SwapEnvironmentCnamesAsync() публичный Метод

public SwapEnvironmentCnamesAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

UpdateEnvironmentAsync() публичный Метод

public UpdateEnvironmentAsync ( Environment environment, List additionalOptions = null ) : System.Threading.Tasks.Task
environment System.Environment
additionalOptions List
Результат System.Threading.Tasks.Task

UpdateEnvironmentVariablesAsync() публичный Метод

public UpdateEnvironmentVariablesAsync ( Environment environment, List settings ) : System.Threading.Tasks.Task
environment System.Environment
settings List
Результат System.Threading.Tasks.Task

WaitForEnvironmentCompletionAsync() публичный Метод

public WaitForEnvironmentCompletionAsync ( string environmentId ) : System.Threading.Tasks.Task
environmentId string
Результат System.Threading.Tasks.Task