Modify existing archive plan details
Modify existing archive plan details
Path Parameters
- planId int32 required
Id of the plan
- application/json
Request Body
- newName string
New plan name to update
archivingRules object
rpo object
regionToConfigure object
- allowPlanOverride boolean
Flag to enable overriding of plan. Once enabled, cannot be disabled.
overrideRestrictions object
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/archiveplan/:planid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'
curl -L -X PUT 'https://localhost/webconsole/api/V4/ArchivePlan/:planId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"newName": "string",
"archivingRules": {
"fileTimestampMethod": "LAST_MODIFIED",
"fileTimestamp": 90,
"fileSize": 1,
"afterArchiving": "REPLACE_FILE_WITH_STUB"
},
"rpo": {
"backupFrequency": {
"scheduleFrequencyType": "DAILY",
"frequency": 1,
"weeklyDays": [
"SUNDAY"
],
"dayOfMonth": 0,
"weekOfMonth": "FIRST",
"dayOfWeek": "SUNDAY",
"monthOfYear": "JANUARY",
"startTime": 75600
},
"backupWindow": [
{
"dayOfWeek": [
"SUNDAY"
],
"startTime": 0,
"endTime": 0
}
],
"SLA": {
"useSystemDefaultSLA": true,
"SLAPeriod": 0,
"excludeFromSLA": true,
"enableAfterDelay": 0,
"exclusionReason": "string"
}
},
"regionToConfigure": {
"id": 0,
"name": "string"
},
"allowPlanOverride": true,
"overrideRestrictions": {
"storagePool": "OPTIONAL",
"RPO": "OPTIONAL",
"archivingRules": "OPTIONAL"
}
}'