def _create_vm_config(self, interface):
<EOL>self._process_image_id()<EOL>hardware_profile = {<EOL>'<STR_LIT>': self.instance_type or AZURE_DEFAULT_TYPE<EOL>}<EOL>network_profile = {<EOL>'<STR_LIT>': [{<EOL>'<STR_LIT:id>': interface.id,<EOL>'<STR_LIT>': True<EOL>}]<EOL>}<EOL>storage_profile = self._create_storage_profile()<EOL>os_profile = {<EOL>'<STR_LIT>': self.running_instance_id,<EOL>'<STR_LIT>': self.ssh_user,<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': True,<EOL>'<STR_LIT>': {<EOL>'<STR_LIT>': [{<EOL>'<STR_LIT:path>': '<STR_LIT>'.format(<EOL>self.ssh_user<EOL>),<EOL>'<STR_LIT>': self.ssh_public_key<EOL>}]<EOL>}<EOL>}<EOL>}<EOL>vm_config = {<EOL>'<STR_LIT:location>': self.region,<EOL>'<STR_LIT>': os_profile,<EOL>'<STR_LIT>': hardware_profile,<EOL>'<STR_LIT>': storage_profile,<EOL>'<STR_LIT>': network_profile<EOL>}<EOL>return vm_config<EOL>
Create the VM config dictionary.

Requires an existing network interface object.