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[]
Users to notify/for approval of DR operations
id int32name stringdisplayName stringcompany object
id int32name string- 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
id int32name stringreplicationPairs object[]
List of all replication pairs that are part of the failover group
id int32The ID of the replication pair
sourceName stringThe name of the source machine
destinationName stringThe name of the destination machine
GUID stringThe GUID of the source of replication pair
priority int32The priority of the replication pair for DR operation in failover group. The lower values signify higher priority
copyPrecedence int32The copy precedence of replication pair
preFailoverScript object
DR operation scripting information
path stringThe path of the script to be executed. Can be local path on VM or UNC path accessible by access node
type stringPossible values: [
UNC
,LOCAL
]The type of path being used for DR operation script
scriptCredentials object
savedCredentials object
id int32name stringcredentials object
name stringusername to access the network path
password stringpassword to access the network path
guestCredentials object
savedCredentials object
id int32name stringcredentials object
name stringusername to access the network path
password stringpassword to access the network path
reset booleanOn set to true, resets the script to empty
postFailoverScript object
DR operation scripting information
path stringThe path of the script to be executed. Can be local path on VM or UNC path accessible by access node
type stringPossible values: [
UNC
,LOCAL
]The type of path being used for DR operation script
scriptCredentials object
savedCredentials object
id int32name stringcredentials object
name stringusername to access the network path
password stringpassword to access the network path
guestCredentials object
savedCredentials object
id int32name stringcredentials object
name stringusername to access the network path
password stringpassword to access the network path
reset booleanOn set to true, resets the script to empty
arrayReplicationPairs object[]
List of all array replication pairs for failover group
id int32The ID of the array replication pair
sourceName stringThe name of the source machine
destinationName stringThe name of the destination machine
GUID stringThe GUID of the source of array replication pair
priority int32The priority of the array replication pair for DR operation in failover group. The lower values signify higher priority
ipSettings object[]
The settings for IP address mapping
sourceIP stringThe full IP address or an IP address pattern of the source VM.
sourceSubnetMask stringThe subnet mask of the source VM.
sourceDefaultGateway stringThe default gateway of the source VM.
useDhcp booleanDefault value:
false
Automatically assigns available IP addresses to be used with the specified destination network.
destinationIP stringThe full IP address or an IP address pattern for the destination VM. Provide only if DHCP is not enabled.
destinationSubnetMask stringThe subnet mask for the destination VM. Provide only if DHCP is not enabled.
destinationdefaultGateway stringThe default gateway for the destination VM. Provide only if DHCP is not enabled.
destinationPreferredDNS stringThe preferred DNS server for the destination VM. Provide only if DHCP is not enabled
destinationAlternateDNS stringThe alternate DNS server for the destination VM. Provide only if DHCP is not enabled
destinationPreferredWINS stringThe preferred WINS server for the destination VM. Provide only if DHCP is not enabled
destinationAlternateWINS stringThe alternate WINS server for the destination VM. Provide only if DHCP is not enabled
hostname stringThe host name to be applied for the destination VM.
hostname stringThe hostname specified for the destination machine
- 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
}