Update Recovery Group
Select
SaaS
Customer Managed
Update Recovery Group
Path Parameters
- recoveryGroupId integer required
Recovery group Id
- application/json
Request Body
- id int32
Id of the recovery group
- name string
Name of the recovery group
target object
postRecoveryActions object[]
- delayBetweenPriorityMachines int32
The delay between machines in different priorities in minutes
- continueOnFailure boolean
Default value:
false
Set to true to continue to the next priority machines on failure
- action RecoveryAction
Possible values: [
CREATE
,UPDATE
,DELETE
]Recovery Action
recoveryPointDetails object
- recoveryPoint int32
Timestamp for group restore in case of disaster
recoveryExpirationOptions object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
recoveryGroup object
error object
{
"recoveryGroup": {
"id": 0,
"name": "string"
},
"error": {
"errorMessage": "string",
"errorCode": 0
}
}
PUT /recoverygroup/:recoverygroupid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/RecoveryGroup/:recoveryGroupId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"id": 0,
"name": "string",
"target": {
"id": 0,
"name": "string"
},
"postRecoveryActions": [
{
"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"
}
},
"guid": "string",
"scriptContent": "string",
"scriptName": "string",
"reset": true,
"osType": "WINDOWS"
}
],
"delayBetweenPriorityMachines": 0,
"continueOnFailure": false,
"recoveryPointDetails": {
"recoveryPoint": 0,
"recoveryPointCategory": "LATEST"
},
"recoveryPoint": 0,
"recoveryExpirationOptions": {
"enableExpirationOption": true,
"daysToExpire": 7,
"isRescuedCommServe": true,
"expirationTime": 0
}
}'