Queries the details of desktop templates.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeBundles

The operation that you want to perform. Set the value to DescribeBundles.

RegionId String Yes cn-hangzhou

The ID of the region.

MaxResults Integer No 10

The number of entries to return on each page.

Maximum value: 100.

Default value: 10.

NextToken String No caeba0bbb2be03f84eb48b699f0a4883

The token used to start the next query.

BundleId.N RepeatList No bundle_ecd_graphics.2xlarge_s15d15_win2019

The ID of desktop template N. You can specify one or more desktop template IDs. Valid values of N: 1 to 100.

BundleType String No SYSTEM

The type of the desktop template. Valid values:

  • SYSTEM: system template
  • CUSTOM: custom template

Response parameters

Parameter Type Example Description
Bundles Array of Bundle

Details about the desktop templates.

BundleId String bundle_ecd_graphics.2xlarge_s15d15_win2019

The ID of the desktop template.

BundleName String Advanced graphics with Windows 2019

The name of the desktop template.

BundleType String SYSTEM

The type of the desktop template. Valid values:

  • SYSTEM: system template
  • CUSTOM: custom template
Description String test

The description of the desktop template.

DesktopType String ecd.graphics.2xlarge

The desktop type.

DesktopTypeAttribute Struct

Details about the desktop type.

CpuCount Integer 10

The number of CPUs.

GpuCount Float 0.5

The number of GPUs.

GpuSpec String NVIDIA T4

The GPU type.

MemorySize Integer 47104

The size of the memory. Unit: MB.

Disks Array of Disk

Details about the disks.

DiskSize Integer 150

The size of the disk. Unit: GiB.

DiskType String SYSTEM

The type of the disk. Valid values:

  • SYSTEM: system disk
  • DATA: data disk
ImageId String desktopimage-windows-server-2019-64-ch-vgpu

The ID of the image.

OsType String Windows

The type of the operating system.

NextToken String AAAAAV3MpHK1AP0pfERHZN5pu6lu3PTF6h3zE8egwlYuv8M8

The token used to start the next query. If this parameter is empty, all results are returned.

RequestId String BCC854D8-5D1E-46D3-96EF-797A5DD36789

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DescribeBundles
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<DescribeBundles>
      <NextToken>AAAAAV3MpHK1AP0pfERHZN5pu6lu3PTF6h3zE8egwlYuv8M8</NextToken>
      <RequestId>BCC854D8-5D1E-46D3-96EF-797A5DD36789</RequestId>
      <Bundles>
            <BundleId>bundle_ecd_graphics.2xlarge_s15d15_win2019</BundleId>
            <Description></Description>
            <BundleType>SYSTEM</BundleType>
            <DesktopType>ecd.graphics.2xlarge</DesktopType>
            <OsType>Windows</OsType>
            <ImageId>desktopimage-windows-server-2019-64-ch-vgpu</ImageId>
            <BundleName>Advanced graphics with Windows 2019</BundleName>
            <Disks>
                  <DiskType>SYSTEM</DiskType>
                  <DiskSize>150</DiskSize>
            </Disks>
            <Disks>
                  <DiskType>DATA</DiskType>
                  <DiskSize>150</DiskSize>
            </Disks>
            <DesktopTypeAttribute>
                  <MemorySize>47104</MemorySize>
                  <CpuCount>10</CpuCount>
                  <GpuSpec>NVIDIA T4</GpuSpec>
                  <GpuCount>0.5</GpuCount>
            </DesktopTypeAttribute>
      </Bundles>
</DescribeBundles>

JSON format

{
  "NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6lu3PTF6h3zE8egwlYuv8M8",
  "RequestId": "BCC854D8-5D1E-46D3-96EF-797A5DD36789",
  "Bundles": [
    {
      "BundleId": "bundle_ecd_graphics.2xlarge_s15d15_win2019",
      "Description": "",
      "BundleType": "SYSTEM",
      "DesktopType": "ecd.graphics.2xlarge",
      "OsType": "Windows",
      "ImageId": "desktopimage-windows-server-2019-64-ch-vgpu",
      "BundleName": "Advanced graphics with Windows 2019",
      "Disks": [
        {
          "DiskType": "SYSTEM",
          "DiskSize": 150
        },
        {
          "DiskType": "DATA",
          "DiskSize": 150
        }
      ],
      "DesktopTypeAttribute": {
        "MemorySize": 47104,
        "CpuCount": 10,
        "GpuSpec": "NVIDIA T4",
        "GpuCount": 0.5
      }
    }
  ]
}