...
Code Block | ||||
---|---|---|---|---|
| ||||
URL: /v2/projects/<project-name>/logical-clouds/<logical-cloud-name>/cluster-provider/<cluster-provider-name>/cluster-references/
POST BODY:
{
"cluster-name": "c1", //name of the cluster
"loadbalancer-ip" : "0.0.0.0" //IP address of the istio loadbalancer for the logical cloud control plane in the cluster
}
Return Status: 200 (OK)
Return Body:
{
"cluster-name" : "cluster-1"
"loadbalancer-ip" : "0.0.0.0"
}
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
URL: /v2/projects/<project-name>/logical-clouds/<logical-cloud-name>/cluster-providers/<cluster-provider-name>/cluster-references/cluster-name PUT BODY: { "loadbalancer-ip" : "0.0.0.0" //IP address of the istio loadbalancer for the logical cloud control plane in the cluster } Return Status: 200 (OK) Return Body: { "cluster-name" : "cluster-1" "loadbalancer-ip" : "0.0.0.0" } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
GET URL: /v2/projects/<project-name>/logical-clouds/<logical-cloud-name>/cluster-providers/<cluster-provider-name>/cluster-references/ RESPONSE BODY: { cluster-references : [ { "cluster-name" : "c1", "loadbalancer-ip" : "0.0.0.0 }, { "cluster-name" : "c2", "loadbalancer-ip" : "x.x.x.x } ] } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
DELETE URL: /v2/projects/<project-name>/logical-clouds/<logical-cloud-name>/cluster-providers/<cluster-provider-name>/cluster-references/cluster<cluster-namename> RESPONSE STATUS: 204 } |
Logical Cloud User Permissions API
...