From e53f3e92e40367a7f35b6478c11d7d5c06af0b0f Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 27 Jun 2023 10:06:01 +0000 Subject: [PATCH] feat: update generated APIs --- ...e-instance-private-nic-create-usage.golden | 1 + ...-usage-lb-backend-add-servers-usage.golden | 2 +- ...t-all-usage-lb-backend-create-usage.golden | 2 +- ...t-all-usage-lb-backend-delete-usage.golden | 2 +- ...test-all-usage-lb-backend-get-usage.golden | 2 +- ...ge-lb-backend-list-statistics-usage.golden | 2 +- ...est-all-usage-lb-backend-list-usage.golden | 2 +- ...age-lb-backend-remove-servers-usage.golden | 2 +- ...-usage-lb-backend-set-servers-usage.golden | 2 +- ...lb-backend-update-healthcheck-usage.golden | 2 +- ...t-all-usage-lb-backend-update-usage.golden | 2 +- ...l-usage-lb-certificate-create-usage.golden | 2 +- ...l-usage-lb-certificate-delete-usage.golden | 2 +- ...-all-usage-lb-certificate-get-usage.golden | 2 +- ...all-usage-lb-certificate-list-usage.golden | 2 +- ...l-usage-lb-certificate-update-usage.golden | 2 +- ...-all-usage-lb-frontend-create-usage.golden | 2 +- ...-all-usage-lb-frontend-delete-usage.golden | 2 +- ...est-all-usage-lb-frontend-get-usage.golden | 2 +- ...st-all-usage-lb-frontend-list-usage.golden | 2 +- ...-all-usage-lb-frontend-update-usage.golden | 2 +- ...age-lb-private-network-attach-usage.golden | 2 +- ...age-lb-private-network-detach-usage.golden | 2 +- ...usage-lb-private-network-list-usage.golden | 2 +- ...est-all-usage-lb-route-create-usage.golden | 2 +- ...est-all-usage-lb-route-delete-usage.golden | 2 +- .../test-all-usage-lb-route-get-usage.golden | 2 +- .../test-all-usage-lb-route-list-usage.golden | 2 +- ...est-all-usage-lb-route-update-usage.golden | 2 +- ...ll-usage-lb-subscriber-create-usage.golden | 2 +- ...ll-usage-lb-subscriber-delete-usage.golden | 2 +- ...t-all-usage-lb-subscriber-get-usage.golden | 2 +- ...-all-usage-lb-subscriber-list-usage.golden | 2 +- ...usage-lb-subscriber-subscribe-usage.golden | 2 +- ...age-lb-subscriber-unsubscribe-usage.golden | 2 +- ...ll-usage-lb-subscriber-update-usage.golden | 2 +- .../test-all-usage-lbacl-create-usage.golden | 4 +- .../test-all-usage-lbacl-delete-usage.golden | 2 +- .../test-all-usage-lbacl-get-usage.golden | 2 +- .../test-all-usage-lbacl-list-usage.golden | 2 +- .../test-all-usage-lbacl-set-usage.golden | 4 +- .../test-all-usage-lbacl-update-usage.golden | 4 +- .../test-all-usage-lbip-create-usage.golden | 2 +- .../test-all-usage-lbip-delete-usage.golden | 2 +- .../test-all-usage-lbip-get-usage.golden | 2 +- .../test-all-usage-lbip-list-usage.golden | 2 +- .../test-all-usage-lbip-update-usage.golden | 2 +- .../test-all-usage-lblb-create-usage.golden | 2 +- .../test-all-usage-lblb-delete-usage.golden | 2 +- ...test-all-usage-lblb-get-stats-usage.golden | 2 +- .../test-all-usage-lblb-get-usage.golden | 2 +- .../test-all-usage-lblb-list-usage.golden | 2 +- .../test-all-usage-lblb-migrate-usage.golden | 2 +- ...est-all-usage-lblb-types-list-usage.golden | 2 +- .../test-all-usage-lblb-update-usage.golden | 2 +- ...-marketplace-local-image-list-usage.golden | 1 + docs/commands/instance.md | 1 + docs/commands/lb.md | 114 +++++++++--------- docs/commands/marketplace.md | 1 + go.mod | 2 +- go.sum | 4 +- internal/namespaces/lb/v1/lb_cli.go | 114 +++++++++--------- 62 files changed, 178 insertions(+), 174 deletions(-) diff --git a/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden b/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden index 3b44a9208c..f291a453d6 100644 --- a/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-instance-private-nic-create-usage.golden @@ -9,6 +9,7 @@ ARGS: server-id UUID of the Instance the private NIC will be attached to private-network-id UUID of the private network where the private NIC will be attached [tags.{index}] Private NIC tags + [ip-ids.{index}] Ip_ids defined from IPAM [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-add-servers-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-add-servers-usage.golden index 0b69fa7b3c..e632586c09 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-add-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-add-servers-usage.golden @@ -13,7 +13,7 @@ ARGS: [baremetal-server-id.{index}] UIID of the baremetal server. [baremetal-server-tag.{index}] Tag of the baremetal server. server-ip.{index} List of IP addresses to add to backend servers - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for add-servers diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden index d46f8d24c4..379dfe5b80 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-create-usage.golden @@ -47,7 +47,7 @@ ARGS: [ignore-ssl-server-verify] Defines whether the server certificate verification should be ignored [redispatch-attempt-count] Whether to use another backend server on each attempt [max-retries] Number of retries when a backend server connection failed - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) DEPRECATED ARGS: [send-proxy-v2] Deprecated in favor of proxy_protocol field diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-delete-usage.golden index c46fd64820..84811176d9 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: backend-id ID of the backend to delete - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-get-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-get-usage.golden index f25a83c57b..deb617b2cf 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: backend-id Backend ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-list-statistics-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-list-statistics-usage.golden index fce999a823..0f5efa59b8 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-list-statistics-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-list-statistics-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id Load Balancer ID [backend-id] ID of the backend - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list-statistics diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-list-usage.golden index f4e83513d6..77ab122b06 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-list-usage.golden @@ -9,7 +9,7 @@ ARGS: lb-id Load Balancer ID [name] Name of the backend to filter for [order-by] Sort order of backends in the response (created_at_asc | created_at_desc | name_asc | name_desc) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-remove-servers-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-remove-servers-usage.golden index 3dff58ec82..5200e413e5 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-remove-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-remove-servers-usage.golden @@ -13,7 +13,7 @@ ARGS: [baremetal-server-id.{index}] UIID of the baremetal server. [baremetal-server-tag.{index}] Tag of the baremetal server. server-ip.{index} List of IP addresses to remove from backend servers - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for remove-servers diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-set-servers-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-set-servers-usage.golden index 1587057c9c..664f554fba 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-set-servers-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-set-servers-usage.golden @@ -13,7 +13,7 @@ ARGS: [baremetal-server-id.{index}] UIID of the baremetal server. [baremetal-server-tag.{index}] Tag of the baremetal server. server-ip.{index} List of IP addresses for backend servers. Any other existing backend servers will be removed - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for set-servers diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden index 3bbc2c14c1..3f507929db 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-update-healthcheck-usage.golden @@ -25,7 +25,7 @@ ARGS: [https-config.sni] SNI used for SSL health checks [transient-check-delay.seconds] [transient-check-delay.nanos] - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update-healthcheck diff --git a/cmd/scw/testdata/test-all-usage-lb-backend-update-usage.golden b/cmd/scw/testdata/test-all-usage-lb-backend-update-usage.golden index 665824d030..a432f7c400 100644 --- a/cmd/scw/testdata/test-all-usage-lb-backend-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-backend-update-usage.golden @@ -23,7 +23,7 @@ ARGS: [ignore-ssl-server-verify] Defines whether the server certificate verification should be ignored [redispatch-attempt-count] Whether to use another backend server on each attempt [max-retries] Number of retries when a backend server connection failed - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) DEPRECATED ARGS: [send-proxy-v2] Deprecated in favor of proxy_protocol field diff --git a/cmd/scw/testdata/test-all-usage-lb-certificate-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-certificate-create-usage.golden index 754c33c3a8..4db9f1eaf7 100644 --- a/cmd/scw/testdata/test-all-usage-lb-certificate-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-certificate-create-usage.golden @@ -11,7 +11,7 @@ ARGS: [letsencrypt-common-name] Main domain name of certificate (this domain must exist and resolve to your Load Balancer IP address) [letsencrypt-alternative-name.{index}] Alternative domain names (all domain names must exist and resolve to your Load Balancer IP address) [custom-certificate-chain] Full PEM-formatted certificate, consisting of the entire certificate chain including public key, private key, and (optionally) Certificate Authorities - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-lb-certificate-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lb-certificate-delete-usage.golden index 5da0aea3b0..c55abec864 100644 --- a/cmd/scw/testdata/test-all-usage-lb-certificate-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-certificate-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: certificate-id Certificate ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lb-certificate-get-usage.golden b/cmd/scw/testdata/test-all-usage-lb-certificate-get-usage.golden index 7801e0593a..6cc72b1581 100644 --- a/cmd/scw/testdata/test-all-usage-lb-certificate-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-certificate-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: certificate-id Certificate ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lb-certificate-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-certificate-list-usage.golden index bc00018526..75d26895ec 100644 --- a/cmd/scw/testdata/test-all-usage-lb-certificate-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-certificate-list-usage.golden @@ -9,7 +9,7 @@ ARGS: lb-id Load Balancer ID [order-by] Sort order of certificates in the response (created_at_asc | created_at_desc | name_asc | name_desc) [name] Certificate name to filter for, only certificates of this name will be returned - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-certificate-update-usage.golden b/cmd/scw/testdata/test-all-usage-lb-certificate-update-usage.golden index 9208dc80b0..c206382015 100644 --- a/cmd/scw/testdata/test-all-usage-lb-certificate-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-certificate-update-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: certificate-id Certificate ID name Certificate name - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-lb-frontend-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-frontend-create-usage.golden index 735bd1d3ff..73a71d2719 100644 --- a/cmd/scw/testdata/test-all-usage-lb-frontend-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-frontend-create-usage.golden @@ -13,7 +13,7 @@ ARGS: [timeout-client=5m] Maximum allowed inactivity time on the client side [certificate-ids.{index}] List of SSL/TLS certificate IDs to bind to the frontend [enable-http3] Defines whether to enable HTTP/3 protocol on the frontend - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) DEPRECATED ARGS: [certificate-id] Certificate ID, deprecated in favor of certificate_ids array diff --git a/cmd/scw/testdata/test-all-usage-lb-frontend-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lb-frontend-delete-usage.golden index 821aeaa589..c7c6525874 100644 --- a/cmd/scw/testdata/test-all-usage-lb-frontend-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-frontend-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: frontend-id ID of the frontend to delete - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lb-frontend-get-usage.golden b/cmd/scw/testdata/test-all-usage-lb-frontend-get-usage.golden index ee8e2e1d85..30868067b8 100644 --- a/cmd/scw/testdata/test-all-usage-lb-frontend-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-frontend-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: frontend-id Frontend ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lb-frontend-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-frontend-list-usage.golden index 1a6b4f5e83..fc46f855bc 100644 --- a/cmd/scw/testdata/test-all-usage-lb-frontend-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-frontend-list-usage.golden @@ -9,7 +9,7 @@ ARGS: lb-id Load Balancer ID [name] Name of the frontend to filter for [order-by] Sort order of frontends in the response (created_at_asc | created_at_desc | name_asc | name_desc) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-frontend-update-usage.golden b/cmd/scw/testdata/test-all-usage-lb-frontend-update-usage.golden index edd74f585c..170a54e2c3 100644 --- a/cmd/scw/testdata/test-all-usage-lb-frontend-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-frontend-update-usage.golden @@ -13,7 +13,7 @@ ARGS: [timeout-client=5m] Maximum allowed inactivity time on the client side [certificate-ids.{index}] List of SSL/TLS certificate IDs to bind to the frontend [enable-http3] Defines whether to enable HTTP/3 protocol on the frontend - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) DEPRECATED ARGS: [certificate-id] Certificate ID, deprecated in favor of certificate_ids array diff --git a/cmd/scw/testdata/test-all-usage-lb-private-network-attach-usage.golden b/cmd/scw/testdata/test-all-usage-lb-private-network-attach-usage.golden index 33907f9fe2..ec89ad7e89 100644 --- a/cmd/scw/testdata/test-all-usage-lb-private-network-attach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-private-network-attach-usage.golden @@ -9,7 +9,7 @@ ARGS: lb-id Load Balancer ID private-network-id Private Network ID [static-config.ip-address.{index}] Array of a local IP address for the Load Balancer on this Private Network - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for attach diff --git a/cmd/scw/testdata/test-all-usage-lb-private-network-detach-usage.golden b/cmd/scw/testdata/test-all-usage-lb-private-network-detach-usage.golden index d7522cd76a..7d8bac26dd 100644 --- a/cmd/scw/testdata/test-all-usage-lb-private-network-detach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-private-network-detach-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id Load balancer ID private-network-id Set your instance private network id - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for detach diff --git a/cmd/scw/testdata/test-all-usage-lb-private-network-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-private-network-list-usage.golden index bc7f36e845..4eb2a91a52 100644 --- a/cmd/scw/testdata/test-all-usage-lb-private-network-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-private-network-list-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: [order-by] Sort order of Private Network objects in the response (created_at_asc | created_at_desc) lb-id Load Balancer ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-route-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-create-usage.golden index 5accaa25d5..4bad080996 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-create-usage.golden @@ -10,7 +10,7 @@ ARGS: [backend-id] ID of the target backend for the route [match.sni] Server Name Indication (SNI) value to match [match.host-header] HTTP host header to match - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-lb-route-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-delete-usage.golden index d49f47c6ec..11d6f3c83d 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: route-id Route ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lb-route-get-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-get-usage.golden index 20f21b98af..2fdd39ae09 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: route-id Route ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden index bde7713ccc..3ba96598a1 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-list-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: [order-by] Sort order of routes in the response (created_at_asc | created_at_desc) [frontend-id] Frontend ID to filter for, only Routes from this Frontend will be returned - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-route-update-usage.golden b/cmd/scw/testdata/test-all-usage-lb-route-update-usage.golden index a2acf46b06..1260bab3a8 100644 --- a/cmd/scw/testdata/test-all-usage-lb-route-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-route-update-usage.golden @@ -10,7 +10,7 @@ ARGS: [backend-id] ID of the target backend for the route [match.sni] Server Name Indication (SNI) value to match [match.host-header] HTTP host header to match - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-create-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-create-usage.golden index 9e853ffa26..e7c26636cd 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-create-usage.golden @@ -11,7 +11,7 @@ ARGS: webhook-config.uri URI to receive POST requests [project-id] Project ID to use. If none is passed the default project ID will be used [organization-id] Organization ID to use. If none is passed the default organization ID will be used - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-delete-usage.golden index 9abe9a7eec..8a0b606b37 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: subscriber-id Subscriber ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-get-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-get-usage.golden index 03e0f86815..cb57bcf390 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: subscriber-id Subscriber ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-list-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-list-usage.golden index aa1d2f2cc7..3956a8ee89 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-list-usage.golden @@ -10,7 +10,7 @@ ARGS: name Subscriber name to search for [project-id] Filter subscribers by Project ID [organization-id] Filter subscribers by Organization ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-subscribe-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-subscribe-usage.golden index 5bf9382ea0..50583f217f 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-subscribe-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-subscribe-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id Load Balancer ID subscriber-id Subscriber ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for subscribe diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-unsubscribe-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-unsubscribe-usage.golden index 3dd5134f79..221e4e778e 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-unsubscribe-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-unsubscribe-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: lb-id Load Balancer ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for unsubscribe diff --git a/cmd/scw/testdata/test-all-usage-lb-subscriber-update-usage.golden b/cmd/scw/testdata/test-all-usage-lb-subscriber-update-usage.golden index 68b96e548b..b1741d5925 100644 --- a/cmd/scw/testdata/test-all-usage-lb-subscriber-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lb-subscriber-update-usage.golden @@ -10,7 +10,7 @@ ARGS: name Subscriber name email-config.email Email address to send alerts to webhook-config.uri URI to receive POST requests - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-lbacl-create-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-create-usage.golden index d0a4c39bad..6f9977109d 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-create-usage.golden @@ -10,7 +10,7 @@ ARGS: name= ACL name [action.type] Action to take when incoming traffic matches an ACL filter (allow | deny | redirect) [action.redirect.type] Redirect type (location | scheme) - [action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} + [action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} [action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 [match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side [match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match) @@ -19,7 +19,7 @@ ARGS: [match.invert] Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match index Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) [description] ACL description - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-lbacl-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-delete-usage.golden index b44a474670..e076364ed7 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: acl-id ACL ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lbacl-get-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-get-usage.golden index 1b5303486e..04576cc4f2 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: acl-id ACL ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lbacl-list-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-list-usage.golden index 108ae420a0..919d4aedbd 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-list-usage.golden @@ -9,7 +9,7 @@ ARGS: frontend-id Frontend ID (ACLs attached to this frontend will be returned in the response) [order-by] Sort order of ACLs in the response (created_at_asc | created_at_desc | name_asc | name_desc) [name] ACL name to filter for - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden index af7330e865..6a9e837b3d 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-set-usage.golden @@ -9,7 +9,7 @@ ARGS: acls.{index}.name ACL name [acls.{index}.action.type] Action to take when incoming traffic matches an ACL filter (allow | deny | redirect) [acls.{index}.action.redirect.type] Redirect type (location | scheme) - [acls.{index}.action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} + [acls.{index}.action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} [acls.{index}.action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 [acls.{index}.match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side [acls.{index}.match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match) @@ -19,7 +19,7 @@ ARGS: acls.{index}.index Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) [acls.{index}.description] ACL description frontend-id Frontend ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for set diff --git a/cmd/scw/testdata/test-all-usage-lbacl-update-usage.golden b/cmd/scw/testdata/test-all-usage-lbacl-update-usage.golden index 646929d044..2b961fee1d 100644 --- a/cmd/scw/testdata/test-all-usage-lbacl-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbacl-update-usage.golden @@ -10,7 +10,7 @@ ARGS: name ACL name [action.type] Action to take when incoming traffic matches an ACL filter (allow | deny | redirect) [action.redirect.type] Redirect type (location | scheme) - [action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} + [action.redirect.target] Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} [action.redirect.code] HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 [match.ip-subnet.{index}] List of IPs or CIDR v4/v6 addresses to filter for from the client side [match.http-filter] Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends (acl_http_filter_none | path_begin | path_end | regex | http_header_match) @@ -19,7 +19,7 @@ ARGS: [match.invert] Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match index Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) [description] ACL description - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-lbip-create-usage.golden b/cmd/scw/testdata/test-all-usage-lbip-create-usage.golden index d3eacbdb85..a9a0ebc9e9 100644 --- a/cmd/scw/testdata/test-all-usage-lbip-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbip-create-usage.golden @@ -9,7 +9,7 @@ ARGS: [project-id] Project ID to use. If none is passed the default project ID will be used [reverse] Reverse DNS (domain name) for the IP address [organization-id] Organization ID to use. If none is passed the default organization ID will be used - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-lbip-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lbip-delete-usage.golden index f456af11b5..46de2669b2 100644 --- a/cmd/scw/testdata/test-all-usage-lbip-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbip-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: ip-id IP address ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lbip-get-usage.golden b/cmd/scw/testdata/test-all-usage-lbip-get-usage.golden index 414cf9cadb..eb056d0c16 100644 --- a/cmd/scw/testdata/test-all-usage-lbip-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbip-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: ip-id IP address ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lbip-list-usage.golden b/cmd/scw/testdata/test-all-usage-lbip-list-usage.golden index b42591ee8c..0376416b79 100644 --- a/cmd/scw/testdata/test-all-usage-lbip-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbip-list-usage.golden @@ -9,7 +9,7 @@ ARGS: [ip-address] IP address to filter for [project-id] Project ID to filter for, only Load Balancer IP addresses from this Project will be returned [organization-id] Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lbip-update-usage.golden b/cmd/scw/testdata/test-all-usage-lbip-update-usage.golden index 339185936e..4a2218364a 100644 --- a/cmd/scw/testdata/test-all-usage-lbip-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lbip-update-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: ip-id IP address ID [reverse] Reverse DNS (domain name) for the IP address - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-lblb-create-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-create-usage.golden index ba2f04b4a5..1e249aedf0 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-create-usage.golden @@ -14,7 +14,7 @@ ARGS: [type=LB-S] Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types (LB-S | LB-GP-M | LB-GP-L) [ssl-compatibility-level] Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort (ssl_compatibility_level_unknown | ssl_compatibility_level_intermediate | ssl_compatibility_level_modern | ssl_compatibility_level_old) [organization-id] Organization ID to use. If none is passed the default organization ID will be used - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) DEPRECATED ARGS: [ip-id] ID of an existing flexible IP address to attach to the Load Balancer diff --git a/cmd/scw/testdata/test-all-usage-lblb-delete-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-delete-usage.golden index 0ba2cb1a30..de5efcd020 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-delete-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id ID of the Load Balancer to delete [release-ip] Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-lblb-get-stats-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-get-stats-usage.golden index 1881e76ec9..df9dc619dc 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-get-stats-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-get-stats-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id Load Balancer ID [backend-id] ID of the backend - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get-stats diff --git a/cmd/scw/testdata/test-all-usage-lblb-get-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-get-usage.golden index 15ec14d8e4..c5af78770d 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: lb-id Load Balancer ID - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-lblb-list-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-list-usage.golden index dbee5420e1..fc2ff4e900 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-list-usage.golden @@ -10,7 +10,7 @@ ARGS: [order-by] Sort order of Load Balancers in the response (created_at_asc | created_at_desc | name_asc | name_desc) [project-id] Project ID to filter for, only Load Balancers from this Project will be returned [organization-id] Organization ID to filter for, only Load Balancers from this Organization will be returned - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lblb-migrate-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-migrate-usage.golden index 0b010c4da4..a81e5556cc 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-migrate-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-migrate-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: lb-id Load Balancer ID type Load Balancer type to migrate to (use the List all Load Balancer offer types endpoint to get a list of available offer types) (LB-S | LB-GP-M | LB-GP-L) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for migrate diff --git a/cmd/scw/testdata/test-all-usage-lblb-types-list-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-types-list-usage.golden index 2e91c876e2..d1a8180b86 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-types-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-types-list-usage.golden @@ -6,7 +6,7 @@ USAGE: scw lb lb-types list [arg=value ...] ARGS: - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-lblb-update-usage.golden b/cmd/scw/testdata/test-all-usage-lblb-update-usage.golden index 5db3fd7ab9..7a262a19ed 100644 --- a/cmd/scw/testdata/test-all-usage-lblb-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-lblb-update-usage.golden @@ -11,7 +11,7 @@ ARGS: description Load Balancer description [tags.{index}] List of tags for the Load Balancer [ssl-compatibility-level] Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort (ssl_compatibility_level_unknown | ssl_compatibility_level_intermediate | ssl_compatibility_level_modern | ssl_compatibility_level_old) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-1 | pl-waw-2) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-marketplace-local-image-list-usage.golden b/cmd/scw/testdata/test-all-usage-marketplace-local-image-list-usage.golden index 1cf035b0ba..3e1b13566b 100644 --- a/cmd/scw/testdata/test-all-usage-marketplace-local-image-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-marketplace-local-image-list-usage.golden @@ -11,6 +11,7 @@ ARGS: [order-by] (created_at_asc | created_at_desc) [image-label] [zone] + [type] (unknown_type | instance_local | instance_sbs) FLAGS: -h, --help help for list diff --git a/docs/commands/instance.md b/docs/commands/instance.md index ab596bd88a..c914e47328 100644 --- a/docs/commands/instance.md +++ b/docs/commands/instance.md @@ -970,6 +970,7 @@ scw instance private-nic create [arg=value ...] | server-id | Required | UUID of the Instance the private NIC will be attached to | | private-network-id | Required | UUID of the private network where the private NIC will be attached | | tags.{index} | | Private NIC tags | +| ip-ids.{index} | | Ip_ids defined from IPAM | | zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | diff --git a/docs/commands/lb.md b/docs/commands/lb.md index c266c81ff8..cd79ef7d28 100644 --- a/docs/commands/lb.md +++ b/docs/commands/lb.md @@ -93,7 +93,7 @@ scw lb acl create [arg=value ...] | name | Required
Default: `` | ACL name | | action.type | One of: `allow`, `deny`, `redirect` | Action to take when incoming traffic matches an ACL filter | | action.redirect.type | One of: `location`, `scheme` | Redirect type | -| action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} | +| action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} | | action.redirect.code | | HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 | | match.ip-subnet.{index} | | List of IPs or CIDR v4/v6 addresses to filter for from the client side | | match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match` | Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends | @@ -102,7 +102,7 @@ scw lb acl create [arg=value ...] | match.invert | | Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match | | index | Required | Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) | | description | | ACL description | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -122,7 +122,7 @@ scw lb acl delete [arg=value ...] | Name | | Description | |------|---|-------------| | acl-id | Required | ACL ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -142,7 +142,7 @@ scw lb acl get [arg=value ...] | Name | | Description | |------|---|-------------| | acl-id | Required | ACL ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -164,7 +164,7 @@ scw lb acl list [arg=value ...] | frontend-id | Required | Frontend ID (ACLs attached to this frontend will be returned in the response) | | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of ACLs in the response | | name | | ACL name to filter for | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -186,7 +186,7 @@ scw lb acl set [arg=value ...] | acls.{index}.name | Required | ACL name | | acls.{index}.action.type | One of: `allow`, `deny`, `redirect` | Action to take when incoming traffic matches an ACL filter | | acls.{index}.action.redirect.type | One of: `location`, `scheme` | Redirect type | -| acls.{index}.action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} | +| acls.{index}.action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} | | acls.{index}.action.redirect.code | | HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 | | acls.{index}.match.ip-subnet.{index} | | List of IPs or CIDR v4/v6 addresses to filter for from the client side | | acls.{index}.match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match` | Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends | @@ -196,7 +196,7 @@ scw lb acl set [arg=value ...] | acls.{index}.index | Required | Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) | | acls.{index}.description | | ACL description | | frontend-id | Required | Frontend ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -219,7 +219,7 @@ scw lb acl update [arg=value ...] | name | Required | ACL name | | action.type | One of: `allow`, `deny`, `redirect` | Action to take when incoming traffic matches an ACL filter | | action.redirect.type | One of: `location`, `scheme` | Redirect type | -| action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\} | +| action.redirect.target | | Redirect target. For a location redirect, you can use a URL e.g. `https://scaleway.com`. Using a scheme name (e.g. `https`, `http`, `ftp`, `git`) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a `location` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\} | | action.redirect.code | | HTTP redirect code to use. Valid values are 301, 302, 303, 307 and 308. Default value is 302 | | match.ip-subnet.{index} | | List of IPs or CIDR v4/v6 addresses to filter for from the client side | | match.http-filter | One of: `acl_http_filter_none`, `path_begin`, `path_end`, `regex`, `http_header_match` | Type of HTTP filter to match. Extracts the request's URL path, which starts at the first slash and ends before the question mark (without the host part). Defines where to filter for the http_filter_value. Only supported for HTTP backends | @@ -228,7 +228,7 @@ scw lb acl update [arg=value ...] | match.invert | | Defines whether to invert the match condition. If set to `true`, the ACL carries out its action when the condition DOES NOT match | | index | Required | Priority of this ACL (ACLs are applied in ascending order, 0 is the first ACL executed) | | description | | ACL description | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -259,7 +259,7 @@ scw lb backend add-servers [arg=value ...] | baremetal-server-id.{index} | | UIID of the baremetal server. | | baremetal-server-tag.{index} | | Tag of the baremetal server. | | server-ip.{index} | Required | List of IP addresses to add to backend servers | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -320,7 +320,7 @@ scw lb backend create [arg=value ...] | ignore-ssl-server-verify | | Defines whether the server certificate verification should be ignored | | redispatch-attempt-count | | Whether to use another backend server on each attempt | | max-retries | | Number of retries when a backend server connection failed | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -340,7 +340,7 @@ scw lb backend delete [arg=value ...] | Name | | Description | |------|---|-------------| | backend-id | Required | ID of the backend to delete | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -360,7 +360,7 @@ scw lb backend get [arg=value ...] | Name | | Description | |------|---|-------------| | backend-id | Required | Backend ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -382,7 +382,7 @@ scw lb backend list [arg=value ...] | lb-id | Required | Load Balancer ID | | name | | Name of the backend to filter for | | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of backends in the response | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -403,7 +403,7 @@ scw lb backend list-statistics [arg=value ...] |------|---|-------------| | lb-id | Required | Load Balancer ID | | backend-id | | ID of the backend | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -429,7 +429,7 @@ scw lb backend remove-servers [arg=value ...] | baremetal-server-id.{index} | | UIID of the baremetal server. | | baremetal-server-tag.{index} | | Tag of the baremetal server. | | server-ip.{index} | Required | List of IP addresses to remove from backend servers | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -455,7 +455,7 @@ scw lb backend set-servers [arg=value ...] | baremetal-server-id.{index} | | UIID of the baremetal server. | | baremetal-server-tag.{index} | | Tag of the baremetal server. | | server-ip.{index} | Required | List of IP addresses for backend servers. Any other existing backend servers will be removed | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -492,7 +492,7 @@ scw lb backend update [arg=value ...] | ignore-ssl-server-verify | | Defines whether the server certificate verification should be ignored | | redispatch-attempt-count | | Whether to use another backend server on each attempt | | max-retries | | Number of retries when a backend server connection failed | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -530,7 +530,7 @@ scw lb backend update-healthcheck [arg=value ...] | https-config.sni | | SNI used for SSL health checks | | transient-check-delay.seconds | | | | transient-check-delay.nanos | | | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -559,7 +559,7 @@ scw lb certificate create [arg=value ...] | letsencrypt-common-name | | Main domain name of certificate (this domain must exist and resolve to your Load Balancer IP address) | | letsencrypt-alternative-name.{index} | | Alternative domain names (all domain names must exist and resolve to your Load Balancer IP address) | | custom-certificate-chain | | Full PEM-formatted certificate, consisting of the entire certificate chain including public key, private key, and (optionally) Certificate Authorities | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -579,7 +579,7 @@ scw lb certificate delete [arg=value ...] | Name | | Description | |------|---|-------------| | certificate-id | Required | Certificate ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -599,7 +599,7 @@ scw lb certificate get [arg=value ...] | Name | | Description | |------|---|-------------| | certificate-id | Required | Certificate ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -621,7 +621,7 @@ scw lb certificate list [arg=value ...] | lb-id | Required | Load Balancer ID | | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of certificates in the response | | name | | Certificate name to filter for, only certificates of this name will be returned | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -642,7 +642,7 @@ scw lb certificate update [arg=value ...] |------|---|-------------| | certificate-id | Required | Certificate ID | | name | Required | Certificate name | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -674,7 +674,7 @@ scw lb frontend create [arg=value ...] | ~~certificate-id~~ | Deprecated | Certificate ID, deprecated in favor of certificate_ids array | | certificate-ids.{index} | | List of SSL/TLS certificate IDs to bind to the frontend | | enable-http3 | | Defines whether to enable HTTP/3 protocol on the frontend | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -694,7 +694,7 @@ scw lb frontend delete [arg=value ...] | Name | | Description | |------|---|-------------| | frontend-id | Required | ID of the frontend to delete | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -714,7 +714,7 @@ scw lb frontend get [arg=value ...] | Name | | Description | |------|---|-------------| | frontend-id | Required | Frontend ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -736,7 +736,7 @@ scw lb frontend list [arg=value ...] | lb-id | Required | Load Balancer ID | | name | | Name of the frontend to filter for | | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of frontends in the response | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -763,7 +763,7 @@ scw lb frontend update [arg=value ...] | ~~certificate-id~~ | Deprecated | Certificate ID, deprecated in favor of certificate_ids array | | certificate-ids.{index} | | List of SSL/TLS certificate IDs to bind to the frontend | | enable-http3 | | Defines whether to enable HTTP/3 protocol on the frontend | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -790,7 +790,7 @@ scw lb ip create [arg=value ...] | project-id | | Project ID to use. If none is passed the default project ID will be used | | reverse | | Reverse DNS (domain name) for the IP address | | organization-id | | Organization ID to use. If none is passed the default organization ID will be used | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -810,7 +810,7 @@ scw lb ip delete [arg=value ...] | Name | | Description | |------|---|-------------| | ip-id | Required | IP address ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -830,7 +830,7 @@ scw lb ip get [arg=value ...] | Name | | Description | |------|---|-------------| | ip-id | Required | IP address ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -852,7 +852,7 @@ scw lb ip list [arg=value ...] | ip-address | | IP address to filter for | | project-id | | Project ID to filter for, only Load Balancer IP addresses from this Project will be returned | | organization-id | | Organization ID to filter for, only Load Balancer IP addresses from this Organization will be returned | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -873,7 +873,7 @@ scw lb ip update [arg=value ...] |------|---|-------------| | ip-id | Required | IP address ID | | reverse | | Reverse DNS (domain name) for the IP address | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -906,7 +906,7 @@ scw lb lb create [arg=value ...] | type | Default: `LB-S`
One of: `LB-S`, `LB-GP-M`, `LB-GP-L` | Load Balancer commercial offer type. Use the Load Balancer types endpoint to retrieve a list of available offer types | | ssl-compatibility-level | One of: `ssl_compatibility_level_unknown`, `ssl_compatibility_level_intermediate`, `ssl_compatibility_level_modern`, `ssl_compatibility_level_old` | Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and do not need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort | | organization-id | | Organization ID to use. If none is passed the default organization ID will be used | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -927,7 +927,7 @@ scw lb lb delete [arg=value ...] |------|---|-------------| | lb-id | Required | ID of the Load Balancer to delete | | release-ip | | Defines whether the Load Balancer's flexible IP should be deleted. Set to true to release the flexible IP, or false to keep it available in your account for future Load Balancers | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -947,7 +947,7 @@ scw lb lb get [arg=value ...] | Name | | Description | |------|---|-------------| | lb-id | Required | Load Balancer ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -968,7 +968,7 @@ scw lb lb get-stats [arg=value ...] |------|---|-------------| | lb-id | Required | Load Balancer ID | | backend-id | | ID of the backend | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -991,7 +991,7 @@ scw lb lb list [arg=value ...] | order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Sort order of Load Balancers in the response | | project-id | | Project ID to filter for, only Load Balancers from this Project will be returned | | organization-id | | Organization ID to filter for, only Load Balancers from this Organization will be returned | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -1012,7 +1012,7 @@ scw lb lb migrate [arg=value ...] |------|---|-------------| | lb-id | Required | Load Balancer ID | | type | Required
One of: `LB-S`, `LB-GP-M`, `LB-GP-L` | Load Balancer type to migrate to (use the List all Load Balancer offer types endpoint to get a list of available offer types) | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1036,7 +1036,7 @@ scw lb lb update [arg=value ...] | description | Required | Load Balancer description | | tags.{index} | | List of tags for the Load Balancer | | ssl-compatibility-level | One of: `ssl_compatibility_level_unknown`, `ssl_compatibility_level_intermediate`, `ssl_compatibility_level_modern`, `ssl_compatibility_level_old` | Determines the minimal SSL version which needs to be supported on the client side, in an SSL/TLS offloading context. Intermediate is suitable for general-purpose servers with a variety of clients, recommended for almost all systems. Modern is suitable for services with clients that support TLS 1.3 and don't need backward compatibility. Old is compatible with a small number of very old clients and should be used only as a last resort | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1091,7 +1091,7 @@ scw lb lb-types list [arg=value ...] | Name | | Description | |------|---|-------------| -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -1118,7 +1118,7 @@ scw lb private-network attach [arg=value ...] | lb-id | Required | Load Balancer ID | | private-network-id | Required | Private Network ID | | static-config.ip-address.{index} | | Array of a local IP address for the Load Balancer on this Private Network | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1139,7 +1139,7 @@ scw lb private-network detach [arg=value ...] |------|---|-------------| | lb-id | Required | Load balancer ID | | private-network-id | Required | Set your instance private network id | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1160,7 +1160,7 @@ scw lb private-network list [arg=value ...] |------|---|-------------| | order-by | One of: `created_at_asc`, `created_at_desc` | Sort order of Private Network objects in the response | | lb-id | Required | Load Balancer ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -1188,7 +1188,7 @@ scw lb route create [arg=value ...] | backend-id | | ID of the target backend for the route | | match.sni | | Server Name Indication (SNI) value to match | | match.host-header | | HTTP host header to match | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1208,7 +1208,7 @@ scw lb route delete [arg=value ...] | Name | | Description | |------|---|-------------| | route-id | Required | Route ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1228,7 +1228,7 @@ scw lb route get [arg=value ...] | Name | | Description | |------|---|-------------| | route-id | Required | Route ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1249,7 +1249,7 @@ scw lb route list [arg=value ...] |------|---|-------------| | order-by | One of: `created_at_asc`, `created_at_desc` | Sort order of routes in the response | | frontend-id | | Frontend ID to filter for, only Routes from this Frontend will be returned | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -1272,7 +1272,7 @@ scw lb route update [arg=value ...] | backend-id | | ID of the target backend for the route | | match.sni | | Server Name Indication (SNI) value to match | | match.host-header | | HTTP host header to match | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1301,7 +1301,7 @@ scw lb subscriber create [arg=value ...] | webhook-config.uri | Required | URI to receive POST requests | | project-id | | Project ID to use. If none is passed the default project ID will be used | | organization-id | | Organization ID to use. If none is passed the default organization ID will be used | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1321,7 +1321,7 @@ scw lb subscriber delete [arg=value ...] | Name | | Description | |------|---|-------------| | subscriber-id | Required | Subscriber ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1341,7 +1341,7 @@ scw lb subscriber get [arg=value ...] | Name | | Description | |------|---|-------------| | subscriber-id | Required | Subscriber ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1364,7 +1364,7 @@ scw lb subscriber list [arg=value ...] | name | Required | Subscriber name to search for | | project-id | | Filter subscribers by Project ID | | organization-id | | Filter subscribers by Organization ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -1385,7 +1385,7 @@ scw lb subscriber subscribe [arg=value ...] |------|---|-------------| | lb-id | Required | Load Balancer ID | | subscriber-id | Required | Subscriber ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1405,7 +1405,7 @@ scw lb subscriber unsubscribe [arg=value ...] | Name | | Description | |------|---|-------------| | lb-id | Required | Load Balancer ID | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | @@ -1428,7 +1428,7 @@ scw lb subscriber update [arg=value ...] | name | Required | Subscriber name | | email-config.email | Required | Email address to send alerts to | | webhook-config.uri | Required | URI to receive POST requests | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config | diff --git a/docs/commands/marketplace.md b/docs/commands/marketplace.md index e7383307eb..9b9346cbe2 100644 --- a/docs/commands/marketplace.md +++ b/docs/commands/marketplace.md @@ -142,6 +142,7 @@ scw marketplace local-image list [arg=value ...] | order-by | One of: `created_at_asc`, `created_at_desc` | | | image-label | | | | zone | | | +| type | One of: `unknown_type`, `instance_local`, `instance_sbs` | | diff --git a/go.mod b/go.mod index 4e13b6e6c3..3df09f9c09 100644 --- a/go.mod +++ b/go.mod @@ -24,7 +24,7 @@ require ( github.com/moby/buildkit v0.11.6 github.com/opencontainers/go-digest v1.0.0 github.com/pkg/errors v0.9.1 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230621092234-e6b367eed6a4 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230626132518-b0dfa1defaaf github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.7.0 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 6145d17805..3fdffa9a74 100644 --- a/go.sum +++ b/go.sum @@ -497,8 +497,8 @@ github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncj github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230621092234-e6b367eed6a4 h1:qFlORTA+ndCi1IRg66KTkU0eii2EBYEpXASKyB208gc= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230621092234-e6b367eed6a4/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230626132518-b0dfa1defaaf h1:df06kcC2caUTghLW6aTSyL3GUeM79BPvbtMyng187aE= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.17.0.20230626132518-b0dfa1defaaf/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/secure-systems-lab/go-securesystemslib v0.4.0 h1:b23VGrQhTA8cN2CbBw7/FulN9fTtqYUdS5+Oxzt+DUE= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= diff --git a/internal/namespaces/lb/v1/lb_cli.go b/internal/namespaces/lb/v1/lb_cli.go index 584995cfc5..6626958963 100644 --- a/internal/namespaces/lb/v1/lb_cli.go +++ b/internal/namespaces/lb/v1/lb_cli.go @@ -223,7 +223,7 @@ func lbLBList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListLBsRequest) @@ -308,7 +308,7 @@ func lbLBCreate() *core.Command { EnumValues: []string{"ssl_compatibility_level_unknown", "ssl_compatibility_level_intermediate", "ssl_compatibility_level_modern", "ssl_compatibility_level_old"}, }, core.OrganizationIDArgSpec(), - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateLBRequest) @@ -338,7 +338,7 @@ func lbLBGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetLBRequest) @@ -397,7 +397,7 @@ func lbLBUpdate() *core.Command { Positional: false, EnumValues: []string{"ssl_compatibility_level_unknown", "ssl_compatibility_level_intermediate", "ssl_compatibility_level_modern", "ssl_compatibility_level_old"}, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateLBRequest) @@ -434,7 +434,7 @@ func lbLBDelete() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteLBRequest) @@ -477,7 +477,7 @@ func lbLBMigrate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIMigrateLBRequest) @@ -521,7 +521,7 @@ func lbIPList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListIPsRequest) @@ -562,7 +562,7 @@ func lbIPCreate() *core.Command { Positional: false, }, core.OrganizationIDArgSpec(), - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateIPRequest) @@ -592,7 +592,7 @@ func lbIPGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetIPRequest) @@ -622,7 +622,7 @@ func lbIPDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIReleaseIPRequest) @@ -665,7 +665,7 @@ func lbIPUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateIPRequest) @@ -710,7 +710,7 @@ func lbBackendList() *core.Command { Positional: false, EnumValues: []string{"created_at_asc", "created_at_desc", "name_asc", "name_desc"}, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListBackendsRequest) @@ -1012,7 +1012,7 @@ func lbBackendCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateBackendRequest) @@ -1042,7 +1042,7 @@ func lbBackendGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetBackendRequest) @@ -1199,7 +1199,7 @@ func lbBackendUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateBackendRequest) @@ -1229,7 +1229,7 @@ func lbBackendDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteBackendRequest) @@ -1272,7 +1272,7 @@ func lbBackendAddServers() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIAddBackendServersRequest) @@ -1309,7 +1309,7 @@ func lbBackendRemoveServers() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIRemoveBackendServersRequest) @@ -1346,7 +1346,7 @@ func lbBackendSetServers() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPISetBackendServersRequest) @@ -1500,7 +1500,7 @@ func lbBackendUpdateHealthcheck() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateHealthCheckRequest) @@ -1545,7 +1545,7 @@ func lbFrontendList() *core.Command { Positional: false, EnumValues: []string{"created_at_asc", "created_at_desc", "name_asc", "name_desc"}, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListFrontendsRequest) @@ -1635,7 +1635,7 @@ func lbFrontendCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateFrontendRequest) @@ -1665,7 +1665,7 @@ func lbFrontendGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetFrontendRequest) @@ -1745,7 +1745,7 @@ func lbFrontendUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateFrontendRequest) @@ -1775,7 +1775,7 @@ func lbFrontendDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteFrontendRequest) @@ -1819,7 +1819,7 @@ func lbRouteList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListRoutesRequest) @@ -1879,7 +1879,7 @@ func lbRouteCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateRouteRequest) @@ -1909,7 +1909,7 @@ func lbRouteGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetRouteRequest) @@ -1960,7 +1960,7 @@ func lbRouteUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateRouteRequest) @@ -1990,7 +1990,7 @@ func lbRouteDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteRouteRequest) @@ -2033,7 +2033,7 @@ func lbLBGetStats() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetLBStatsRequest) @@ -2070,7 +2070,7 @@ func lbBackendListStatistics() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListBackendStatsRequest) @@ -2124,7 +2124,7 @@ func lbACLList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListACLsRequest) @@ -2189,7 +2189,7 @@ func lbACLCreate() *core.Command { }, { Name: "action.redirect.target", - Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\}`, + Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}`, Required: false, Deprecated: false, Positional: false, @@ -2251,7 +2251,7 @@ func lbACLCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateACLRequest) @@ -2281,7 +2281,7 @@ func lbACLGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetACLRequest) @@ -2336,7 +2336,7 @@ func lbACLUpdate() *core.Command { }, { Name: "action.redirect.target", - Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\}`, + Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}`, Required: false, Deprecated: false, Positional: false, @@ -2398,7 +2398,7 @@ func lbACLUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateACLRequest) @@ -2428,7 +2428,7 @@ func lbACLDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteACLRequest) @@ -2482,7 +2482,7 @@ func lbACLSet() *core.Command { }, { Name: "acls.{index}.action.redirect.target", - Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{ host \}\}, \{\{ query \}\}, \{\{ path \}\} and \{\{ scheme \}\}`, + Short: `Redirect target. For a location redirect, you can use a URL e.g. ` + "`" + `https://scaleway.com` + "`" + `. Using a scheme name (e.g. ` + "`" + `https` + "`" + `, ` + "`" + `http` + "`" + `, ` + "`" + `ftp` + "`" + `, ` + "`" + `git` + "`" + `) will replace the request's original scheme. This can be useful to implement HTTP to HTTPS redirects. Valid placeholders that can be used in a ` + "`" + `location` + "`" + ` redirect to preserve parts of the original request in the redirection URL are \{\{host\}\}, \{\{query\}\}, \{\{path\}\} and \{\{scheme\}\}`, Required: false, Deprecated: false, Positional: false, @@ -2551,7 +2551,7 @@ func lbACLSet() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPISetACLsRequest) @@ -2610,7 +2610,7 @@ func lbCertificateCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateCertificateRequest) @@ -2655,7 +2655,7 @@ func lbCertificateList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListCertificatesRequest) @@ -2732,7 +2732,7 @@ func lbCertificateGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetCertificateRequest) @@ -2769,7 +2769,7 @@ func lbCertificateUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateCertificateRequest) @@ -2799,7 +2799,7 @@ func lbCertificateDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteCertificateRequest) @@ -2828,7 +2828,7 @@ func lbLBTypesList() *core.Command { // Deprecated: false, ArgsType: reflect.TypeOf(lb.ZonedAPIListLBTypesRequest{}), ArgSpecs: core.ArgSpecs{ - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListLBTypesRequest) @@ -2883,7 +2883,7 @@ func lbSubscriberCreate() *core.Command { }, core.ProjectIDArgSpec(), core.OrganizationIDArgSpec(), - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPICreateSubscriberRequest) @@ -2913,7 +2913,7 @@ func lbSubscriberGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIGetSubscriberRequest) @@ -2965,7 +2965,7 @@ func lbSubscriberList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListSubscriberRequest) @@ -3025,7 +3025,7 @@ func lbSubscriberUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUpdateSubscriberRequest) @@ -3055,7 +3055,7 @@ func lbSubscriberDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDeleteSubscriberRequest) @@ -3098,7 +3098,7 @@ func lbSubscriberSubscribe() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPISubscribeToLBRequest) @@ -3128,7 +3128,7 @@ func lbSubscriberUnsubscribe() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIUnsubscribeFromLBRequest) @@ -3166,7 +3166,7 @@ func lbPrivateNetworkList() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIListLBPrivateNetworksRequest) @@ -3219,7 +3219,7 @@ func lbPrivateNetworkAttach() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIAttachPrivateNetworkRequest) @@ -3256,7 +3256,7 @@ func lbPrivateNetworkDetach() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw1, scw.ZonePlWaw2), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*lb.ZonedAPIDetachPrivateNetworkRequest)