1
0
forked from docs/doc-exports
doc-exports/docs/ecs/api-ref/en-us_topic_0065962598.html
Artem Goncharov 3196b64bfc
move doc sources to other location (#3)
move doc sources to other location

Reviewed-by: OpenTelekomCloud Bot <None>
2022-04-27 16:24:25 +00:00

7.8 KiB

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.

URI

POST /v1/{project_id}/cloudservers/fpga_image/{fpga_image_id}/association

Table 1 describes the parameters in the URI.

Table 1 Parameter description

Parameter

Mandatory

Description

project_id

Yes

Specifies the project ID.

fpga_image_id

Yes

Specifies the FPGA image ID.

Request

Table 2 describes the request parameters.
Table 2 Request parameters

Parameter

Type

Mandatory

Description

image

Object

Yes

Specifies the ECS image.

Table 3 image field description

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

Error Codes

See Error Codes.