You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-cockpit-data-source-list-usage.golden
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ USAGE:
6
6
scw cockpit data-source list [arg=value ...]
7
7
8
8
ARGS:
9
-
[order-by] Sort order for data sources in the response (created_at_asc | created_at_desc | name_asc | name_desc | type_asc | type_desc)
10
9
[project-id] Project ID to use. If none is passed the default project ID will be used
11
10
[origin] Origin to filter for, only data sources with matching origin will be returned. If omitted, all types will be returned (unknown_origin | scaleway | external | custom)
12
11
[types.{index}] Types to filter for (metrics, logs, traces), only data sources with matching types will be returned. If omitted, all types will be returned (unknown_type | metrics | logs | traces)
12
+
[order-by] Sort order for data sources in the response (created_at_asc | created_at_desc | name_asc | name_desc | type_asc | type_desc)
13
13
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams | pl-waw | all)
| project-id || Project ID to use. If none is passed the default project ID will be used |
204
-
| name || Data source name |
205
-
| type | One of: `unknown_type`, `metrics`, `logs`, `traces`| Data source type |
204
+
| name |Required| Data source name |
205
+
| type |Required<br />One of: `unknown_type`, `metrics`, `logs`, `traces`| Data source type |
206
206
| retention-days || Duration for which the data will be retained in the data source |
207
207
| 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 |
208
208
@@ -263,10 +263,10 @@ scw cockpit data-source list [arg=value ...]
263
263
264
264
| Name || Description |
265
265
|------|---|-------------|
266
-
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `type_asc`, `type_desc`| Sort order for data sources in the response |
267
266
| project-id || Project ID to use. If none is passed the default project ID will be used |
268
267
| origin | One of: `unknown_origin`, `scaleway`, `external`, `custom`| Origin to filter for, only data sources with matching origin will be returned. If omitted, all types will be returned |
269
268
| types.{index} | One of: `unknown_type`, `metrics`, `logs`, `traces`| Types to filter for (metrics, logs, traces), only data sources with matching types will be returned. If omitted, all types will be returned |
269
+
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`, `type_asc`, `type_desc`| Sort order for data sources in the response |
270
270
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`, `all`| Region to target. If none is passed will use default region from the config |
| 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 |
607
607
@@ -663,9 +663,9 @@ scw cockpit token list [arg=value ...]
663
663
664
664
| Name || Description |
665
665
|------|---|-------------|
666
-
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`| Order in which to return results |
667
666
| project-id || Project ID to use. If none is passed the default project ID will be used |
668
667
| token-scopes.{index} | One of: `unknown_scope`, `read_only_metrics`, `write_only_metrics`, `full_access_metrics_rules`, `read_only_logs`, `write_only_logs`, `full_access_logs_rules`, `full_access_alert_manager`, `read_only_traces`, `write_only_traces`| Token scopes to filter for |
668
+
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc`| Order in which to return results |
669
669
| region | Default: `fr-par`<br />One of: `fr-par`, `nl-ams`, `pl-waw`, `all`| Region to target. If none is passed will use default region from the config |
0 commit comments