Workgroups are used to manage the lifecycle of multiple migration tasks in batch server migration scenarios.
Operation description
Each Alibaba Cloud account can have up to 50 workgroups.
A single workgroup can be associated with up to 50 migration sources.
A migration source can be associated with only one workgroup.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smc:CreateWorkgroup |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A token to ensure the idempotence of the request. Generate a value from your client that contains up to 64 ASCII characters. This ensures that retried requests are idempotent. For more information, see How to ensure idempotence. |
123e4567-e89b-12d3-a456-426655440000 |
| Name |
string |
No |
The name of the workgroup. The name must meet the following requirements:
|
testWorkgroupName |
| Description |
string |
No |
The description of the workgroup. It must be 2 to 256 characters in length and cannot start with |
test |
| Tag |
array<object> |
No |
An array of tags. The array can contain 1 to 20 tags. If the array contains multiple tags, the value of `Key` for each tag must be unique. |
|
|
object |
No |
A tag object. |
||
| Key |
string |
No |
The tag key. It can be up to 128 characters in length and cannot be an empty string. The key cannot start with |
TestKey |
| Value |
string |
No |
The tag value. It can be up to 128 characters in length and can be an empty string. The value cannot contain |
TestValue |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
C8B26B44-0189-443E-9816-D951F59623A9 |
| WorkgroupId |
string |
The ID of the workgroup. |
w-*** |
Examples
Success response
JSON format
{
"RequestId": "C8B26B44-0189-443E-9816-D951F59623A9",
"WorkgroupId": "w-***"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. |
| 403 | Forbidden.Unauthorized | A required authorization for the specified action is not supplied. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.