Modify the failover group
API to modify failover group
Path Parameters
- failoverGroupId int32 required
Id of the failover group
- application/json
Request Body
- name string
New name for failover group
- isApprovalRequired boolean
Modify whether user approval is required for DR operation or not
usersToNotify object[]
- priorityIntervalInMinutes int32
Possible values:
>= 1
Modify the time interval between DR operations of different priorities in minutes
- continueDROnFailure boolean
Modify whether to continue to next priority on DR job failure
recoveryTarget object
replicationPairs object[]
arrayReplicationPairs object[]
Responses
- 200
- 404
- 503
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Service Unavailable
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/failovergroups/:failovergroupid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/FailoverGroups/:failoverGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"isApprovalRequired": true,
"usersToNotify": [
{
"id": 0,
"name": "string",
"displayName": "string",
"company": {
"id": 0,
"name": "string"
}
}
],
"priorityIntervalInMinutes": 0,
"continueDROnFailure": true,
"recoveryTarget": {
"id": 0,
"name": "string"
},
"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"
}
]
}'