---
version: 1
interactions:
- request:
    body: '{"id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890", "name":"cli-pn-competent-gates",
      "tags":[], "organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae",
      "subnets":[{"id":"132ea409-31ce-4f88-b7da-1f92825b491d", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "subnet":"172.16.92.0/22", "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae",
      "private_network_id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890", "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322"},
      {"id":"4582d3ee-0056-4049-9842-30ec2fb12376", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "subnet":"fd5d:9132:befe:3ee3::/64",
      "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "private_network_id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890",
      "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322"}], "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322",
      "dhcp_enabled":true, "default_route_propagation_enabled":false, "region":"fr-par"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks
    method: POST
  response:
    body: '{"id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890", "name":"cli-pn-competent-gates",
      "tags":[], "organization_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae",
      "subnets":[{"id":"132ea409-31ce-4f88-b7da-1f92825b491d", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "subnet":"172.16.92.0/22", "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae",
      "private_network_id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890", "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322"},
      {"id":"4582d3ee-0056-4049-9842-30ec2fb12376", "created_at":"2025-10-28T05:25:38.482070Z",
      "updated_at":"2025-10-28T05:25:38.482070Z", "subnet":"fd5d:9132:befe:3ee3::/64",
      "project_id":"46fd79d8-1a35-4548-bfb8-03df51a0ebae", "private_network_id":"ef7ea057-2b33-49d9-aa56-5431bf2b7890",
      "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322"}], "vpc_id":"b1972fa8-5349-4d37-8777-f4f205bbd322",
      "dhcp_enabled":true, "default_route_propagation_enabled":false, "region":"fr-par"}'
    headers:
      Content-Length:
      - "1092"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Tue, 28 Oct 2025 05:25:39 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - bc356849-0f1e-4b0f-b371-97ab4078b5de
    status: 200 OK
    code: 200
    duration: ""
- request:
    body: '{"details":[{"argument_name":"endpoints.private_network","help_message":"You
      must specify an ipam_config or a service_ips","reason":"constraint"}],"message":"invalid
      argument(s)","type":"invalid_arguments"}'
    form: {}
    headers:
      Content-Type:
      - application/json
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/redis/v1/zones/fr-par-1/clusters
    method: POST
  response:
    body: '{"details":[{"argument_name":"endpoints.private_network","help_message":"You
      must specify an ipam_config or a service_ips","reason":"constraint"}],"message":"invalid
      argument(s)","type":"invalid_arguments"}'
    headers:
      Content-Length:
      - "206"
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Tue, 28 Oct 2025 05:26:40 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - 14e2bb76-c769-4064-a9cb-1fff3e6e4271
    status: 400 Bad Request
    code: 400
    duration: ""
- request:
    body: ""
    form: {}
    headers:
      User-Agent:
      - scaleway-sdk-go/v1.0.0-beta.7+dev (go1.25.0; darwin; amd64) cli-e2e-test
    url: https://api.scaleway.com/vpc/v2/regions/fr-par/private-networks/ef7ea057-2b33-49d9-aa56-5431bf2b7890
    method: DELETE
  response:
    body: ""
    headers:
      Content-Security-Policy:
      - default-src 'none'; frame-ancestors 'none'
      Content-Type:
      - application/json
      Date:
      - Tue, 28 Oct 2025 05:26:41 GMT
      Server:
      - Scaleway API Gateway (fr-par-2;edge02)
      Strict-Transport-Security:
      - max-age=63072000
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - DENY
      X-Request-Id:
      - 316eef69-87a9-4c2e-91a5-a43de9c5361e
    status: 204 No Content
    code: 204
    duration: ""
