|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"project": "11111111-1111-1111-1111-111111111111", "commercial_type": |
| 4 | + "DEV1-S", "name": "test-sdk-python-fixture", "dynamic_ip_required": false, "image": |
| 5 | + "c00ae53c-1e29-4087-a384-47f3c5c1cd84", "protected": false, "boot_type": "local"}' |
| 6 | + headers: |
| 7 | + Content-Length: |
| 8 | + - '236' |
| 9 | + user-agent: |
| 10 | + - scaleway-sdk-python/2.0.0 |
| 11 | + method: POST |
| 12 | + uri: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers |
| 13 | + response: |
| 14 | + body: |
| 15 | + string: '{"server": {"id": "66a3b25b-4518-43c3-9e61-33b82873d617", "name": "test-sdk-python-fixture", |
| 16 | + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": |
| 17 | + "11111111-1111-1111-1111-111111111111", "project": "11111111-1111-1111-1111-111111111111", |
| 18 | + "hostname": "test-sdk-python-fixture", "image": {"id": "c00ae53c-1e29-4087-a384-47f3c5c1cd84", |
| 19 | + "name": "Ubuntu 20.04 Focal Fossa", "organization": "11111111-1111-1111-1111-111111111111", |
| 20 | + "project": "11111111-1111-1111-1111-111111111111", "root_volume": {"id": "6644dfd6-0731-45cc-a581-62f561eff7bf", |
| 21 | + "name": "Ubuntu 20.04 Focal Fossa", "volume_type": "l_ssd", "size": 10000000000}, |
| 22 | + "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2025-02-03T13:36:50.774356+00:00", |
| 23 | + "modification_date": "2025-02-03T13:36:50.774356+00:00", "default_bootscript": |
| 24 | + null, "from_server": "", "state": "available", "tags": [], "zone": "fr-par-1"}, |
| 25 | + "volumes": {"0": {"boot": false, "id": "bda6aff6-7ca2-41de-a3fb-47be986c5c0a", |
| 26 | + "name": "Ubuntu 20.04 Focal Fossa", "volume_type": "l_ssd", "export_uri": |
| 27 | + null, "organization": "11111111-1111-1111-1111-111111111111", "project": "11111111-1111-1111-1111-111111111111", |
| 28 | + "server": {"id": "66a3b25b-4518-43c3-9e61-33b82873d617", "name": "test-sdk-python-fixture"}, |
| 29 | + "size": 20000000000, "state": "available", "creation_date": "2025-09-16T17:38:27.303680+00:00", |
| 30 | + "modification_date": "2025-09-16T17:38:27.303680+00:00", "tags": [], "zone": |
| 31 | + "fr-par-1"}}, "tags": [], "state": "stopped", "protected": false, "state_detail": |
| 32 | + "", "public_ip": null, "public_ips": [], "mac_address": "de:00:00:c8:be:d7", |
| 33 | + "routed_ip_enabled": true, "ipv6": null, "extra_networks": [], "dynamic_ip_required": |
| 34 | + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2025-09-16T17:38:27.303680+00:00", |
| 35 | + "modification_date": "2025-09-16T17:38:27.303680+00:00", "bootscript": null, |
| 36 | + "security_group": {"id": "1c1fc99f-b2de-408d-9eb0-da801a3e2744", "name": "Default |
| 37 | + security group"}, "location": null, "maintenances": [], "allowed_actions": |
| 38 | + ["poweron", "backup"], "placement_group": null, "private_nics": [], "zone": |
| 39 | + "fr-par-1", "filesystems": [], "end_of_service": false}}' |
| 40 | + headers: |
| 41 | + content-length: |
| 42 | + - '2163' |
| 43 | + date: |
| 44 | + - Tue, 16 Sep 2025 17:38:27 GMT |
| 45 | + location: |
| 46 | + - https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/66a3b25b-4518-43c3-9e61-33b82873d617 |
| 47 | + server: |
| 48 | + - Scaleway API Gateway (fr-par-2;edge02) |
| 49 | + x-request-id: |
| 50 | + - cf1425a5-4c54-464b-bfa3-b175537ec160 |
| 51 | + status: |
| 52 | + code: 201 |
| 53 | + message: Created |
| 54 | +- request: |
| 55 | + body: '{}' |
| 56 | + headers: |
| 57 | + Content-Length: |
| 58 | + - '2' |
| 59 | + user-agent: |
| 60 | + - scaleway-sdk-python/2.0.0 |
| 61 | + method: GET |
| 62 | + uri: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/66a3b25b-4518-43c3-9e61-33b82873d617 |
| 63 | + response: |
| 64 | + body: |
| 65 | + string: '{"server": {"id": "66a3b25b-4518-43c3-9e61-33b82873d617", "name": "test-sdk-python-fixture", |
| 66 | + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": |
| 67 | + "11111111-1111-1111-1111-111111111111", "project": "11111111-1111-1111-1111-111111111111", |
| 68 | + "hostname": "test-sdk-python-fixture", "image": {"id": "c00ae53c-1e29-4087-a384-47f3c5c1cd84", |
| 69 | + "name": "Ubuntu 20.04 Focal Fossa", "organization": "11111111-1111-1111-1111-111111111111", |
| 70 | + "project": "11111111-1111-1111-1111-111111111111", "root_volume": {"id": "6644dfd6-0731-45cc-a581-62f561eff7bf", |
| 71 | + "name": "Ubuntu 20.04 Focal Fossa", "volume_type": "l_ssd", "size": 10000000000}, |
| 72 | + "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": "2025-02-03T13:36:50.774356+00:00", |
| 73 | + "modification_date": "2025-02-03T13:36:50.774356+00:00", "default_bootscript": |
| 74 | + null, "from_server": "", "state": "available", "tags": [], "zone": "fr-par-1"}, |
| 75 | + "volumes": {"0": {"boot": false, "id": "bda6aff6-7ca2-41de-a3fb-47be986c5c0a", |
| 76 | + "name": "Ubuntu 20.04 Focal Fossa", "volume_type": "l_ssd", "export_uri": |
| 77 | + null, "organization": "11111111-1111-1111-1111-111111111111", "project": "11111111-1111-1111-1111-111111111111", |
| 78 | + "server": {"id": "66a3b25b-4518-43c3-9e61-33b82873d617", "name": "test-sdk-python-fixture"}, |
| 79 | + "size": 20000000000, "state": "available", "creation_date": "2025-09-16T17:38:27.303680+00:00", |
| 80 | + "modification_date": "2025-09-16T17:38:27.303680+00:00", "tags": [], "zone": |
| 81 | + "fr-par-1"}}, "tags": [], "state": "stopped", "protected": false, "state_detail": |
| 82 | + "", "public_ip": null, "public_ips": [], "mac_address": "de:00:00:c8:be:d7", |
| 83 | + "routed_ip_enabled": true, "ipv6": null, "extra_networks": [], "dynamic_ip_required": |
| 84 | + false, "enable_ipv6": false, "private_ip": null, "creation_date": "2025-09-16T17:38:27.303680+00:00", |
| 85 | + "modification_date": "2025-09-16T17:38:27.303680+00:00", "bootscript": null, |
| 86 | + "security_group": {"id": "1c1fc99f-b2de-408d-9eb0-da801a3e2744", "name": "Default |
| 87 | + security group"}, "location": null, "maintenances": [], "allowed_actions": |
| 88 | + ["poweron", "backup"], "placement_group": null, "private_nics": [], "zone": |
| 89 | + "fr-par-1", "filesystems": [], "end_of_service": false}}' |
| 90 | + headers: |
| 91 | + content-length: |
| 92 | + - '2163' |
| 93 | + date: |
| 94 | + - Tue, 16 Sep 2025 17:38:30 GMT |
| 95 | + server: |
| 96 | + - Scaleway API Gateway (fr-par-2;edge03) |
| 97 | + x-request-id: |
| 98 | + - b5cdd266-e8db-4235-9191-80b4fe13dc4b |
| 99 | + status: |
| 100 | + code: 200 |
| 101 | + message: OK |
| 102 | +- request: |
| 103 | + body: '{}' |
| 104 | + headers: |
| 105 | + Content-Length: |
| 106 | + - '2' |
| 107 | + user-agent: |
| 108 | + - scaleway-sdk-python/2.0.0 |
| 109 | + method: DELETE |
| 110 | + uri: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/66a3b25b-4518-43c3-9e61-33b82873d617 |
| 111 | + response: |
| 112 | + body: |
| 113 | + string: '' |
| 114 | + headers: |
| 115 | + date: |
| 116 | + - Tue, 16 Sep 2025 17:38:47 GMT |
| 117 | + server: |
| 118 | + - Scaleway API Gateway (fr-par-2;edge01) |
| 119 | + x-request-id: |
| 120 | + - c35b3c38-2ac3-448a-96ce-df5674242d5f |
| 121 | + status: |
| 122 | + code: 204 |
| 123 | + message: No Content |
| 124 | +version: 1 |
0 commit comments