All Products
Search
Document Center

Elastic Desktop Service:DescribeTemplates

Last Updated:Nov 14, 2025

Queries the details of cloud computer templates.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:DescribeTemplateslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
TemplateIdsarrayNo

The IDs of the templates that you want to query.

stringNo

The ID of the template that you want to query.

b-216bi6zpvsy****
TemplateNamestringNo

The name of the template. You can search for template by name.

TemplateTypestringNo

The type of the template that you want to query. If you leave this parameter empty, all types of templates are queried.

Valid values:

  • USER_TEMPLATE: custom templates.
  • SYSTEM_TEMPLATE: system templates provided by Alibaba Cloud.
USER_TEMPLATE
ImageIdstringNo

The ID of the cloud computer image. You can query image IDs on the Images page. System images and custom images are supported.

m-dnz9xjgbm8*****
KeywordstringNo

The keyword that you can use to search for the template. It can be the template ID or the template name. Fuzzy search is supported.

abc
ProductTypestringNo

The service type. Set the value to CloudDesktop.

CloudDesktop
BizRegionIdstringNo

The region that you can use to filter templates.

Note If you specify this parameter, only templates that are created in the specified region are returned.
cn-beijing
BizTypestringNo
Note This parameter is not publicly available.
null
PageNumberintegerNo

The page number.

1
PageSizeintegerNo

The number of entries per page.

20

Response parameters

ParameterTypeDescriptionExample
object

ListResult

Dataarray<object>

The templates.

Dataobject
GmtCreatestring

The time when the template was created. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in Coordinated Universal Time (UTC).

2025-04-25T05:18:46.000+00:00
GmtModifiedstring

The time when the template was updated. The time follows the ISO 8601 standard in the yyyy-MM-ddThh:mm:ssZ format. The time is displayed in UTC.

2025-04-25T05:18:46.000+00:00
TemplateIdstring

The template ID.

b-0caoeogs88y*****
TemplateNamestring

The template name.

Descriptionstring

The template description.

TemplateTypestring

The template type.

Valid values:

  • USER_TEMPLATE: custom templates.
  • SYSTEM_TEMPLATE: system templates.
USER_TEMPLATE
ProductTypestring

The service type.

Valid value:

  • CloudDesktop: cloud computers.
CLOUD_DESKTOP
SystemDiskSizeinteger

The size of the system disk. Unit: GiB.

80
SystemDiskPerformanceLevelstring

The performance level (PL) of the system disk.

Valid value:

  • PL1: a PL1 Enterprise SSD (ESSD).
  • PL0: a PL0 ESSD.
  • AutoPL: an AutoPL SSD.
AutoPL
DataDiskListarray<object>

The sizes of the data disks.

DataDiskListobject
Sizestring

The size of the data disk. Unit: GiB.

100
PerformanceLevelstring

The PL of the data disk.

Valid values:

  • PL1: a PL1 ESSD.
  • PL0: a PL0 ESSD.
  • AutoPL: an AutoPL SSD.
AutoPL
ImageIdstring

The image ID.

m-5q8ehbihx*****
ImageTypestring

The image type.

Valid values:

  • User: a custom image.
  • Shared: a shared image.
  • System: a system image.
  • Community: a community image.
User
DefaultLanguagestring

The default language of the template.

Valid values:

  • en-US: English.
  • zh-HK: Chinese, Traditional (Hong Kong, China).
  • zh-CN: Simplified Chinese.
  • ja-JP: Japanese.
zh-CN
PolicyGroupIdstring

The policy ID.

pg-0caoeogkhz*****
TimerGroupIdstring

The ID of the scheduled task group.

bcc-dweha*****
ResourceGroupIdstring

The ID of the resource group.

rg-a5fqjjqaejt***
ResourceTagListarray<object>

The tags added to cloud computers. A tag is a key-value pair.

ResourceTagListobject
Keystring

The tag key.

env
Valuestring

The property value.

test
RegionConfigListarray<object>

The region-related settings.

RegionConfigListobject
RegionIdstring

The region ID.

cn-shenzhen
SnapshotPolicyIdstring

The snapshot policy ID.

sp-b9fasjuu0*****
OfficeSiteIdstring

The office network ID.

cn-beijing+dir-3040*****
SubnetIdstring

The subnet ID.

vsw-dgea1*****
VolumeEncryptionEnableboolean

Indicates whether disk encryption is enabled.

false
VolumeEncryptionKeystring

The ID of the Key Management Service (KMS) key that is used to encrypt the disk.

3bc77be0-cbce-4a29-b07b-13f16394****
ResourceInstanceTypestring

The ID of the cloud computer type.

eds.enterprise_office.4c8g
MemorySizelong

The memory size. Unit: MiB.

8192
CpuCountinteger

The number of vCPUs.

4
GpuSpecstring

The GPU memory information. This parameter is supported only by Graphics cloud computer types.

4GiB
RequestIdstring

The request ID.

1871984F-51F6-5588-BAF6-******
SiteConfigListarray<object>

区域配置管理

SiteConfigListobject
SiteIdstring

站点名称。

Enumeration Value:
  • outside_mainland: 港澳台和海外.
  • mainland: 中国内地(大陆).
mainland
AppRuleIdstring

应用管控策略 ID

bwr-5a5371e0*******
TotalCountinteger

The total number of templates.

94
PageNumberinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
Successboolean

Indicates whether the request was successful.

True
Codestring

The modification result. If the request was successful, success is returned. If the request failed, an error message is returned.

success
Messagestring

The error message returned. This parameter is not returned if the value of Code is success.

success
HttpStatusCodeinteger

The HTTP status code returned.

200
RequestIdstring

The request ID.

1871984F-51F6-5588-BAF6-*******

Examples

Sample success responses

JSONformat

{
  "Data": [
    {
      "GmtCreate": "2025-04-25T05:18:46.000+00:00",
      "GmtModified": "2025-04-25T05:18:46.000+00:00",
      "TemplateId": "b-0caoeogs88y*****",
      "TemplateName": "",
      "Description": "",
      "TemplateType": "USER_TEMPLATE",
      "ProductType": "CLOUD_DESKTOP",
      "SystemDiskSize": 80,
      "SystemDiskPerformanceLevel": "AutoPL",
      "DataDiskList": [
        {
          "Size": 100,
          "PerformanceLevel": "AutoPL"
        }
      ],
      "ImageId": "m-5q8ehbihx*****",
      "ImageType": "User",
      "DefaultLanguage": "zh-CN",
      "PolicyGroupId": "pg-0caoeogkhz*****",
      "TimerGroupId": "bcc-dweha*****",
      "ResourceGroupId": "rg-a5fqjjqaejt***",
      "ResourceTagList": [
        {
          "Key": "env",
          "Value": "test"
        }
      ],
      "RegionConfigList": [
        {
          "RegionId": "cn-shenzhen",
          "SnapshotPolicyId": "sp-b9fasjuu0*****",
          "OfficeSiteId": "cn-beijing+dir-3040*****",
          "SubnetId": "vsw-dgea1*****",
          "VolumeEncryptionEnable": false,
          "VolumeEncryptionKey": "3bc77be0-cbce-4a29-b07b-13f16394****",
          "ResourceInstanceType": "eds.enterprise_office.4c8g",
          "MemorySize": 8192,
          "CpuCount": 4,
          "GpuSpec": "4GiB"
        }
      ],
      "RequestId": "1871984F-51F6-5588-BAF6-******",
      "SiteConfigList": [
        {
          "SiteId": "mainland",
          "AppRuleId": "bwr-5a5371e0*******"
        }
      ],
      "ChargeType": "",
      "Period": 0,
      "PeriodUnit": "",
      "AutoPay": true,
      "AutoRenew": true,
      "UserDuration": "",
      "PostPaidAfterUsedUp": true
    }
  ],
  "TotalCount": 94,
  "PageNumber": 1,
  "PageSize": 20,
  "Success": true,
  "Code": "success",
  "Message": "success",
  "HttpStatusCode": 200,
  "RequestId": "1871984F-51F6-5588-BAF6-*******"
}

Error codes

For a list of error codes, visit the Service error codes.