All Products
Search
Document Center

Elastic Desktop Service:UploadImage

Last Updated:Dec 13, 2022

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes
cn-hangzhou
OssObjectPathstringYes
https://ossbucket:endpoint/object
ImageNamestringYes
Win10_Test
DescriptionstringNo
test description
OsTypestringNo
Windows
GpuCategorybooleanYes
true
ProtocolTypestringNo
HDX
DataDiskSizeintegerNo
80
GpuDriverTypestringNo
gpu_grid9
LicenseTypestringNo
Auto
EnableSecurityCheckbooleanNo
true

Response parameters

ParameterTypeDescriptionExample
object
ImageIdstring
m-d4dwr5tgrgvd****
RequestIdstring
2CC66B0A-BA3B-5D87-BFBE-11AAAD7A****

Example

Normal return example

JSONFormat

{
  "ImageId": "m-d4dwr5tgrgvd****",
  "RequestId": "2CC66B0A-BA3B-5D87-BFBE-11AAAD7A****"
}

Error codes

For a list of error codes, visit the API error center.

Change history

Change timeSummary of changesOperate
2022-06-01The input parameters of the API operation has changed
Change itemChange content
Input ParametersThe input parameters of the API operation has changed
    Added Input Parameters: EnableSecurityCheck
2022-02-24Add Operation