VerifyMigrationTask
Validates a migration task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apig:VerifyMigrationTask |
none |
*All Resource
|
None | None |
Request syntax
GET /v1/migration-tasks/{taskId}/verify HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| taskId |
string |
No |
The migration task ID. This is a path parameter and is required. The task must belong to the current user. |
mt-xxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The response status code. |
200 |
| data |
object |
The response data. |
|
| isSupported |
boolean |
Indicates whether all routes are compatible and can be migrated. |
true |
| message |
string |
The description of the check result, such as the failure reason or incompatibility summary. This value is from the Istio validation Reason. |
all routes supported |
| success |
boolean |
Indicates whether the check is successful, which means whether the Istiod query link is working properly. |
true |
| unSupportedRouteRules |
array<object> |
The list of incompatible routes. |
|
|
object |
The list of incompatible routes. |
||
| name |
string |
The namespaced name of the incompatible Ingress. |
default/my-ingress |
| rule |
string |
The summary of the incompatible rule, in the format of request URI → destination service. |
/api/v1/pets -> pet-service |
| unSupportedAnnotations |
array |
The list of unsupported annotations on the Ingress. |
|
|
string |
The list of unsupported annotations on the Ingress. |
["nginx.ingress.kubernetes.io/canary"] |
|
| message |
string |
The response message. |
success |
| requestId |
string |
Id of the request |
CB85272A-5F04-58D7-BDE1-8BB5EB390CE1 |
Examples
Success response
JSON format
{
"code": "200",
"data": {
"isSupported": true,
"message": "all routes supported",
"success": true,
"unSupportedRouteRules": [
{
"name": "default/my-ingress",
"rule": "/api/v1/pets -> pet-service",
"unSupportedAnnotations": [
"[\"nginx.ingress.kubernetes.io/canary\"]"
]
}
]
},
"message": "success",
"requestId": "CB85272A-5F04-58D7-BDE1-8BB5EB390CE1"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | DatabaseError.RecordNotFound | Record not found. | The record referenced by this request does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.