diff --git a/cmd/scw/testdata/test-all-usage-environmental-footprint-data-get-usage.golden b/cmd/scw/testdata/test-all-usage-environmental-footprint-data-get-usage.golden index 2b7211c134..589a62167f 100644 --- a/cmd/scw/testdata/test-all-usage-environmental-footprint-data-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-environmental-footprint-data-get-usage.golden @@ -11,8 +11,8 @@ ARGS: [regions.{index}] List of regions to filter by (e.g. `fr-par`). Defaults to all regions. [zones.{index}] List of zones to filter by (e.g. `fr-par-1`). Defaults to all zones. [project-ids.{index}] List of Project IDs to filter by. Defaults to all Projects in the Organization. - [service-categories.{index}] List of service categories to filter by. Defaults to all service categories. (unknown_service_category | baremetal | compute | storage | network | containers | databases) - [product-categories.{index}] List of product categories to filter by. Defaults to all product categories. (unknown_product_category | apple_silicon | block_storage | dedibox | elastic_metal | instances | object_storage | load_balancer | kubernetes | managed_relational_databases | managed_mongodb | managed_redis) + [service-categories.{index}] List of service categories to filter by. Defaults to all service categories. (unknown_service_category | baremetal | compute | storage | network | containers | databases | ai) + [product-categories.{index}] List of product categories to filter by. Defaults to all product categories. (unknown_product_category | apple_silicon | block_storage | dedibox | elastic_metal | instances | object_storage | load_balancer | kubernetes | managed_relational_databases | managed_mongodb | managed_redis | managed_inference) [organization-id] Organization ID to use. If none is passed the default organization ID will be used FLAGS: diff --git a/docs/commands/environmental-footprint.md b/docs/commands/environmental-footprint.md index 86e2f8626d..e655bee3ba 100644 --- a/docs/commands/environmental-footprint.md +++ b/docs/commands/environmental-footprint.md @@ -34,8 +34,8 @@ scw environmental-footprint data get [arg=value ...] | regions.{index} | | List of regions to filter by (e.g. `fr-par`). Defaults to all regions. | | zones.{index} | | List of zones to filter by (e.g. `fr-par-1`). Defaults to all zones. | | project-ids.{index} | | List of Project IDs to filter by. Defaults to all Projects in the Organization. | -| service-categories.{index} | One of: `unknown_service_category`, `baremetal`, `compute`, `storage`, `network`, `containers`, `databases` | List of service categories to filter by. Defaults to all service categories. | -| product-categories.{index} | One of: `unknown_product_category`, `apple_silicon`, `block_storage`, `dedibox`, `elastic_metal`, `instances`, `object_storage`, `load_balancer`, `kubernetes`, `managed_relational_databases`, `managed_mongodb`, `managed_redis` | List of product categories to filter by. Defaults to all product categories. | +| service-categories.{index} | One of: `unknown_service_category`, `baremetal`, `compute`, `storage`, `network`, `containers`, `databases`, `ai` | List of service categories to filter by. Defaults to all service categories. | +| product-categories.{index} | One of: `unknown_product_category`, `apple_silicon`, `block_storage`, `dedibox`, `elastic_metal`, `instances`, `object_storage`, `load_balancer`, `kubernetes`, `managed_relational_databases`, `managed_mongodb`, `managed_redis`, `managed_inference` | List of product categories to filter by. Defaults to all product categories. | | organization-id | | Organization ID to use. If none is passed the default organization ID will be used | diff --git a/go.mod b/go.mod index aba20afbcf..de451e46a8 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/moby/moby/client v0.4.1 github.com/modelcontextprotocol/go-sdk v1.6.1 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260522134626-b75cc1c22ef2 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260526154112-1295f8af32ad github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 diff --git a/go.sum b/go.sum index d62c91a016..0af2a59ba7 100644 --- a/go.sum +++ b/go.sum @@ -478,8 +478,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7 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.36.0.20260522134626-b75cc1c22ef2 h1:LYZlvcrhBxlVoS1Dg7II8FSWnszYduSI5lr9rre/AVA= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260522134626-b75cc1c22ef2/go.mod h1:nM6TSLEqF6l+p7ds8I5/Xu+NXD9nRrYSu3sa/czcdEw= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260526154112-1295f8af32ad h1:dQr7HSmnQv8mvlVg2SwwbdcPsmdCkHcDkZ7jC7S3vLc= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260526154112-1295f8af32ad/go.mod h1:nM6TSLEqF6l+p7ds8I5/Xu+NXD9nRrYSu3sa/czcdEw= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14= diff --git a/internal/namespaces/environmental_footprint/v1alpha1/environmental_footprint_cli.go b/internal/namespaces/environmental_footprint/v1alpha1/environmental_footprint_cli.go index 9fcb5b8803..c95603d1d6 100644 --- a/internal/namespaces/environmental_footprint/v1alpha1/environmental_footprint_cli.go +++ b/internal/namespaces/environmental_footprint/v1alpha1/environmental_footprint_cli.go @@ -194,6 +194,7 @@ func environmentalFootprintDataGet() *core.Command { "network", "containers", "databases", + "ai", }, }, { @@ -215,6 +216,7 @@ func environmentalFootprintDataGet() *core.Command { "managed_relational_databases", "managed_mongodb", "managed_redis", + "managed_inference", }, }, core.OrganizationIDArgSpec(),