Associating an FPGA Image with an ECS Image
Function
This API is used to create a mapping between an FPGA image and an ECS image.
This function is available in the CN North-Beijing1, CN East-Shanghai2, and CN South-Guangzhou regions only.
URI
POST /v1/{project_id}/cloudservers/fpga_image/{fpga_image_id}/association
Table 1 describes the parameters in the URI.
|
Parameter |
Mandatory |
Description |
|---|---|---|
|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
|
fpga_image_id |
Yes |
Specifies the FPGA image ID. |
Request
|
Parameter |
Type |
Mandatory |
Description |
|---|---|---|---|
|
id |
String |
Yes |
Specifies the ECS image ID. |
Response
None
Example Request
POST https://{endpoint}/v1/{project_id}/cloudservers/fpga_image/{fpga_image_id}/association
{
"image": {
"id": "18efee75-e058-4c52-a49c-9e3ba4d1c8de"
}
}
Example Response
None
Returned Values
Error Codes
Last Article: Viewing Details of FPGA Images
Next Article: Disassociating an FPGA Image from an ECS Image
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.