Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ USAGE:

ARGS:
[project-id] (Optional) ID of the Project containing the Audit Trail events
[resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | account_contract_signature | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | instance_template | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | vpc_vpc | vpc_subnet | vpc_route | vpc_acl | edge_services_plan | edge_services_pipeline | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage | s2s_vpn_gateway | s2s_customer_gateway | s2s_routing_policy | s2s_connection | vpc_gw_gateway | vpc_gw_gateway_network | vpc_gw_dhcp | vpc_gw_dhcp_entry | vpc_gw_pat_rule | vpc_gw_ip)
[resource-type] (Optional) Type of the Scaleway resource (unknown_type | secm_secret | secm_secret_version | kube_cluster | kube_pool | kube_node | kube_acl | keym_key | iam_user | iam_application | iam_group | iam_policy | iam_api_key | iam_ssh_key | iam_rule | iam_saml | iam_saml_certificate | iam_scim | iam_scim_token | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | account_project | account_contract_signature | instance_server | instance_placement_group | instance_security_group | instance_volume | instance_snapshot | instance_image | instance_template | apple_silicon_server | baremetal_server | baremetal_setting | ipam_ip | sbs_volume | sbs_snapshot | load_balancer_lb | load_balancer_ip | load_balancer_frontend | load_balancer_backend | load_balancer_route | load_balancer_acl | load_balancer_certificate | sfs_filesystem | vpc_private_network | vpc_vpc | vpc_subnet | vpc_route | vpc_acl | edge_services_plan | edge_services_pipeline | edge_services_dns_stage | edge_services_tls_stage | edge_services_cache_stage | edge_services_route_stage | edge_services_route_rules | edge_services_waf_stage | edge_services_backend_stage | s2s_vpn_gateway | s2s_customer_gateway | s2s_routing_policy | s2s_connection | vpc_gw_gateway | vpc_gw_gateway_network | vpc_gw_dhcp | vpc_gw_dhcp_entry | vpc_gw_pat_rule | vpc_gw_ip | audit_trail_export_job)
[method-name] (Optional) Name of the method of the API call performed
[status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied
[recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Create a new endpoint for a deployment.

USAGE:
scw datawarehouse endpoint create [arg=value ...]

ARGS:
[deployment-id] UUID of the deployment
[endpoint.private-network.private-network-id] UUID of the Private Network
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)

FLAGS:
-h, --help help for create
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Delete an endpoint from a deployment.

USAGE:
scw datawarehouse endpoint delete [arg=value ...]

ARGS:
endpoint-id UUID of the Endpoint to delete
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)

FLAGS:
-h, --help help for delete
--list-sub-commands List all subcommands

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
Manage endpoints associated with a deployment.

USAGE:
scw datawarehouse endpoint
scw datawarehouse endpoint <command>

AVAILABLE COMMANDS:
create Create a new endpoint for a deployment
delete Delete an endpoint from a deployment

FLAGS:
-h, --help help for endpoint
Expand All @@ -14,3 +18,5 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw datawarehouse endpoint [command] --help" for more information about a command.
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ USAGE:
scw edge-services backend-stage create [arg=value ...]

ARGS:
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
pipeline-id Pipeline ID the Backend stage belongs to
[scaleway-serverless-container.region]
[scaleway-serverless-container.container-id]
[scaleway-serverless-function.region]
[scaleway-serverless-function.function-id]
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
pipeline-id Pipeline ID the Backend stage belongs to

FLAGS:
-h, --help help for create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,17 @@ USAGE:
scw edge-services backend-stage update <backend-stage-id ...> [arg=value ...]

ARGS:
backend-stage-id ID of the backend stage to update
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
[pipeline-id] Pipeline ID the Backend stage belongs to
[scaleway-serverless-container.region]
[scaleway-serverless-container.container-id]
[scaleway-serverless-function.region]
[scaleway-serverless-function.function-id]
backend-stage-id ID of the backend stage to update
[scaleway-s3.bucket-name] Name of the Bucket
[scaleway-s3.bucket-region] Region of the Bucket
[scaleway-s3.is-website] Defines whether the bucket website feature is enabled
[scaleway-lb.lbs.{index}.id] ID of the Load Balancer
[scaleway-lb.lbs.{index}.zone] Zone of the Load Balancer
[scaleway-lb.lbs.{index}.frontend-id] ID of the frontend linked to the Load Balancer
[scaleway-lb.lbs.{index}.is-ssl] Defines whether the Load Balancer's frontend handles SSL connections
[scaleway-lb.lbs.{index}.domain-name] Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer
[scaleway-lb.lbs.{index}.has-websocket] Defines whether to forward websocket requests to the load balancer
[pipeline-id] Pipeline ID the Backend stage belongs to

FLAGS:
-h, --help help for update
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/audit-trail.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ scw audit-trail event list [arg=value ...]
| Name | | Description |
|------|---|-------------|
| project-id | | (Optional) ID of the Project containing the Audit Trail events |
| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key`, `iam_user`, `iam_application`, `iam_group`, `iam_policy`, `iam_api_key`, `iam_ssh_key`, `iam_rule`, `iam_saml`, `iam_saml_certificate`, `iam_scim`, `iam_scim_token`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `account_contract_signature`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `instance_template`, `apple_silicon_server`, `baremetal_server`, `baremetal_setting`, `ipam_ip`, `sbs_volume`, `sbs_snapshot`, `load_balancer_lb`, `load_balancer_ip`, `load_balancer_frontend`, `load_balancer_backend`, `load_balancer_route`, `load_balancer_acl`, `load_balancer_certificate`, `sfs_filesystem`, `vpc_private_network`, `vpc_vpc`, `vpc_subnet`, `vpc_route`, `vpc_acl`, `edge_services_plan`, `edge_services_pipeline`, `edge_services_dns_stage`, `edge_services_tls_stage`, `edge_services_cache_stage`, `edge_services_route_stage`, `edge_services_route_rules`, `edge_services_waf_stage`, `edge_services_backend_stage`, `s2s_vpn_gateway`, `s2s_customer_gateway`, `s2s_routing_policy`, `s2s_connection`, `vpc_gw_gateway`, `vpc_gw_gateway_network`, `vpc_gw_dhcp`, `vpc_gw_dhcp_entry`, `vpc_gw_pat_rule`, `vpc_gw_ip` | (Optional) Type of the Scaleway resource |
| resource-type | One of: `unknown_type`, `secm_secret`, `secm_secret_version`, `kube_cluster`, `kube_pool`, `kube_node`, `kube_acl`, `keym_key`, `iam_user`, `iam_application`, `iam_group`, `iam_policy`, `iam_api_key`, `iam_ssh_key`, `iam_rule`, `iam_saml`, `iam_saml_certificate`, `iam_scim`, `iam_scim_token`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `account_project`, `account_contract_signature`, `instance_server`, `instance_placement_group`, `instance_security_group`, `instance_volume`, `instance_snapshot`, `instance_image`, `instance_template`, `apple_silicon_server`, `baremetal_server`, `baremetal_setting`, `ipam_ip`, `sbs_volume`, `sbs_snapshot`, `load_balancer_lb`, `load_balancer_ip`, `load_balancer_frontend`, `load_balancer_backend`, `load_balancer_route`, `load_balancer_acl`, `load_balancer_certificate`, `sfs_filesystem`, `vpc_private_network`, `vpc_vpc`, `vpc_subnet`, `vpc_route`, `vpc_acl`, `edge_services_plan`, `edge_services_pipeline`, `edge_services_dns_stage`, `edge_services_tls_stage`, `edge_services_cache_stage`, `edge_services_route_stage`, `edge_services_route_rules`, `edge_services_waf_stage`, `edge_services_backend_stage`, `s2s_vpn_gateway`, `s2s_customer_gateway`, `s2s_routing_policy`, `s2s_connection`, `vpc_gw_gateway`, `vpc_gw_gateway_network`, `vpc_gw_dhcp`, `vpc_gw_dhcp_entry`, `vpc_gw_pat_rule`, `vpc_gw_ip`, `audit_trail_export_job` | (Optional) Type of the Scaleway resource |
| method-name | | (Optional) Name of the method of the API call performed |
| status | | (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied |
| recorded-after | | (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default |
Expand Down
38 changes: 36 additions & 2 deletions docs/commands/datawarehouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Data Warehouse API.
- [List deployments](#list-deployments)
- [Update a deployment](#update-a-deployment)
- [Endpoint management commands](#endpoint-management-commands)
- [Create a new endpoint for a deployment](#create-a-new-endpoint-for-a-deployment)
- [Delete an endpoint from a deployment](#delete-an-endpoint-from-a-deployment)
- [List available presets](#list-available-presets)
- [List available presets](#list-available-presets)
- [User management commands](#user-management-commands)
Expand Down Expand Up @@ -241,15 +243,47 @@ scw datawarehouse deployment update <deployment-id ...> [arg=value ...]

Manage endpoints associated with a deployment.

Manage endpoints associated with a deployment.

### Create a new endpoint for a deployment

Create a new endpoint for a deployment.

**Usage:**

```
scw datawarehouse endpoint create [arg=value ...]
```


**Args:**

| Name | | Description |
|------|---|-------------|
| deployment-id | | UUID of the deployment |
| endpoint.private-network.private-network-id | | UUID of the Private Network |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



### Delete an endpoint from a deployment

Delete an endpoint from a deployment.

**Usage:**

```
scw datawarehouse endpoint
scw datawarehouse endpoint delete [arg=value ...]
```


**Args:**

| Name | | Description |
|------|---|-------------|
| endpoint-id | Required | UUID of the Endpoint to delete |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |



## List available presets

Expand Down
8 changes: 0 additions & 8 deletions docs/commands/edge-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ scw edge-services backend-stage create [arg=value ...]
| scaleway-lb.lbs.{index}.domain-name | | Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer |
| scaleway-lb.lbs.{index}.has-websocket | | Defines whether to forward websocket requests to the load balancer |
| pipeline-id | Required | Pipeline ID the Backend stage belongs to |
| scaleway-serverless-container.region | | |
| scaleway-serverless-container.container-id | | |
| scaleway-serverless-function.region | | |
| scaleway-serverless-function.function-id | | |



Expand Down Expand Up @@ -180,10 +176,6 @@ scw edge-services backend-stage update <backend-stage-id ...> [arg=value ...]
| scaleway-lb.lbs.{index}.domain-name | | Fully Qualified Domain Name (in the format subdomain.example.com) to use in HTTP requests sent towards your Load Balancer |
| scaleway-lb.lbs.{index}.has-websocket | | Defines whether to forward websocket requests to the load balancer |
| pipeline-id | | Pipeline ID the Backend stage belongs to |
| scaleway-serverless-container.region | | |
| scaleway-serverless-container.container-id | | |
| scaleway-serverless-function.region | | |
| scaleway-serverless-function.function-id | | |



Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.26.3
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260116124856-e43316650348
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260128135319-6edcddceb267
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,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.20260116124856-e43316650348 h1:ARt54LdmZZC+mOyLvAK5/JvF5pt8NBYfsvdmoAc9tkk=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260116124856-e43316650348/go.mod h1:VbEqG0nAXcEFyHLKWwbhgbDNimnLf24Qat73/12DU9o=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260128135319-6edcddceb267 h1:2z6uFnaOCKNcDDZmmdtWqbuQLXi2Tb6wZW8tx4+vs+s=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260128135319-6edcddceb267/go.mod h1:VbEqG0nAXcEFyHLKWwbhgbDNimnLf24Qat73/12DU9o=
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.9.1 h1:nZZaNz4DiERIQguNy0cL5qTdn9lR8XKHf4RUyG1Sx3g=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ PrivateNetworkID 4a64f3e9-f128-4679-84ac-af05eec5b520
CommitmentEndsAt few seconds ago
ACLAvailable true
IamNodesGroupID -
NewImagesEnabled true
PodCidr 100.64.0.0/15
ServiceCidr 10.32.0.0/20
ServiceDNSIP 10.32.0.10
Expand Down Expand Up @@ -104,7 +103,6 @@ ID NAME STATUS VERSION NODE TYPE MIN
"commitment_ends_at": "1970-01-01T00:00:00.0Z",
"acl_available": true,
"iam_nodes_group_id": "",
"new_images_enabled": true,
"pod_cidr": "100.64.0.0/15",
"service_cidr": "10.32.0.0/20",
"service_dns_ip": "10.32.0.10",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ PrivateNetworkID f932db89-93ed-4779-b9d4-2231b507aea2
CommitmentEndsAt few seconds ago
ACLAvailable true
IamNodesGroupID 30185f78-13c6-470e-a589-bc4f33fd9119
NewImagesEnabled true
PodCidr 100.64.0.0/15
ServiceCidr 10.32.0.0/20
ServiceDNSIP 10.32.0.10
Expand Down Expand Up @@ -100,7 +99,6 @@ GroupsPrefix -
"commitment_ends_at": "1970-01-01T00:00:00.0Z",
"acl_available": true,
"iam_nodes_group_id": "30185f78-13c6-470e-a589-bc4f33fd9119",
"new_images_enabled": true,
"pod_cidr": "100.64.0.0/15",
"service_cidr": "10.32.0.0/20",
"service_dns_ip": "10.32.0.10"
Expand Down
Loading