Skip to content

Commit 1bb97d3

Browse files
authored
Merge branch 'scaleway:master' into master
2 parents 640ea2c + 6933915 commit 1bb97d3

17 files changed

+61
-10
lines changed

cmd/scw/testdata/test-all-usage-audit-trail-event-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ USAGE:
77

88
ARGS:
99
[project-id] (Optional) ID of the Project containing the Audit Trail events
10-
[resource-type] (Optional) Returns a paginated list of Scaleway resources' features (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 | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization)
10+
[resource-type] (Optional) Returns a paginated list of Scaleway resources' features (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 | secret_manager_secret | secret_manager_version | key_manager_key | account_user | account_organization | instance_server | apple_silicon_server)
1111
[method-name] (Optional) Name of the method of the API call performed
1212
[status] (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied
1313
[recorded-after] (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default

cmd/scw/testdata/test-all-usage-baremetal-server-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ ARGS:
3939
[install.partitioning-schema.zfs.pools.{index}.options.{index}]
4040
[install.partitioning-schema.zfs.pools.{index}.filesystem-options.{index}]
4141
[option-ids.{index}] IDs of options to enable on server
42+
[protected] If enabled, the server can not be deleted
4243
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
4344
[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-2 | pl-waw-3)
4445

cmd/scw/testdata/test-all-usage-baremetal-server-update-usage.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Update the server associated with the ID. You can update parameters such as the server's name, tags and description. Any parameters left null in the request body are not updated.
3+
Update the server associated with the ID. You can update parameters such as the server's name, tags, description and protection flag. Any parameters left null in the request body are not updated.
44

55
USAGE:
66
scw baremetal server update <server-id ...> [arg=value ...]
@@ -10,6 +10,7 @@ ARGS:
1010
[name] Name of the server (≠hostname), not updated if null
1111
[description] Description associated with the server, max 255 characters, not updated if null
1212
[tags.{index}] Tags associated with the server, not updated if null
13+
[protected] If enabled, the server can not be deleted
1314
[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-2 | pl-waw-3)
1415

1516
FLAGS:

cmd/scw/testdata/test-all-usage-edge-services-cache-stage-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ USAGE:
77

88
ARGS:
99
[fallback-ttl=3600s] Time To Live (TTL) in seconds. Defines how long content is cached
10+
[include-cookies] Defines whether responses to requests with cookies must be stored in the cache
1011
[backend-stage-id] Backend stage ID the cache stage will be linked to
1112
pipeline-id Pipeline ID the Cache stage belongs to
1213
[waf-stage-id]

cmd/scw/testdata/test-all-usage-edge-services-cache-stage-update-usage.golden

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
3+
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
44

55
USAGE:
66
scw edge-services cache-stage update <cache-stage-id ...> [arg=value ...]
77

88
ARGS:
99
cache-stage-id ID of the cache stage to update
1010
[fallback-ttl] Time To Live (TTL) in seconds. Defines how long content is cached
11+
[include-cookies] Defines whether responses to requests with cookies must be stored in the cache
1112
[backend-stage-id] Backend stage ID the cache stage will be linked to
1213
[waf-stage-id]
1314
[route-stage-id]

cmd/scw/testdata/test-all-usage-interlink-link-create-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ ARGS:
1414
[connection-id] If set, creates a self-hosted link using this dedicated physical connection. As the customer, specify the ID of the physical connection you already have for this link.
1515
[partner-id] If set, creates a hosted link on a partner's connection. Specify the ID of the chosen partner, who already has a shared connection with available bandwidth.
1616
[peer-asn] For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned.
17+
[vlan] For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned.
1718
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1819

1920
FLAGS:

cmd/scw/testdata/test-all-usage-ipam-ip-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw ipam ip list [arg=value ...]
77

88
ARGS:
9-
[order-by] Sort order of the returned IPs (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | attached_at_desc | attached_at_asc)
9+
[order-by] Sort order of the returned IPs (created_at_desc | created_at_asc | updated_at_desc | updated_at_asc | attached_at_desc | attached_at_asc | ip_address_desc | ip_address_asc | mac_address_desc | mac_address_asc)
1010
[project-id] Project ID to filter for. Only IPs belonging to this Project will be returned
1111
[zonal] Zone to filter for. Only IPs that are zonal, and in this zone, will be returned
1212
[private-network-id] Private Network to filter for.

docs/commands/audit-trail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scw audit-trail event list [arg=value ...]
2929
| Name | | Description |
3030
|------|---|-------------|
3131
| project-id | | (Optional) ID of the Project containing the Audit Trail events |
32-
| 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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization` | (Optional) Returns a paginated list of Scaleway resources' features |
32+
| 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`, `secret_manager_secret`, `secret_manager_version`, `key_manager_key`, `account_user`, `account_organization`, `instance_server`, `apple_silicon_server` | (Optional) Returns a paginated list of Scaleway resources' features |
3333
| method-name | | (Optional) Name of the method of the API call performed |
3434
| status | | (Optional) HTTP status code of the request. Returns either `200` if the request was successful or `403` if the permission was denied |
3535
| recorded-after | | (Optional) The `recorded_after` parameter defines the earliest timestamp from which Audit Trail events are retrieved. Returns `one hour ago` by default |

docs/commands/baremetal.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ scw baremetal server create [arg=value ...]
564564
| install.partitioning-schema.zfs.pools.{index}.options.{index} | | |
565565
| install.partitioning-schema.zfs.pools.{index}.filesystem-options.{index} | | |
566566
| option-ids.{index} | | IDs of options to enable on server |
567+
| protected | | If enabled, the server can not be deleted |
567568
| organization-id | | Organization ID to use. If none is passed the default organization ID will be used |
568569
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config |
569570

@@ -874,7 +875,7 @@ scw baremetal server stop 11111111-1111-1111-1111-111111111111
874875

875876
### Update an Elastic Metal server
876877

877-
Update the server associated with the ID. You can update parameters such as the server's name, tags and description. Any parameters left null in the request body are not updated.
878+
Update the server associated with the ID. You can update parameters such as the server's name, tags, description and protection flag. Any parameters left null in the request body are not updated.
878879

879880
**Usage:**
880881

@@ -891,6 +892,7 @@ scw baremetal server update <server-id ...> [arg=value ...]
891892
| name | | Name of the server (≠hostname), not updated if null |
892893
| description | | Description associated with the server, max 255 characters, not updated if null |
893894
| tags.{index} | | Tags associated with the server, not updated if null |
895+
| protected | | If enabled, the server can not be deleted |
894896
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config |
895897

896898

docs/commands/edge-services.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ scw edge-services cache-stage create [arg=value ...]
196196
| Name | | Description |
197197
|------|---|-------------|
198198
| fallback-ttl | Default: `3600s` | Time To Live (TTL) in seconds. Defines how long content is cached |
199+
| include-cookies | | Defines whether responses to requests with cookies must be stored in the cache |
199200
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
200201
| pipeline-id | Required | Pipeline ID the Cache stage belongs to |
201202
| waf-stage-id | | |
@@ -263,7 +264,7 @@ scw edge-services cache-stage list [arg=value ...]
263264

264265
### Update cache stage
265266

266-
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl` and `backend_stage_id`.
267+
Update the parameters of an existing cache stage, specified by its `cache_stage_id`. Parameters which can be updated include the `fallback_ttl`, `include_cookies` and `backend_stage_id`.
267268

268269
**Usage:**
269270

@@ -278,6 +279,7 @@ scw edge-services cache-stage update <cache-stage-id ...> [arg=value ...]
278279
|------|---|-------------|
279280
| cache-stage-id | Required | ID of the cache stage to update |
280281
| fallback-ttl | | Time To Live (TTL) in seconds. Defines how long content is cached |
282+
| include-cookies | | Defines whether responses to requests with cookies must be stored in the cache |
281283
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
282284
| waf-stage-id | | |
283285
| route-stage-id | | |

0 commit comments

Comments
 (0)