...
Code Block | ||
---|---|---|
| ||
curl -i -d @create_rbdefinition.json -X POST http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition |
Command to UPLOAD artifact for Definition Created:
Code Block | ||
---|---|---|
| ||
curl -i --data-binary @vault-consul-dev.tar.gz -X POST http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/content |
...
Code Block | ||
---|---|---|
| ||
# Get all Definitions curl -i http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition # Get one Definition curl -i http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1 |
...
Code Block | ||
---|---|---|
| ||
#Delete all versions of definition curl -i -X DELETE http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef #Delete a particular version of definition curl -i -X DELETE http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1 |
...
Code Block | ||
---|---|---|
| ||
#Replace localhost:9015NODE_IP:30280/api/multicloud-k8s/v1 with NODEPORTNODE_PORT:30280/v1api/multicloud-k8s/v1 if you are connec curl -i -d @create_rbprofile.json -X POST http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/profile |
...
Code Block | ||
---|---|---|
| ||
curl -i --data-binary @profile.tar.gz -X POST http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/profile/p1/content |
...
Code Block | ||
---|---|---|
| ||
# Get all Profiles curl -i http://localhost:9015 http://NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/profile # Get one Profile curl -i http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/profile/p1 |
...
Code Block | ||
---|---|---|
| ||
curl -i -X DELETE http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/profile/p1 |
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -d @create_rbinstance.json http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/instance |
This command returns the following JSON:
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X DELETE http://NODE_IP:30280/api//localhost:9015multicloud-k8s/v1/v1/instance/ZKMTSaxv |
GET Instantiated Kubernetes resources
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X GET http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/instance/ZKMTSaxv |
LIST all Instantiated Kubernetes resources
...
Code Block | ||||
---|---|---|---|---|
| ||||
curl -X GET http://localhost:9015NODE_IP:30280/api/multicloud-k8s/v1/v1/instance |
Configuration API
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
Command to GET Connectivity Info
|
...
|
...
|
...