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

时间:2024-12-27 15:06:33

响应示例

状态码: 200

正常。

{
  "id" : "2c2be3fb-0013-48d5-a081-0731f3473997",
  "name" : "POOL2",
  "type" : "DYNAMIC",
  "description" : "string。",
  "created_time" : "2023-01-04T07:10:53.554Z",
  "charging_mode" : "1",
  "desktop_count" : 10,
  "desktop_used" : 5,
  "on_demand_desktop_num" : 0,
  "availability_zone" : "string",
  "subnet_id" : "string",
  "product" : {
    "product_id" : "workspace.x86.ultimate.large2",
    "flavor_id" : "s6.large.2",
    "type" : "BASE",
    "cpu" : "2",
    "memory" : "4096",
    "descriptions" : "尊享办公|2核|4GB内存。",
    "charge_mode" : "1",
    "architecture" : "x86",
    "is_gpu" : false,
    "package_type" : "ultimate",
    "system_disk_type" : "SAS",
    "system_disk_size" : "80",
    "contain_data_disk" : false,
    "resource_type" : "hws.resource.type.workspace.desktop",
    "cloud_service_type" : "hws.service.type.vdi",
    "volume_product_type" : "workspace",
    "status" : "normal",
    "sub_product_list" : [ ]
  },
  "image_id" : "string",
  "image_name" : "string",
  "image_os_type" : "string",
  "image_os_version" : "string",
  "image_os_platform" : "string",
  "image_product_code" : "string",
  "root_volume" : {
    "id" : "string",
    "type" : "string",
    "size" : 8200,
    "cluster_id" : "string",
    "resource_spec_code" : "string"
  },
  "data_volumes" : [ {
    "id" : "string",
    "type" : "string",
    "size" : 8200,
    "cluster_id" : "string",
    "resource_spec_code" : "string"
  } ],
  "security_groups" : [ {
    "id" : "string",
    "name" : "string"
  } ],
  "disconnected_retention_period" : 10,
  "enable_autoscale" : true,
  "autoscale_policy" : {
    "autoscale_type" : "AUTO_CREATED",
    "max_auto_created" : 1000,
    "min_idle" : 100,
    "once_auto_created" : 10
  },
  "status" : "STEADY",
  "enterprise_project_id" : "0",
  "in_maintenance_mode" : false,
  "desktop_name_policy_id" : "TEST"
}
support.huaweicloud.com/api-workspace/ShowDesktopPoolDetail.html