This URL retrieves all the vIPS clusters from the domain.
Resource URL
GET /cloud/<domain_id>/cluster
Request Parameters
URL Parameters
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain id | Number | Yes |
Payload Request Parameters
None
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned:
Field Name | Description | Data Type |
|---|---|---|
| List of the controllers | Array |
Details of fields in the objects under vIPS Cluster:
Field Name | Description | Data Type |
|---|---|---|
| Cluster id | Number |
| Domain details | String |
| Cluster name | String |
| Cluster description | String |
| Controller name | String |
| Subscription id for Azure controllers | String |
| Shared secret between the Manager and cluster | String |
| Number of member Sensors | Number |
| Last updated time | String |
Example
Request
GET https://<NSM_IP>/sdkapi/cloud/<domain_id>/connector
Response
{
"cloudCluster":
[
{
"id": 101,
"domain": "My Company ( 0 )",
"name": "test",
"description": "",
"cloudConnector": "Cloud_Controller",
"sharedSecret": "********",
"memberSensors": 0,
"lastUpdated": "2017-03-23 10:25:42.0 ( admin )"
“subscription”: “subscription”
},
{
"id": 102,
"domain": "My Company ( 0 )",
"name": "Cloud_Cluster",
"description": "api updated",
"cloudConnector": "Cloud_Controller",
"sharedSecret": "********",
"memberSensors": 0,
"lastUpdated": "2017-03-23 10:38:29.0 ( admin )"
}
]
}
Error Information
Following error codes are returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 500 | 1001 | Internal error message: internal server error |
2 | 400 | 1105 | Invalid domain |