{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"AdInfo":{"description":"域信息。","properties":{"active_dns_ip":{"description":"主DNS IP地址,域类型为LOCAL_AD时有值。","maxLength":255,"minLength":0,"type":"string"},"active_domain_ip":{"description":"主域控制器IP地址,域类型为LOCAL_AD时有值。","maxLength":255,"minLength":0,"type":"string"},"active_domain_name":{"description":"主域控制器名称,域类型为LOCAL_AD时有值。","maxLength":55,"minLength":0,"type":"string"},"delete_computer_object":{"description":"是否在删除桌面的同时删除AD上对应的计算机对象,'0'代表不删除,'1'代表删除。","maxLength":1,"minLength":0,"type":"string"},"domain_admin_account":{"description":"域管理员帐号,域类型为LOCAL_AD时有值。","maxLength":55,"minLength":0,"type":"string"},"domain_name":{"description":"域名,域类型为LOCAL_AD时有值。","maxLength":55,"minLength":0,"type":"string"},"domain_type":{"description":"域类型。\n- LITE_AS:本地认证。\n- LOCAL_AD:本地AD。","enum":["LITE_AS","LOCAL_AD"],"maxLength":255,"minLength":0,"type":"string"},"standby_dns_ip":{"description":"备DNS IP地址,域类型为LOCAL_AD时有值。","maxLength":255,"minLength":0,"type":"string"},"standby_domain_ip":{"description":"备域控制器IP地址,域类型为LOCAL_AD时有值。","maxLength":255,"minLength":0,"type":"string"},"standby_domain_name":{"description":"备域控制器名称,域类型为LOCAL_AD时有值。","maxLength":55,"minLength":0,"type":"string"},"tls_config":{"$ref":"#/definitions/TlsConfig"},"use_ldaps":{"default":false,"description":"是否开启LDAPS。","type":"boolean"}}},"BaseResponse":{"description":"API响应基类","properties":{"error_code":{"description":"错误码。","maxLength":12,"minLength":0,"type":"string"},"error_msg":{"description":"错误描述。","maxLength":1000,"minLength":0,"type":"string"}}},"DescribeWorkspaceDetailResponse":{"description":"查询云办公服务详情响应。","properties":{"access_mode":{"description":"接入方式。\n- INTERNET:表示互联网接入。\n- DEDICATED:表示专线接入。\n- BOTH:表示同时支持互联网接入和专线接入。","example":"INTERNET,DEDICATED,BOTH","maxLength":255,"minLength":0,"type":"string"},"access_status":{"description":"互联网和专线切换任务的状态。\n- init: 初始化 - 开通服务后的初始状态。\n- available: 可用 - 执行过任务且成功后恢复的正常状态。\n- internetOpening: 开启中 - 开通互联网接入开启中。\n- dedicatedOpening: 开启中 - 开通专线接入开启中。\n- internetOpenFailed: 开启失败 - 开通互联网接入开启失败。\n- dedicatedOpenFailed: 开启失败 - 开通专线接入开启失败。\n- openSuccess: 开启成功 - 开通接入方式成功。\n- internetClosing: 关闭中 - 关闭互联网接入关闭中。\n- dedicatedClosing: 关闭中 - 关闭专线接入关闭中。\n- internetCloseFailed: 关闭失败 - 关闭互联网接入方式失败。\n- dedicatedCloseFailed: 关闭失败 - 关闭专线接入方式失败。\n- closeSuccess: 关闭成功 - 关闭接入方式成功。\n- internetAccessPortModifying: 互联网接入端口修改中。\n- internetAccessPortModifyFailed: 端口修改失败。","maxLength":255,"minLength":0,"type":"string"},"ad_domains":{"$ref":"#/definitions/AdInfo"},"authorized_collect_log":{"description":"是否授权收集日志。","type":"boolean"},"authorized_hda_upgrade":{"description":"是否授权hda升级。","type":"boolean"},"closable":{"description":"是否可以取消服务。","type":"boolean"},"config_status":{"description":"配置状态。\n- \"0\": 开通服务成功,且对接AD成功。\n- \"1\": 开通服务成功,但AD配置失败。\n- \"2\": 开通服务成功,但AD配置失败后存在其他错误。\n- \"3\": 开通服务成功,AD未开启对接。","maxLength":1,"minLength":0,"type":"string"},"dc_vnc_ip":{"description":"自定义的专线VNC地址","maxLength":255,"minLength":0,"type":"string"},"dedicated_access_address":{"description":"专线接入地址,只有access_mode为“DEDICATED”或“BOTH”时才会返回该参数。","maxLength":255,"minLength":0,"type":"string"},"dedicated_subnets":{"description":"专线接入网段,只有access_mode为“DEDICATED”或“BOTH”时才会返回该参数。","example":"192.168.0.0/24;10.0.0.0/16","maxLength":100,"minLength":0,"type":"string"},"desktop_security_group":{"$ref":"#/definitions/SecurityGroup","description":"开通服务会在指定的VPC下创建桌面的安全组。"},"enterprise_id":{"description":"企业ID。","maxLength":255,"minLength":0,"type":"string"},"fail_code":{"description":"失败错误码。","format":"int32","maximum":99999999,"minimum":0,"type":"integer"},"fail_reason":{"description":"失败原因。","maxLength":255,"minLength":0,"type":"string"},"id":{"description":"唯一标识ID。","maxLength":255,"minLength":0,"type":"string"},"infrastructure_security_group":{"$ref":"#/definitions/SecurityGroup","description":"开通服务会在指定的VPC下创建管理组件的安全组。"},"internet_access_address":{"description":"互联网接入地址,只有access_mode为“INTERNET”或“BOTH”时才会返回该参数。","maxLength":255,"minLength":0,"type":"string"},"internet_access_port":{"description":"互联网接入端口。","maxLength":255,"minLength":0,"type":"string"},"is_send_email":{"description":"桌面退订是否发送邮件通知。","type":"boolean"},"job_id":{"description":"开通服务或取消服务的任务ID。","maxLength":255,"minLength":0,"type":"string"},"management_subnet_cidr":{"description":"管理组件的子网网段。","maxLength":255,"minLength":1,"type":"string"},"progress":{"description":"开通服务或注销服务的进度,格式为百分比,如:100%。","maxLength":255,"minLength":0,"type":"string"},"status":{"description":"云办公服务的状态。\n- PREPARING:准备开通。\n- SUBSCRIBING:开通中。\n- SUBSCRIBED:已开通。\n- SUBSCRIPTION_FAILED:开通失败。\n- DEREGISTERING:销户中。\n- DEREGISTRATION_FAILED:销户失败。\n- CLOSED:已销户未开通。","enum":["PREPARING","SUBSCRIBING","SUBSCRIBED","SUBSCRIPTION_FAILED","DEREGISTERING","DEREGISTRATION_FAILED","CLOSED"],"maxLength":255,"minLength":0,"type":"string"},"subnet_ids":{"description":"业务子网,可以指定返回的网络ID订购桌面。","items":{"$ref":"#/definitions/SubnetInfo"},"maxItems":5,"minItems":1,"type":"array","x-maxLength":5,"x-minLength":1},"vpc_id":{"description":"VPC ID。","maxLength":255,"minLength":0,"type":"string"},"vpc_name":{"description":"VPC名称。","maxLength":55,"minLength":0,"type":"string"}}},"SecurityGroup":{"description":"安全组。","properties":{"id":{"description":"安全组ID。","maxLength":255,"minLength":0,"type":"string"},"name":{"description":"安全组名称。","maxLength":55,"minLength":0,"type":"string"}},"required":["id"]},"SubnetInfo":{"description":"子网信息。","properties":{"subnet_id":{"description":"子网的网络ID。","maxLength":255,"minLength":0,"type":"string"}}},"TlsConfig":{"description":"TLS信息。","properties":{"cert_end_time":{"description":"证书生效截止时间,时间参考样例 2022-01-25T09:24:27。","maxLength":255,"minLength":0,"type":"string"},"cert_pem":{"description":"pem内容, 有则更新,无则上传。查询不返回。","maxLength":8192,"minLength":0,"type":"string"},"cert_start_time":{"description":"证书生效开始时间,时间参考样例 2022-01-25T09:24:27。","maxLength":255,"minLength":0,"type":"string"}}}},"description":null,"group_id":"7383c32d5d5e4d0481c071faeb994404","host":"workspace.cn-north-4.myhuaweicloud.com","id":"d3116ac0b0d24c1f9ef4d794c766acdb","info_version":"v2","method":"get","name":"ListWorkspaces","parameters":{},"paths":{"/v2/{project_id}/workspaces":{"get":{"description":"该接口用于查询云办公服务详情。","operationId":"ListWorkspaces","parameters":[{"description":"用户Token。\n\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":40000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"发送的实体的MIME类型。","in":"header","maxLength":255,"minLength":1,"name":"Content-Type","required":true,"type":"string","x-example":"application/json"},{"description":"项目ID。","in":"path","maxLength":255,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"}],"responses":{"200":{"description":"查询云办公服务详情响应。","examples":{"application/json":{"access_mode":"BOTH","access_status":"openSuccess","ad_domains":{"active_dns_ip":"192.168.0.131","active_domain_ip":"192.168.0.131","active_domain_name":"ecs-ad.vdesktop.com","domain_admin_account":"vdsadmin","domain_name":"vdesktop.com","domain_type":"LOCAL_AD","standby_dns_ip":"","standby_domain_ip":"","standby_domain_name":"","tls_config":{"cert_end_time":"2023-01-25T09:34:27","cert_start_time":"2022-01-25T09:24:27"},"use_ldaps":true},"authorized_collect_log":false,"authorized_hda_upgrade":false,"closable":false,"config_status":"0","dedicated_access_address":"https://192.168.0.53","dedicated_subnets":"192.168.0.0/24;10.0.0.0/16","desktop_security_group":{"id":"04abbdf6-e848-4c90-bdb1-6de856fa8a34","name":"WorkspaceUserSecurityGroup"},"id":"8aa1908f74824d8701748bf039600065","infrastructure_security_group":{"id":"ffba6eda-5170-4343-b8a3-c306e0f21c88","name":"WorkspaceManagerSecurityGroup"},"internet_access_address":"https://172.16.25.134","internet_access_port":"443","is_send_email":true,"management_subnet_cidr":"192.168.0.0/24","progress":"100%","status":"SUBSCRIBED","subnet_ids":[{"subnet_id":"5dee0216-2260-47c2-9368-98a27d910e55"}],"vpc_id":"fd3b4069-ac1e-45d2-ba27-4c18cd692d26","vpc_name":"vpc-be75"}},"schema":{"$ref":"#/definitions/DescribeWorkspaceDetailResponse"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResponse"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/BaseResponse"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/BaseResponse"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/BaseResponse"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/BaseResponse"}}},"schemes":["https"],"summary":"查询云办公服务详情","tags":["Workspace"],"x-apiexplorer-hide":"N","x-apig-group":"public,internal_token","x-apigateway-request-type":"public","x-is-registered":"Y","x-request-examples-url-1":"GET /v2/29dfe82ada564ac2b927e1ff036d9a9b/workspaces","x-support-sdk":"Y"}}},"product_short":"Workspace","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"查询云办公服务详情","tags":"云办公服务","uri":null,"version":"2.0"}