app/models/manageiq/providers/azure/cloud_manager/provision/options_helper.rb
module ManageIQ::Providers::Azure::CloudManager::Provision::OptionsHelper
def root_password
ManageIQ::Password.decrypt(options[:root_password]) if options[:root_password]
end
def resource_group
@resource_group ||= ResourceGroup.find_by(:id => options[:resource_group])
end
def security_group
@security_group ||= SecurityGroup.find_by(:id => get_option(:security_groups))
end
end