---
version: 1
interactions:
- request:
    body: '{"name":"instance_utils_test","image":"f974feac-abae-4365-b988-8ec7d1cec10d","organization":"d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers
    method: POST
  response:
    body: '{"server": {"allowed_actions": ["poweron", "backup"], "maintenances": [],
      "state_detail": "", "image": {"creation_date": "2019-03-05T10:13:15.974944+00:00",
      "default_bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "from_server": null, "arch": "x86_64", "id": "f974feac-abae-4365-b988-8ec7d1cec10d",
      "root_volume": {"size": 10000000000, "id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84",
      "volume_type": "l_ssd", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"},
      "name": "Ubuntu Bionic Beaver", "modification_date": "2019-03-05T13:32:29.274319+00:00",
      "state": "available", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db",
      "extra_volumes": {}, "public": true}, "creation_date": "2019-05-24T12:21:50.192333+00:00",
      "public_ip": null, "private_ip": null, "id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "dynamic_ip_required": true, "modification_date": "2019-05-24T12:21:50.553854+00:00",
      "enable_ipv6": false, "hostname": "instance-utils-test", "state": "stopped",
      "bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "location": null, "boot_type": "bootscript", "ipv6": null,
      "commercial_type": "START1-S", "tags": [], "arch": "x86_64", "extra_networks":
      [], "compute_cluster": null, "name": "instance_utils_test", "protected": false,
      "volumes": {"0": {"size": 50000000000, "state": "available", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13",
      "modification_date": "2019-05-24T12:21:50.474020+00:00", "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3",
      "export_uri": null, "creation_date": "2019-05-24T12:21:50.192333+00:00", "id":
      "074ca412-16b8-4488-8dcd-803ee1a64621", "volume_type": "l_ssd", "server": {"id":
      "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438", "name": "instance_utils_test"}}}, "security_group":
      {"id": "9f073e03-5511-4863-ae23-9cb0deb82426", "name": "Default security group"},
      "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "2716"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:21:50 GMT
      Location:
      - https://cp-par1.scaleway.com/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 201 Created
    code: 201
    duration: ""
- request:
    body: '{"organization":"d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips
    method: POST
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      null, "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": null, "address":
      "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "172"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:21:51 GMT
      Location:
      - https://cp-par1.scaleway.com/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 201 Created
    code: 201
    duration: ""
- request:
    body: '{"server":"3ae0a3b4-e8e4-4cdd-943a-1050afbb3438"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: PATCH
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      null, "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": {"id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "name": "instance_utils_test"}, "address": "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "245"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:21:51 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"server":null}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: PATCH
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      null, "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": null, "address":
      "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "172"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:21:59 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"reverse":"1.1.1.1"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: PATCH
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      "1.1.1.1", "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": null, "address":
      "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "177"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:09 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: PATCH
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      "1.1.1.1", "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": null, "address":
      "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "177"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:09 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"reverse":null}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: PATCH
  response:
    body: '{"ip": {"organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3", "reverse":
      null, "id": "0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41", "server": null, "address":
      "163.172.182.86"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "172"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:10 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips/0e6cb5a9-7fc2-4083-9125-7fc8e2c92f41
    method: DELETE
  response:
    body: ""
    headers:
      Cache-Control:
      - no-cache
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:18 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 204 No Content
    code: 204
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/074ca412-16b8-4488-8dcd-803ee1a64621
    method: GET
  response:
    body: '{"volume": {"size": 50000000000, "state": "available", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13",
      "modification_date": "2019-05-24T12:21:50.474020+00:00", "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3",
      "export_uri": null, "creation_date": "2019-05-24T12:21:50.192333+00:00", "id":
      "074ca412-16b8-4488-8dcd-803ee1a64621", "volume_type": "l_ssd", "server": {"id":
      "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438", "name": "instance_utils_test"}}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "474"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:18 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
    method: GET
  response:
    body: '{"server": {"allowed_actions": ["poweron", "backup"], "maintenances": [],
      "state_detail": "", "image": {"creation_date": "2019-03-05T10:13:15.974944+00:00",
      "default_bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "from_server": null, "arch": "x86_64", "id": "f974feac-abae-4365-b988-8ec7d1cec10d",
      "root_volume": {"size": 10000000000, "id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84",
      "volume_type": "l_ssd", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"},
      "name": "Ubuntu Bionic Beaver", "modification_date": "2019-03-05T13:32:29.274319+00:00",
      "state": "available", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db",
      "extra_volumes": {}, "public": true}, "creation_date": "2019-05-24T12:21:50.192333+00:00",
      "public_ip": null, "private_ip": null, "id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "dynamic_ip_required": true, "modification_date": "2019-05-24T12:21:50.553854+00:00",
      "enable_ipv6": false, "hostname": "instance-utils-test", "state": "stopped",
      "bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "location": null, "boot_type": "bootscript", "ipv6": null,
      "commercial_type": "START1-S", "tags": [], "arch": "x86_64", "extra_networks":
      [], "compute_cluster": null, "name": "instance_utils_test", "protected": false,
      "volumes": {"0": {"size": 50000000000, "state": "available", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13",
      "modification_date": "2019-05-24T12:21:50.474020+00:00", "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3",
      "export_uri": null, "creation_date": "2019-05-24T12:21:50.192333+00:00", "id":
      "074ca412-16b8-4488-8dcd-803ee1a64621", "volume_type": "l_ssd", "server": {"id":
      "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438", "name": "instance_utils_test"}}}, "security_group":
      {"id": "9f073e03-5511-4863-ae23-9cb0deb82426", "name": "Default security group"},
      "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "2716"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:18 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"volumes":{}}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
    method: PATCH
  response:
    body: '{"server": {"allowed_actions": ["poweron", "backup"], "maintenances": [],
      "state_detail": "", "image": {"creation_date": "2019-03-05T10:13:15.974944+00:00",
      "default_bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "from_server": null, "arch": "x86_64", "id": "f974feac-abae-4365-b988-8ec7d1cec10d",
      "root_volume": {"size": 10000000000, "id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84",
      "volume_type": "l_ssd", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"},
      "name": "Ubuntu Bionic Beaver", "modification_date": "2019-03-05T13:32:29.274319+00:00",
      "state": "available", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db",
      "extra_volumes": {}, "public": true}, "creation_date": "2019-05-24T12:21:50.192333+00:00",
      "public_ip": null, "private_ip": null, "id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "dynamic_ip_required": true, "modification_date": "2019-05-24T12:21:50.553854+00:00",
      "enable_ipv6": false, "hostname": "instance-utils-test", "state": "stopped",
      "bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "location": null, "boot_type": "bootscript", "ipv6": null,
      "commercial_type": "START1-S", "tags": [], "arch": "x86_64", "extra_networks":
      [], "compute_cluster": null, "name": "instance_utils_test", "protected": false,
      "volumes": {}, "security_group": {"id": "9f073e03-5511-4863-ae23-9cb0deb82426",
      "name": "Default security group"}, "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "2249"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:18 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
    method: GET
  response:
    body: '{"server": {"allowed_actions": ["poweron", "backup"], "maintenances": [],
      "state_detail": "", "image": {"creation_date": "2019-03-05T10:13:15.974944+00:00",
      "default_bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "from_server": null, "arch": "x86_64", "id": "f974feac-abae-4365-b988-8ec7d1cec10d",
      "root_volume": {"size": 10000000000, "id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84",
      "volume_type": "l_ssd", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"},
      "name": "Ubuntu Bionic Beaver", "modification_date": "2019-03-05T13:32:29.274319+00:00",
      "state": "available", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db",
      "extra_volumes": {}, "public": true}, "creation_date": "2019-05-24T12:21:50.192333+00:00",
      "public_ip": null, "private_ip": null, "id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "dynamic_ip_required": true, "modification_date": "2019-05-24T12:21:50.553854+00:00",
      "enable_ipv6": false, "hostname": "instance-utils-test", "state": "stopped",
      "bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "location": null, "boot_type": "bootscript", "ipv6": null,
      "commercial_type": "START1-S", "tags": [], "arch": "x86_64", "extra_networks":
      [], "compute_cluster": null, "name": "instance_utils_test", "protected": false,
      "volumes": {}, "security_group": {"id": "9f073e03-5511-4863-ae23-9cb0deb82426",
      "name": "Default security group"}, "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "2249"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:18 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"volumes":{"0":{"id":"074ca412-16b8-4488-8dcd-803ee1a64621","name":"074ca412-16b8-4488-8dcd-803ee1a64621"}}}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
    method: PATCH
  response:
    body: '{"server": {"allowed_actions": ["poweron", "backup"], "maintenances": [],
      "state_detail": "", "image": {"creation_date": "2019-03-05T10:13:15.974944+00:00",
      "default_bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "from_server": null, "arch": "x86_64", "id": "f974feac-abae-4365-b988-8ec7d1cec10d",
      "root_volume": {"size": 10000000000, "id": "dd5f5c10-23b1-4c9c-8445-eb6740957c84",
      "volume_type": "l_ssd", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13"},
      "name": "Ubuntu Bionic Beaver", "modification_date": "2019-03-05T13:32:29.274319+00:00",
      "state": "available", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db",
      "extra_volumes": {}, "public": true}, "creation_date": "2019-05-24T12:21:50.192333+00:00",
      "public_ip": null, "private_ip": null, "id": "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438",
      "dynamic_ip_required": true, "modification_date": "2019-05-24T12:21:50.553854+00:00",
      "enable_ipv6": false, "hostname": "instance-utils-test", "state": "stopped",
      "bootscript": {"kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.9-4.9.93-rev1/vmlinuz-4.9.93",
      "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", "default":
      false, "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "architecture":
      "x86_64", "title": "x86_64 mainline 4.9.93 rev1", "dtb": "", "organization":
      "11111111-1111-4111-8111-111111111111", "id": "15fbd2f7-a0f9-412b-8502-6a44da8d98b8",
      "public": false}, "location": null, "boot_type": "bootscript", "ipv6": null,
      "commercial_type": "START1-S", "tags": [], "arch": "x86_64", "extra_networks":
      [], "compute_cluster": null, "name": "instance_utils_test", "protected": false,
      "volumes": {"0": {"size": 50000000000, "state": "available", "name": "snapshot-de728daa-0bf6-4c64-abf5-a9477e791c83-2019-03-05_10:13",
      "modification_date": "2019-05-24T12:22:19.459669+00:00", "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3",
      "export_uri": null, "creation_date": "2019-05-24T12:21:50.192333+00:00", "id":
      "074ca412-16b8-4488-8dcd-803ee1a64621", "volume_type": "l_ssd", "server": {"id":
      "3ae0a3b4-e8e4-4cdd-943a-1050afbb3438", "name": "instance_utils_test"}}}, "security_group":
      {"id": "9f073e03-5511-4863-ae23-9cb0deb82426", "name": "Default security group"},
      "organization": "d429f6a1-c0a6-48cf-8b5a-1f9dfe76ffd3"}}'
    headers:
      Cache-Control:
      - no-cache
      Content-Length:
      - "2716"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:19 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/3ae0a3b4-e8e4-4cdd-943a-1050afbb3438
    method: DELETE
  response:
    body: ""
    headers:
      Cache-Control:
      - no-cache
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:19 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 204 No Content
    code: 204
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/0.0.0
    url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/074ca412-16b8-4488-8dcd-803ee1a64621
    method: DELETE
  response:
    body: ""
    headers:
      Cache-Control:
      - no-cache
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Fri, 24 May 2019 12:22:19 GMT
      Server:
      - scaleway_api
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
    status: 204 No Content
    code: 204
    duration: ""
