'Implements GenericVmValidateBomDeployer interface.'

def do_create_vm(self, options):

    logging.info('Creating    "%s"    in    resource-group    "%s"', options.deploy_azure_name, options.deploy_azure_resource_group)
    response = check_run_and_monitor('az    vm    create    --name    {name}    --resource-group    {rg}    --location    {location}    --image    Canonical:UbuntuServer:14.04.5-LTS:latest    --use-unmanaged-disk    --storage-sku    Standard_LRS    --size    Standard_D12_v2_Promo    --ssh-key-value    {ssh_key_path}.pub'.format(name=options.deploy_azure_name, rg=options.deploy_azure_resource_group, location=options.deploy_azure_location, ssh_key_path=self.ssh_key_path))
    self.set_instance_ip(json.JSONDecoder().decode(response.stdout)['publicIpAddress'])
