Skip to content

Commit b9c8b6a

Browse files
committed
chore: Rename several commands
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
1 parent 0b91b47 commit b9c8b6a

253 files changed

Lines changed: 1173 additions & 4971 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ OVH_CLOUD_PROJECT_SERVICE=<public cloud project ID>
185185
| Fetch details of a single VPS in JSON | `ovhcloud vps get <service_id> -o json` |
186186
| Reinstall a baremetal interactively | `ovhcloud baremetal reinstall <id> --editor` |
187187
| List instances and filter on GRA9 region | `ovhcloud cloud instance list --filter 'region=="GRA9"'` |
188-
| Get only the ID of a given MKS node pool | `NP_ID=$(ovhcloud cloud kube nodepool list xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --filter 'name=="my-np-autoscale"' -o 'id' \| xargs)` |
188+
| Get only the ID of a given MKS node pool | `NP_ID=$(ovhcloud cloud managed-kubernetes nodepool list xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --filter 'name=="my-np-autoscale"' -o 'id' \| xargs)` |
189189

190190
# Available products
191191

@@ -225,20 +225,20 @@ OVH_CLOUD_PROJECT_SERVICE=<public cloud project ID>
225225
| | dedicated-cluster | Partially |
226226
| **Public Cloud / Access** | cloud ssh-key | Yes |
227227
| **Public Cloud / Compute** | cloud instance | Yes |
228-
| **Public Cloud / Container Registry** | cloud container-registry | Yes |
229-
| **Public Cloud / Containers** | cloud kube | Yes |
230-
| **Public Cloud / Orchestration** | cloud rancher | Yes |
231-
| **Public Cloud / Databases** | cloud database-service | Partially |
228+
| **Public Cloud / Container Registry** | cloud managed-registry | Yes |
229+
| **Public Cloud / Containers** | cloud managed-kubernetes | Yes |
230+
| **Public Cloud / Orchestration** | cloud managed-rancher | Yes |
231+
| **Public Cloud / Databases** | cloud database-service | Yes |
232232
| **Public Cloud / Governance** | cloud quota | Yes |
233233
| **Public Cloud / Meta** | cloud reference | Yes |
234234
| | cloud region | Yes |
235-
| **Public Cloud / Network** | cloud loadbalancer | Partially |
235+
| **Public Cloud / Network** | cloud loadbalancer | Yes |
236236
| | cloud network | Yes |
237-
| **Public Cloud / Object Storage** | cloud storage-s3 | Yes |
237+
| **Public Cloud / Object Storage** | cloud storage object | Yes |
238238
| | cloud storage-swift | Yes |
239239
| **Public Cloud / Ops** | cloud operation | Yes |
240240
| **Public Cloud / Project** | cloud project | Yes |
241-
| **Public Cloud / Storage** | cloud storage-block | Yes |
241+
| **Public Cloud / Storage** | cloud storage block | Yes |
242242
| **Public Cloud / Identity** | cloud user | Yes |
243243
| **Security** | ssl | Partially |
244244
| | okms | Partially |

doc/ovhcloud_cloud.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,18 @@ Manage your projects and services in the Public Cloud universe (MKS, MPR, MRS, O
3131

3232
* [ovhcloud](ovhcloud.md) - CLI to manage your OVHcloud services
3333
* [ovhcloud cloud alerting](ovhcloud_cloud_alerting.md) - Manage billing alert configurations in the given cloud project
34-
* [ovhcloud cloud container-registry](ovhcloud_cloud_container-registry.md) - Manage container registries in the given cloud project
35-
* [ovhcloud cloud floating-ip](ovhcloud_cloud_floating-ip.md) - Manage floating IPs in the given cloud project
3634
* [ovhcloud cloud instance](ovhcloud_cloud_instance.md) - Manage instances in the given cloud project
37-
* [ovhcloud cloud ip-failover](ovhcloud_cloud_ip-failover.md) - Manage failover IPs in the given cloud project
38-
* [ovhcloud cloud kube](ovhcloud_cloud_kube.md) - Manage Kubernetes clusters in the given cloud project
35+
* [ovhcloud cloud ip](ovhcloud_cloud_ip.md) - Manage public IPs (floating and failover) in the given cloud project
3936
* [ovhcloud cloud loadbalancer](ovhcloud_cloud_loadbalancer.md) - Manage loadbalancers in the given cloud project
4037
* [ovhcloud cloud managed-analytics](ovhcloud_cloud_managed-analytics.md) - Manage managed analytics services in the given cloud project
4138
* [ovhcloud cloud managed-database](ovhcloud_cloud_managed-database.md) - Manage managed database services in the given cloud project
39+
* [ovhcloud cloud managed-kubernetes](ovhcloud_cloud_managed-kubernetes.md) - Manage Kubernetes clusters in the given cloud project
40+
* [ovhcloud cloud managed-rancher](ovhcloud_cloud_managed-rancher.md) - Manage Rancher services in the given cloud project
41+
* [ovhcloud cloud managed-registry](ovhcloud_cloud_managed-registry.md) - Manage container registries in the given cloud project
4242
* [ovhcloud cloud network](ovhcloud_cloud_network.md) - Manage networks in the given cloud project
4343
* [ovhcloud cloud operation](ovhcloud_cloud_operation.md) - List and get operations in the given cloud project
4444
* [ovhcloud cloud project](ovhcloud_cloud_project.md) - Retrieve information and manage your CloudProject services
4545
* [ovhcloud cloud quota](ovhcloud_cloud_quota.md) - Check quotas in the given cloud project
46-
* [ovhcloud cloud rancher](ovhcloud_cloud_rancher.md) - Manage Rancher services in the given cloud project
4746
* [ovhcloud cloud reference](ovhcloud_cloud_reference.md) - Fetch reference data in the given cloud project
4847
* [ovhcloud cloud region](ovhcloud_cloud_region.md) - Check regions in the given cloud project
4948
* [ovhcloud cloud savings-plan](ovhcloud_cloud_savings-plan.md) - Manage savings plans for your cloud project

doc/ovhcloud_cloud_ip-failover.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

doc/ovhcloud_cloud_ip-failover_attach.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

doc/ovhcloud_cloud_ip-failover_get.md

Lines changed: 0 additions & 38 deletions
This file was deleted.

doc/ovhcloud_cloud_ip-failover_list.md

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
## ovhcloud cloud floating-ip
1+
## ovhcloud cloud ip
22

3-
Manage floating IPs in the given cloud project
3+
Manage public IPs (floating and failover) in the given cloud project
44

55
### Options
66

77
```
88
--cloud-project string Cloud project ID
9-
-h, --help help for floating-ip
10-
--region string Filter by region or specify the region of the floating IP
9+
-h, --help help for ip
10+
--region string Filter by region or specify the region of the floating IP (only used when --type=floating)
11+
--type string Type of IP to manage (floating or failover)
1112
```
1213

1314
### Options inherited from parent commands
@@ -32,7 +33,8 @@ Manage floating IPs in the given cloud project
3233
### SEE ALSO
3334

3435
* [ovhcloud cloud](ovhcloud_cloud.md) - Manage your projects and services in the Public Cloud universe (MKS, MPR, MRS, Object Storage...)
35-
* [ovhcloud cloud floating-ip delete](ovhcloud_cloud_floating-ip_delete.md) - Delete a floating IP
36-
* [ovhcloud cloud floating-ip get](ovhcloud_cloud_floating-ip_get.md) - Get information about a floating IP
37-
* [ovhcloud cloud floating-ip list](ovhcloud_cloud_floating-ip_list.md) - List floating IPs
36+
* [ovhcloud cloud ip attach](ovhcloud_cloud_ip_attach.md) - Attach a public IP to an instance (only supported for --type=failover)
37+
* [ovhcloud cloud ip delete](ovhcloud_cloud_ip_delete.md) - Delete a public IP (only supported for --type=floating)
38+
* [ovhcloud cloud ip get](ovhcloud_cloud_ip_get.md) - Get information about a public IP
39+
* [ovhcloud cloud ip list](ovhcloud_cloud_ip_list.md) - List public IPs (both floating and failover when --type is not specified)
3840

doc/ovhcloud_cloud_ip_attach.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
## ovhcloud cloud ip attach
2+
3+
Attach a public IP to an instance (only supported for --type=failover)
4+
5+
```
6+
ovhcloud cloud ip attach <ip_id> <instance_id> [flags]
7+
```
8+
9+
### Options
10+
11+
```
12+
-h, --help help for attach
13+
```
14+
15+
### Options inherited from parent commands
16+
17+
```
18+
--cloud-project string Cloud project ID
19+
-d, --debug Activate debug mode (will log all HTTP requests details)
20+
-e, --ignore-errors Ignore errors in API calls when it is not fatal to the execution
21+
-o, --output string Output format: json, yaml, interactive, or a custom format expression (using https://github.com/PaesslerAG/gval syntax)
22+
Examples:
23+
--output json
24+
--output yaml
25+
--output interactive
26+
--output 'id' (to extract a single field)
27+
--output 'nested.field.subfield' (to extract a nested field)
28+
--output '[id, "name"]' (to extract multiple fields as an array)
29+
--output '{"newKey": oldKey, "otherKey": nested.field}' (to extract and rename fields in an object)
30+
--output 'name+","+type' (to extract and concatenate fields in a string)
31+
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
32+
--profile string Use a specific profile from the configuration file
33+
--region string Filter by region or specify the region of the floating IP (only used when --type=floating)
34+
--type string Type of IP to manage (floating or failover)
35+
```
36+
37+
### SEE ALSO
38+
39+
* [ovhcloud cloud ip](ovhcloud_cloud_ip.md) - Manage public IPs (floating and failover) in the given cloud project
40+
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## ovhcloud cloud floating-ip delete
1+
## ovhcloud cloud ip delete
22

3-
Delete a floating IP
3+
Delete a public IP (only supported for --type=floating)
44

55
```
6-
ovhcloud cloud floating-ip delete <floating_ip_id> [flags]
6+
ovhcloud cloud ip delete <ip_id> [flags]
77
```
88

99
### Options
@@ -30,10 +30,11 @@ ovhcloud cloud floating-ip delete <floating_ip_id> [flags]
3030
--output 'name+","+type' (to extract and concatenate fields in a string)
3131
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
3232
--profile string Use a specific profile from the configuration file
33-
--region string Filter by region or specify the region of the floating IP
33+
--region string Filter by region or specify the region of the floating IP (only used when --type=floating)
34+
--type string Type of IP to manage (floating or failover)
3435
```
3536

3637
### SEE ALSO
3738

38-
* [ovhcloud cloud floating-ip](ovhcloud_cloud_floating-ip.md) - Manage floating IPs in the given cloud project
39+
* [ovhcloud cloud ip](ovhcloud_cloud_ip.md) - Manage public IPs (floating and failover) in the given cloud project
3940

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## ovhcloud cloud floating-ip get
1+
## ovhcloud cloud ip get
22

3-
Get information about a floating IP
3+
Get information about a public IP
44

55
```
6-
ovhcloud cloud floating-ip get <floating_ip_id> [flags]
6+
ovhcloud cloud ip get <ip_id> [flags]
77
```
88

99
### Options
@@ -30,10 +30,11 @@ ovhcloud cloud floating-ip get <floating_ip_id> [flags]
3030
--output 'name+","+type' (to extract and concatenate fields in a string)
3131
--output '(nbFieldA + nbFieldB) * 10' (to compute values from numeric fields)
3232
--profile string Use a specific profile from the configuration file
33-
--region string Filter by region or specify the region of the floating IP
33+
--region string Filter by region or specify the region of the floating IP (only used when --type=floating)
34+
--type string Type of IP to manage (floating or failover)
3435
```
3536

3637
### SEE ALSO
3738

38-
* [ovhcloud cloud floating-ip](ovhcloud_cloud_floating-ip.md) - Manage floating IPs in the given cloud project
39+
* [ovhcloud cloud ip](ovhcloud_cloud_ip.md) - Manage public IPs (floating and failover) in the given cloud project
3940

0 commit comments

Comments
 (0)