This URL get the failover pair.
Resource URL
GET /domain/<domain_id>/failoverpair /<failoverpair_id>
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain id | Number | Yes |
| Failover pair id | Number | Yes |
Response Parameters
Following fields are returned.
Field Name | Description | Data Type |
|---|---|---|
| Unique failover pair id, not required for POST | Number |
| Sensor model | String |
| Failover pair name | String |
| Template/Primary device id | Number |
| Peer/Secondary device id | Number |
| Template/ Primary device name | String |
| Peer/ Secondary device name | String |
| Is failopen | Boolean |
Example
Request
GET https://<NSM_IP>/domain/0/failoverpair/119
Response
{
"name": "NS9100_failover",
"templateDeviceId": 1004,
"peerDeviceId": 1003,
"templateDeviceName": "NS9100_NSM_API_FO_2",
"peerDeviceName": "NS9100_NSM_API_FO_1",
"isFailOpen": false
}
Error Information
Following error codes are returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1105 | Invalid domain |
2 | 404 | 5912 | Invalid cluster id/cluster not visible to this domain |