#NEWLINE# @ staticmethod #NEWLINE# def _create_args_to_params( **kwargs ) : #NEWLINE# #INDENT# '\n        Extract server params from keyword args to create a VS\n\n        :param   kwargs: keyword args\n        :return: ``dict``\n        ' #NEWLINE# params = [ 'ex_cpu_sockets' , 'ex_cpu_threads' , 'ex_enable_autoscale' , 'ex_data_store_group_primary_id' , 'ex_data_store_group_swap_id' , 'ex_hypervisor_group_id' , 'ex_hypervisor_id' , 'ex_initial_root_password' , 'ex_note' , 'ex_primary_disk_min_iops' , 'ex_primary_network_id' , 'ex_primary_network_group_id' , 'ex_recipe_ids' , 'ex_required_automatic_backup' , 'ex_required_virtual_machine_startup' , 'ex_required_virtual_machine_startup' , 'ex_selected_ip_address_id' , 'ex_swap_disk_min_iops' , 'ex_type_of_format' , 'ex_custom_recipe_variables' , 'ex_licensing_key' , 'ex_licensing_server_id' , 'ex_licensing_type' ] #NEWLINE# server_params = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for p in kwargs : #NEWLINE# #INDENT# value = kwargs . get ( p ) #NEWLINE# if value : #NEWLINE# #INDENT# server_params [ p [ 3 : ] ] = value #NEWLINE# #UNINDENT# #UNINDENT# return server_params