From ae05828ae88375d645397fde2acd9ee81f02ad49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 14 Sep 2020 15:37:19 +0200 Subject: [PATCH 1/3] feat(vpc): add support to see all servers in a given private network --- go.mod | 2 +- go.sum | 2 + internal/namespaces/vpc/v1/custom.go | 2 + .../vpc/v1/custom_private_network.go | 64 + .../vpc/v1/custom_private_network_test.go | 28 + internal/namespaces/vpc/v1/helper_test.go | 34 + ...t-get-private-network-simple.cassette.yaml | 1499 +++++++++++++++++ .../test-get-private-network-simple.golden | 31 + 8 files changed, 1661 insertions(+), 1 deletion(-) create mode 100644 internal/namespaces/vpc/v1/custom_private_network.go create mode 100644 internal/namespaces/vpc/v1/custom_private_network_test.go create mode 100644 internal/namespaces/vpc/v1/helper_test.go create mode 100644 internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.cassette.yaml create mode 100644 internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden diff --git a/go.mod b/go.mod index c55efdf58b..c19258bff9 100644 --- a/go.mod +++ b/go.mod @@ -22,7 +22,7 @@ require ( github.com/mattn/go-colorable v0.1.4 github.com/mattn/go-isatty v0.0.11 github.com/pkg/errors v0.9.1 // indirect - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200911150340-00656aa3a030 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200914115748-b34ecf5eaa4a github.com/sergi/go-diff v1.0.0 // indirect github.com/spf13/cobra v0.0.5 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 95cea58770..9d8b96a8f5 100644 --- a/go.sum +++ b/go.sum @@ -66,6 +66,8 @@ github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200908180425-0a4ce2d8f2ad github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200908180425-0a4ce2d8f2ad/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200911150340-00656aa3a030 h1:v4Ge/Hm1UnrDP83PG7Spt2dYJT/3+ppruwdYbJ658A4= github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200911150340-00656aa3a030/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200914115748-b34ecf5eaa4a h1:CHGQgSORmr4wK9EbIu5EWHv3ky0bqG0iBgHGMmIZR1o= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.6.0.20200914115748-b34ecf5eaa4a/go.mod h1:CJJ5VAbozOl0yEw7nHB9+7BXTJbIn6h7W+f6Gau5IP8= github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= diff --git a/internal/namespaces/vpc/v1/custom.go b/internal/namespaces/vpc/v1/custom.go index 0d0d80dad0..d1a1c491c5 100644 --- a/internal/namespaces/vpc/v1/custom.go +++ b/internal/namespaces/vpc/v1/custom.go @@ -7,5 +7,7 @@ import ( func GetCommands() *core.Commands { cmds := GetGeneratedCommands() + cmds.MustFind("vpc", "private-network", "get").Override(privateNetworkGetBuilder) + return cmds } diff --git a/internal/namespaces/vpc/v1/custom_private_network.go b/internal/namespaces/vpc/v1/custom_private_network.go new file mode 100644 index 0000000000..5004251991 --- /dev/null +++ b/internal/namespaces/vpc/v1/custom_private_network.go @@ -0,0 +1,64 @@ +package vpc + +import ( + "context" + + "github.com/scaleway/scaleway-cli/internal/core" + "github.com/scaleway/scaleway-sdk-go/api/instance/v1" + "github.com/scaleway/scaleway-sdk-go/api/vpc/v1" + "github.com/scaleway/scaleway-sdk-go/scw" +) + +func privateNetworkGetBuilder(c *core.Command) *core.Command { + type customServer struct { + ServerID string `json:"server_id"` + NicID string `json:"nic_id"` + MacAddress string `json:"mac"` + } + + c.Interceptor = func(ctx context.Context, argsI interface{}, runner core.CommandRunner) (interface{}, error) { + getPNResp, err := runner(ctx, argsI) + if err != nil { + return getPNResp, err + } + pn := getPNResp.(*vpc.PrivateNetwork) + + client := core.ExtractClient(ctx) + instanceAPI := instance.NewAPI(client) + listServers, err := instanceAPI.ListServers(&instance.ListServersRequest{ + PrivateNetwork: &pn.ID, + }, scw.WithAllPages()) + if err != nil { + return getPNResp, err + } + + customServers := []customServer{} + for _, server := range listServers.Servers { + for _, nic := range server.PrivateNics { + if nic.PrivateNetworkID == pn.ID { + customServers = append(customServers, customServer{ + NicID: nic.ID, + ServerID: nic.ServerID, + MacAddress: nic.MacAddress, + }) + } + } + } + + return &struct { + *vpc.PrivateNetwork + Servers []customServer `json:"servers"` + }{ + pn, + customServers, + }, nil + } + + c.View = &core.View{ + Sections: []*core.ViewSection{ + {FieldName: "Servers", Title: "Servers"}, + }, + } + + return c +} diff --git a/internal/namespaces/vpc/v1/custom_private_network_test.go b/internal/namespaces/vpc/v1/custom_private_network_test.go new file mode 100644 index 0000000000..e5fa4f5361 --- /dev/null +++ b/internal/namespaces/vpc/v1/custom_private_network_test.go @@ -0,0 +1,28 @@ +package vpc + +import ( + "testing" + + "github.com/scaleway/scaleway-cli/internal/core" + "github.com/scaleway/scaleway-cli/internal/namespaces/instance/v1" +) + +func Test_GetPrivateNetwork(t *testing.T) { + cmds := GetCommands() + cmds.Merge(instance.GetCommands()) + + t.Run("Simple", core.Test(&core.TestConfig{ + Commands: cmds, + BeforeFunc: core.BeforeFuncCombine( + createPN(), + createInstance(), + createNIC(), + ), + Cmd: "scw vpc private-network get {{ .PN.ID }}", + Check: core.TestCheckGolden(), + AfterFunc: core.AfterFuncCombine( + deleteInstance(), + deletePN(), + ), + })) +} diff --git a/internal/namespaces/vpc/v1/helper_test.go b/internal/namespaces/vpc/v1/helper_test.go new file mode 100644 index 0000000000..dbbfc4ed64 --- /dev/null +++ b/internal/namespaces/vpc/v1/helper_test.go @@ -0,0 +1,34 @@ +package vpc + +import ( + "github.com/scaleway/scaleway-cli/internal/core" +) + +func createInstance() core.BeforeFunc { + return core.ExecStoreBeforeCmd( + "Instance", + "scw instance server create stopped=true image=ubuntu_focal", + ) +} + +func deleteInstance() core.AfterFunc { + return core.ExecAfterCmd("scw instance server delete {{ .Instance.ID }}") +} + +func createPN() core.BeforeFunc { + return core.ExecStoreBeforeCmd( + "PN", + "scw vpc private-network create", + ) +} + +func deletePN() core.AfterFunc { + return core.ExecAfterCmd("scw vpc private-network delete {{ .PN.ID }}") +} + +func createNIC() core.BeforeFunc { + return core.ExecStoreBeforeCmd( + "NIC", + "scw instance private-nic create server-id={{ .Instance.ID }} private-network-id={{ .PN.ID }}", + ) +} diff --git a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.cassette.yaml b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.cassette.yaml new file mode 100644 index 0000000000..442872ea9c --- /dev/null +++ b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.cassette.yaml @@ -0,0 +1,1499 @@ +--- +version: 1 +interactions: +- request: + body: '{"name":"cli-pn-happy-wescoff","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","tags":null}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/vpc/v1/zones/fr-par-1/private-networks + method: POST + response: + body: '{"id":"6e4eb07c-9dd8-4395-8c99-f5ab14af80db","name":"cli-pn-happy-wescoff","tags":[],"organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2020-09-14T13:36:30.121419Z","updated_at":"2020-09-14T13:36:30.121419Z","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","zone":"fr-par-1"}' + headers: + Content-Length: + - "298" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:29 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - cd5f2ed4-d6f9-455b-92af-23bb46aa066b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/marketplace/v1/images?page=1 + method: GET + response: + body: '{"images": [{"valid_until": null, "description": "Ubuntu is the ideal distribution + for scale-out computing, Ubuntu Server helps you make the most of your infrastructure.", + "creation_date": "2018-04-27T14:07:25.221998+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "b381b2bf-804a-4b12-91f6-9f4ff273462f", "categories": ["distribution"], + "name": "Ubuntu Bionic", "modification_date": "2020-08-24T12:56:36.205628+00:00", + "versions": [{"creation_date": "2019-03-05T16:39:34.893732+00:00", "modification_date": + "2019-03-05T16:39:34.893732+00:00", "id": "e640c621-305b-45f5-975f-a3f80c1cec66", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "f974feac-abae-4365-b988-8ec7d1cec10d", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "f63fe42a-900f-4a5e-ba99-ab0e59469b7e", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "b4bdbee1-e1f1-4436-8de4-bdb1b6ba4803", "zone": "par1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "9444d178-2285-4842-ac35-5e86eda8da91", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "a5076337-734f-4b99-95ed-9a5bc73b9b09", "zone": "ams1"}, + {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", + "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": "arm64", "id": "7663c62b-40e3-4e6b-a835-70723ec2050b", + "zone": "ams1"}], "name": "2019-03-05T16:39:34.377275"}], "current_public_version": + "e640c621-305b-45f5-975f-a3f80c1cec66", "label": "ubuntu_bionic", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Ubuntu is the ideal distribution + for scale-out computing, Ubuntu Server helps you make the most of your infrastructure.", + "creation_date": "2016-04-22T13:27:33.769932+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "acf93867-88d9-40ee-99ea-6b2bb1ee8f0c", "categories": ["distribution"], + "name": "Ubuntu Xenial", "modification_date": "2020-08-14T12:52:38.320865+00:00", + "versions": [{"creation_date": "2020-01-17T14:31:06.041118+00:00", "modification_date": + "2020-01-17T14:31:06.041118+00:00", "id": "24cd2ef0-bbc5-4b1a-8b08-99f617eab446", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "3d6804e0-086e-4a06-8124-7240a657668d", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "245e5cea-a9b4-4a36-9055-27185afe8690", + "zone": "ams1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "c40fbabc-efc8-4e04-91ea-5e1e22daece1", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "bd859e89-fb2d-466a-a546-383630a1ead1", "zone": "par1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "6c34a3f3-5e8a-455b-9bc2-f07c4c35bf89", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "a5f6bb77-3d64-4f7f-abe0-72492b1bc020", "zone": + "par1"}], "name": "2020-01-17T14:31:06.031136"}], "current_public_version": + "24cd2ef0-bbc5-4b1a-8b08-99f617eab446", "label": "ubuntu_xenial", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Debian is a free, powerful + and stable operating system.", "creation_date": "2017-06-26T15:37:13.460764+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", "id": "c94b5df7-e698-4ac9-b273-565d18f5f8d2", + "categories": ["distribution"], "name": "Debian Stretch", "modification_date": + "2020-08-26T14:21:26.132106+00:00", "versions": [{"creation_date": "2020-01-15T11:38:06.396694+00:00", + "modification_date": "2020-01-15T11:38:06.396694+00:00", "id": "8342f5d0-46aa-46e7-8a6f-f41188c97fba", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "5f7ab0cd-d10e-49a0-91c8-315ed8a6a1a4", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "d954dc33-c52e-4960-93e1-b69c85d169be", "zone": "ams1"}, + {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", + "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", + "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "22a1bd8d-4498-4800-a8e5-4bc85001176c", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "37938de8-e3be-479a-895d-095158f76212", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "86740237-62fc-4538-9b70-4373942f53d3", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "bd6ba96e-d4c4-41f9-88e2-8dad3e6f085b", "zone": "par1"}], "name": "2020-01-15T11:38:06.390074"}], + "current_public_version": "8342f5d0-46aa-46e7-8a6f-f41188c97fba", "label": "debian_stretch", + "organization": {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances + User Resources Build System"}}, {"valid_until": null, "description": "Debian + is a free, powerful and stable operating system.", "creation_date": "2016-03-05T14:52:36.322319+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", "id": "fb619bdf-834e-4c71-b7b8-15b5546d18bd", + "categories": ["distribution"], "name": "Debian Jessie", "modification_date": + "2019-03-26T14:00:50.449502+00:00", "versions": [{"creation_date": "2018-04-10T22:31:04.322822+00:00", + "modification_date": "2018-04-10T22:31:04.322822+00:00", "id": "d3846a7b-8219-4938-ad96-cc2173e22481", + "local_images": [{"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "2dfad6d2-e527-4e93-8eb1-8dc57803b310", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "610f68d5-cbad-4923-98ae-782af8f3b527", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "dc22e553-2d2e-4689-94f8-8817db824202", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "2e570f53-199e-47cc-95dd-f7bc392496e3", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "abf9e3a2-7171-4764-91ef-57f30b21193d", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "69cbdd54-88a1-4458-b75e-662a0848a7ce", "zone": "ams1"}], + "name": "2018-04-10T22:31:04.321157"}], "current_public_version": "d3846a7b-8219-4938-ad96-cc2173e22481", + "label": "debian_jessie", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + CentOS Project is a community-driven free software effort focused on delivering + a robust open source ecosystem.", "creation_date": "2019-03-06T11:27:48.406290+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/centos.png", "id": "1d47b370-ac63-43b1-9f34-7328675e5e18", + "categories": ["distribution"], "name": "CentOS 7.6", "modification_date": "2019-03-26T14:00:50.839069+00:00", + "versions": [{"creation_date": "2019-03-18T09:29:00.247544+00:00", "modification_date": + "2019-03-18T09:29:00.247544+00:00", "id": "53138072-3099-4566-8b18-de7b2739696a", + "local_images": [{"compatible_commercial_types": ["VC1S", "GP1-XS", "DEV1-M", + "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "VC1M", + "C2L", "C2M", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "05794ee5-c6d2-4d69-86dd-f1fc9032921d", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "0f44b130-2bc7-4f82-993e-de9d1042c56e", "zone": "par1"}], "name": "2019-03-18T09:29:00.168590"}], + "current_public_version": "53138072-3099-4566-8b18-de7b2739696a", "label": "centos_7.6", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "The CentOS Project is a community-driven + free software effort focused on delivering a robust open source ecosystem.", + "creation_date": "2018-04-19T10:12:28.968536+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/centos.png", + "id": "98fc244a-ed4c-4523-bd17-b9c4070b8e7e", "categories": ["distribution"], + "name": "CentOS 7.4", "modification_date": "2019-03-26T14:00:53.445597+00:00", + "versions": [{"creation_date": "2018-04-20T13:55:06.824033+00:00", "modification_date": + "2018-04-20T13:55:06.824033+00:00", "id": "31be34e5-074d-4c63-8c77-454459f77c3f", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "ec8b431e-ad39-4523-8b94-f3fa7f3cbd06", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "7220ac63-bac8-484b-9d44-93e3bd01f5a6", + "zone": "ams1"}], "name": "2018-04-20T13:55:06.817954"}], "current_public_version": + "31be34e5-074d-4c63-8c77-454459f77c3f", "label": "centos_7.4", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2019-03-06T09:07:51.652433+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "69adec15-f1a7-469a-9ba5-868577832521", + "categories": ["distribution"], "name": "Fedora 29", "modification_date": "2019-03-26T14:00:51.848785+00:00", + "versions": [{"creation_date": "2019-03-06T09:08:01.112958+00:00", "modification_date": + "2019-03-06T09:08:01.112958+00:00", "id": "a0f02365-f1af-48cb-b82d-75853a4e05e1", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "541f4562-5417-4b59-85d6-caaf64c1f127", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "3c0f706e-0947-47a3-88a3-595c29f7567a", "zone": "ams1"}], "name": "2019-03-06T09:08:01.016040"}], + "current_public_version": "a0f02365-f1af-48cb-b82d-75853a4e05e1", "label": "fedora_29", + "organization": {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2018-05-03T09:51:57.274011+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "30d0f04f-6422-4b74-9ce9-1c2267419978", + "categories": ["distribution"], "name": "Fedora 28", "modification_date": "2019-03-26T14:00:50.156015+00:00", + "versions": [{"creation_date": "2018-05-03T12:01:10.147973+00:00", "modification_date": + "2018-05-03T12:01:10.147973+00:00", "id": "49e33199-28cc-44d6-bb2e-a6147944ad5c", + "local_images": [{"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "830aad94-24e5-4363-b2c3-e62921bd9294", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "c9cd1782-2159-44b8-83b1-9c48ed6c8a63", + "zone": "par1"}], "name": "2018-05-03T12:01:10.135200"}], "current_public_version": + "49e33199-28cc-44d6-bb2e-a6147944ad5c", "label": "fedora_28", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Fedora is a powerful, flexible operating + system that includes the best and latest datacenter technologies. It puts you + in control of all your infrastructure and services.", "creation_date": "2018-04-19T10:14:08.648100+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/fedora.png", "id": "4bff4f37-3ef9-457e-9e8d-4a786cb2a5f2", + "categories": ["distribution"], "name": "Fedora 27", "modification_date": "2019-03-26T14:00:53.140907+00:00", + "versions": [{"creation_date": "2018-09-06T10:51:13.009967+00:00", "modification_date": + "2018-09-06T10:51:13.009967+00:00", "id": "45b5823f-8ddf-4ea8-b106-33d2df127cdf", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "097a100e-fd2f-4918-8a5b-d86de5a489be", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "73f0bcd8-a152-4665-ac09-1b105905a475", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "42053122-817f-423b-aae2-68b10eb51d2d", + "zone": "pl-waw-1"}], "name": "2018-09-06T10:51:13.011044"}], "current_public_version": + "45b5823f-8ddf-4ea8-b106-33d2df127cdf", "label": "fedora_27", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Arch Linux is an independently developed + Linux distribution versatile enough to suit any role.", "creation_date": "2016-03-07T20:55:32.213089+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/archlinux.png", "id": + "8f60c5dd-e659-48da-97e3-fb7de42195f5", "categories": ["distribution"], "name": + "Arch Linux", "modification_date": "2019-03-26T14:00:49.327070+00:00", "versions": + [{"creation_date": "2018-04-20T15:59:04.594929+00:00", "modification_date": + "2018-04-20T15:59:04.594929+00:00", "id": "f7696517-bc49-448b-9869-f2c84e7c2a96", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "f21defd0-9fd9-4fb2-a29a-22844a6be3cd", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "3c904f73-080e-4c6f-8b28-8426cfdcb3c7", + "zone": "ams1"}], "name": "2018-04-20T15:59:04.593811"}], "current_public_version": + "f7696517-bc49-448b-9869-f2c84e7c2a96", "label": "arch_linux", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Alpine Linux is security-oriented, lightweight + Linux distribution based on musl libc and busybox.", "creation_date": "2016-03-05T14:49:50.255568+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/alpinelinux.png", "id": + "c0649a2a-e6bf-4712-9303-8d967153209c", "categories": ["distribution"], "name": + "Alpine Linux", "modification_date": "2019-03-26T14:00:54.425917+00:00", "versions": + [{"creation_date": "2018-04-26T10:18:10.201002+00:00", "modification_date": + "2018-04-26T10:18:10.201002+00:00", "id": "be2293b6-9eba-4497-9659-2cfb927483b5", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "24141068-1043-4885-bf2b-8290f617e273", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "241b0bb3-9eed-4a7b-b0fd-71c45452ac95", + "zone": "ams1"}], "name": "2018-04-26T10:18:10.196011"}], "current_public_version": + "be2293b6-9eba-4497-9659-2cfb927483b5", "label": "alpine_linux", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "The CentOS Project is a community-driven + free software effort focused on delivering a robust open source ecosystem.", + "creation_date": "2020-04-29T11:48:57.810456+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/centos.png", + "id": "293a2ddf-6e33-4e63-81f0-fbdd90641480", "categories": ["distribution"], + "name": "CentOS 8", "modification_date": "2020-07-13T09:06:18.993441+00:00", + "versions": [{"creation_date": "2020-07-09T16:38:28.316416+00:00", "modification_date": + "2020-07-09T16:38:28.316416+00:00", "id": "85f4c001-26a9-4e0c-a103-22285b2f9929", + "local_images": [{"compatible_commercial_types": ["DEV1-L", "DEV1-M", "DEV1-S", + "DEV1-XL", "GP1-L", "GP1-M", "GP1-S", "GP1-XL", "GP1-XS", "START1-L", "START1-M", + "START1-S", "START1-XS", "VC1L", "VC1M", "VC1S", "X64-120GB", "X64-15GB", "X64-30GB", + "X64-60GB"], "arch": "x86_64", "id": "0d154c82-7938-49a8-b768-b64fe09f05c7", + "zone": "ams1"}, {"compatible_commercial_types": ["DEV1-L", "DEV1-M", "DEV1-S", + "DEV1-XL", "GP1-L", "GP1-M", "GP1-S", "GP1-XL", "GP1-XS", "START1-L", "START1-M", + "START1-S", "START1-XS", "VC1L", "VC1M", "VC1S", "X64-120GB", "X64-15GB", "X64-30GB", + "X64-60GB"], "arch": "x86_64", "id": "13cec602-73aa-4c97-9601-8606072d08b9", + "zone": "par1"}], "name": "2020-07-09T16:38:28.281968+00:00"}], "current_public_version": + "85f4c001-26a9-4e0c-a103-22285b2f9929", "label": "centos_8", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Debian is a free operating + system, developed by thousands of volunteers from all over the world who collaborate + via the Internet.", "creation_date": "2019-07-16T13:55:36.377559+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/debian.png", "id": "7bdc1afb-231f-486a-9b85-1b0478bc0e4a", + "categories": ["distribution"], "name": "Debian Buster", "modification_date": + "2020-01-20T09:04:41.730609+00:00", "versions": [{"creation_date": "2020-01-15T11:52:04.860098+00:00", + "modification_date": "2020-01-15T11:52:04.860098+00:00", "id": "763b45ed-2e31-4ba0-9beb-efb195503a2d", + "local_images": [{"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "61010e34-7f1e-402b-a253-028a714a6678", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "GP1-XL", "C2S", "X64-15GB", + "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", + "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", + "id": "4720c10f-59e3-4e20-915b-dcee1fc34c11", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "9d6e8a2c-31a9-439c-a4c5-9fba1c5b96ed", + "zone": "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "cc9188b3-3938-47d7-b091-c9ecad1fe507", "zone": "par1"}], "name": "2020-01-15T11:52:04.849401"}], + "current_public_version": "763b45ed-2e31-4ba0-9beb-efb195503a2d", "label": "debian_buster", + "organization": {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances + User Resources Build System"}}, {"valid_until": null, "description": "Docker + is an open platform for developers and sysadmins to build, ship, and run distributed + applications.", "creation_date": "2016-03-05T15:11:26.847640+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/docker.png", "id": "c1b530d8-0ca0-45c4-80db-ba06608287b2", + "categories": ["instantapp"], "name": "Docker", "modification_date": "2019-03-26T14:00:49.524465+00:00", + "versions": [{"creation_date": "2019-03-07T17:07:39.090644+00:00", "modification_date": + "2019-03-07T17:07:39.090644+00:00", "id": "bf30c937-6e89-4019-ad2a-92156a62cf3e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "89c80d27-ddf4-4ffa-8215-b335cce3fd05", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", + "ARM64-64GB"], "arch": "arm64", "id": "99e2a9c6-f0b9-42b6-8823-8b0d86ffe9bf", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "45a7e942-1fb0-48c0-bbf6-0acb9af24604", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "c669011a-ee16-42b6-b0c3-ecd19e419539", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", + "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": "dcf35840-c007-4c8b-a48b-227cfd8a347b", + "zone": "ams1"}], "name": "2019-03-07T17:07:39.004809"}], "current_public_version": + "bf30c937-6e89-4019-ad2a-92156a62cf3e", "label": "docker", "organization": {"id": + "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "GitLab is a web-based Git repository manager + with wiki and issue tracking features.", "creation_date": "2016-03-07T21:06:22.770864+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/gitlab.png", "id": "233074b9-e2ba-4e78-818e-dd4930ce6bee", + "categories": ["instantapp"], "name": "GitLab", "modification_date": "2019-04-09T13:31:04.022755+00:00", + "versions": [{"creation_date": "2019-04-09T13:31:03.648676+00:00", "modification_date": + "2019-04-09T13:31:03.648676+00:00", "id": "a389c94b-8b19-4528-a4f6-0b7cac3425e9", + "local_images": [{"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", + "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": "06a2a6e9-922d-4353-9472-bbb1f79fda63", + "zone": "ams1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "4527e41c-0e90-43a8-857e-d9584bf8467f", "zone": "par1"}], "name": "2019-04-09T13:31:03.352588"}], + "current_public_version": "a389c94b-8b19-4528-a4f6-0b7cac3425e9", "label": "gitlab", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "A painless self-hosted Git service.", + "creation_date": "2016-03-07T21:00:44.946716+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/gogs.png", + "id": "90d512b8-e4b7-4821-98e9-78241d73a7e6", "categories": ["instantapp"], + "name": "Gogs", "modification_date": "2019-03-26T14:00:54.513196+00:00", "versions": + [{"creation_date": "2018-05-16T15:11:25.881343+00:00", "modification_date": + "2018-05-16T15:11:25.881343+00:00", "id": "1b9e22e3-6a29-4f42-acfd-281ad086ee1d", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "776705c4-be8e-4a27-b740-2e8bbba518c5", + "zone": "par1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "a513a250-e6e9-4687-892e-9d10b29e3972", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "d1341ece-ffda-4386-ad3a-27d60b650401", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "69b8bc0e-7771-42af-a4ad-ca756c31a18a", "zone": "ams1"}], + "name": "2018-05-16T15:11:25.303762"}], "current_public_version": "1b9e22e3-6a29-4f42-acfd-281ad086ee1d", + "label": "gogs", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "Go + is an open source programming language that makes it easy to build simple, reliable, + and efficient software.A dynamic, open source programming language with a focus + on simplicity and productivity.", "creation_date": "2016-03-08T07:01:11.482482+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/golang.png", "id": "6c8d25c0-cb6f-4220-98aa-830b7e479ba5", + "categories": ["instantapp"], "name": "Golang", "modification_date": "2019-03-26T14:00:52.861225+00:00", + "versions": [{"creation_date": "2018-04-18T08:00:48.175340+00:00", "modification_date": + "2018-04-18T08:00:48.175340+00:00", "id": "880194c8-53ce-4b6b-a274-4f79307e2f8e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "43213956-c7a3-44b8-9d96-d51fa7457969", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "5ffb52aa-ea55-4596-9d0f-e403701b6624", "zone": "ams1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "bef7a6af-1bab-490a-a6cb-6a07c1b9ac7b", "zone": + "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "f0b7d9b8-aa31-45b4-9f7e-a68aa164ce6f", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "76ca1eb7-f68f-4770-a7a1-ab7665ae3297", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "0d954c34-341c-483a-be1c-71cf197343ed", "zone": "ams1"}], "name": "2018-04-18T08:00:48.129246"}], + "current_public_version": "880194c8-53ce-4b6b-a274-4f79307e2f8e", "label": "golang", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Java is a computer programming language + that is concurrent, class-based, object-oriented, and specifically designed + to have as few implementation dependencies as possible.", "creation_date": "2016-03-07T21:07:46.908969+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/java.png", "id": "d72d1b73-7460-446b-91fb-b451d079aa4d", + "categories": ["instantapp"], "name": "Java", "modification_date": "2019-03-26T14:00:49.430836+00:00", + "versions": [{"creation_date": "2018-04-18T10:11:18.535736+00:00", "modification_date": + "2018-04-18T10:11:18.535736+00:00", "id": "f3f69cca-aadb-4e5e-94b0-254ce05a6639", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "c50cb4b2-bf7b-47e2-ab5f-3a9d3d4c1aef", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "98c93894-26a8-463b-a72b-c9d2b531b95d", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "43c43b5e-1e4f-4905-baef-71df3c565b4d", "zone": "ams1"}, + {"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", + "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", + "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], + "arch": "x86_64", "id": "0c3f9f03-f490-444b-a05e-f342e917fed0", "zone": "par1"}, + {"compatible_commercial_types": ["C1"], "arch": "arm", "id": "5e07622b-ad8b-4f65-b55f-cca18c3c0bbf", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", + "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": + "arm64", "id": "c0330755-e5d0-4c2c-ad0e-70687e1dccbb", "zone": "par1"}], "name": + "2018-04-18T10:11:18.477156"}], "current_public_version": "f3f69cca-aadb-4e5e-94b0-254ce05a6639", + "label": "java", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "LEMP + stack is a version where Apache has been replaced with the more lightweight + web server Nginx.", "creation_date": "2016-03-07T21:06:53.552980+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/lemp.png", "id": "986ba672-b489-4f66-9e3b-90194ac336d4", + "categories": ["instantapp"], "name": "LEMP stack", "modification_date": "2019-04-09T13:31:12.129567+00:00", + "versions": [{"creation_date": "2019-04-09T13:31:11.315416+00:00", "modification_date": + "2019-04-09T13:31:11.315416+00:00", "id": "a2e5ed1a-6f01-4f20-aabd-4115c67df590", + "local_images": [{"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "32332006-1420-4260-97c7-c1da586f68cd", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "d16622f6-32c1-4d16-a3ca-38b23d3a25fb", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", + "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "1bd37d60-4494-485f-9a82-0a211005489c", + "zone": "par1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "415d3727-0013-419a-abc6-1a688b096730", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "26c3727a-5b77-4b26-89c9-445ea2006f07", + "zone": "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "155ab61a-e069-4acb-bae3-e8217c5c0376", + "zone": "ams1"}], "name": "2019-04-09T13:31:10.613803"}], "current_public_version": + "a2e5ed1a-6f01-4f20-aabd-4115c67df590", "label": "lemp_stack", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "self-hosted Slack-alternative", "creation_date": + "2016-07-11T14:52:57.803007+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/mattermost.png", + "id": "98ad7ccb-cc7f-4828-9da3-113e9c1bd2db", "categories": ["instantapp"], + "name": "Mattermost", "modification_date": "2019-03-26T14:00:51.938920+00:00", + "versions": [{"creation_date": "2018-05-03T10:27:55.610920+00:00", "modification_date": + "2018-05-03T10:27:55.610920+00:00", "id": "42371bf7-c1ca-4889-a6d4-43febda865ca", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "486e128c-fde7-42d7-9200-5d91b8dc2761", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "eb2ed407-177c-4195-a4ca-f3baa85e62ed", + "zone": "ams1"}], "name": "2018-05-03T10:27:55.021511"}], "current_public_version": + "42371bf7-c1ca-4889-a6d4-43febda865ca", "label": "mattermost", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Nextcloud is an open source, self-hosted + file share and communication platform.", "creation_date": "2019-04-16T12:22:56.930842+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/nextcloud.png", "id": + "7d4a7cb1-1fd5-4a64-920b-c79f47367254", "categories": ["instantapp"], "name": + "NextCloud", "modification_date": "2019-04-16T12:25:38.758921+00:00", "versions": + [{"creation_date": "2019-04-16T12:25:38.052537+00:00", "modification_date": + "2019-04-16T12:25:38.052537+00:00", "id": "2fe66cc6-8985-4b5f-8325-83acc0589436", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "e9af0a24-4312-4305-9386-b3a79e02f92d", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "c38073cf-ee40-4dc2-8059-ec2845f38f46", "zone": "ams1"}, + {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", + "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", + "VC1M"], "arch": "x86_64", "id": "b9e319f5-ac4c-400d-8ff6-a6a769755190", "zone": + "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "0390c3e0-186d-4b24-8d0d-0e08b74fb59a", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "900971a4-3a3e-4ef9-b92f-b33c366c9f5c", "zone": + "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", + "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", + "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "7b7d4dde-6fe1-4586-a5a5-ae1af2ca2605", + "zone": "par1"}], "name": "2019-04-16T12:25:37.374676"}], "current_public_version": + "2fe66cc6-8985-4b5f-8325-83acc0589436", "label": "nextcloud", "organization": + {"id": "11111111-1111-4111-8111-111111111111", "name": "OCS"}}, {"valid_until": + null, "description": "Node.js is an open source, cross-platform runtime environment + for server-side and networking applications.", "creation_date": "2016-03-07T21:06:07.014951+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/nodejs.png", "id": "d11d7cc2-6ec8-4f95-a286-24fb5bac9e39", + "categories": ["instantapp"], "name": "Node.js", "modification_date": "2019-03-26T14:00:51.148549+00:00", + "versions": [{"creation_date": "2018-04-18T10:07:15.744660+00:00", "modification_date": + "2018-04-18T10:07:15.744660+00:00", "id": "af308511-bcb3-4583-b0e0-79dbb1eea63e", + "local_images": [{"compatible_commercial_types": [], "arch": "arm", "id": "a8020f20-8a66-43f3-8253-35941db3d237", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "3cc79cc6-4649-46d9-a2b6-698f1236e1d0", "zone": "ams1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "c9fb2bed-a9b8-4e1a-bf15-db8e763fe7a7", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "f01db1d0-092a-47de-a32e-09bd6bda7715", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "6f2e99e8-da99-4990-b689-7294e8a604fa", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "03980aee-14cd-44f1-be3c-508c8b8a19e6", "zone": "par1"}], "name": "2018-04-18T10:07:15.691016"}], + "current_public_version": "af308511-bcb3-4583-b0e0-79dbb1eea63e", "label": "node.js", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Surf the web in a secure and anonymous + way with OpenVPN InstantApp.", "creation_date": "2016-03-07T21:04:57.667667+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/openvpn.png", "id": "b6f4edc8-21e6-4aa2-8f52-1030cf6d4dd8", + "categories": ["instantapp"], "name": "OpenVPN", "modification_date": "2019-03-26T14:00:52.955853+00:00", + "versions": [{"creation_date": "2019-03-25T13:06:02.622633+00:00", "modification_date": + "2019-03-25T13:06:02.622633+00:00", "id": "d812e374-1169-4c91-aa90-c72acceeecb2", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "b15ddb1a-0611-412e-881a-3aed1b36392b", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", + "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "02906ae8-bf44-4dd0-bd05-6312dd9fa234", + "zone": "par1"}, {"compatible_commercial_types": [], "arch": "arm", "id": "3aa3622c-45d4-4388-9618-cce6974c71a0", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "a5430536-2a51-425d-8613-ef84dae91e27", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "51573d2d-301f-4d24-b0d6-f151728c82f5", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "cac79531-98d5-48fa-aba1-8250214b88a3", + "zone": "par1"}], "name": "2019-03-25T13:06:01.961936"}], "current_public_version": + "d812e374-1169-4c91-aa90-c72acceeecb2", "label": "openvpn", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "ownCloud lets you sync & share your files, + calendar, contacts and more. Access your data from all your devices, on an open + platform you can extend and modify.", "creation_date": "2016-03-07T21:05:14.365925+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/owncloud.png", "id": + "e22a5d54-ecb5-4fdd-a130-a473737ff7ab", "categories": ["instantapp"], "name": + "ownCloud", "modification_date": "2019-03-26T14:00:52.457272+00:00", "versions": + [{"creation_date": "2018-04-18T10:09:39.010195+00:00", "modification_date": + "2018-04-18T10:09:39.010195+00:00", "id": "c9c02a9c-e072-48af-aefd-bf6be9028022", + "local_images": [{"compatible_commercial_types": [], "arch": "arm", "id": "a5fb716a-1c60-4740-a179-98ce315ca3d7", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "2fdbbbb4-3b63-403b-9604-27713971efd6", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", + "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", "id": + "4208a611-a789-40ea-ac0e-fb3001ee39a9", "zone": "ams1"}, {"compatible_commercial_types": + ["GP1-XS", "DEV1-L", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "93de8eae-535f-47bd-88fa-84af7b5eaf76", "zone": "par1"}], "name": "2018-04-18T10:09:38.952503"}], + "current_public_version": "c9c02a9c-e072-48af-aefd-bf6be9028022", "label": "owncloud", + "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "PrestaShop is a free, open source e-commerce + solution.", "creation_date": "2016-03-07T21:01:47.997930+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/prestashop.png", + "id": "58a551e0-1b8b-4c83-82e7-1b4602ad43d1", "categories": ["instantapp"], + "name": "PrestaShop", "modification_date": "2019-03-26T14:00:50.067950+00:00", + "versions": [{"creation_date": "2018-05-16T14:57:16.059809+00:00", "modification_date": + "2018-05-16T14:57:16.059809+00:00", "id": "6c459ab1-4f1a-4f87-b92e-c00849c93fde", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "4d07fcfa-ccda-4945-81aa-8de2206b39c0", + "zone": "par1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "73db574d-d5a0-49d5-b6ca-dd662895fac3", "zone": "par1"}, {"compatible_commercial_types": + ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", + "ARM64-16GB"], "arch": "arm64", "id": "c97dc20f-8066-4d56-aabf-2b75162c0f9f", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "c78c3206-eb2b-4217-ad7c-0aca98dec145", + "zone": "ams1"}, {"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "7f91941c-f06a-4103-91a4-793f03b11fda", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "271a9c1f-73ef-4943-bac7-799130228040", "zone": "ams1"}], + "name": "2018-05-16T14:57:15.505378"}], "current_public_version": "6c459ab1-4f1a-4f87-b92e-c00849c93fde", + "label": "prestashop", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + intended audience of this InstantApp is Python developers who want to bootstrap + or test a Python application easily, in seconds.", "creation_date": "2016-03-07T21:05:46.642023+00:00", + "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/python.png", "id": "5c0f7971-c308-442e-82ab-2eb147439bd7", + "categories": ["instantapp"], "name": "Python", "modification_date": "2019-03-26T14:00:49.970905+00:00", + "versions": [{"creation_date": "2018-04-17T16:43:36.089412+00:00", "modification_date": + "2018-04-17T16:43:36.089412+00:00", "id": "2642a982-e61d-4a58-8105-8838a69a85e3", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "70b9c9cf-c2d9-4a80-b450-a7aef8226d96", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "5218fa4e-8239-4831-ac2a-c96e23f387a2", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "f205e2a6-621a-4534-a5d1-36f6cf1f8376", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "613a5226-3d97-4f0e-abe2-99385a050784", "zone": "ams1"}], + "name": "2018-04-17T16:43:36.031203"}], "current_public_version": "2642a982-e61d-4a58-8105-8838a69a85e3", + "label": "python", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "A + dynamic, open source programming language with a focus on simplicity and productivity.", + "creation_date": "2016-03-07T22:15:25.347873+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ruby.png", + "id": "42866fbe-9168-4f77-8271-09beb6049a07", "categories": ["instantapp"], + "name": "Ruby", "modification_date": "2019-03-26T14:00:54.119256+00:00", "versions": + [{"creation_date": "2018-04-18T10:21:49.119857+00:00", "modification_date": + "2018-04-18T10:21:49.119857+00:00", "id": "5b8c935b-5047-43fd-a423-045dae3e0d78", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-L", "RENDER-S", + "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", "VC1S", "START1-S", "X64-30GB", + "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", "VC1L", "VC1M", "X64-120GB", + "X64-60GB"], "arch": "x86_64", "id": "09c71ada-00c6-43de-ad44-c77c5b857a05", + "zone": "par1"}, {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", + "VC1S", "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", + "VC1L", "VC1M"], "arch": "x86_64", "id": "24f2e8ee-80f1-4a8d-83c4-74ed8cd80ed0", + "zone": "ams1"}, {"compatible_commercial_types": ["C1"], "arch": "arm", "id": + "e2479a13-414b-4a0c-ba50-d01e67ee8600", "zone": "par1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "f83a03fa-58eb-4b35-bda9-1a42b6d6d90d", "zone": "ams1"}], + "name": "2018-04-18T10:21:49.057120"}], "current_public_version": "5b8c935b-5047-43fd-a423-045dae3e0d78", + "label": "ruby", "organization": {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", + "name": "mtouron@ocs.online.net"}}, {"valid_until": null, "description": "The + torrents InstantApp spawns a private server to upload and download your digital + files.", "creation_date": "2016-03-07T21:08:02.980958+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/seedbox.png", + "id": "4e18f1fc-0b66-4692-a38d-bfa4c94f29de", "categories": ["instantapp"], + "name": "Torrents", "modification_date": "2019-03-26T14:00:51.427329+00:00", + "versions": [{"creation_date": "2019-03-25T13:04:02.099902+00:00", "modification_date": + "2019-03-25T13:04:02.099902+00:00", "id": "53d2e4fb-20df-4ba9-8d65-29256f2be480", + "local_images": [{"compatible_commercial_types": ["ARM64-4GB", "ARM64-128GB", + "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", "ARM64-64GB"], "arch": + "arm64", "id": "41d0db97-4822-4642-96ec-6f3fbcfc167c", "zone": "ams1"}, {"compatible_commercial_types": + [], "arch": "arm", "id": "3fbe5f72-81da-4a0a-91ef-36ab68fc801e", "zone": "ams1"}, + {"compatible_commercial_types": ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", + "C2L", "X64-15GB", "C2S", "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", + "VC1M"], "arch": "x86_64", "id": "1aed7396-79dc-431d-af03-d3dde35d195f", "zone": + "ams1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "398875b6-de43-4946-976f-ba5189954912", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "a3160162-3d72-4632-8e42-4849a1280743", "zone": + "par1"}, {"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", "START1-XS", + "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", "C2M", + "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", "START1-M", + "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": "f5d116e3-2b58-44cf-a83a-cd0682135473", + "zone": "par1"}], "name": "2019-03-25T13:04:01.408435"}], "current_public_version": + "53d2e4fb-20df-4ba9-8d65-29256f2be480", "label": "torrents", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}, + {"valid_until": null, "description": "Ubuntu is the ideal distribution for scale-out + computing, Ubuntu Server helps you make the most of your infrastructure.", "creation_date": + "2020-02-17T15:50:48.980694+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", + "id": "3f1b9623-71ba-4fe3-b994-27fcdaa850ba", "categories": ["distribution"], + "name": "Ubuntu 20.04 Focal Fossa", "modification_date": "2020-07-13T09:04:23.114051+00:00", + "versions": [{"creation_date": "2020-07-09T12:11:07.013896+00:00", "modification_date": + "2020-07-09T12:11:07.013896+00:00", "id": "3eab241d-44e3-4fba-a0ee-33f5004052fc", + "local_images": [{"compatible_commercial_types": ["DEV1-L", "DEV1-M", "DEV1-S", + "DEV1-XL", "GP1-L", "GP1-M", "GP1-S", "GP1-XL", "GP1-XS", "START1-L", "START1-M", + "START1-S", "START1-XS", "VC1L", "VC1M", "VC1S", "X64-120GB", "X64-15GB", "X64-30GB", + "X64-60GB"], "arch": "x86_64", "id": "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc", + "zone": "par1"}, {"compatible_commercial_types": ["DEV1-L", "DEV1-M", "DEV1-S", + "DEV1-XL", "GP1-L", "GP1-M", "GP1-S", "GP1-XL", "GP1-XS", "START1-L", "START1-M", + "START1-S", "START1-XS", "VC1L", "VC1M", "VC1S", "X64-120GB", "X64-15GB", "X64-30GB", + "X64-60GB"], "arch": "x86_64", "id": "0ac9b9f4-f771-47f1-adec-a7472cb3f6b0", + "zone": "ams1"}], "name": "2020-07-09T12:11:06.971199+00:00"}], "current_public_version": + "3eab241d-44e3-4fba-a0ee-33f5004052fc", "label": "ubuntu_focal", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Ubuntu Bionic for Machine + Learning 10.1", "creation_date": "2019-03-06T17:24:56.871317+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", "id": "e0808ca5-1e0a-4070-8aff-d2e49e9600c1", + "categories": ["Machine Learning"], "name": "Ubuntu Bionic ML 10.1", "modification_date": + "2020-07-15T09:58:44.029227+00:00", "versions": [{"creation_date": "2020-07-10T08:44:25.531079+00:00", + "modification_date": "2020-07-10T08:44:25.531079+00:00", "id": "d11fe800-ac24-4c8f-90c0-2f3d4b15511f", + "local_images": [{"compatible_commercial_types": ["RENDER-S"], "arch": "x86_64", + "id": "de04f3cf-363e-4b10-a67c-15a90a078de6", "zone": "par1"}, {"compatible_commercial_types": + ["RENDER-S"], "arch": "x86_64", "id": "648b7fd3-f61f-4254-adff-ade2da31e90a", + "zone": "par1"}], "name": "2020-07-10T08:44:25.491772+00:00"}], "current_public_version": + "d11fe800-ac24-4c8f-90c0-2f3d4b15511f", "label": "ubuntu_bionic_ml_10.1", "organization": + {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances User Resources + Build System"}}, {"valid_until": null, "description": "Ubuntu Bionic for Machine + Learning 9.2", "creation_date": "2019-03-06T17:24:29.909001+00:00", "logo": + "https://marketplace-logos.s3.nl-ams.scw.cloud/ubuntu.png", "id": "7e48e55a-7b46-4e4f-b2d2-6b7316cdca8c", + "categories": ["Machine Learning"], "name": "Ubuntu Bionic ML 9.2", "modification_date": + "2020-07-15T11:08:43.613020+00:00", "versions": [{"creation_date": "2020-07-15T10:17:44.680636+00:00", + "modification_date": "2020-07-15T10:17:44.680636+00:00", "id": "f6625fe9-6f9f-4416-9023-dd81246f7bb3", + "local_images": [{"compatible_commercial_types": ["RENDER-S"], "arch": "x86_64", + "id": "648b7fd3-f61f-4254-adff-ade2da31e90a", "zone": "par1"}], "name": "2020-07-15T10:16:54.906584+00:00"}], + "current_public_version": "f6625fe9-6f9f-4416-9023-dd81246f7bb3", "label": "ubuntu_bionic_ml_9.2", + "organization": {"id": "51b656e3-4865-41e8-adbc-0c45bdd780db", "name": "Instances + User Resources Build System"}}, {"valid_until": null, "description": "WordPress + is the most popular web software you can use to create a beautiful website or + blog.", "creation_date": "2016-03-07T21:03:59.783534+00:00", "logo": "https://marketplace-logos.s3.nl-ams.scw.cloud/wordpress.png", + "id": "215a50f9-0ba8-4e9c-a4e7-10caf50e3586", "categories": ["instantapp"], + "name": "WordPress", "modification_date": "2019-03-26T14:00:50.250657+00:00", + "versions": [{"creation_date": "2019-03-08T08:58:28.971149+00:00", "modification_date": + "2019-03-08T08:58:28.971149+00:00", "id": "3fb22e1f-de7f-4787-9bf8-32770151a45e", + "local_images": [{"compatible_commercial_types": ["GP1-XS", "DEV1-M", "DEV1-L", + "START1-XS", "DEV1-S", "RENDER-S", "GP1-XL", "C2S", "X64-15GB", "DEV1-XL", "C2L", + "C2M", "VC1S", "START1-S", "X64-30GB", "GP1-L", "GP1-M", "GP1-S", "START1-L", + "START1-M", "VC1L", "VC1M", "X64-120GB", "X64-60GB"], "arch": "x86_64", "id": + "8523fb41-500a-4f21-998b-890908da6119", "zone": "par1"}, {"compatible_commercial_types": + ["C1"], "arch": "arm", "id": "5645133b-67a3-4644-9941-16f7e2b428ea", "zone": + "par1"}, {"compatible_commercial_types": ["ARM64-8GB", "ARM64-2GB", "ARM64-32GB", + "ARM64-128GB", "ARM64-4GB", "ARM64-64GB", "ARM64-16GB"], "arch": "arm64", "id": + "757fac76-5265-46f8-8a1f-00c0fb270010", "zone": "par1"}, {"compatible_commercial_types": + ["X64-120GB", "C2M", "START1-S", "VC1S", "START1-XS", "C2L", "X64-15GB", "C2S", + "X64-30GB", "START1-L", "START1-M", "X64-60GB", "VC1L", "VC1M"], "arch": "x86_64", + "id": "7a892c1a-bbdc-491f-9974-4008e3708664", "zone": "ams1"}, {"compatible_commercial_types": + ["ARM64-4GB", "ARM64-128GB", "ARM64-16GB", "ARM64-32GB", "ARM64-8GB", "ARM64-2GB", + "ARM64-64GB"], "arch": "arm64", "id": "726334eb-0733-4b6a-becd-769ff9bfe16d", + "zone": "ams1"}], "name": "2019-03-08T08:58:28.893091"}], "current_public_version": + "3fb22e1f-de7f-4787-9bf8-32770151a45e", "label": "wordpress", "organization": + {"id": "6d6b64e5-6bad-4cc6-b7ef-2030884c3e11", "name": "mtouron@ocs.online.net"}}]}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "56167" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:30 GMT + Link: + - ; rel="last" + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - d08eb102-96fc-4b03-8769-c3be90607f90 + X-Total-Count: + - "32" + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/images/cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc + method: GET + response: + body: '{"image": {"id": "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc", "name": "Ubuntu + 20.04 Focal Fossa", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "6e66445c-e52e-4cfa-bf4c-f36e291e2c30", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "size": + 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": + "2020-07-09T10:38:16.265025+00:00", "modification_date": "2020-07-09T10:38:16.265025+00:00", + "default_bootscript": null, "from_server": null, "state": "available", "zone": + "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "609" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:30 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 36ee1643-fb5c-4cf3-864a-baa7aded806b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/products/servers + method: GET + response: + body: '{"servers": {"ARM64-128GB": {"alt_names": [], "arch": "arm64", "ncpus": + 64, "ram": 137438953472, "gpu": null, "volumes_constraint": {"min_size": 500000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": false, "monthly_price": + 279.99, "hourly_price": 0.56, "capabilities": {"boot_types": ["bootscript", + "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "ARM64-16GB": {"alt_names": [], "arch": "arm64", "ncpus": 16, + "ram": 17179869184, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 400000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 34.99, "hourly_price": + 0.07, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 524288000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 524288000}]}}, "ARM64-2GB": + {"alt_names": [], "arch": "arm64", "ncpus": 4, "ram": 2147483648, "gpu": null, + "volumes_constraint": {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "ARM64-32GB": {"alt_names": [], "arch": "arm64", "ncpus": 32, + "ram": 34359738368, "gpu": null, "volumes_constraint": {"min_size": 300000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 69.99, "hourly_price": + 0.14, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 524288000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 524288000}]}}, "ARM64-4GB": + {"alt_names": [], "arch": "arm64", "ncpus": 6, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 100000000000, "max_size": 100000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 5.99, "hourly_price": 0.012, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 209715200, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 209715200}]}}, "ARM64-64GB": {"alt_names": [], "arch": + "arm64", "ncpus": 48, "ram": 68719476736, "gpu": null, "volumes_constraint": + {"min_size": 400000000000, "max_size": 800000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 139.99, "hourly_price": 0.28, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "ARM64-8GB": {"alt_names": [], "arch": "arm64", "ncpus": 8, + "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 11.99, "hourly_price": + 0.024, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 209715200, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "C1": {"alt_names": + [], "arch": "arm", "ncpus": 4, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 1000000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + true, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": false, "sum_internal_bandwidth": 1073741824, + "sum_internet_bandwidth": 209715200, "interfaces": [{"internal_bandwidth": 1073741824, + "internet_bandwidth": 209715200}]}}, "C2L": {"alt_names": [], "arch": "x86_64", + "ncpus": 8, "ram": 34359738368, "gpu": null, "volumes_constraint": {"min_size": + 50000000000, "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": + {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": true, "monthly_price": + 23.99, "hourly_price": 0.048, "capabilities": {"boot_types": ["bootscript", + "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": 5368709120, + "sum_internet_bandwidth": 629145600, "interfaces": [{"internal_bandwidth": 2684354560, + "internet_bandwidth": 629145600}, {"internal_bandwidth": 2684354560, "internet_bandwidth": + null}]}}, "C2M": {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": 17179869184, + "gpu": null, "volumes_constraint": {"min_size": 50000000000, "max_size": 1000000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": true, "monthly_price": 17.99, "hourly_price": 0.036, "capabilities": + {"boot_types": ["bootscript", "rescue"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": false, "placement_groups": false, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 5368709120, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 2684354560, "internet_bandwidth": 524288000}, {"internal_bandwidth": 2684354560, + "internet_bandwidth": null}]}}, "C2S": {"alt_names": [], "arch": "x86_64", "ncpus": + 4, "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 50000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": true, "monthly_price": + 11.99, "hourly_price": 0.024, "capabilities": {"boot_types": ["bootscript", + "rescue"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + false, "placement_groups": false, "block_storage": false, "private_network": + 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": 2684354560, + "sum_internet_bandwidth": 314572800, "interfaces": [{"internal_bandwidth": 2684354560, + "internet_bandwidth": 314572800}]}}, "DEV1-L": {"alt_names": [], "arch": "x86_64", + "ncpus": 4, "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": + 80000000000, "max_size": 80000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 800000000000}}, "baremetal": false, "monthly_price": + 19.99, "hourly_price": 0.04, "capabilities": {"boot_types": ["bootscript", "rescue", + "local"], "default_boot_type": "local", "hot_snapshots_local_volume": true, + "placement_groups": true, "block_storage": true, "private_network": 8}, "network": + {"ipv6_support": true, "sum_internal_bandwidth": 419430400, "sum_internet_bandwidth": + 419430400, "interfaces": [{"internal_bandwidth": 419430400, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 419430400}]}}, "DEV1-M": + {"alt_names": [], "arch": "x86_64", "ncpus": 3, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 40000000000, "max_size": 40000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, "baremetal": + false, "monthly_price": 9.99, "hourly_price": 0.02, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "local", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": true, "private_network": 8}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": 314572800, "sum_internet_bandwidth": + 314572800, "interfaces": [{"internal_bandwidth": 314572800, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 314572800}]}}, "DEV1-S": + {"alt_names": [], "arch": "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, + "volumes_constraint": {"min_size": 20000000000, "max_size": 20000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, "baremetal": + false, "monthly_price": 4.99, "hourly_price": 0.01, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "local", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": true, "private_network": 8}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": 209715200, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": 209715200, "internet_bandwidth": + null}, {"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "DEV1-XL": + {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": 12884901888, "gpu": null, + "volumes_constraint": {"min_size": 120000000000, "max_size": 120000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 800000000000}}, + "baremetal": false, "monthly_price": 29.99, "hourly_price": 0.06, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "local", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 524288000, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 524288000, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 524288000}]}}, "GP1-L": {"alt_names": [], "arch": "x86_64", "ncpus": 32, "ram": + 137438953472, "gpu": null, "volumes_constraint": {"min_size": 600000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 329.99, "hourly_price": + 0.66, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 5368709120, "sum_internet_bandwidth": 5368709120, "interfaces": [{"internal_bandwidth": + 5368709120, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 5368709120}]}}, "GP1-M": {"alt_names": [], "arch": "x86_64", "ncpus": 16, "ram": + 68719476736, "gpu": null, "volumes_constraint": {"min_size": 600000000000, "max_size": + 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 169.99, "hourly_price": + 0.34, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 1610612736, "sum_internet_bandwidth": 1610612736, "interfaces": [{"internal_bandwidth": + 1610612736, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 1610612736}]}}, "GP1-S": {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": + 34359738368, "gpu": null, "volumes_constraint": {"min_size": 300000000000, "max_size": + 300000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 84.99, "hourly_price": + 0.17, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 838860800, "sum_internet_bandwidth": 838860800, "interfaces": [{"internal_bandwidth": + 838860800, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 838860800}]}}, "GP1-XL": {"alt_names": [], "arch": "x86_64", "ncpus": 48, "ram": + 274877906944, "gpu": null, "volumes_constraint": {"min_size": 600000000000, + "max_size": 600000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 699.99, "hourly_price": + 1.4, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 10737418240, "sum_internet_bandwidth": 10737418240, "interfaces": [{"internal_bandwidth": + 10737418240, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 10737418240}]}}, "GP1-XS": {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": + 17179869184, "gpu": null, "volumes_constraint": {"min_size": 150000000000, "max_size": + 150000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": + 800000000000}}, "baremetal": false, "monthly_price": 41.99, "hourly_price": + 0.084, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 524288000, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + 524288000, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 524288000}]}}, "RENDER-S": {"alt_names": [], "arch": "x86_64", "ncpus": 10, + "ram": 48318382080, "gpu": 1, "volumes_constraint": {"min_size": 400000000000, + "max_size": 400000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 800000000000}}, "baremetal": false, "monthly_price": 499.99, "hourly_price": + 1.0, "capabilities": {"boot_types": ["local", "rescue"], "default_boot_type": + "local", "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + true, "private_network": 8}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + 1073741824, "sum_internet_bandwidth": 1073741824, "interfaces": [{"internal_bandwidth": + 1073741824, "internet_bandwidth": null}, {"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "START1-L": {"alt_names": [], "arch": "x86_64", "ncpus": 8, + "ram": 8589934592, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 15.99, "hourly_price": + 0.032, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 419430400, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 419430400}]}}, "START1-M": + {"alt_names": [], "arch": "x86_64", "ncpus": 4, "ram": 4294967296, "gpu": null, + "volumes_constraint": {"min_size": 100000000000, "max_size": 100000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 7.99, "hourly_price": 0.016, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 314572800, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 314572800}]}}, "START1-S": {"alt_names": [], "arch": + "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 3.99, "hourly_price": 0.008, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "START1-XS": {"alt_names": [], "arch": "x86_64", "ncpus": 1, + "ram": 1073741824, "gpu": null, "volumes_constraint": {"min_size": 25000000000, + "max_size": 25000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 1.99, "hourly_price": + 0.004, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 104857600, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 104857600}]}}, "VC1L": {"alt_names": + ["X64-8GB"], "arch": "x86_64", "ncpus": 6, "ram": 8589934592, "gpu": null, "volumes_constraint": + {"min_size": 200000000000, "max_size": 200000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 9.99, "hourly_price": 0.02, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "VC1M": {"alt_names": ["X64-4GB"], "arch": "x86_64", "ncpus": + 4, "ram": 4294967296, "gpu": null, "volumes_constraint": {"min_size": 100000000000, + "max_size": 100000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 5.99, "hourly_price": + 0.012, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 209715200, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 209715200}]}}, "VC1S": {"alt_names": + ["X64-2GB"], "arch": "x86_64", "ncpus": 2, "ram": 2147483648, "gpu": null, "volumes_constraint": + {"min_size": 50000000000, "max_size": 50000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 2.99, "hourly_price": 0.006, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 209715200, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 209715200}]}}, "X64-120GB": {"alt_names": [], "arch": "x86_64", "ncpus": 12, + "ram": 128849018880, "gpu": null, "volumes_constraint": {"min_size": 500000000000, + "max_size": 1000000000000}, "per_volume_constraint": {"l_ssd": {"min_size": + 1000000000, "max_size": 200000000000}}, "baremetal": false, "monthly_price": + 179.99, "hourly_price": 0.36, "capabilities": {"boot_types": ["bootscript", + "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}, "X64-15GB": {"alt_names": [], "arch": "x86_64", "ncpus": 6, + "ram": 16106127360, "gpu": null, "volumes_constraint": {"min_size": 200000000000, + "max_size": 200000000000}, "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, + "max_size": 200000000000}}, "baremetal": false, "monthly_price": 24.99, "hourly_price": + 0.05, "capabilities": {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": + "bootscript", "hot_snapshots_local_volume": true, "placement_groups": true, + "block_storage": false, "private_network": 0}, "network": {"ipv6_support": true, + "sum_internal_bandwidth": null, "sum_internet_bandwidth": 262144000, "interfaces": + [{"internal_bandwidth": null, "internet_bandwidth": 262144000}]}}, "X64-30GB": + {"alt_names": [], "arch": "x86_64", "ncpus": 8, "ram": 32212254720, "gpu": null, + "volumes_constraint": {"min_size": 300000000000, "max_size": 400000000000}, + "per_volume_constraint": {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, + "baremetal": false, "monthly_price": 49.99, "hourly_price": 0.1, "capabilities": + {"boot_types": ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", + "hot_snapshots_local_volume": true, "placement_groups": true, "block_storage": + false, "private_network": 0}, "network": {"ipv6_support": true, "sum_internal_bandwidth": + null, "sum_internet_bandwidth": 524288000, "interfaces": [{"internal_bandwidth": + null, "internet_bandwidth": 524288000}]}}, "X64-60GB": {"alt_names": [], "arch": + "x86_64", "ncpus": 10, "ram": 64424509440, "gpu": null, "volumes_constraint": + {"min_size": 400000000000, "max_size": 700000000000}, "per_volume_constraint": + {"l_ssd": {"min_size": 1000000000, "max_size": 200000000000}}, "baremetal": + false, "monthly_price": 89.99, "hourly_price": 0.18, "capabilities": {"boot_types": + ["bootscript", "rescue", "local"], "default_boot_type": "bootscript", "hot_snapshots_local_volume": + true, "placement_groups": true, "block_storage": false, "private_network": 0}, + "network": {"ipv6_support": true, "sum_internal_bandwidth": null, "sum_internet_bandwidth": + 1073741824, "interfaces": [{"internal_bandwidth": null, "internet_bandwidth": + 1073741824}]}}}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "23705" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:30 GMT + Link: + - ; rel="last" + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0d9d29c2-c4df-4e4d-bb86-61dd9a4d4048 + X-Total-Count: + - "32" + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"project":"951df375-e094-4d26-97c1-ba548eeb9c42"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/ips + method: POST + response: + body: '{"ip": {"id": "562b08a2-4e2c-452d-8025-36e27d97ac2a", "address": "51.15.230.42", + "reverse": null, "server": null, "organization": "951df375-e094-4d26-97c1-ba548eeb9c42", + "project": "951df375-e094-4d26-97c1-ba548eeb9c42", "zone": "fr-par-1", "tags": + []}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "253" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:31 GMT + Location: + - https://cp-par1.scaleway.com/ips/562b08a2-4e2c-452d-8025-36e27d97ac2a + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - bdfda488-1e79-49fd-8994-6063aad84c57 + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"name":"cli-srv-compassionate-bhabha","commercial_type":"DEV1-S","image":"cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc","public_ip":"562b08a2-4e2c-452d-8025-36e27d97ac2a","project":"951df375-e094-4d26-97c1-ba548eeb9c42"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers + method: POST + response: + body: '{"server": {"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "hostname": "cli-srv-compassionate-bhabha", "image": {"id": "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc", + "name": "Ubuntu 20.04 Focal Fossa", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "6e66445c-e52e-4cfa-bf4c-f36e291e2c30", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "size": + 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": + "2020-07-09T10:38:16.265025+00:00", "modification_date": "2020-07-09T10:38:16.265025+00:00", + "default_bootscript": null, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"0": {"id": "0376b188-9e3b-4e79-bb29-5e2429be5017", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "export_uri": + null, "organization": "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "server": {"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha"}, + "size": 20000000000, "state": "available", "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:35.699626+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": + {"id": "562b08a2-4e2c-452d-8025-36e27d97ac2a", "address": "51.15.230.42", "dynamic": + false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": + false, "private_ip": null, "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:32.298095+00:00", "bootscript": {"id": + "fdfe150f-a870-4ce4-b432-9f56b5b995c1", "public": true, "title": "x86_64 mainline + 4.4.230 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "project": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.4-4.4.230-rev1/vmlinuz-4.4.230", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + true, "zone": "fr-par-1"}, "security_group": {"id": "54e2d5f6-d79c-44cc-b19f-613699b9cc7e", + "name": "Default security group"}, "location": null, "maintenances": [], "allowed_actions": + ["poweron", "backup"], "placement_group": null, "private_nics": [], "zone": + "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "2634" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:35 GMT + Location: + - https://cp-par1.scaleway.com/servers/f109874c-fd42-432a-b86c-e1a9c57696ee + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - f699bb3b-3a25-4bac-bb6c-5ef129992e53 + status: 201 Created + code: 201 + duration: "" +- request: + body: '{"private_network_id":"6e4eb07c-9dd8-4395-8c99-f5ab14af80db"}' + form: {} + headers: + Content-Type: + - application/json + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f109874c-fd42-432a-b86c-e1a9c57696ee/private_nics + method: POST + response: + body: '{"private_nic": {"id": "8a65f133-def7-4bbc-9773-6131ced5ec41", "private_network_id": + "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "mac_address": "02:00:00:00:1d:49", "creation_date": "2020-09-14T13:36:36.033444+00:00", + "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "287" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:36 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 2dfee2a2-7539-4ac5-9926-e412208278ba + status: 201 Created + code: 201 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/vpc/v1/zones/fr-par-1/private-networks/6e4eb07c-9dd8-4395-8c99-f5ab14af80db + method: GET + response: + body: '{"id":"6e4eb07c-9dd8-4395-8c99-f5ab14af80db","name":"cli-pn-happy-wescoff","tags":[],"organization_id":"951df375-e094-4d26-97c1-ba548eeb9c42","created_at":"2020-09-14T13:36:30.121419Z","updated_at":"2020-09-14T13:36:30.121419Z","project_id":"951df375-e094-4d26-97c1-ba548eeb9c42","zone":"fr-par-1"}' + headers: + Content-Length: + - "298" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:36 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - c8a6535e-3298-4679-a783-21d71c3a3d0f + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers?page=1&private_network=6e4eb07c-9dd8-4395-8c99-f5ab14af80db + method: GET + response: + body: '{"servers": [{"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "hostname": "cli-srv-compassionate-bhabha", "image": {"id": "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc", + "name": "Ubuntu 20.04 Focal Fossa", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "6e66445c-e52e-4cfa-bf4c-f36e291e2c30", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "size": + 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": + "2020-07-09T10:38:16.265025+00:00", "modification_date": "2020-07-09T10:38:16.265025+00:00", + "default_bootscript": null, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"0": {"id": "0376b188-9e3b-4e79-bb29-5e2429be5017", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "export_uri": + null, "organization": "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "server": {"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha"}, + "size": 20000000000, "state": "available", "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:35.699626+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": + {"id": "562b08a2-4e2c-452d-8025-36e27d97ac2a", "address": "51.15.230.42", "dynamic": + false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": + false, "private_ip": null, "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:32.298095+00:00", "bootscript": {"id": + "fdfe150f-a870-4ce4-b432-9f56b5b995c1", "public": true, "title": "x86_64 mainline + 4.4.230 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "project": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.4-4.4.230-rev1/vmlinuz-4.4.230", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + true, "zone": "fr-par-1"}, "security_group": {"id": "54e2d5f6-d79c-44cc-b19f-613699b9cc7e", + "name": "Default security group"}, "location": null, "maintenances": [], "allowed_actions": + ["poweron", "backup"], "placement_group": null, "private_nics": [{"id": "8a65f133-def7-4bbc-9773-6131ced5ec41", + "private_network_id": "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "mac_address": "02:00:00:00:1d:49", "creation_date": "2020-09-14T13:36:36.033444+00:00", + "zone": "fr-par-1"}], "zone": "fr-par-1"}]}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "2907" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:36 GMT + Link: + - ; + rel="last" + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 70d16b30-01e4-42c2-9732-5d13fdfc96a5 + X-Total-Count: + - "1" + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f109874c-fd42-432a-b86c-e1a9c57696ee + method: GET + response: + body: '{"server": {"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha", + "arch": "x86_64", "commercial_type": "DEV1-S", "boot_type": "local", "organization": + "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "hostname": "cli-srv-compassionate-bhabha", "image": {"id": "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc", + "name": "Ubuntu 20.04 Focal Fossa", "organization": "51b656e3-4865-41e8-adbc-0c45bdd780db", + "project": "51b656e3-4865-41e8-adbc-0c45bdd780db", "root_volume": {"id": "6e66445c-e52e-4cfa-bf4c-f36e291e2c30", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "size": + 10000000000}, "extra_volumes": {}, "public": true, "arch": "x86_64", "creation_date": + "2020-07-09T10:38:16.265025+00:00", "modification_date": "2020-07-09T10:38:16.265025+00:00", + "default_bootscript": null, "from_server": null, "state": "available", "zone": + "fr-par-1"}, "volumes": {"0": {"id": "0376b188-9e3b-4e79-bb29-5e2429be5017", + "name": "ubuntu_20.04_focal_fossa:volume-0", "volume_type": "l_ssd", "export_uri": + null, "organization": "951df375-e094-4d26-97c1-ba548eeb9c42", "project": "951df375-e094-4d26-97c1-ba548eeb9c42", + "server": {"id": "f109874c-fd42-432a-b86c-e1a9c57696ee", "name": "cli-srv-compassionate-bhabha"}, + "size": 20000000000, "state": "available", "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:35.699626+00:00", "zone": "fr-par-1"}}, + "tags": [], "state": "stopped", "protected": false, "state_detail": "", "public_ip": + {"id": "562b08a2-4e2c-452d-8025-36e27d97ac2a", "address": "51.15.230.42", "dynamic": + false}, "ipv6": null, "extra_networks": [], "dynamic_ip_required": false, "enable_ipv6": + false, "private_ip": null, "creation_date": "2020-09-14T13:36:32.298095+00:00", + "modification_date": "2020-09-14T13:36:32.298095+00:00", "bootscript": {"id": + "fdfe150f-a870-4ce4-b432-9f56b5b995c1", "public": true, "title": "x86_64 mainline + 4.4.230 rev1", "architecture": "x86_64", "organization": "11111111-1111-4111-8111-111111111111", + "project": "11111111-1111-4111-8111-111111111111", "kernel": "http://169.254.42.24/kernel/x86_64-mainline-lts-4.4-4.4.230-rev1/vmlinuz-4.4.230", + "dtb": "", "initrd": "http://169.254.42.24/initrd/initrd-Linux-x86_64-v3.14.6.gz", + "bootcmdargs": "LINUX_COMMON scaleway boot=local nbd.max_part=16", "default": + true, "zone": "fr-par-1"}, "security_group": {"id": "54e2d5f6-d79c-44cc-b19f-613699b9cc7e", + "name": "Default security group"}, "location": null, "maintenances": [], "allowed_actions": + ["poweron", "backup"], "placement_group": null, "private_nics": [{"id": "8a65f133-def7-4bbc-9773-6131ced5ec41", + "private_network_id": "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "mac_address": "02:00:00:00:1d:49", "creation_date": "2020-09-14T13:36:36.033444+00:00", + "zone": "fr-par-1"}], "zone": "fr-par-1"}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - "2904" + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 0cce6e8b-b82b-40a8-aac3-95fc3847c785 + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/servers/f109874c-fd42-432a-b86c-e1a9c57696ee + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 5ca32638-10a6-4408-ad7a-a5b8d6eec577 + status: 204 No Content + code: 204 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/instance/v1/zones/fr-par-1/volumes/0376b188-9e3b-4e79-bb29-5e2429be5017 + method: DELETE + response: + body: "" + headers: + Cache-Control: + - no-cache + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:37 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - abc82474-4421-4d53-af43-46f075832ad1 + status: 204 No Content + code: 204 + duration: "" +- request: + body: "" + form: {} + headers: + User-Agent: + - scaleway-sdk-go/v1.0.0-beta.6+dev (go1.15.2; darwin; amd64) cli-e2e-test + url: https://api.scaleway.com/vpc/v1/zones/fr-par-1/private-networks/6e4eb07c-9dd8-4395-8c99-f5ab14af80db + method: DELETE + response: + body: "" + headers: + Content-Security-Policy: + - default-src 'none'; frame-ancestors 'none' + Content-Type: + - application/json + Date: + - Mon, 14 Sep 2020 13:36:39 GMT + Server: + - Scaleway API-Gateway + Strict-Transport-Security: + - max-age=63072000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + X-Request-Id: + - 79585831-4936-4b0d-bcc4-6c0de2c1513f + status: 204 No Content + code: 204 + duration: "" diff --git a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden new file mode 100644 index 0000000000..e90a9f31c9 --- /dev/null +++ b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden @@ -0,0 +1,31 @@ +🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 +🟩🟩🟩 STDOUT️ 🟩🟩🟩️ +ID 6e4eb07c-9dd8-4395-8c99-f5ab14af80db +Name cli-pn-happy-wescoff +OrganizationID 951df375-e094-4d26-97c1-ba548eeb9c42 +ProjectID 951df375-e094-4d26-97c1-ba548eeb9c42 +Zone fr-par-1 +CreatedAt few seconds ago +UpdatedAt few seconds ago + +Servers: +SERVER ID NIC ID MAC ADDRESS +f109874c-fd42-432a-b86c-e1a9c57696ee 8a65f133-def7-4bbc-9773-6131ced5ec41 02:00:00:00:1d:49 +🟩🟩🟩 JSON STDOUT 🟩🟩🟩 +{ + "id": "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", + "name": "cli-pn-happy-wescoff", + "organization_id": "951df375-e094-4d26-97c1-ba548eeb9c42", + "project_id": "951df375-e094-4d26-97c1-ba548eeb9c42", + "zone": "fr-par-1", + "tags": [], + "created_at": "1970-01-01T00:00:00.0Z", + "updated_at": "1970-01-01T00:00:00.0Z", + "servers": [ + { + "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "nic_id": "8a65f133-def7-4bbc-9773-6131ced5ec41", + "mac": "02:00:00:00:1d:49" + } + ] +} From f53f78c7f74b887c7c875c718741d70b6132065f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 14 Sep 2020 16:19:58 +0200 Subject: [PATCH 2/3] Fix --- .../namespaces/vpc/v1/custom_private_network.go | 16 ++++++++++------ .../test-get-private-network-simple.golden | 6 ++++-- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/internal/namespaces/vpc/v1/custom_private_network.go b/internal/namespaces/vpc/v1/custom_private_network.go index 5004251991..dc49f68987 100644 --- a/internal/namespaces/vpc/v1/custom_private_network.go +++ b/internal/namespaces/vpc/v1/custom_private_network.go @@ -11,9 +11,11 @@ import ( func privateNetworkGetBuilder(c *core.Command) *core.Command { type customServer struct { - ServerID string `json:"server_id"` - NicID string `json:"nic_id"` - MacAddress string `json:"mac"` + ServerID string `json:"server_id"` + ServerName string `json:"server_name"` + ServerState instance.ServerState `json:"server_state"` + NicID string `json:"nic_id"` + MacAddress string `json:"mac"` } c.Interceptor = func(ctx context.Context, argsI interface{}, runner core.CommandRunner) (interface{}, error) { @@ -37,9 +39,11 @@ func privateNetworkGetBuilder(c *core.Command) *core.Command { for _, nic := range server.PrivateNics { if nic.PrivateNetworkID == pn.ID { customServers = append(customServers, customServer{ - NicID: nic.ID, - ServerID: nic.ServerID, - MacAddress: nic.MacAddress, + NicID: nic.ID, + ServerID: nic.ServerID, + MacAddress: nic.MacAddress, + ServerName: server.Name, + ServerState: server.State, }) } } diff --git a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden index e90a9f31c9..964fa34f0f 100644 --- a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden +++ b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden @@ -9,8 +9,8 @@ CreatedAt few seconds ago UpdatedAt few seconds ago Servers: -SERVER ID NIC ID MAC ADDRESS -f109874c-fd42-432a-b86c-e1a9c57696ee 8a65f133-def7-4bbc-9773-6131ced5ec41 02:00:00:00:1d:49 +SERVER ID SERVER NAME SERVER STATE NIC ID MAC ADDRESS +f109874c-fd42-432a-b86c-e1a9c57696ee cli-srv-compassionate-bhabha archived 8a65f133-def7-4bbc-9773-6131ced5ec41 02:00:00:00:1d:49 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", @@ -24,6 +24,8 @@ f109874c-fd42-432a-b86c-e1a9c57696ee 8a65f133-def7-4bbc-9773-6131ced5ec41 02:0 "servers": [ { "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "server_name": "cli-srv-compassionate-bhabha", + "server_state": "stopped", "nic_id": "8a65f133-def7-4bbc-9773-6131ced5ec41", "mac": "02:00:00:00:1d:49" } From f3958d51a436f1cc25f12201bf69b00142b4d1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20L=C3=A9one?= Date: Mon, 14 Sep 2020 19:24:01 +0200 Subject: [PATCH 3/3] Fix --- .../vpc/v1/custom_private_network.go | 20 +++++++++---------- .../test-get-private-network-simple.golden | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/internal/namespaces/vpc/v1/custom_private_network.go b/internal/namespaces/vpc/v1/custom_private_network.go index dc49f68987..6878b145ba 100644 --- a/internal/namespaces/vpc/v1/custom_private_network.go +++ b/internal/namespaces/vpc/v1/custom_private_network.go @@ -11,11 +11,11 @@ import ( func privateNetworkGetBuilder(c *core.Command) *core.Command { type customServer struct { - ServerID string `json:"server_id"` - ServerName string `json:"server_name"` - ServerState instance.ServerState `json:"server_state"` - NicID string `json:"nic_id"` - MacAddress string `json:"mac"` + ID string `json:"id"` + Name string `json:"name"` + State instance.ServerState `json:"state"` + NicID string `json:"nic_id"` + MacAddress string `json:"mac"` } c.Interceptor = func(ctx context.Context, argsI interface{}, runner core.CommandRunner) (interface{}, error) { @@ -39,11 +39,11 @@ func privateNetworkGetBuilder(c *core.Command) *core.Command { for _, nic := range server.PrivateNics { if nic.PrivateNetworkID == pn.ID { customServers = append(customServers, customServer{ - NicID: nic.ID, - ServerID: nic.ServerID, - MacAddress: nic.MacAddress, - ServerName: server.Name, - ServerState: server.State, + NicID: nic.ID, + ID: nic.ServerID, + MacAddress: nic.MacAddress, + Name: server.Name, + State: server.State, }) } } diff --git a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden index 964fa34f0f..f388d529e7 100644 --- a/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden +++ b/internal/namespaces/vpc/v1/testdata/test-get-private-network-simple.golden @@ -9,8 +9,8 @@ CreatedAt few seconds ago UpdatedAt few seconds ago Servers: -SERVER ID SERVER NAME SERVER STATE NIC ID MAC ADDRESS -f109874c-fd42-432a-b86c-e1a9c57696ee cli-srv-compassionate-bhabha archived 8a65f133-def7-4bbc-9773-6131ced5ec41 02:00:00:00:1d:49 +ID NAME STATE NIC ID MAC ADDRESS +f109874c-fd42-432a-b86c-e1a9c57696ee cli-srv-compassionate-bhabha archived 8a65f133-def7-4bbc-9773-6131ced5ec41 02:00:00:00:1d:49 🟩🟩🟩 JSON STDOUT 🟩🟩🟩 { "id": "6e4eb07c-9dd8-4395-8c99-f5ab14af80db", @@ -23,9 +23,9 @@ f109874c-fd42-432a-b86c-e1a9c57696ee cli-srv-compassionate-bhabha archived "updated_at": "1970-01-01T00:00:00.0Z", "servers": [ { - "server_id": "f109874c-fd42-432a-b86c-e1a9c57696ee", - "server_name": "cli-srv-compassionate-bhabha", - "server_state": "stopped", + "id": "f109874c-fd42-432a-b86c-e1a9c57696ee", + "name": "cli-srv-compassionate-bhabha", + "state": "stopped", "nic_id": "8a65f133-def7-4bbc-9773-6131ced5ec41", "mac": "02:00:00:00:1d:49" }