--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@:80/virtual_machines/404/stop.json body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 date: - Thu, 09 Feb 2012 14:46:27 GMT server: - Apache/2.2.3 (CentOS) x-runtime: - "0.027202" set-cookie: - cache-control: - no-cache status: - "404" transfer-encoding: - chunked body: "{\"errors\":[\"Resource not found\"]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://:@:80/virtual_machines/1/stop.json body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge,chrome=1 location: - http:///virtual_machines/cjiul6p4pljqzy x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.064845" server: - Apache/2.2.3 (CentOS) date: - Thu, 09 Feb 2012 14:46:27 GMT set-cookie: - status: - "201" cache-control: - no-cache transfer-encoding: - chunked body: "{\"virtual_machine\":{\"monthly_bandwidth_used\":25927,\"aflexi_id\":null,\"cpus\":1,\"label\":\"oscar-vm-do-not-delete\",\"created_at\":\"2011-12-19T16:34:51Z\",\"operating_system_distro\":\"ubuntu\",\"cpu_shares\":34,\"enable_autoscale\":true,\"operating_system\":\"linux\",\"template_id\":264,\"allowed_swap\":true,\"local_remote_access_port\":5905,\"memory\":1000,\"updated_at\":\"2012-02-09T14:46:27Z\",\"allow_resize_without_reboot\":false,\"recovery_mode\":false,\"enable_monitis\":true,\"hypervisor_id\":1,\"id\":1343,\"update_billing_stat\":true,\"xen_id\":517,\"admin_note\":null,\"allowed_hot_migrate\":false,\"user_id\":942,\"note\":null,\"strict_virtual_machine_id\":null,\"suspended\":true,\"vip\":true,\"booted\":true,\"hostname\":\"t\",\"max_memory\":16000,\"template_label\":\"Debian 6.0.0 LAMP x64\",\"total_disk_size\":10,\"add_to_marketplace\":null,\"identifier\":\"cjiul6p4pljqzy\",\"initial_root_password\":\"11111111-t\",\"min_disk_size\":5,\"remote_access_password\":\"2zxybrrq0lyq\",\"built\":true,\"locked\":true,\"state\":\"new\",\"ip_addresses\":[{\"ip_address\":{\"address\":\"109.123.105.212\",\"disallowed_primary\":false,\"netmask\":\"255.255.255.240\",\"created_at\":\"2010-10-27T15:28:22Z\",\"broadcast\":\"109.123.105.223\",\"updated_at\":\"2011-10-10T09:03:14Z\",\"network_id\":1,\"network_address\":\"109.123.105.208\",\"id\":17,\"free\":false,\"gateway\":\"109.123.105.209\"}}]}}" http_version: "1.1"