This URL retrieves all the vIPS controllers from the domain.
Resource URL
GET /cloud/<domain_id>/connector
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 Controller:
Field Name | Description | Data Type |
|---|---|---|
| Controller id | Number |
| Domain details | String |
| Controller name | String |
| Specifies if the controller is in high availability mode or not | Boolean |
| Controller service IP, if provided | String |
| High availability timeout in minutes | Number |
| Shared secret between the Manager and controller | String |
| Private controller communication subnet CIDR | String |
| Last updated time | String |
| Controller description | String |
| Controller member details. Maximum 2 members. | Array |
| Cloud access details | Object |
Details of fields in members:
Field Name | Description | Data Type |
|---|---|---|
| Registration/connection status between controller and the Manager | String |
| Controller member private IP | String |
| Software version on controller | String |
| Virtual probe agent version associated with the controller | String |
Details of fields in cloud:
Field Name | Description | Data Type |
|---|---|---|
| Type of cloud environment. Supported value:
| String |
| AWS cloud details | Object |
| Azure cloud details | Object |
Details of fields in AWS:
Field Name | Description | Data Type |
|---|---|---|
| Specifies if the IAM roles in Manager machines are used to access the AWS cloud or not | Boolean |
| Cloud access region | String |
| Cloud access key | String |
| Cloud access secret key | String |
Details of fields in Azure:
Field Name | Description | Data Type |
|---|---|---|
| Azure directory id | String |
| Azure app application key | String |
| Azure app application id | String |
| Azure app subscription id | String |
Example
Request
GET https://<NSM_IP>/sdkapi/cloud/<domain_id>/connector
Response
{
"cloudConnector": [
{
"id": 101,
"domain": "My Company ( 0 )",
"name": "Cont8_4",
"isHA": true,
"serviceIp": "34.210.121.120",
"haTimeout": 5,
"sharedSecret": "********",
"privateCommunicationSubnet": "1.1.12.0/24",
"lastUpdated": "2017-06-14 09:03:39.0 ( null )",
"description": "controller in 8.4",
"members": [
{
"status": "ONLINE",
"localIP": "10.40.10.17",
"controllerSoftware": "3.6.1 (060717a)",
"probeSoftware": "3.6.1-5"
},
{
"status": "ONLINE",
"localIP": "10.40.10.98",
"controllerSoftware": "3.6.1 (060717a)",
"probeSoftware": "3.6.1-5"
}
],
"cloud": {
"type": "AMAZON",
“awsDetails”: {
“useIAMRole”: false,
"region": "US West (Oregon)",
"accessKey": "AKIAJOKGKIFNHOWISXOA",
"secretKey": "****************************************"
},
“azureDetails”: null
}
},
{
"id": 103,
"domain": "My Company ( 0 )",
"name": "StAl",
"isHA": false,
"serviceIp": null,
"haTimeout": 5,
"sharedSecret": "********",
"privateCommunicationSubnet": "1.14.7.0/24",
"lastUpdated": "2017-06-14 09:34:29.0 ( null )",
"description": "standalone controller",
"members": [
{
"status": "ONLINE",
"localIP": "10.40.10.210",
"controllerSoftware": "3.6.1 (060717a)",
"probeSoftware": "3.6.1-5"
}
],
"cloud": {
"type": "AMAZON",
“awsDetails”: {
“useIAMRole”: false,
"region": "US West (Oregon)",
"accessKey": "AKIAJOKGKIFNHOWISXOA",
"secretKey": "****************************************"
},
“azureDetails”: null
}
}
]
}
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 |