mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-02-12 11:12:10 +00:00
Update 08-usages.md
This commit is contained in:
parent
bd03e894fd
commit
2285bc52f7
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
# Usages
|
||||
|
||||
## API
|
||||
## API
|
||||
|
||||
### New cluster
|
||||
### New cluster
|
||||
``` bash
|
||||
# Minimum:
|
||||
curl -H -XPOST -d '{
|
||||
|
@ -46,7 +46,7 @@ curl -H -XPOST -d '{
|
|||
* "weight": Weight for the cluster auto-selection (int) [VALUE NOT EMPTY REQUIRED]
|
||||
|
||||
|
||||
### Manage virtual machine (status)
|
||||
### Manage virtual machine (status)
|
||||
To manage an virtual machine, there are two way: use MongoID or the long path.
|
||||
The first way is probably more efficient in a scripting/program system and the second way for human.
|
||||
Indeed, it's just a wrapper.
|
||||
|
@ -98,4 +98,4 @@ curl 'http://127.0.0.1:8080/api/v1/static/instances/last/Cluster_1/my_node/510/
|
|||
``̀
|
||||
|
||||
|
||||
[Usage - api](07-api.md) <-- Previous
|
||||
[Usage - api](07-api.md) <-- Previous
|
||||
|
|
Loading…
Reference in a new issue