Skip to content

Commit b8ae72f

Browse files
docs(b‎aremetal): elastic metal servers (#3075)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 5eb0d7d commit b8ae72f

8 files changed

+23
-23
lines changed

cmd/scw/testdata/test-all-usage-baremetal-os-get-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Return specific OS for the ID.
3+
Return the specific OS for the ID.
44

55
USAGE:
66
scw baremetal os get <os-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-baremetal-os-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw baremetal os <command>
77

88
AVAILABLE COMMANDS:
9-
get Get an OS with an ID
9+
get Get OS with an ID
1010
list List available OSes
1111

1212
FLAGS:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
List Elastic Metal servers for a specific organization.
3+
List Elastic Metal servers for a specific Organization.
44

55
USAGE:
66
scw baremetal server list [arg=value ...]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ AVAILABLE COMMANDS:
1111
get Get a specific Elastic Metal server
1212
get-metrics Return server metrics
1313
install Install an Elastic Metal server
14-
list List Elastic Metal servers for an organization
14+
list List Elastic Metal servers for an Organization
1515
list-events List server events
1616
reboot Reboot an Elastic Metal server
1717
start Start an Elastic Metal server

cmd/scw/testdata/test-all-usage-baremetal-settings-list-usage.golden

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Return all settings for a project ID.
3+
Return all settings for a Project ID.
44

55
USAGE:
66
scw baremetal settings list [arg=value ...]
77

88
ARGS:
99
[order-by] Sort order for items in the response (created_at_asc | created_at_desc)
10-
project-id ID of the project
10+
project-id ID of the Project
1111
[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 | all)
1212

1313
FLAGS:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Update a setting for a project ID (enable or disable).
3+
Update a setting for a Project ID (enable or disable).
44

55
USAGE:
66
scw baremetal settings update [arg=value ...]

docs/commands/baremetal.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Elastic Metal API.
1515
- [Get option](#get-option)
1616
- [List options](#list-options)
1717
- [Operating System (OS) management commands](#operating-system-(os)-management-commands)
18-
- [Get an OS with an ID](#get-an-os-with-an-id)
18+
- [Get OS with an ID](#get-os-with-an-id)
1919
- [List available OSes](#list-available-oses)
2020
- [Private Network management command](#private-network-management-command)
2121
- [Add a server to a Private Network](#add-a-server-to-a-private-network)
@@ -28,7 +28,7 @@ Elastic Metal API.
2828
- [Get a specific Elastic Metal server](#get-a-specific-elastic-metal-server)
2929
- [Return server metrics](#return-server-metrics)
3030
- [Install an Elastic Metal server](#install-an-elastic-metal-server)
31-
- [List Elastic Metal servers for an organization](#list-elastic-metal-servers-for-an-organization)
31+
- [List Elastic Metal servers for an Organization](#list-elastic-metal-servers-for-an-organization)
3232
- [List server events](#list-server-events)
3333
- [Reboot an Elastic Metal server](#reboot-an-elastic-metal-server)
3434
- [Start an Elastic Metal server](#start-an-elastic-metal-server)
@@ -327,9 +327,9 @@ scw baremetal options list zone=fr-par-1
327327
An Operating System (OS) is the underlying software installed on your server
328328

329329

330-
### Get an OS with an ID
330+
### Get OS with an ID
331331

332-
Return specific OS for the ID.
332+
Return the specific OS for the ID.
333333

334334
**Usage:**
335335

@@ -643,9 +643,9 @@ scw baremetal server install 11111111-1111-1111-1111-111111111111 os-id=11111111
643643

644644

645645

646-
### List Elastic Metal servers for an organization
646+
### List Elastic Metal servers for an Organization
647647

648-
List Elastic Metal servers for a specific organization.
648+
List Elastic Metal servers for a specific Organization.
649649

650650
**Usage:**
651651

@@ -885,7 +885,7 @@ Allows to configure the general settings for your Elastic Metal server.
885885

886886
### List all settings
887887

888-
Return all settings for a project ID.
888+
Return all settings for a Project ID.
889889

890890
**Usage:**
891891

@@ -899,14 +899,14 @@ scw baremetal settings list [arg=value ...]
899899
| Name | | Description |
900900
|------|---|-------------|
901901
| order-by | One of: `created_at_asc`, `created_at_desc` | Sort order for items in the response |
902-
| project-id | Required | ID of the project |
902+
| project-id | Required | ID of the Project |
903903
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `all` | Zone to target. If none is passed will use default zone from the config |
904904

905905

906906

907907
### Update setting
908908

909-
Update a setting for a project ID (enable or disable).
909+
Update a setting for a Project ID (enable or disable).
910910

911911
**Usage:**
912912

internal/namespaces/baremetal/v1/baremetal_cli.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Note that a resource can be a part of multiple Private Networks.
148148

149149
func baremetalServerList() *core.Command {
150150
return &core.Command{
151-
Short: `List Elastic Metal servers for an organization`,
152-
Long: `List Elastic Metal servers for a specific organization.`,
151+
Short: `List Elastic Metal servers for an Organization`,
152+
Long: `List Elastic Metal servers for a specific Organization.`,
153153
Namespace: "baremetal",
154154
Resource: "server",
155155
Verb: "list",
@@ -1204,7 +1204,7 @@ func baremetalOptionsList() *core.Command {
12041204
func baremetalSettingsList() *core.Command {
12051205
return &core.Command{
12061206
Short: `List all settings`,
1207-
Long: `Return all settings for a project ID.`,
1207+
Long: `Return all settings for a Project ID.`,
12081208
Namespace: "baremetal",
12091209
Resource: "settings",
12101210
Verb: "list",
@@ -1221,7 +1221,7 @@ func baremetalSettingsList() *core.Command {
12211221
},
12221222
{
12231223
Name: "project-id",
1224-
Short: `ID of the project`,
1224+
Short: `ID of the Project`,
12251225
Required: true,
12261226
Deprecated: false,
12271227
Positional: false,
@@ -1251,7 +1251,7 @@ func baremetalSettingsList() *core.Command {
12511251
func baremetalSettingsUpdate() *core.Command {
12521252
return &core.Command{
12531253
Short: `Update setting`,
1254-
Long: `Update a setting for a project ID (enable or disable).`,
1254+
Long: `Update a setting for a Project ID (enable or disable).`,
12551255
Namespace: "baremetal",
12561256
Resource: "settings",
12571257
Verb: "update",
@@ -1326,8 +1326,8 @@ func baremetalOsList() *core.Command {
13261326

13271327
func baremetalOsGet() *core.Command {
13281328
return &core.Command{
1329-
Short: `Get an OS with an ID`,
1330-
Long: `Return specific OS for the ID.`,
1329+
Short: `Get OS with an ID`,
1330+
Long: `Return the specific OS for the ID.`,
13311331
Namespace: "baremetal",
13321332
Resource: "os",
13331333
Verb: "get",

0 commit comments

Comments
 (0)