Class: OpsManagerUiDrivers::Version17::Settings::AWS
- Inherits:
-
Object
- Object
- OpsManagerUiDrivers::Version17::Settings::AWS
- Defined in:
- lib/ops_manager_ui_drivers/version17/settings.rb
Class Method Summary collapse
Instance Method Summary collapse
- #advanced_infrastructure_config_fields ⇒ Object
- #iaas_configuration_fields ⇒ Object
-
#initialize(test_settings) ⇒ AWS
constructor
A new instance of AWS.
Constructor Details
#initialize(test_settings) ⇒ AWS
Returns a new instance of AWS.
78 79 80 |
# File 'lib/ops_manager_ui_drivers/version17/settings.rb', line 78 def initialize(test_settings) @test_settings = test_settings end |
Class Method Details
.works_with?(iaas_type) ⇒ Boolean
74 75 76 |
# File 'lib/ops_manager_ui_drivers/version17/settings.rb', line 74 def self.works_with?(iaas_type) iaas_type == 'aws' end |
Instance Method Details
#advanced_infrastructure_config_fields ⇒ Object
95 96 97 |
# File 'lib/ops_manager_ui_drivers/version17/settings.rb', line 95 def advanced_infrastructure_config_fields { } end |
#iaas_configuration_fields ⇒ Object
82 83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/ops_manager_ui_drivers/version17/settings.rb', line 82 def iaas_configuration_fields { 'access_key_id' => test_settings.ops_manager.aws.aws_access_key, 'secret_access_key' => test_settings.ops_manager.aws.aws_secret_key, 'vpc_id' => test_settings.ops_manager.aws.vpc_id, 'security_group' => test_settings.ops_manager.aws.security_group, 'key_pair_name' => test_settings.ops_manager.aws.key_pair_name, 'ssh_private_key' => test_settings.ops_manager.aws.ssh_key, 'region' => test_settings.ops_manager.aws.region, 'encrypted' => test_settings.ops_manager.aws.encrypt_disk, } end |