Skip to content

Commit 7365657

Browse files
committed
Fix
1 parent af3068e commit 7365657

13 files changed

+7
-40
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 | instance_server | apple_silicon_server)
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)
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-edge-services-cache-stage-create-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ 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
1110
[backend-stage-id] Backend stage ID the cache stage will be linked to
1211
pipeline-id Pipeline ID the Cache stage belongs to
1312
[waf-stage-id]

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
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`, `include_cookies` 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` 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
1211
[backend-stage-id] Backend stage ID the cache stage will be linked to
1312
[waf-stage-id]
1413
[route-stage-id]

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ 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.
1817
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw)
1918

2019
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 | ip_address_desc | ip_address_asc | mac_address_desc | mac_address_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)
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`, `instance_server`, `apple_silicon_server` | (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` | (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/edge-services.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ 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 |
200199
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
201200
| pipeline-id | Required | Pipeline ID the Cache stage belongs to |
202201
| waf-stage-id | | |
@@ -264,7 +263,7 @@ scw edge-services cache-stage list [arg=value ...]
264263

265264
### Update cache stage
266265

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`.
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`.
268267

269268
**Usage:**
270269

@@ -279,7 +278,6 @@ scw edge-services cache-stage update <cache-stage-id ...> [arg=value ...]
279278
|------|---|-------------|
280279
| cache-stage-id | Required | ID of the cache stage to update |
281280
| 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 |
283281
| backend-stage-id | | Backend stage ID the cache stage will be linked to |
284282
| waf-stage-id | | |
285283
| route-stage-id | | |

docs/commands/interlink.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ scw interlink link create [arg=value ...]
113113
| 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. |
114114
| 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. |
115115
| 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. |
116-
| 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. |
117116
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw` | Region to target. If none is passed will use default region from the config |
118117

119118

docs/commands/ipam.md

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

102102
| Name | | Description |
103103
|------|---|-------------|
104-
| order-by | One of: `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` | Sort order of the returned IPs |
104+
| order-by | One of: `created_at_desc`, `created_at_asc`, `updated_at_desc`, `updated_at_asc`, `attached_at_desc`, `attached_at_asc` | Sort order of the returned IPs |
105105
| project-id | | Project ID to filter for. Only IPs belonging to this Project will be returned |
106106
| zonal | | Zone to filter for. Only IPs that are zonal, and in this zone, will be returned |
107107
| private-network-id | | Private Network to filter for. |

internal/namespaces/audit_trail/v1alpha1/audit_trail_cli.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ func auditTrailEventList() *core.Command {
9797
"key_manager_key",
9898
"account_user",
9999
"account_organization",
100-
"instance_server",
101-
"apple_silicon_server",
102100
},
103101
},
104102
{

0 commit comments

Comments
 (0)