AttachEai
After you create an Elastic Accelerated Computing Instance (EAIS) instance, you must call the AttachEai operation to attach the EAIS instance to a client instance (an ECS instance or an ECI instance) to provide GPU resources for the client instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eais:AttachEai |
update |
*Instance
Instance
ContainerGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the instance. |
cn-shenzhen |
| ElasticAcceleratedInstanceId |
string |
Yes |
The EAIS instance ID. |
eais-sz8t15a7gt7z7j7i**** |
| ClientInstanceId |
string |
Yes |
The ECS or ECI instance ID to be attached. |
i-wz93g6pyat2g7t7o**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C3BCB7DA-BEB6-4982-A765-6EA61EC8**** |
| ElasticAcceleratedInstanceId |
string |
The EAIS instance ID. |
eais-sz8t15a7gt7z7j7i**** |
| ClientInstanceId |
string |
The ECS or ECI instance ID. |
i-wz93g6pyat2g7t7o**** |
Examples
Success response
JSON format
{
"RequestId": "C3BCB7DA-BEB6-4982-A765-6EA61EC8****",
"ElasticAcceleratedInstanceId": "eais-sz8t15a7gt7z7j7i****",
"ClientInstanceId": "i-wz93g6pyat2g7t7o****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.