Plan
Create a plan.
post/v1/{tenantId}/plans
Request body
Example request
{
"Id": "5eaa81fd6f384d000116d1d4",
"TenantId": "94b280022d0c4401bcf3b0ea85870519",
"UserId": "558057c4256545bd8a307c37464003c9",
"Description": "AWS to HW OBS Bucket Migration",
"Name": "plan001",
"Type": "migration",
"RemainSource": true,
"SourceConn": {
"StorType": "opensds-obj",
"BucketName": "bucket001"
},
"DestConn": {
"StorType": "opensds-obj",
"BucketName": "bucket001"
},
"Filter": {
"Prefix": "photos/",
"Tag": [
{
"key": "Image001.PNG",
"Value": ""d97849a5d11d7f7f90e0c1609d091d0a""
}
]
}
}Response
successful operation
Example response
{
"plan": {
"Id": "5eaa81fd6f384d000116d1d4",
"TenantId": "94b280022d0c4401bcf3b0ea85870519",
"UserId": "558057c4256545bd8a307c37464003c9",
"Description": "AWS to HW OBS Bucket Migration",
"Name": "plan001",
"Type": "migration",
"RemainSource": true,
"SourceConn": {
"StorType": "opensds-obj",
"BucketName": "bucket001"
},
"DestConn": {
"StorType": "opensds-obj",
"BucketName": "bucket001"
},
"Filter": {
"Prefix": "photos/",
"Tag": [
{
"key": "Image001.PNG",
"Value": ""d97849a5d11d7f7f90e0c1609d091d0a""
}
]
}
}
}