All Products
Search
Document Center

WUYING Workspace:DescribeImages

Last Updated:Apr 03, 2024

Queries the information about images.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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:
    • The required resource types are displayed in bold characters.
    • 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:DescribeImagesLIST
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
MaxResultsintegerNo

The maximum number of entries to return on each page.

  • Maximum value: 100.
  • Default value: 10.
10
NextTokenstringNo

The token that determines the start point of the next query. If you do not specify this parameter, all results are returned.

caeba0bbb2be03f84eb48b699f0a4883
ImageTypestringNo

The type of the image.

SYSTEM
ImageStatusstringNo

The state of the image.

Available
GpuCategorybooleanNo

Specifies whether the images are GPU-accelerated images.

Valid values:

  • true

  • false

false
ProtocolTypestringNo

The protocol type.

Valid values:

  • HDX: High-definition Experience (HDX) protocol
  • ASP: in-house Adaptive Streaming Protocol (ASP) (recommended)
ASP
LanguageTypestringNo

The language of the OS.

en-US
DesktopInstanceTypestringNo

The instance type of the cloud computer. You can call the DescribeDesktopTypes operation to obtain the parameter value.

ecd.graphics.xlarge
ImageIdarrayNo

The IDs of the images. You can specify one or more image IDs.

stringNo

The ID of the image.

m-gx2x1dhsmusr2****
OsTypestringNo

The type of the operating system of the images. Default value: null.

Valid values:

  • Linux

  • Windows

Windows
GpuDriverVersionstringNo

The version of the GPU driver.

417.22
SessionTypestringNo

The session type.

SINGLE_SESSION
FotaVersionstringNo

The image version.

0.0.3-R-20220616.133609
ImageNamestringNo

The image name.

Win_01

Response parameters

ParameterTypeDescriptionExample
object

Schema of response.

NextTokenstring

The token that determines the start point of the next query. If this parameter is empty, all results are returned.

caeba0bbb2be03f84eb48b699f0a4883
RequestIdstring

The ID of the request.

4636DBE0-BBB4-4076-8B8E-94D21A9A3CFB
Imagesobject []

The details of the images.

CreationTimestring

The time when the image was created.

2018-01-10T01:01:10Z
Statusstring

The status of the image.

Valid values:

  • Creating

  • Available

  • CreateFailed

Available
Progressstring

The creation progress of the image. Unit: %.

100%
DataDiskSizeinteger

The size of the data disk. Unit: GiB.

150
ImageTypestring

The type of the image.

Valid values:

  • SYSTEM

  • CUSTOM

SYSTEM
Descriptionstring

The description of the image.

This is description.
Sizeinteger

The size of the image. Unit: GiB.

40
OsTypestring

The type of the operating system.

WINDOWS
ProtocolTypestring

The protocol type.

Valid values:

  • HDX: High-definition Experience (HDX) protocol
  • ASP: in-house Adaptive Streaming Protocol (ASP) (recommended)
ASP
Namestring

The name of the image.

testImageName
ImageIdstring

The ID of the image.

m-gx2x1dhsmusr2****
GpuCategoryboolean

Indicates whether the image is a GPU-accelerated image.

false
SupportedLanguagesarray

The languages of the operating system.

string

The languages of the operating system. One or more languages are supported.

Valid values:

  • en-US: American English.
  • zh-HK: traditional Chinese (Hong Kong, China)
  • zh-CN: simple Chinese
  • ja-JP: Japanese
en-US
GpuDriverVersionstring

The version number of the GPU driver.

417.22
AppVersionstring

The version of the image.

1.0.0
VolumeEncryptionEnabledboolean

Indicates whether disk encryption is enabled.

false
VolumeEncryptionKeystring

The ID of the Key Management Service (KMS) key that is used when disk encryption is enabled. You can call the ListKeys operation to query the list of KMS keys.

08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
SharedCountinteger

The number of shared images.

1
SessionTypestring

The type of the image session.

Valid values:

  • SINGLE_SESSION: single-session image.

  • MULTIPLE_SESSION: multi-session image.

MULTIPLE_SESSION
UpdateTimestring

The time when the image was last modified.

2021-12-22T02:48:43Z
Platformstring

The operating system type of the image.

Valid values:

  • Ubuntu

  • Windows Server 2022

  • UOS

  • CentOS

  • Windows Server 2019

  • SQL Server 2016

  • Windows 10

Enumeration Value:
  • Ubuntu: Ubuntu.
  • Windows Server 2022: Windows Server 2022.
  • UOS: UOS.
  • CentOS: CentOS.
  • Windows Server 2019: Windows Server 2019.
  • Windows Server 2016: Windows Server 2016.
  • Windows 10: Windows 10.
Windows Server 2019

Examples

Sample success responses

JSONformat

{
  "NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
  "RequestId": "4636DBE0-BBB4-4076-8B8E-94D21A9A3CFB",
  "Images": [
    {
      "CreationTime": "2018-01-10T01:01:10Z",
      "Status": "Available",
      "Progress": "100%",
      "DataDiskSize": 150,
      "ImageType": "SYSTEM",
      "Description": "This is description.",
      "Size": 40,
      "OsType": "WINDOWS",
      "ProtocolType": "ASP",
      "Name": "testImageName",
      "ImageId": "m-gx2x1dhsmusr2****",
      "GpuCategory": false,
      "SupportedLanguages": [
        "en-US"
      ],
      "GpuDriverVersion": "417.22",
      "AppVersion": "1.0.0",
      "VolumeEncryptionEnabled": false,
      "VolumeEncryptionKey": "08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****",
      "SharedCount": 1,
      "SessionType": "MULTIPLE_SESSION",
      "UpdateTime": "2021-12-22T02:48:43Z",
      "Platform": "Windows Server 2019"
    }
  ]
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-06-13The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: FotaVersion
    Added Input Parameters: ImageName
2021-10-28The request parameters of the API has changed. The response structure of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: OsType
    Added Input Parameters: GpuDriverVersion
Output ParametersThe response structure of the API has changed.
2021-10-28The response structure of the API has changedsee changesets
Change itemChange content
Output ParametersThe response structure of the API has changed.