云桌面 WORKSPACE-查询桌面池详情:响应示例

时间:2025-11-11 20:03:07

响应示例

状态码:200

正常。

{
  "id" : "1ad74b36-0de7-45fe-aed3-6cb047d69e99",
  "name" : "yay-test",
  "type" : "STATIC",
  "description" : "",
  "created_time" : "2025-05-22T09:48:47Z",
  "charging_mode" : "1",
  "desktop_count" : 10,
  "desktop_used" : 5,
  "on_demand_desktop_num" : 0,
  "availability_zone" : "cn-north-7c",
  "subnet_id" : "7bf986f4-5ccf-87ko-93a4-1b1089ed53c3",
  "subnet_ids" : [ "7bf986f4-5ccf-87ko-93a4-1b1089ed53c3", "1dfda99e-115b-973f-af0c-e1ae9b82106f" ],
  "product" : {
    "product_id" : "workspace.x86.ultimate.large2",
    "flavor_id" : "c7.large.2",
    "type" : "BASE",
    "cpu" : "2",
    "memory" : "4096",
    "descriptions" : "尊享办公|2核|4GB内存",
    "charge_mode" : "1",
    "architecture" : "x86",
    "package_type" : "ultimate",
    "system_disk_type" : "SAS",
    "system_disk_size" : "140",
    "contain_data_disk" : false,
    "resource_type" : "hws.resource.type.workspace.desktop",
    "cloud_service_type" : "hws.service.type.vdi",
    "volume_product_type" : "workspace",
    "status" : "normal"
  },
  "image_id" : "cc3bbc0b-9441-461b-b80b-48c52f3aed08",
  "image_name" : "WKS_WIN1064_UserImage",
  "image_os_type" : "Windows",
  "image_os_version" : "Windows 10 64bit",
  "image_os_platform" : "Windows",
  "root_volume" : {
    "id" : "651d3724-fa85-420a-ab5f-ff531629747f",
    "type" : "SAS",
    "size" : 80
  },
  "data_volumes" : [ {
    "id" : "305d3c76-199f-4407-8d82-2a42d970595e",
    "type" : "SAS",
    "size" : 10
  }, {
    "id" : "9969022b-557d-4c1e-b22f-e7736ebe30af",
    "type" : "SAS",
    "size" : 10
  } ],
  "security_groups" : [ ],
  "disconnected_retention_period" : 0,
  "enable_autoscale" : true,
  "autoscale_policy" : {
    "autoscale_type" : "AUTO_CREATED",
    "max_auto_created" : 1,
    "min_idle" : 10,
    "once_auto_created" : 1
  },
  "status" : "STEADY",
  "enterprise_project_id" : "0",
  "in_maintenance_mode" : false,
  "desktop_name_policy_id" : "TEST",
  "tags" : [ {
    "key" : "string",
    "value" : "string"
  } ],
  "vpc_id" : "string",
  "ou_name" : "string"
}
support.huaweicloud.com/api-workspace/ShowDesktopPoolDetail.html