...
Code Block |
---|
|
curl -i -d @create_rbdefinition.json -X POST http://localhost:80819015/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:80819015/v1/rb/definition/test-rbdef/v1/content |
...
Code Block |
---|
|
# Get all Definitions
curl -i http://localhost:80819015/v1/rb/definition/
# Get one Definition
curl -i http://localhost:80819015/v1/rb/definition/test-rbdef/v1 |
...
Code Block |
---|
|
#Delete all versions of definition
curl -i -X DELETE http://localhost:80819015/v1/rb/definition/test-rbdef
#Delete a particular version of definition
curl -i -X DELETE http://localhost:80819015/v1/rb/definition/test-rbdef/v1 |
...
Code Block |
---|
|
curl -i -d @create_rbprofile.json -X POST http://localhost:80819015/v1/rb/definition/test-rbdef/v1/profile |
...
Code Block |
---|
|
curl -i --data-binary @profile.tar.gz -X POST http://localhost:80819015/v1/rb/definition/test-rbdef/v1/profile/p1/content |
...
Code Block |
---|
|
# Get all Profiles
curl -i http://localhost:80819015/v1/rb/definition/test-rbdef/v1/profile
# Get one Profile
curl -i http://localhost:80819015/v1/rb/definition/test-rbdef/v1/profile/p1 |
...
Code Block |
---|
|
curl -i -X DELETE http://localhost:80819015/v1/rb/definition/test-rbdef/v1/profile/p1 |
...
Code Block |
---|
language | bash |
---|
title | Command to Instantiate a Profile |
---|
|
curl -d @create_rbinstance.json http://localhost:80819015/v1/instance |
This command returns the following JSON:
...
Code Block |
---|
language | bash |
---|
title | Command to Instantiate a Profile |
---|
|
curl -X DELETE http://localhost:80819015/v1/instance/ZKMTSaxv |
Configuration API's
...
curl -i -d @create_config_template.json -X POST http: //localhost :80819015 /v1/rb/definition/ {name}/{version} / config-template/
|
...
curl -i --data-binary @kafka-config. tar .gz -X POST http: //localhost :80819015 /v1/rb/definition/ {name}/{version} / config-template/ {name}
|
...
curl -i http: //localhost :80819015 /v1/rb/definition/ {name}/{version} / config-template
curl -i http: //localhost :80819015 /v1/rb/definition/ {name}/{version} / config-template/ {name}
|
...
curl -i -X DELETE http: //localhost :80819015 /rb/definition/ {name}/{version} / config-template/ {name}
|
...
curl -i -d @values.json -X POST http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /config
|
...
curl -i http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /config
curl -i http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /config/ {name}
|
...
curl -i -X DELETE http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /config/ {name}
|
...
curl -i -d @values.json -X PUT http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /config/ {name}
|
...
curl -i -d @values.json -X POST http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /tagit
|
...
curl -i -d @values.json -X POST http: //localhost :80819015 /v1/rb/definition/ {name}/{version} /profile/ {name} /rollback
|
...
#Using a json file containing content as above;
curl -i -F "metadata=<jsonfile;type=application/json" -F file=@/home/ad_kkkamine/.kube/config -X POST http: //localhost :80819015 /v1/connectivity-info
|
Command to GET Connectivity Info
curl -i -X GET http: //localhost :80819015 /v1/connectivity-info/{name}
|
...
curl -i -X DELETE http: //localhost :80819015 /v1/connectivity-info/{name}
|
...
curl -i -d @update.json -X PUT http: //localhost :80819015 /v1/connectivity-info/{name}
|
...