Get list of eligible machines that can be added to failover groups
API to get list of machines eligible to be added to failover group
Query Parameters
- sourceEntityId int32 required
The ID of the source entity. This is the ID for client or client group
- failoverGroupSource string
Possible values: [
ARRAY_REPLICATION_TEST_FAILOVER
,ARRAY_REPLICATION_FAILOVER
,REPLICATION
,BACKUP
]The type of failover group source. Default value is 'REPLICATION'
- sourceEntityType string
Possible values: [
CLIENT_GROUP
,CLIENT
]The type of source entity. It can be 'CLIENT' or 'CLIENT_ENTITY'. Default value is 'CLIENT'
- destinationClientId int32
The client ID of the destination
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
Schema
virtualMachines object[]
{
"virtualMachines": [
{
"replicationPairs": [
{
"id": 0,
"sourceName": "string",
"destinationName": "string",
"GUID": "string",
"priority": 0,
"copyPrecedence": 0,
"preFailoverScript": {
"path": "string",
"type": "UNC",
"scriptCredentials": {
"savedCredentials": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
}
},
"guestCredentials": {
"savedCredentials": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
}
},
"reset": true
},
"postFailoverScript": {
"path": "string",
"type": "UNC",
"scriptCredentials": {
"savedCredentials": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
}
},
"guestCredentials": {
"savedCredentials": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
}
},
"reset": true
}
}
],
"arrayReplicationPairs": [
{
"id": 0,
"sourceName": "string",
"destinationName": "string",
"GUID": "string",
"priority": 0,
"ipSettings": [
{
"sourceIP": "string",
"sourceSubnetMask": "string",
"sourceDefaultGateway": "string",
"useDhcp": false,
"destinationIP": "string",
"destinationSubnetMask": "string",
"destinationdefaultGateway": "string",
"destinationPreferredDNS": "string",
"destinationAlternateDNS": "string",
"destinationPreferredWINS": "string",
"destinationAlternateWINS": "string",
"hostname": "string"
}
],
"hostname": "string"
}
]
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
GET /v4/failovergroups/eligiblemachines
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V4/FailoverGroups/EligibleMachines' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'