class OpsManagerUiDrivers::Version110::Settings::Azure

Public Class Methods

new(test_settings) click to toggle source
# File lib/ops_manager_ui_drivers/version110/settings.rb, line 77
def initialize(test_settings)
  @test_settings = test_settings
end
works_with?(iaas_type) click to toggle source
# File lib/ops_manager_ui_drivers/version110/settings.rb, line 73
def self.works_with?(iaas_type)
  iaas_type == 'azure'
end

Public Instance Methods

advanced_infrastructure_config_fields() click to toggle source
# File lib/ops_manager_ui_drivers/version110/settings.rb, line 96
def advanced_infrastructure_config_fields
  {
  }
end
iaas_configuration_fields() click to toggle source
# File lib/ops_manager_ui_drivers/version110/settings.rb, line 81
def iaas_configuration_fields
  {
    'subscription_id' => @test_settings.dig('ops_manager', 'azure', 'subscription_id'),
    'tenant_id' => @test_settings.dig('ops_manager', 'azure', 'tenant_id'),
    'client_id' => @test_settings.dig('ops_manager', 'azure', 'client_id'),
    'client_secret' => @test_settings.dig('ops_manager', 'azure', 'client_secret'),
    'resource_group_name' => @test_settings.dig('ops_manager', 'azure', 'resource_group_name'),
    'bosh_storage_account_name' => @test_settings.dig('ops_manager', 'azure', 'bosh_storage_account_name'),
    'deployments_storage_account_name' => @test_settings.dig('ops_manager', 'azure', 'deployments_storage_account_name'),
    'default_security_group' => @test_settings.dig('ops_manager', 'azure', 'default_security_group'),
    'ssh_public_key' => @test_settings.dig('ops_manager', 'azure', 'ssh_public_key'),
    'ssh_private_key' => @test_settings.dig('ops_manager', 'azure', 'ssh_private_key'),
  }
end