All Products
Search
Document Center

Elastic Desktop Service:DescribeDesktopIdsByVulNames

Last Updated:Jan 18, 2023

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

Parameter Type Required Description Example
RegionId string Yes

The ID of the region.

cn-hangzhou
Type string Yes

The type of the vulnerability. Valid values:

  • cve: Linux software vulnerability
  • sys: Windows system vulnerability
cve
OfficeSiteId string Yes

The ID of the workspace.

cn-hangzhou+dir-363353****
Necessity string No

The priority to fix the vulnerability or the risk level of the vulnerability. Valid values:

  • asap: high
  • later: medium
  • nntf: low
asap
VulName array Yes
string No

The name of vulnerability N.

oval:com.redhat.rhsa:def:20210348

Response parameters

Parameter Type Description Example
object
RequestId string

The ID of the request.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****
DesktopItems array

Details about cloud desktops.

object
DesktopName string

The name of the cloud desktop.

DesktopId string

The ID of the cloud desktop.

ecd-138dsptkrt00u****

Example

Normal return example

JSONFormat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "DesktopItems": [
    {
      "DesktopName": "",
      "DesktopId": "ecd-138dsptkrt00u****"
    }
  ]
}

Error codes

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