@alicloud/appstream-center20210901 5.7.0 → 5.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/dist/client.d.ts +802 -70
  2. package/dist/client.js +1496 -82
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApproveOtaTaskRequest.d.ts +2 -2
  5. package/dist/models/ApproveOtaTaskResponseBody.d.ts +1 -1
  6. package/dist/models/AuthorizeInstanceGroupRequest.d.ts +24 -14
  7. package/dist/models/AuthorizeInstanceGroupRequest.js +2 -0
  8. package/dist/models/AuthorizeInstanceGroupRequest.js.map +1 -1
  9. package/dist/models/AuthorizeInstanceGroupResponseBody.d.ts +1 -1
  10. package/dist/models/AuthorizeInstanceGroupShrinkRequest.d.ts +22 -12
  11. package/dist/models/AuthorizeInstanceGroupShrinkRequest.js +2 -0
  12. package/dist/models/AuthorizeInstanceGroupShrinkRequest.js.map +1 -1
  13. package/dist/models/AuthorizeUsersForAppRequest.d.ts +104 -0
  14. package/dist/models/AuthorizeUsersForAppRequest.js +98 -0
  15. package/dist/models/AuthorizeUsersForAppRequest.js.map +1 -0
  16. package/dist/models/AuthorizeUsersForAppResponse.d.ts +19 -0
  17. package/dist/models/AuthorizeUsersForAppResponse.js +69 -0
  18. package/dist/models/AuthorizeUsersForAppResponse.js.map +1 -0
  19. package/dist/models/AuthorizeUsersForAppResponseBody.d.ts +21 -0
  20. package/dist/models/AuthorizeUsersForAppResponseBody.js +58 -0
  21. package/dist/models/AuthorizeUsersForAppResponseBody.js.map +1 -0
  22. package/dist/models/AuthorizeUsersForAppShrinkRequest.d.ts +71 -0
  23. package/dist/models/AuthorizeUsersForAppShrinkRequest.js +74 -0
  24. package/dist/models/AuthorizeUsersForAppShrinkRequest.js.map +1 -0
  25. package/dist/models/CreateAppInstanceGroupRequest.d.ts +63 -63
  26. package/dist/models/CreateAppInstanceGroupShrinkRequest.d.ts +14 -14
  27. package/dist/models/CreateBrowserInstanceGroupRequest.d.ts +1140 -0
  28. package/dist/models/CreateBrowserInstanceGroupRequest.js +609 -0
  29. package/dist/models/CreateBrowserInstanceGroupRequest.js.map +1 -0
  30. package/dist/models/CreateBrowserInstanceGroupResponse.d.ts +19 -0
  31. package/dist/models/CreateBrowserInstanceGroupResponse.js +69 -0
  32. package/dist/models/CreateBrowserInstanceGroupResponse.js.map +1 -0
  33. package/dist/models/CreateBrowserInstanceGroupResponseBody.d.ts +54 -0
  34. package/dist/models/CreateBrowserInstanceGroupResponseBody.js +84 -0
  35. package/dist/models/CreateBrowserInstanceGroupResponseBody.js.map +1 -0
  36. package/dist/models/CreateBrowserInstanceGroupShrinkRequest.d.ts +247 -0
  37. package/dist/models/CreateBrowserInstanceGroupShrinkRequest.js +113 -0
  38. package/dist/models/CreateBrowserInstanceGroupShrinkRequest.js.map +1 -0
  39. package/dist/models/CreateImageByInstanceRequest.d.ts +29 -4
  40. package/dist/models/CreateImageByInstanceRequest.js.map +1 -1
  41. package/dist/models/CreateImageByInstanceResponseBody.d.ts +2 -2
  42. package/dist/models/CreateModelTemplateRequest.d.ts +6 -3
  43. package/dist/models/CreateModelTemplateRequest.js.map +1 -1
  44. package/dist/models/CreateWuyingServerRequest.d.ts +69 -22
  45. package/dist/models/CreateWuyingServerRequest.js +4 -0
  46. package/dist/models/CreateWuyingServerRequest.js.map +1 -1
  47. package/dist/models/DeleteImageResponseBody.d.ts +4 -7
  48. package/dist/models/DeleteImageResponseBody.js.map +1 -1
  49. package/dist/models/DescribeWuyingServerEipInfoRequest.d.ts +2 -2
  50. package/dist/models/DescribeWuyingServerEipInfoResponseBody.d.ts +8 -1
  51. package/dist/models/DescribeWuyingServerEipInfoResponseBody.js.map +1 -1
  52. package/dist/models/DescribeWuyingServerRequest.d.ts +1 -1
  53. package/dist/models/DescribeWuyingServerResponseBody.d.ts +20 -12
  54. package/dist/models/DescribeWuyingServerResponseBody.js +2 -0
  55. package/dist/models/DescribeWuyingServerResponseBody.js.map +1 -1
  56. package/dist/models/GetAppInstanceGroupRequest.d.ts +1 -1
  57. package/dist/models/GetAppInstanceGroupResponseBody.d.ts +25 -18
  58. package/dist/models/GetAppInstanceGroupResponseBody.js.map +1 -1
  59. package/dist/models/GetBrowserInstanceGroupRequest.d.ts +21 -0
  60. package/dist/models/GetBrowserInstanceGroupRequest.js +58 -0
  61. package/dist/models/GetBrowserInstanceGroupRequest.js.map +1 -0
  62. package/dist/models/GetBrowserInstanceGroupResponse.d.ts +19 -0
  63. package/dist/models/GetBrowserInstanceGroupResponse.js +69 -0
  64. package/dist/models/GetBrowserInstanceGroupResponse.js.map +1 -0
  65. package/dist/models/GetBrowserInstanceGroupResponseBody.d.ts +1061 -0
  66. package/dist/models/GetBrowserInstanceGroupResponseBody.js +598 -0
  67. package/dist/models/GetBrowserInstanceGroupResponseBody.js.map +1 -0
  68. package/dist/models/GetConnectionTicketRequest.d.ts +23 -9
  69. package/dist/models/GetConnectionTicketRequest.js +2 -0
  70. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  71. package/dist/models/GetConnectionTicketResponseBody.d.ts +5 -2
  72. package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
  73. package/dist/models/GetRuntimeModelConfigResponseBody.d.ts +11 -5
  74. package/dist/models/GetRuntimeModelConfigResponseBody.js.map +1 -1
  75. package/dist/models/ListAppInstanceGroupRequest.d.ts +9 -3
  76. package/dist/models/ListAppInstanceGroupRequest.js.map +1 -1
  77. package/dist/models/ListAppInstanceGroupResponseBody.d.ts +24 -17
  78. package/dist/models/ListAppInstanceGroupResponseBody.js.map +1 -1
  79. package/dist/models/ListAppInstancesRequest.d.ts +4 -4
  80. package/dist/models/ListAppInstancesResponseBody.d.ts +20 -6
  81. package/dist/models/ListAppInstancesResponseBody.js.map +1 -1
  82. package/dist/models/ListAppsByAppInstanceGroupIdRequest.d.ts +61 -0
  83. package/dist/models/ListAppsByAppInstanceGroupIdRequest.js +64 -0
  84. package/dist/models/ListAppsByAppInstanceGroupIdRequest.js.map +1 -0
  85. package/dist/models/ListAppsByAppInstanceGroupIdResponse.d.ts +19 -0
  86. package/dist/models/ListAppsByAppInstanceGroupIdResponse.js +69 -0
  87. package/dist/models/ListAppsByAppInstanceGroupIdResponse.js.map +1 -0
  88. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.d.ts +110 -0
  89. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.js +98 -0
  90. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.js.map +1 -0
  91. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.d.ts +106 -0
  92. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js +72 -0
  93. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js.map +1 -0
  94. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.d.ts +19 -0
  95. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js +69 -0
  96. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js.map +1 -0
  97. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.d.ts +195 -0
  98. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js +134 -0
  99. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js.map +1 -0
  100. package/dist/models/ListAuthorizedAppsByUserRequest.d.ts +89 -0
  101. package/dist/models/ListAuthorizedAppsByUserRequest.js +72 -0
  102. package/dist/models/ListAuthorizedAppsByUserRequest.js.map +1 -0
  103. package/dist/models/ListAuthorizedAppsByUserResponse.d.ts +19 -0
  104. package/dist/models/ListAuthorizedAppsByUserResponse.js +69 -0
  105. package/dist/models/ListAuthorizedAppsByUserResponse.js.map +1 -0
  106. package/dist/models/ListAuthorizedAppsByUserResponseBody.d.ts +126 -0
  107. package/dist/models/ListAuthorizedAppsByUserResponseBody.js +102 -0
  108. package/dist/models/ListAuthorizedAppsByUserResponseBody.js.map +1 -0
  109. package/dist/models/ListAuthorizedUserGroupsRequest.d.ts +9 -3
  110. package/dist/models/ListAuthorizedUserGroupsRequest.js +2 -0
  111. package/dist/models/ListAuthorizedUserGroupsRequest.js.map +1 -1
  112. package/dist/models/ListAuthorizedUserGroupsResponseBody.d.ts +10 -2
  113. package/dist/models/ListAuthorizedUserGroupsResponseBody.js +2 -0
  114. package/dist/models/ListAuthorizedUserGroupsResponseBody.js.map +1 -1
  115. package/dist/models/ListAuthorizedUsersRequest.d.ts +112 -0
  116. package/dist/models/ListAuthorizedUsersRequest.js +74 -0
  117. package/dist/models/ListAuthorizedUsersRequest.js.map +1 -0
  118. package/dist/models/ListAuthorizedUsersResponse.d.ts +19 -0
  119. package/dist/models/ListAuthorizedUsersResponse.js +69 -0
  120. package/dist/models/ListAuthorizedUsersResponse.js.map +1 -0
  121. package/dist/models/ListAuthorizedUsersResponseBody.d.ts +156 -0
  122. package/dist/models/ListAuthorizedUsersResponseBody.js +109 -0
  123. package/dist/models/ListAuthorizedUsersResponseBody.js.map +1 -0
  124. package/dist/models/ListBrowserInstanceGroupRequest.d.ts +146 -0
  125. package/dist/models/ListBrowserInstanceGroupRequest.js +115 -0
  126. package/dist/models/ListBrowserInstanceGroupRequest.js.map +1 -0
  127. package/dist/models/ListBrowserInstanceGroupResponse.d.ts +19 -0
  128. package/dist/models/ListBrowserInstanceGroupResponse.js +69 -0
  129. package/dist/models/ListBrowserInstanceGroupResponse.js.map +1 -0
  130. package/dist/models/ListBrowserInstanceGroupResponseBody.d.ts +705 -0
  131. package/dist/models/ListBrowserInstanceGroupResponseBody.js +470 -0
  132. package/dist/models/ListBrowserInstanceGroupResponseBody.js.map +1 -0
  133. package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +9 -9
  134. package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +19 -10
  135. package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
  136. package/dist/models/ListLlmTemplatesRequest.d.ts +11 -3
  137. package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
  138. package/dist/models/ListLlmTemplatesResponseBody.d.ts +36 -9
  139. package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
  140. package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +11 -3
  141. package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
  142. package/dist/models/ListModelProviderEndpointsRequest.d.ts +28 -0
  143. package/dist/models/ListModelProviderEndpointsRequest.js.map +1 -1
  144. package/dist/models/ListModelProviderEndpointsResponseBody.d.ts +71 -0
  145. package/dist/models/ListModelProviderEndpointsResponseBody.js.map +1 -1
  146. package/dist/models/ListModelProviderTemplatesRequest.d.ts +3 -3
  147. package/dist/models/ListModelProviderTemplatesResponseBody.d.ts +3 -3
  148. package/dist/models/ListModelProviderTemplatesShrinkRequest.d.ts +3 -3
  149. package/dist/models/ListModelTemplatesRequest.d.ts +9 -8
  150. package/dist/models/ListModelTemplatesRequest.js.map +1 -1
  151. package/dist/models/ListModelTemplatesResponseBody.d.ts +19 -6
  152. package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
  153. package/dist/models/ListModelTemplatesShrinkRequest.d.ts +9 -8
  154. package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
  155. package/dist/models/ListNodeInstanceTypeRequest.d.ts +22 -1
  156. package/dist/models/ListNodeInstanceTypeRequest.js.map +1 -1
  157. package/dist/models/ListNodeInstanceTypeResponseBody.d.ts +2 -2
  158. package/dist/models/ListOtaTaskRequest.d.ts +1 -1
  159. package/dist/models/ListPublishedAppInstanceGroupRequest.d.ts +100 -0
  160. package/dist/models/ListPublishedAppInstanceGroupRequest.js +72 -0
  161. package/dist/models/ListPublishedAppInstanceGroupRequest.js.map +1 -0
  162. package/dist/models/ListPublishedAppInstanceGroupResponse.d.ts +19 -0
  163. package/dist/models/ListPublishedAppInstanceGroupResponse.js +69 -0
  164. package/dist/models/ListPublishedAppInstanceGroupResponse.js.map +1 -0
  165. package/dist/models/ListPublishedAppInstanceGroupResponseBody.d.ts +185 -0
  166. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js +134 -0
  167. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js.map +1 -0
  168. package/dist/models/ListPublishedAppsRequest.d.ts +96 -0
  169. package/dist/models/ListPublishedAppsRequest.js +72 -0
  170. package/dist/models/ListPublishedAppsRequest.js.map +1 -0
  171. package/dist/models/ListPublishedAppsResponse.d.ts +19 -0
  172. package/dist/models/ListPublishedAppsResponse.js +69 -0
  173. package/dist/models/ListPublishedAppsResponse.js.map +1 -0
  174. package/dist/models/ListPublishedAppsResponseBody.d.ts +126 -0
  175. package/dist/models/ListPublishedAppsResponseBody.js +102 -0
  176. package/dist/models/ListPublishedAppsResponseBody.js.map +1 -0
  177. package/dist/models/ListTagResourcesRequest.d.ts +97 -0
  178. package/dist/models/ListTagResourcesRequest.js +93 -0
  179. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  180. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  181. package/dist/models/ListTagResourcesResponse.js +69 -0
  182. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  183. package/dist/models/ListTagResourcesResponseBody.d.ts +88 -0
  184. package/dist/models/ListTagResourcesResponseBody.js +92 -0
  185. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  186. package/dist/models/ListTenantConfigResponseBody.d.ts +8 -0
  187. package/dist/models/ListTenantConfigResponseBody.js.map +1 -1
  188. package/dist/models/ListWuyingServerResponseBody.d.ts +41 -23
  189. package/dist/models/ListWuyingServerResponseBody.js +4 -0
  190. package/dist/models/ListWuyingServerResponseBody.js.map +1 -1
  191. package/dist/models/ListZonesRequest.d.ts +62 -0
  192. package/dist/models/ListZonesRequest.js +62 -0
  193. package/dist/models/ListZonesRequest.js.map +1 -0
  194. package/dist/models/ListZonesResponse.d.ts +19 -0
  195. package/dist/models/ListZonesResponse.js +69 -0
  196. package/dist/models/ListZonesResponse.js.map +1 -0
  197. package/dist/models/ListZonesResponseBody.d.ts +43 -0
  198. package/dist/models/ListZonesResponseBody.js +85 -0
  199. package/dist/models/ListZonesResponseBody.js.map +1 -0
  200. package/dist/models/ModifyAppInstanceGroupAttributeRequest.d.ts +24 -6
  201. package/dist/models/ModifyAppInstanceGroupAttributeRequest.js.map +1 -1
  202. package/dist/models/ModifyAppInstanceGroupAttributeResponseBody.d.ts +2 -2
  203. package/dist/models/ModifyAppInstanceGroupAttributeShrinkRequest.d.ts +4 -4
  204. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +60 -21
  205. package/dist/models/ModifyBrowserInstanceGroupRequest.js +2 -0
  206. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  207. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +8 -0
  208. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js +2 -0
  209. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
  210. package/dist/models/ModifyNodePoolAmountRequest.d.ts +5 -2
  211. package/dist/models/ModifyNodePoolAmountRequest.js.map +1 -1
  212. package/dist/models/ModifyNodePoolAmountShrinkRequest.d.ts +1 -1
  213. package/dist/models/ModifyWuyingServerAttributeRequest.d.ts +15 -0
  214. package/dist/models/ModifyWuyingServerAttributeRequest.js +2 -0
  215. package/dist/models/ModifyWuyingServerAttributeRequest.js.map +1 -1
  216. package/dist/models/RenewAppInstanceGroupRequest.d.ts +29 -11
  217. package/dist/models/RenewAppInstanceGroupRequest.js.map +1 -1
  218. package/dist/models/RenewAppInstanceGroupShrinkRequest.d.ts +29 -11
  219. package/dist/models/RenewAppInstanceGroupShrinkRequest.js.map +1 -1
  220. package/dist/models/RenewWuyingServerRequest.d.ts +3 -0
  221. package/dist/models/RenewWuyingServerRequest.js.map +1 -1
  222. package/dist/models/RestartWuyingServerRequest.d.ts +7 -0
  223. package/dist/models/RestartWuyingServerRequest.js.map +1 -1
  224. package/dist/models/StartWuyingServerRequest.d.ts +7 -0
  225. package/dist/models/StartWuyingServerRequest.js.map +1 -1
  226. package/dist/models/StopWuyingServerRequest.d.ts +8 -4
  227. package/dist/models/StopWuyingServerRequest.js.map +1 -1
  228. package/dist/models/TagResourcesRequest.d.ts +103 -0
  229. package/dist/models/TagResourcesRequest.js +91 -0
  230. package/dist/models/TagResourcesRequest.js.map +1 -0
  231. package/dist/models/TagResourcesResponse.d.ts +19 -0
  232. package/dist/models/TagResourcesResponse.js +69 -0
  233. package/dist/models/TagResourcesResponse.js.map +1 -0
  234. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  235. package/dist/models/TagResourcesResponseBody.js +58 -0
  236. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  237. package/dist/models/UntagResourcesRequest.d.ts +78 -0
  238. package/dist/models/UntagResourcesRequest.js +72 -0
  239. package/dist/models/UntagResourcesRequest.js.map +1 -0
  240. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  241. package/dist/models/UntagResourcesResponse.js +69 -0
  242. package/dist/models/UntagResourcesResponse.js.map +1 -0
  243. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  244. package/dist/models/UntagResourcesResponseBody.js +58 -0
  245. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  246. package/dist/models/UpdateModelTemplateRequest.d.ts +5 -2
  247. package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
  248. package/dist/models/model.d.ts +108 -0
  249. package/dist/models/model.js +226 -8
  250. package/dist/models/model.js.map +1 -1
  251. package/package.json +1 -1
  252. package/src/client.ts +1690 -116
  253. package/src/models/ApproveOtaTaskRequest.ts +2 -2
  254. package/src/models/ApproveOtaTaskResponseBody.ts +1 -1
  255. package/src/models/AuthorizeInstanceGroupRequest.ts +26 -14
  256. package/src/models/AuthorizeInstanceGroupResponseBody.ts +1 -1
  257. package/src/models/AuthorizeInstanceGroupShrinkRequest.ts +24 -12
  258. package/src/models/AuthorizeUsersForAppRequest.ts +148 -0
  259. package/src/models/AuthorizeUsersForAppResponse.ts +40 -0
  260. package/src/models/AuthorizeUsersForAppResponseBody.ts +34 -0
  261. package/src/models/AuthorizeUsersForAppShrinkRequest.ts +100 -0
  262. package/src/models/CreateAppInstanceGroupRequest.ts +63 -63
  263. package/src/models/CreateAppInstanceGroupShrinkRequest.ts +14 -14
  264. package/src/models/CreateBrowserInstanceGroupRequest.ts +1542 -0
  265. package/src/models/CreateBrowserInstanceGroupResponse.ts +40 -0
  266. package/src/models/CreateBrowserInstanceGroupResponseBody.ts +84 -0
  267. package/src/models/CreateBrowserInstanceGroupShrinkRequest.ts +315 -0
  268. package/src/models/CreateImageByInstanceRequest.ts +29 -4
  269. package/src/models/CreateImageByInstanceResponseBody.ts +2 -2
  270. package/src/models/CreateModelTemplateRequest.ts +6 -3
  271. package/src/models/CreateWuyingServerRequest.ts +73 -22
  272. package/src/models/DeleteImageResponseBody.ts +4 -7
  273. package/src/models/DescribeWuyingServerEipInfoRequest.ts +2 -2
  274. package/src/models/DescribeWuyingServerEipInfoResponseBody.ts +8 -1
  275. package/src/models/DescribeWuyingServerRequest.ts +1 -1
  276. package/src/models/DescribeWuyingServerResponseBody.ts +22 -12
  277. package/src/models/GetAppInstanceGroupRequest.ts +1 -1
  278. package/src/models/GetAppInstanceGroupResponseBody.ts +25 -18
  279. package/src/models/GetBrowserInstanceGroupRequest.ts +34 -0
  280. package/src/models/GetBrowserInstanceGroupResponse.ts +40 -0
  281. package/src/models/GetBrowserInstanceGroupResponseBody.ts +1461 -0
  282. package/src/models/GetConnectionTicketRequest.ts +25 -9
  283. package/src/models/GetConnectionTicketResponseBody.ts +5 -2
  284. package/src/models/GetRuntimeModelConfigResponseBody.ts +11 -5
  285. package/src/models/ListAppInstanceGroupRequest.ts +9 -3
  286. package/src/models/ListAppInstanceGroupResponseBody.ts +24 -17
  287. package/src/models/ListAppInstancesRequest.ts +4 -4
  288. package/src/models/ListAppInstancesResponseBody.ts +20 -6
  289. package/src/models/ListAppsByAppInstanceGroupIdRequest.ts +80 -0
  290. package/src/models/ListAppsByAppInstanceGroupIdResponse.ts +40 -0
  291. package/src/models/ListAppsByAppInstanceGroupIdResponseBody.ts +154 -0
  292. package/src/models/ListAuthorizedAppInstanceGroupByUserRequest.ts +133 -0
  293. package/src/models/ListAuthorizedAppInstanceGroupByUserResponse.ts +40 -0
  294. package/src/models/ListAuthorizedAppInstanceGroupByUserResponseBody.ts +266 -0
  295. package/src/models/ListAuthorizedAppsByUserRequest.ts +116 -0
  296. package/src/models/ListAuthorizedAppsByUserResponse.ts +40 -0
  297. package/src/models/ListAuthorizedAppsByUserResponseBody.ts +174 -0
  298. package/src/models/ListAuthorizedUserGroupsRequest.ts +11 -3
  299. package/src/models/ListAuthorizedUserGroupsResponseBody.ts +12 -2
  300. package/src/models/ListAuthorizedUsersRequest.ts +141 -0
  301. package/src/models/ListAuthorizedUsersResponse.ts +40 -0
  302. package/src/models/ListAuthorizedUsersResponseBody.ts +211 -0
  303. package/src/models/ListBrowserInstanceGroupRequest.ts +207 -0
  304. package/src/models/ListBrowserInstanceGroupResponse.ts +40 -0
  305. package/src/models/ListBrowserInstanceGroupResponseBody.ts +1004 -0
  306. package/src/models/ListDesktopAgentRuntimeRequest.ts +9 -9
  307. package/src/models/ListDesktopAgentRuntimeResponseBody.ts +19 -10
  308. package/src/models/ListLlmTemplatesRequest.ts +11 -3
  309. package/src/models/ListLlmTemplatesResponseBody.ts +36 -9
  310. package/src/models/ListLlmTemplatesShrinkRequest.ts +11 -3
  311. package/src/models/ListModelProviderEndpointsRequest.ts +28 -0
  312. package/src/models/ListModelProviderEndpointsResponseBody.ts +71 -0
  313. package/src/models/ListModelProviderTemplatesRequest.ts +3 -3
  314. package/src/models/ListModelProviderTemplatesResponseBody.ts +3 -3
  315. package/src/models/ListModelProviderTemplatesShrinkRequest.ts +3 -3
  316. package/src/models/ListModelTemplatesRequest.ts +9 -8
  317. package/src/models/ListModelTemplatesResponseBody.ts +19 -6
  318. package/src/models/ListModelTemplatesShrinkRequest.ts +9 -8
  319. package/src/models/ListNodeInstanceTypeRequest.ts +22 -1
  320. package/src/models/ListNodeInstanceTypeResponseBody.ts +2 -2
  321. package/src/models/ListOtaTaskRequest.ts +1 -1
  322. package/src/models/ListPublishedAppInstanceGroupRequest.ts +127 -0
  323. package/src/models/ListPublishedAppInstanceGroupResponse.ts +40 -0
  324. package/src/models/ListPublishedAppInstanceGroupResponseBody.ts +256 -0
  325. package/src/models/ListPublishedAppsRequest.ts +123 -0
  326. package/src/models/ListPublishedAppsResponse.ts +40 -0
  327. package/src/models/ListPublishedAppsResponseBody.ts +174 -0
  328. package/src/models/ListTagResourcesRequest.ts +136 -0
  329. package/src/models/ListTagResourcesResponse.ts +40 -0
  330. package/src/models/ListTagResourcesResponseBody.ts +126 -0
  331. package/src/models/ListTenantConfigResponseBody.ts +8 -0
  332. package/src/models/ListWuyingServerResponseBody.ts +45 -23
  333. package/src/models/ListZonesRequest.ts +79 -0
  334. package/src/models/ListZonesResponse.ts +40 -0
  335. package/src/models/ListZonesResponseBody.ts +74 -0
  336. package/src/models/ModifyAppInstanceGroupAttributeRequest.ts +24 -6
  337. package/src/models/ModifyAppInstanceGroupAttributeResponseBody.ts +2 -2
  338. package/src/models/ModifyAppInstanceGroupAttributeShrinkRequest.ts +4 -4
  339. package/src/models/ModifyBrowserInstanceGroupRequest.ts +62 -21
  340. package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +10 -0
  341. package/src/models/ModifyNodePoolAmountRequest.ts +5 -2
  342. package/src/models/ModifyNodePoolAmountShrinkRequest.ts +1 -1
  343. package/src/models/ModifyWuyingServerAttributeRequest.ts +17 -0
  344. package/src/models/RenewAppInstanceGroupRequest.ts +29 -11
  345. package/src/models/RenewAppInstanceGroupShrinkRequest.ts +29 -11
  346. package/src/models/RenewWuyingServerRequest.ts +3 -0
  347. package/src/models/RestartWuyingServerRequest.ts +7 -0
  348. package/src/models/StartWuyingServerRequest.ts +7 -0
  349. package/src/models/StopWuyingServerRequest.ts +8 -4
  350. package/src/models/TagResourcesRequest.ts +140 -0
  351. package/src/models/TagResourcesResponse.ts +40 -0
  352. package/src/models/TagResourcesResponseBody.ts +34 -0
  353. package/src/models/UntagResourcesRequest.ts +105 -0
  354. package/src/models/UntagResourcesResponse.ts +40 -0
  355. package/src/models/UntagResourcesResponseBody.ts +34 -0
  356. package/src/models/UpdateModelTemplateRequest.ts +5 -2
  357. package/src/models/model.ts +108 -0
package/dist/client.js CHANGED
@@ -49,10 +49,6 @@ class Client extends openapi_core_1.default {
49
49
  constructor(config) {
50
50
  super(config);
51
51
  this._endpointRule = "regional";
52
- this._endpointMap = {
53
- 'cn-shanghai': "appstream-center.cn-shanghai.aliyuncs.com",
54
- 'ap-southeast-1': "appstream-center.ap-southeast-1.aliyuncs.com",
55
- };
56
52
  this.checkConfig(config);
57
53
  this._endpoint = this.getEndpoint("appstream-center", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
58
54
  }
@@ -66,7 +62,7 @@ class Client extends openapi_core_1.default {
66
62
  return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
67
63
  }
68
64
  /**
69
- * Sets the execution time for an over-the-air update.
65
+ * Sets the execution time for an OTA upgrade.
70
66
  *
71
67
  * @param request - ApproveOtaTaskRequest
72
68
  * @param runtime - runtime options for this request RuntimeOptions
@@ -107,7 +103,7 @@ class Client extends openapi_core_1.default {
107
103
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApproveOtaTaskResponse({}));
108
104
  }
109
105
  /**
110
- * Sets the execution time for an over-the-air update.
106
+ * Sets the execution time for an OTA upgrade.
111
107
  *
112
108
  * @param request - ApproveOtaTaskRequest
113
109
  * @returns ApproveOtaTaskResponse
@@ -159,10 +155,10 @@ class Client extends openapi_core_1.default {
159
155
  return await this.assignWuyingServerPrivateAddressesWithOptions(request, runtime);
160
156
  }
161
157
  /**
162
- * 為交付群組新增或移除指派使用者。只有新增至指派使用者的使用者才可存取雲端應用程式。
158
+ * Adds or removes assigned users for a delivery group. Only users added as assigned users can access cloud applications.
163
159
  *
164
160
  * @remarks
165
- * > 變更指派使用者後,選取的使用者將收到相應的通知電子郵件。一般需要等待約 2 分鐘,變更才會在終端機生效。
161
+ * > After you change assigned users, the selected users receive notification emails. Changes typically take about 2 minutes to take effect on the client.
166
162
  *
167
163
  * @param tmpReq - AuthorizeInstanceGroupRequest
168
164
  * @param runtime - runtime options for this request RuntimeOptions
@@ -179,6 +175,9 @@ class Client extends openapi_core_1.default {
179
175
  if (!$dara.isNull(request.appInstanceGroupId)) {
180
176
  body["AppInstanceGroupId"] = request.appInstanceGroupId;
181
177
  }
178
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
179
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
180
+ }
182
181
  if (!$dara.isNull(request.appInstancePersistentId)) {
183
182
  body["AppInstancePersistentId"] = request.appInstancePersistentId;
184
183
  }
@@ -222,10 +221,10 @@ class Client extends openapi_core_1.default {
222
221
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.AuthorizeInstanceGroupResponse({}));
223
222
  }
224
223
  /**
225
- * 為交付群組新增或移除指派使用者。只有新增至指派使用者的使用者才可存取雲端應用程式。
224
+ * Adds or removes assigned users for a delivery group. Only users added as assigned users can access cloud applications.
226
225
  *
227
226
  * @remarks
228
- * > 變更指派使用者後,選取的使用者將收到相應的通知電子郵件。一般需要等待約 2 分鐘,變更才會在終端機生效。
227
+ * > After you change assigned users, the selected users receive notification emails. Changes typically take about 2 minutes to take effect on the client.
229
228
  *
230
229
  * @param request - AuthorizeInstanceGroupRequest
231
230
  * @returns AuthorizeInstanceGroupResponse
@@ -234,6 +233,101 @@ class Client extends openapi_core_1.default {
234
233
  let runtime = new $dara.RuntimeOptions({});
235
234
  return await this.authorizeInstanceGroupWithOptions(request, runtime);
236
235
  }
236
+ /**
237
+ * Adds or removes authorized users for a specified application deployed in a delivery group. Only authorized users can access the application.
238
+ *
239
+ * @remarks
240
+ * ## Operation description
241
+ * This operation manages user authorization for a delivery group at the application level. The authorization result applies only to the application specified by AppId and does not affect the authorization of other applications in the delivery group. To authorize users for an entire delivery group, call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation.
242
+ * ## Before you begin
243
+ * - The delivery group is created, and **the application specified by AppId is deployed in the image used by the delivery group**. Otherwise, the error code `InvalidAppId.NotFound` is returned.
244
+ * - The delivery group **has not been added to a delivery group set that is in effect**. A delivery group that has been added to a set cannot be authorized individually. You must authorize it through the set. Otherwise, the error code `InvalidAppInstanceGroup.AuthorizeBlockedBySet` is returned.
245
+ * - If the workspace to which the delivery group belongs is an Active Directory (AD) workspace, **you must specify UserMeta**, with `UserMeta.Type` set to `ad` and `UserMeta.AdDomain` matching the AD domain bound to the workspace.
246
+ * - If the delivery group has been authorized through user groups and mixed authorization of users and user groups is not supported, you cannot authorize by user. Otherwise, the error code `AuthAppInstanceGroup.MixNotSupported` is returned.
247
+ * ## Parameter description
248
+ * - **At least one of AuthorizeUserIds and UnAuthorizeUserIds must be specified.** You can also specify both. If both are empty, this invocation does not change any authorization.
249
+ * - When adding authorizations, the sum of the currently authorized users for the application and the users to be added cannot exceed the authorized user quota for the application. If the quota is exceeded, the error code `ExceedAppAuthUserQuota` is returned. Removing authorizations is not subject to quota limits.
250
+ * ## Call sequence
251
+ * 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications in the delivery group (AppId in the Apps list).
252
+ * 2. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the usernames of the users to be authorized or unauthorized.
253
+ * 3. Call this operation to complete the authorization change.
254
+ * > After the authorization is changed, the selected users receive a notification email. It typically takes about 2 minutes for the change to take effect on the client.
255
+ *
256
+ * @param tmpReq - AuthorizeUsersForAppRequest
257
+ * @param runtime - runtime options for this request RuntimeOptions
258
+ * @returns AuthorizeUsersForAppResponse
259
+ */
260
+ async authorizeUsersForAppWithOptions(tmpReq, runtime) {
261
+ tmpReq.validate();
262
+ let request = new $_model.AuthorizeUsersForAppShrinkRequest({});
263
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
264
+ if (!$dara.isNull(tmpReq.userMeta)) {
265
+ request.userMetaShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userMeta, "UserMeta", "json");
266
+ }
267
+ let query = {};
268
+ if (!$dara.isNull(request.appId)) {
269
+ query["AppId"] = request.appId;
270
+ }
271
+ let body = {};
272
+ if (!$dara.isNull(request.appInstanceGroupId)) {
273
+ body["AppInstanceGroupId"] = request.appInstanceGroupId;
274
+ }
275
+ if (!$dara.isNull(request.authorizeUserIds)) {
276
+ body["AuthorizeUserIds"] = request.authorizeUserIds;
277
+ }
278
+ if (!$dara.isNull(request.productType)) {
279
+ body["ProductType"] = request.productType;
280
+ }
281
+ if (!$dara.isNull(request.unAuthorizeUserIds)) {
282
+ body["UnAuthorizeUserIds"] = request.unAuthorizeUserIds;
283
+ }
284
+ if (!$dara.isNull(request.userMetaShrink)) {
285
+ body["UserMeta"] = request.userMetaShrink;
286
+ }
287
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
288
+ query: openapi_core_2.OpenApiUtil.query(query),
289
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
290
+ });
291
+ let params = new openapi_core_2.$OpenApiUtil.Params({
292
+ action: "AuthorizeUsersForApp",
293
+ version: "2021-09-01",
294
+ protocol: "HTTPS",
295
+ pathname: "/",
296
+ method: "POST",
297
+ authType: "AK",
298
+ style: "RPC",
299
+ reqBodyType: "formData",
300
+ bodyType: "json",
301
+ });
302
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.AuthorizeUsersForAppResponse({}));
303
+ }
304
+ /**
305
+ * Adds or removes authorized users for a specified application deployed in a delivery group. Only authorized users can access the application.
306
+ *
307
+ * @remarks
308
+ * ## Operation description
309
+ * This operation manages user authorization for a delivery group at the application level. The authorization result applies only to the application specified by AppId and does not affect the authorization of other applications in the delivery group. To authorize users for an entire delivery group, call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation.
310
+ * ## Before you begin
311
+ * - The delivery group is created, and **the application specified by AppId is deployed in the image used by the delivery group**. Otherwise, the error code `InvalidAppId.NotFound` is returned.
312
+ * - The delivery group **has not been added to a delivery group set that is in effect**. A delivery group that has been added to a set cannot be authorized individually. You must authorize it through the set. Otherwise, the error code `InvalidAppInstanceGroup.AuthorizeBlockedBySet` is returned.
313
+ * - If the workspace to which the delivery group belongs is an Active Directory (AD) workspace, **you must specify UserMeta**, with `UserMeta.Type` set to `ad` and `UserMeta.AdDomain` matching the AD domain bound to the workspace.
314
+ * - If the delivery group has been authorized through user groups and mixed authorization of users and user groups is not supported, you cannot authorize by user. Otherwise, the error code `AuthAppInstanceGroup.MixNotSupported` is returned.
315
+ * ## Parameter description
316
+ * - **At least one of AuthorizeUserIds and UnAuthorizeUserIds must be specified.** You can also specify both. If both are empty, this invocation does not change any authorization.
317
+ * - When adding authorizations, the sum of the currently authorized users for the application and the users to be added cannot exceed the authorized user quota for the application. If the quota is exceeded, the error code `ExceedAppAuthUserQuota` is returned. Removing authorizations is not subject to quota limits.
318
+ * ## Call sequence
319
+ * 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications in the delivery group (AppId in the Apps list).
320
+ * 2. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the usernames of the users to be authorized or unauthorized.
321
+ * 3. Call this operation to complete the authorization change.
322
+ * > After the authorization is changed, the selected users receive a notification email. It typically takes about 2 minutes for the change to take effect on the client.
323
+ *
324
+ * @param request - AuthorizeUsersForAppRequest
325
+ * @returns AuthorizeUsersForAppResponse
326
+ */
327
+ async authorizeUsersForApp(request) {
328
+ let runtime = new $dara.RuntimeOptions({});
329
+ return await this.authorizeUsersForAppWithOptions(request, runtime);
330
+ }
237
331
  /**
238
332
  * Creates LLM templates in batches.
239
333
  *
@@ -464,8 +558,8 @@ class Client extends openapi_core_1.default {
464
558
  * Creates a delivery group.
465
559
  *
466
560
  * @remarks
467
- * Make sure that you are familiar with the [billing methods and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp before you call this operation.
468
- * A delivery group is a logical grouping for delivering cloud applications to end users. It includes underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
561
+ * Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp.
562
+ * A delivery group is a logical grouping for delivering cloud applications to end users. It includes the underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
469
563
  *
470
564
  * @param tmpReq - CreateAppInstanceGroupRequest
471
565
  * @param runtime - runtime options for this request RuntimeOptions
@@ -606,8 +700,8 @@ class Client extends openapi_core_1.default {
606
700
  * Creates a delivery group.
607
701
  *
608
702
  * @remarks
609
- * Make sure that you are familiar with the [billing methods and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp before you call this operation.
610
- * A delivery group is a logical grouping for delivering cloud applications to end users. It includes underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
703
+ * Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING CloudApp.
704
+ * A delivery group is a logical grouping for delivering cloud applications to end users. It includes the underlying cloud application resources, images that contain cloud applications, resource management policies, and user allocation settings. For details, see [Publish a delivery group](https://help.aliyun.com/document_detail/426046.html).
611
705
  *
612
706
  * @param request - CreateAppInstanceGroupRequest
613
707
  * @returns CreateAppInstanceGroupResponse
@@ -617,7 +711,192 @@ class Client extends openapi_core_1.default {
617
711
  return await this.createAppInstanceGroupWithOptions(request, runtime);
618
712
  }
619
713
  /**
620
- * Creates a custom image from a deployed WUYING instance to quickly create more instances with the same configuration, avoiding repetitive environment setup each time.
714
+ * Creates a cloud browser group that is billed by monthly active users (MAU).
715
+ *
716
+ * @remarks
717
+ * ## Before you begin
718
+ * - Prepare an available office network, image, and instance type in the target business region. Make sure that the account has the required browser configurations and resource quotas.
719
+ * - Specify `CloudBrowserName` and `BizRegionId`. Set `OsType` to `Windows`.
720
+ * - Authorized users must be created in advance and must match the account type. Authorized user groups must belong to the current account and match the account type of the office network.
721
+ * - **`Users` and `UserGroupIds` cannot both be non-empty.**
722
+ * ## MAU billing parameters
723
+ * - Set `ChargeType` to `PostPaid`.
724
+ * - **Set `SubPayType` to `mau` explicitly. Omitting this field does not enable MAU billing.**
725
+ * - Set `ChargeResourceMode` to `AppInstance`.
726
+ * - Do not specify `Period`, `PeriodUnit`, `AppPackageType`, `AutoPay`, `AutoRenew`, or `NodePool`.
727
+ * ## Post-call processing
728
+ * **A successful response does not indicate that the browser resources are ready.** After creation, query the browser group status and confirm that the group is connectable before use.
729
+ * This operation creates a new cloud browser group. You do not need to create a delivery group in advance.
730
+ * ## Example description
731
+ * The example values of fields are provided to demonstrate how to specify the fields. Replace resource identifiers with actual values under your account. Capacity examples do not represent default values or upper limits.
732
+ * An example value of `-` indicates that the field does not need to be specified. Omit the corresponding parameter when you call the operation. Do not pass the character `-`.
733
+ *
734
+ * @param tmpReq - CreateBrowserInstanceGroupRequest
735
+ * @param runtime - runtime options for this request RuntimeOptions
736
+ * @returns CreateBrowserInstanceGroupResponse
737
+ */
738
+ async createBrowserInstanceGroupWithOptions(tmpReq, runtime) {
739
+ tmpReq.validate();
740
+ let request = new $_model.CreateBrowserInstanceGroupShrinkRequest({});
741
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
742
+ if (!$dara.isNull(tmpReq.browserConfig)) {
743
+ request.browserConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.browserConfig, "BrowserConfig", "json");
744
+ }
745
+ if (!$dara.isNull(tmpReq.network)) {
746
+ request.networkShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.network, "Network", "json");
747
+ }
748
+ if (!$dara.isNull(tmpReq.nodePool)) {
749
+ request.nodePoolShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.nodePool, "NodePool", "json");
750
+ }
751
+ if (!$dara.isNull(tmpReq.policy)) {
752
+ request.policyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.policy, "Policy", "json");
753
+ }
754
+ if (!$dara.isNull(tmpReq.securityPolicy)) {
755
+ request.securityPolicyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.securityPolicy, "SecurityPolicy", "json");
756
+ }
757
+ if (!$dara.isNull(tmpReq.storagePolicy)) {
758
+ request.storagePolicyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.storagePolicy, "StoragePolicy", "json");
759
+ }
760
+ if (!$dara.isNull(tmpReq.tag)) {
761
+ request.tagShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tag, "Tag", "json");
762
+ }
763
+ if (!$dara.isNull(tmpReq.timers)) {
764
+ request.timersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.timers, "Timers", "json");
765
+ }
766
+ if (!$dara.isNull(tmpReq.userInfo)) {
767
+ request.userInfoShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userInfo, "UserInfo", "json");
768
+ }
769
+ if (!$dara.isNull(tmpReq.users)) {
770
+ request.usersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.users, "Users", "json");
771
+ }
772
+ let body = {};
773
+ if (!$dara.isNull(request.appPackageType)) {
774
+ body["AppPackageType"] = request.appPackageType;
775
+ }
776
+ if (!$dara.isNull(request.authNotificationEnabled)) {
777
+ body["AuthNotificationEnabled"] = request.authNotificationEnabled;
778
+ }
779
+ if (!$dara.isNull(request.autoPay)) {
780
+ body["AutoPay"] = request.autoPay;
781
+ }
782
+ if (!$dara.isNull(request.autoRenew)) {
783
+ body["AutoRenew"] = request.autoRenew;
784
+ }
785
+ if (!$dara.isNull(request.bizRegionId)) {
786
+ body["BizRegionId"] = request.bizRegionId;
787
+ }
788
+ if (!$dara.isNull(request.browserConfigShrink)) {
789
+ body["BrowserConfig"] = request.browserConfigShrink;
790
+ }
791
+ if (!$dara.isNull(request.chargeResourceMode)) {
792
+ body["ChargeResourceMode"] = request.chargeResourceMode;
793
+ }
794
+ if (!$dara.isNull(request.chargeType)) {
795
+ body["ChargeType"] = request.chargeType;
796
+ }
797
+ if (!$dara.isNull(request.cloudBrowserName)) {
798
+ body["CloudBrowserName"] = request.cloudBrowserName;
799
+ }
800
+ if (!$dara.isNull(request.imageId)) {
801
+ body["ImageId"] = request.imageId;
802
+ }
803
+ if (!$dara.isNull(request.instanceType)) {
804
+ body["InstanceType"] = request.instanceType;
805
+ }
806
+ if (!$dara.isNull(request.maxAmount)) {
807
+ body["MaxAmount"] = request.maxAmount;
808
+ }
809
+ if (!$dara.isNull(request.networkShrink)) {
810
+ body["Network"] = request.networkShrink;
811
+ }
812
+ if (!$dara.isNull(request.nodePoolShrink)) {
813
+ body["NodePool"] = request.nodePoolShrink;
814
+ }
815
+ if (!$dara.isNull(request.osType)) {
816
+ body["OsType"] = request.osType;
817
+ }
818
+ if (!$dara.isNull(request.period)) {
819
+ body["Period"] = request.period;
820
+ }
821
+ if (!$dara.isNull(request.periodUnit)) {
822
+ body["PeriodUnit"] = request.periodUnit;
823
+ }
824
+ if (!$dara.isNull(request.policyShrink)) {
825
+ body["Policy"] = request.policyShrink;
826
+ }
827
+ if (!$dara.isNull(request.promotionId)) {
828
+ body["PromotionId"] = request.promotionId;
829
+ }
830
+ if (!$dara.isNull(request.securityPolicyShrink)) {
831
+ body["SecurityPolicy"] = request.securityPolicyShrink;
832
+ }
833
+ if (!$dara.isNull(request.storagePolicyShrink)) {
834
+ body["StoragePolicy"] = request.storagePolicyShrink;
835
+ }
836
+ if (!$dara.isNull(request.subPayType)) {
837
+ body["SubPayType"] = request.subPayType;
838
+ }
839
+ if (!$dara.isNull(request.tagShrink)) {
840
+ body["Tag"] = request.tagShrink;
841
+ }
842
+ if (!$dara.isNull(request.timersShrink)) {
843
+ body["Timers"] = request.timersShrink;
844
+ }
845
+ if (!$dara.isNull(request.userGroupIds)) {
846
+ body["UserGroupIds"] = request.userGroupIds;
847
+ }
848
+ if (!$dara.isNull(request.userInfoShrink)) {
849
+ body["UserInfo"] = request.userInfoShrink;
850
+ }
851
+ if (!$dara.isNull(request.usersShrink)) {
852
+ body["Users"] = request.usersShrink;
853
+ }
854
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
855
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
856
+ });
857
+ let params = new openapi_core_2.$OpenApiUtil.Params({
858
+ action: "CreateBrowserInstanceGroup",
859
+ version: "2021-09-01",
860
+ protocol: "HTTPS",
861
+ pathname: "/",
862
+ method: "POST",
863
+ authType: "AK",
864
+ style: "RPC",
865
+ reqBodyType: "formData",
866
+ bodyType: "json",
867
+ });
868
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateBrowserInstanceGroupResponse({}));
869
+ }
870
+ /**
871
+ * Creates a cloud browser group that is billed by monthly active users (MAU).
872
+ *
873
+ * @remarks
874
+ * ## Before you begin
875
+ * - Prepare an available office network, image, and instance type in the target business region. Make sure that the account has the required browser configurations and resource quotas.
876
+ * - Specify `CloudBrowserName` and `BizRegionId`. Set `OsType` to `Windows`.
877
+ * - Authorized users must be created in advance and must match the account type. Authorized user groups must belong to the current account and match the account type of the office network.
878
+ * - **`Users` and `UserGroupIds` cannot both be non-empty.**
879
+ * ## MAU billing parameters
880
+ * - Set `ChargeType` to `PostPaid`.
881
+ * - **Set `SubPayType` to `mau` explicitly. Omitting this field does not enable MAU billing.**
882
+ * - Set `ChargeResourceMode` to `AppInstance`.
883
+ * - Do not specify `Period`, `PeriodUnit`, `AppPackageType`, `AutoPay`, `AutoRenew`, or `NodePool`.
884
+ * ## Post-call processing
885
+ * **A successful response does not indicate that the browser resources are ready.** After creation, query the browser group status and confirm that the group is connectable before use.
886
+ * This operation creates a new cloud browser group. You do not need to create a delivery group in advance.
887
+ * ## Example description
888
+ * The example values of fields are provided to demonstrate how to specify the fields. Replace resource identifiers with actual values under your account. Capacity examples do not represent default values or upper limits.
889
+ * An example value of `-` indicates that the field does not need to be specified. Omit the corresponding parameter when you call the operation. Do not pass the character `-`.
890
+ *
891
+ * @param request - CreateBrowserInstanceGroupRequest
892
+ * @returns CreateBrowserInstanceGroupResponse
893
+ */
894
+ async createBrowserInstanceGroup(request) {
895
+ let runtime = new $dara.RuntimeOptions({});
896
+ return await this.createBrowserInstanceGroupWithOptions(request, runtime);
897
+ }
898
+ /**
899
+ * Creates a custom image from a deployed WUYING instance. You can use the custom image to quickly create more WUYING instances with the same configurations, without having to repeatedly configure the instance environment each time.
621
900
  *
622
901
  * @param request - CreateImageByInstanceRequest
623
902
  * @param runtime - runtime options for this request RuntimeOptions
@@ -678,7 +957,7 @@ class Client extends openapi_core_1.default {
678
957
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateImageByInstanceResponse({}));
679
958
  }
680
959
  /**
681
- * Creates a custom image from a deployed WUYING instance to quickly create more instances with the same configuration, avoiding repetitive environment setup each time.
960
+ * Creates a custom image from a deployed WUYING instance. You can use the custom image to quickly create more WUYING instances with the same configurations, without having to repeatedly configure the instance environment each time.
682
961
  *
683
962
  * @param request - CreateImageByInstanceRequest
684
963
  * @returns CreateImageByInstanceResponse
@@ -807,11 +1086,11 @@ class Client extends openapi_core_1.default {
807
1086
  return await this.createModelProviderTemplateWithOptions(request, runtime);
808
1087
  }
809
1088
  /**
810
- * Creates a model creation template.
1089
+ * Creates a model template.
811
1090
  *
812
1091
  * @remarks
813
- * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
814
- * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
1092
+ * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After model creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
1093
+ * Make sure that you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
815
1094
  *
816
1095
  * @param request - CreateModelTemplateRequest
817
1096
  * @param runtime - runtime options for this request RuntimeOptions
@@ -855,11 +1134,11 @@ class Client extends openapi_core_1.default {
855
1134
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelTemplateResponse({}));
856
1135
  }
857
1136
  /**
858
- * Creates a model creation template.
1137
+ * Creates a model template.
859
1138
  *
860
1139
  * @remarks
861
- * You can create a model group in the WUYING Agent Management Center to manage the model providers and model scope that an Agent can invoke. After creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
862
- * Make sure that you are familiar with the operations and usage of the WUYING Agent Management Center before invoking this operation.
1140
+ * You can create a model group in the Wuying Agent Management Center to manage the model providers and model scope that an Agent can invoke. After model creation, you can attach the model group to a cloud computer as the inference engine configuration for Agent task execution.
1141
+ * Make sure that you are familiar with the operations and usage of the Wuying Agent Management Center before invoking this operation.
863
1142
  *
864
1143
  * @param request - CreateModelTemplateRequest
865
1144
  * @returns CreateModelTemplateResponse
@@ -873,7 +1152,7 @@ class Client extends openapi_core_1.default {
873
1152
  *
874
1153
  * @remarks
875
1154
  * 1. A project corresponds to the resource configuration module in the CloudFlow console.
876
- * 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> for binding.
1155
+ * 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> and bindss it at the same time.
877
1156
  * 3. This operation succeeds only when the default version of the Content is in an available state.
878
1157
  *
879
1158
  * @param request - CreateWuyingServerRequest
@@ -905,6 +1184,12 @@ class Client extends openapi_core_1.default {
905
1184
  if (!$dara.isNull(request.dataDisk)) {
906
1185
  bodyFlat["DataDisk"] = request.dataDisk;
907
1186
  }
1187
+ if (!$dara.isNull(request.erdmaEnabled)) {
1188
+ body["ErdmaEnabled"] = request.erdmaEnabled;
1189
+ }
1190
+ if (!$dara.isNull(request.gpuDriverVersion)) {
1191
+ body["GpuDriverVersion"] = request.gpuDriverVersion;
1192
+ }
908
1193
  if (!$dara.isNull(request.hostName)) {
909
1194
  body["HostName"] = request.hostName;
910
1195
  }
@@ -987,7 +1272,7 @@ class Client extends openapi_core_1.default {
987
1272
  *
988
1273
  * @remarks
989
1274
  * 1. A project corresponds to the resource configuration module in the CloudFlow console.
990
- * 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> for binding.
1275
+ * 2. When the ContentId input parameter has multiple versions, this API <notice>uses the default version</notice> and bindss it at the same time.
991
1276
  * 3. This operation succeeds only when the default version of the Content is in an available state.
992
1277
  *
993
1278
  * @param request - CreateWuyingServerRequest
@@ -1102,8 +1387,8 @@ class Client extends openapi_core_1.default {
1102
1387
  * @remarks
1103
1388
  * - You can delete only custom images that belong to your account.
1104
1389
  * - For images associated with WUYING Cloud Computer Pool, WUYING Cloud Application, or WUYING Workspace product lines, ensure that no WUYING instances are using the image before you delete it.
1105
- * - If a WUYING Cloud Desktop template references the image, the template is also deleted when the image is deleted.
1106
- * - For images that span multiple regions, deleting the image removes it from all regions.
1390
+ * - If a WUYING Cloud Desktop template references an image, the template is also deleted when the image is deleted.
1391
+ * - For images that span multiple regions, deleting the image removes the image from all regions.
1107
1392
  *
1108
1393
  * @param request - DeleteImageRequest
1109
1394
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1137,8 +1422,8 @@ class Client extends openapi_core_1.default {
1137
1422
  * @remarks
1138
1423
  * - You can delete only custom images that belong to your account.
1139
1424
  * - For images associated with WUYING Cloud Computer Pool, WUYING Cloud Application, or WUYING Workspace product lines, ensure that no WUYING instances are using the image before you delete it.
1140
- * - If a WUYING Cloud Desktop template references the image, the template is also deleted when the image is deleted.
1141
- * - For images that span multiple regions, deleting the image removes it from all regions.
1425
+ * - If a WUYING Cloud Desktop template references an image, the template is also deleted when the image is deleted.
1426
+ * - For images that span multiple regions, deleting the image removes the image from all regions.
1142
1427
  *
1143
1428
  * @param request - DeleteImageRequest
1144
1429
  * @returns DeleteImageResponse
@@ -1390,7 +1675,7 @@ class Client extends openapi_core_1.default {
1390
1675
  return await this.deliverToUserSlsWithOptions(request, runtime);
1391
1676
  }
1392
1677
  /**
1393
- * Queries the details of a development workstation.
1678
+ * Queries the details of a development host.
1394
1679
  *
1395
1680
  * @param request - DescribeWuyingServerRequest
1396
1681
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1419,7 +1704,7 @@ class Client extends openapi_core_1.default {
1419
1704
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeWuyingServerResponse({}));
1420
1705
  }
1421
1706
  /**
1422
- * Queries the details of a development workstation.
1707
+ * Queries the details of a development host.
1423
1708
  *
1424
1709
  * @param request - DescribeWuyingServerRequest
1425
1710
  * @returns DescribeWuyingServerResponse
@@ -1513,12 +1798,76 @@ class Client extends openapi_core_1.default {
1513
1798
  return await this.getAppInstanceGroupWithOptions(request, runtime);
1514
1799
  }
1515
1800
  /**
1516
- * Retrieves connection credentials for a cloud application.
1801
+ * Queries the configuration, status, and authorization statistics of a specified cloud browser group.
1802
+ *
1803
+ * @remarks
1804
+ * This topic describes the query usage for the monthly active user (MAU) billing scenario.
1805
+ * ## Before you begin
1806
+ * Obtain the cloud browser group ID under the current account. Call `ListBrowserInstanceGroup` to retrieve the ID.
1807
+ * ## Response
1808
+ * The response includes the current configuration, status, and authorization statistics of the browser group. The details return up to 20 bookmarks and 20 website access entries. To retrieve the complete lists, call `ListBrowserBookmarks` and `ListBrowserRestrictedURLs`.
1809
+ * ## What to do next
1810
+ * This operation only queries configurations and does not modify resources. After you read the returned status, perform the connection or management operation that corresponds to the status.
1811
+ * ## Example description
1812
+ * The `-` value in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual string returned by the operation. Sample resource IDs are masked. Use the actual query results when you call this operation.
1813
+ *
1814
+ * @param request - GetBrowserInstanceGroupRequest
1815
+ * @param runtime - runtime options for this request RuntimeOptions
1816
+ * @returns GetBrowserInstanceGroupResponse
1817
+ */
1818
+ async getBrowserInstanceGroupWithOptions(request, runtime) {
1819
+ request.validate();
1820
+ let query = openapi_core_2.OpenApiUtil.query(request.toMap());
1821
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1822
+ query: openapi_core_2.OpenApiUtil.query(query),
1823
+ });
1824
+ let params = new openapi_core_2.$OpenApiUtil.Params({
1825
+ action: "GetBrowserInstanceGroup",
1826
+ version: "2021-09-01",
1827
+ protocol: "HTTPS",
1828
+ pathname: "/",
1829
+ method: "GET",
1830
+ authType: "AK",
1831
+ style: "RPC",
1832
+ reqBodyType: "formData",
1833
+ bodyType: "json",
1834
+ });
1835
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetBrowserInstanceGroupResponse({}));
1836
+ }
1837
+ /**
1838
+ * Queries the configuration, status, and authorization statistics of a specified cloud browser group.
1839
+ *
1840
+ * @remarks
1841
+ * This topic describes the query usage for the monthly active user (MAU) billing scenario.
1842
+ * ## Before you begin
1843
+ * Obtain the cloud browser group ID under the current account. Call `ListBrowserInstanceGroup` to retrieve the ID.
1844
+ * ## Response
1845
+ * The response includes the current configuration, status, and authorization statistics of the browser group. The details return up to 20 bookmarks and 20 website access entries. To retrieve the complete lists, call `ListBrowserBookmarks` and `ListBrowserRestrictedURLs`.
1846
+ * ## What to do next
1847
+ * This operation only queries configurations and does not modify resources. After you read the returned status, perform the connection or management operation that corresponds to the status.
1848
+ * ## Example description
1849
+ * The `-` value in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual string returned by the operation. Sample resource IDs are masked. Use the actual query results when you call this operation.
1850
+ *
1851
+ * @param request - GetBrowserInstanceGroupRequest
1852
+ * @returns GetBrowserInstanceGroupResponse
1853
+ */
1854
+ async getBrowserInstanceGroup(request) {
1855
+ let runtime = new $dara.RuntimeOptions({});
1856
+ return await this.getBrowserInstanceGroupWithOptions(request, runtime);
1857
+ }
1858
+ /**
1859
+ * Retrieves the connection credential for a cloud application.
1517
1860
  *
1518
1861
  * @remarks
1519
- * This operation requires multiple calls (at least two) to obtain the connection credentials.
1520
- * On the first call, an application instance is allocated to the specified convenience account and the application is started. A startup task ID (`TaskID`) is returned.
1521
- * On subsequent calls, pass the `TaskID` request parameter to query whether the task is complete. When the returned task status (`TaskStatus`) is completed (`Finished`), the connection credentials (`Ticket`) are also returned.
1862
+ * Call protocol description: operation_type: polling, required_steps: 1.
1863
+ * This operation may require multiple calls (at least one) to obtain the connection credential.
1864
+ * On the first call, an application instance is allocated to the specified convenience account and the application is started. If a Ticket is returned, the result is obtained synchronously. If a startup task ID (`TaskId`) is returned, subsequent calls are required.
1865
+ * On subsequent calls, include the `TaskId` request parameter to invoke the operation and query whether the node is complete. When the returned node status (`TaskStatus`) is completed (`Finished`), the connection credential (`Ticket`) is also returned.
1866
+ * > Prerequisites
1867
+ * > - Before calling this operation, make sure that you have created a delivery group and authorized users for the delivery group:
1868
+ * > - 1. The API for creating a delivery group is CreateAppInstanceGroup. For more information about the parameters, see the corresponding API documentation.
1869
+ * > - 2. You can call the ListAppInstanceGroup operation to query the list of delivery groups. If the corresponding delivery group is not found, verify that the delivery group has been created and that the authentication credentials belong to the correct tenant.
1870
+ * > - 3. The API for authorizing users for a delivery group is AuthorizeInstanceGroup. For more information about the parameters, see the corresponding API documentation.
1522
1871
  *
1523
1872
  * @param request - GetConnectionTicketRequest
1524
1873
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1536,6 +1885,9 @@ class Client extends openapi_core_1.default {
1536
1885
  if (!$dara.isNull(request.appInstanceGroupIdList)) {
1537
1886
  body["AppInstanceGroupIdList"] = request.appInstanceGroupIdList;
1538
1887
  }
1888
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
1889
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
1890
+ }
1539
1891
  if (!$dara.isNull(request.appInstanceId)) {
1540
1892
  body["AppInstanceId"] = request.appInstanceId;
1541
1893
  }
@@ -1583,12 +1935,18 @@ class Client extends openapi_core_1.default {
1583
1935
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConnectionTicketResponse({}));
1584
1936
  }
1585
1937
  /**
1586
- * Retrieves connection credentials for a cloud application.
1938
+ * Retrieves the connection credential for a cloud application.
1587
1939
  *
1588
1940
  * @remarks
1589
- * This operation requires multiple calls (at least two) to obtain the connection credentials.
1590
- * On the first call, an application instance is allocated to the specified convenience account and the application is started. A startup task ID (`TaskID`) is returned.
1591
- * On subsequent calls, pass the `TaskID` request parameter to query whether the task is complete. When the returned task status (`TaskStatus`) is completed (`Finished`), the connection credentials (`Ticket`) are also returned.
1941
+ * Call protocol description: operation_type: polling, required_steps: 1.
1942
+ * This operation may require multiple calls (at least one) to obtain the connection credential.
1943
+ * On the first call, an application instance is allocated to the specified convenience account and the application is started. If a Ticket is returned, the result is obtained synchronously. If a startup task ID (`TaskId`) is returned, subsequent calls are required.
1944
+ * On subsequent calls, include the `TaskId` request parameter to invoke the operation and query whether the node is complete. When the returned node status (`TaskStatus`) is completed (`Finished`), the connection credential (`Ticket`) is also returned.
1945
+ * > Prerequisites
1946
+ * > - Before calling this operation, make sure that you have created a delivery group and authorized users for the delivery group:
1947
+ * > - 1. The API for creating a delivery group is CreateAppInstanceGroup. For more information about the parameters, see the corresponding API documentation.
1948
+ * > - 2. You can call the ListAppInstanceGroup operation to query the list of delivery groups. If the corresponding delivery group is not found, verify that the delivery group has been created and that the authentication credentials belong to the correct tenant.
1949
+ * > - 3. The API for authorizing users for a delivery group is AuthorizeInstanceGroup. For more information about the parameters, see the corresponding API documentation.
1592
1950
  *
1593
1951
  * @param request - GetConnectionTicketRequest
1594
1952
  * @returns GetConnectionTicketResponse
@@ -1941,7 +2299,7 @@ class Client extends openapi_core_1.default {
1941
2299
  * Queries the model configuration details of a cloud computer.
1942
2300
  *
1943
2301
  * @remarks
1944
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
2302
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After you enable the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1945
2303
  *
1946
2304
  * @param request - GetRuntimeModelConfigRequest
1947
2305
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1985,7 +2343,7 @@ class Client extends openapi_core_1.default {
1985
2343
  * Queries the model configuration details of a cloud computer.
1986
2344
  *
1987
2345
  * @remarks
1988
- * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After enabling the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
2346
+ * You can query the model configuration details currently bound to a specified cloud computer in the Wuying Agent Management Center, including model groups, model provider lists, and associated model information. After you enable the risk information mode, you can also identify differences between the end user\\"s actual configuration and the configuration delivered by the administrator.
1989
2347
  *
1990
2348
  * @param request - GetRuntimeModelConfigRequest
1991
2349
  * @returns GetRuntimeModelConfigResponse
@@ -1995,7 +2353,7 @@ class Client extends openapi_core_1.default {
1995
2353
  return await this.getRuntimeModelConfigWithOptions(request, runtime);
1996
2354
  }
1997
2355
  /**
1998
- * Queries the details of multiple delivery groups that meet specified conditions, without specifying a particular delivery group.
2356
+ * Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
1999
2357
  *
2000
2358
  * @param request - ListAppInstanceGroupRequest
2001
2359
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2065,7 +2423,7 @@ class Client extends openapi_core_1.default {
2065
2423
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstanceGroupResponse({}));
2066
2424
  }
2067
2425
  /**
2068
- * Queries the details of multiple delivery groups that meet specified conditions, without specifying a particular delivery group.
2426
+ * Queries the details of multiple delivery groups. This operation queries all delivery groups that meet the specified conditions instead of a specific delivery group.
2069
2427
  *
2070
2428
  * @param request - ListAppInstanceGroupRequest
2071
2429
  * @returns ListAppInstanceGroupResponse
@@ -2075,7 +2433,7 @@ class Client extends openapi_core_1.default {
2075
2433
  return await this.listAppInstanceGroupWithOptions(request, runtime);
2076
2434
  }
2077
2435
  /**
2078
- * Queries the details of session instances in a delivery group, including instance ID, instance status, creation time, update time, session status, and public IP address of the primary network interface.
2436
+ * Queries the details of session instances in a delivery group, including instance IDs, instance statuses, creation time, update time, session statuses, and public IP addresses of primary network interface controllers (NICs).
2079
2437
  *
2080
2438
  * @param request - ListAppInstancesRequest
2081
2439
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2127,7 +2485,7 @@ class Client extends openapi_core_1.default {
2127
2485
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppInstancesResponse({}));
2128
2486
  }
2129
2487
  /**
2130
- * Queries the details of session instances in a delivery group, including instance ID, instance status, creation time, update time, session status, and public IP address of the primary network interface.
2488
+ * Queries the details of session instances in a delivery group, including instance IDs, instance statuses, creation time, update time, session statuses, and public IP addresses of primary network interface controllers (NICs).
2131
2489
  *
2132
2490
  * @param request - ListAppInstancesRequest
2133
2491
  * @returns ListAppInstancesResponse
@@ -2136,6 +2494,274 @@ class Client extends openapi_core_1.default {
2136
2494
  let runtime = new $dara.RuntimeOptions({});
2137
2495
  return await this.listAppInstancesWithOptions(request, runtime);
2138
2496
  }
2497
+ /**
2498
+ * Queries the deployed applications in the image used by a specified delivery group with paging and returns the number of users with per-application authorization for each application.
2499
+ *
2500
+ * @remarks
2501
+ * ## Operation description
2502
+ * This operation returns the list of deployed applications in the application image used by a specified delivery group, including the application ID, name, version, icon, and the number of users currently **authorized by application** for each application (AuthorizedUserCount).
2503
+ * The returned AppId is the input for per-application authorization: when you call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to add or remove authorized users for a specified application in a delivery group, pass in the AppId returned by this operation.
2504
+ * ## Before you begin
2505
+ * - The delivery group is created, and **ProductType matches the product type of the delivery group**. If the delivery group does not exist or the product type does not match, the error code `InvalidAppInstanceGroup.NotFound` is returned.
2506
+ * ## Parameter description
2507
+ * - **AppInstanceGroupId is required**. This parameter is marked as optional in the parameter table, but the error code `InvalidParameter.AppInstanceGroupId` is returned if it is not specified.
2508
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100. If the values are invalid, the error codes `InvalidParameter.PageNumber` and `InvalidParameter.PageSize` are returned respectively.
2509
+ * - If no applications are deployed in the delivery group image, the operation returns normally: Apps is an empty list and TotalCount is 0.
2510
+ * ## Call sequence
2511
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID (AppInstanceGroupId).
2512
+ * 2. Call this operation to obtain the list of deployed applications in the delivery group and the AppId of each application.
2513
+ * 3. To authorize by application, call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation with the returned AppId.
2514
+ *
2515
+ * @param request - ListAppsByAppInstanceGroupIdRequest
2516
+ * @param runtime - runtime options for this request RuntimeOptions
2517
+ * @returns ListAppsByAppInstanceGroupIdResponse
2518
+ */
2519
+ async listAppsByAppInstanceGroupIdWithOptions(request, runtime) {
2520
+ request.validate();
2521
+ let query = {};
2522
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2523
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
2524
+ }
2525
+ if (!$dara.isNull(request.pageNumber)) {
2526
+ query["PageNumber"] = request.pageNumber;
2527
+ }
2528
+ if (!$dara.isNull(request.pageSize)) {
2529
+ query["PageSize"] = request.pageSize;
2530
+ }
2531
+ if (!$dara.isNull(request.productType)) {
2532
+ query["ProductType"] = request.productType;
2533
+ }
2534
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2535
+ query: openapi_core_2.OpenApiUtil.query(query),
2536
+ });
2537
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2538
+ action: "ListAppsByAppInstanceGroupId",
2539
+ version: "2021-09-01",
2540
+ protocol: "HTTPS",
2541
+ pathname: "/",
2542
+ method: "POST",
2543
+ authType: "AK",
2544
+ style: "RPC",
2545
+ reqBodyType: "formData",
2546
+ bodyType: "json",
2547
+ });
2548
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAppsByAppInstanceGroupIdResponse({}));
2549
+ }
2550
+ /**
2551
+ * Queries the deployed applications in the image used by a specified delivery group with paging and returns the number of users with per-application authorization for each application.
2552
+ *
2553
+ * @remarks
2554
+ * ## Operation description
2555
+ * This operation returns the list of deployed applications in the application image used by a specified delivery group, including the application ID, name, version, icon, and the number of users currently **authorized by application** for each application (AuthorizedUserCount).
2556
+ * The returned AppId is the input for per-application authorization: when you call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to add or remove authorized users for a specified application in a delivery group, pass in the AppId returned by this operation.
2557
+ * ## Before you begin
2558
+ * - The delivery group is created, and **ProductType matches the product type of the delivery group**. If the delivery group does not exist or the product type does not match, the error code `InvalidAppInstanceGroup.NotFound` is returned.
2559
+ * ## Parameter description
2560
+ * - **AppInstanceGroupId is required**. This parameter is marked as optional in the parameter table, but the error code `InvalidParameter.AppInstanceGroupId` is returned if it is not specified.
2561
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100. If the values are invalid, the error codes `InvalidParameter.PageNumber` and `InvalidParameter.PageSize` are returned respectively.
2562
+ * - If no applications are deployed in the delivery group image, the operation returns normally: Apps is an empty list and TotalCount is 0.
2563
+ * ## Call sequence
2564
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID (AppInstanceGroupId).
2565
+ * 2. Call this operation to obtain the list of deployed applications in the delivery group and the AppId of each application.
2566
+ * 3. To authorize by application, call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation with the returned AppId.
2567
+ *
2568
+ * @param request - ListAppsByAppInstanceGroupIdRequest
2569
+ * @returns ListAppsByAppInstanceGroupIdResponse
2570
+ */
2571
+ async listAppsByAppInstanceGroupId(request) {
2572
+ let runtime = new $dara.RuntimeOptions({});
2573
+ return await this.listAppsByAppInstanceGroupIdWithOptions(request, runtime);
2574
+ }
2575
+ /**
2576
+ * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
2577
+ *
2578
+ * @remarks
2579
+ * ## Operation description
2580
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
2581
+ * Scope of returned results:
2582
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2583
+ * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
2584
+ * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
2585
+ * ## Before you begin
2586
+ * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2587
+ * ## Parameter description
2588
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
2589
+ * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
2590
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2591
+ * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
2592
+ * ## Call sequence
2593
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2594
+ * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2595
+ * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
2596
+ *
2597
+ * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2598
+ * @param runtime - runtime options for this request RuntimeOptions
2599
+ * @returns ListAuthorizedAppInstanceGroupByUserResponse
2600
+ */
2601
+ async listAuthorizedAppInstanceGroupByUserWithOptions(request, runtime) {
2602
+ request.validate();
2603
+ let query = {};
2604
+ if (!$dara.isNull(request.appId)) {
2605
+ query["AppId"] = request.appId;
2606
+ }
2607
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2608
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
2609
+ }
2610
+ if (!$dara.isNull(request.appInstanceGroupName)) {
2611
+ query["AppInstanceGroupName"] = request.appInstanceGroupName;
2612
+ }
2613
+ if (!$dara.isNull(request.appName)) {
2614
+ query["AppName"] = request.appName;
2615
+ }
2616
+ if (!$dara.isNull(request.endUserId)) {
2617
+ query["EndUserId"] = request.endUserId;
2618
+ }
2619
+ if (!$dara.isNull(request.pageNumber)) {
2620
+ query["PageNumber"] = request.pageNumber;
2621
+ }
2622
+ if (!$dara.isNull(request.pageSize)) {
2623
+ query["PageSize"] = request.pageSize;
2624
+ }
2625
+ if (!$dara.isNull(request.productType)) {
2626
+ query["ProductType"] = request.productType;
2627
+ }
2628
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2629
+ query: openapi_core_2.OpenApiUtil.query(query),
2630
+ });
2631
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2632
+ action: "ListAuthorizedAppInstanceGroupByUser",
2633
+ version: "2021-09-01",
2634
+ protocol: "HTTPS",
2635
+ pathname: "/",
2636
+ method: "POST",
2637
+ authType: "AK",
2638
+ style: "RPC",
2639
+ reqBodyType: "formData",
2640
+ bodyType: "json",
2641
+ });
2642
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppInstanceGroupByUserResponse({}));
2643
+ }
2644
+ /**
2645
+ * Queries the delivery groups for which a specified user has obtained access permissions through delivery group-level authorization by paging, with support for fuzzy filtering by delivery group ID, delivery group name, application ID, or application name.
2646
+ *
2647
+ * @remarks
2648
+ * ## Operation description
2649
+ * This operation queries the list of delivery groups for which a specified user (EndUserId) has been granted **delivery group-level authorization**. The response includes basic information about each delivery group (ID, name, status, region, creation time, expiration time, and more) and the list of applications deployed in the delivery group.
2650
+ * Scope of returned results:
2651
+ * - Only delivery groups that are authorized to the user as a whole through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are returned. Records authorized on a per-application basis through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation are not included.
2652
+ * - Only delivery groups whose product type matches the ProductType parameter and that have not been deleted are returned. A delivery group is not returned if its image contains no deployed applications.
2653
+ * - Results are sorted in reverse chronological order by the update time of the authorization record. The most recently authorized or modified delivery groups appear first.
2654
+ * ## Before you begin
2655
+ * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2656
+ * ## Parameter description
2657
+ * - **ProductType and EndUserId are required**. If ProductType is not specified, the error code `InvalidParameter.ProductType` is returned. If EndUserId is not specified, the error code `InvalidParameter.UserId` is returned.
2658
+ * - EndUserId performs an **exact match** on the username. AppInstanceGroupId, AppInstanceGroupName, AppId, and AppName all perform **fuzzy matching** (a hit occurs if the value is contained). When multiple filter conditions are specified, all conditions must be met simultaneously.
2659
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2660
+ * - If the user has no authorized delivery groups that match the conditions, the operation returns normally: AppInstanceGroupModels is an empty list and TotalCount is 0.
2661
+ * ## Call sequence
2662
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID, and then call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2663
+ * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2664
+ * 3. To obtain an application connection ticket for the user, call the [GetConnectionTicket](~~GetConnectionTicket~~) operation with the AppInstanceGroupId and the AppId from the Apps list in the response.
2665
+ *
2666
+ * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2667
+ * @returns ListAuthorizedAppInstanceGroupByUserResponse
2668
+ */
2669
+ async listAuthorizedAppInstanceGroupByUser(request) {
2670
+ let runtime = new $dara.RuntimeOptions({});
2671
+ return await this.listAuthorizedAppInstanceGroupByUserWithOptions(request, runtime);
2672
+ }
2673
+ /**
2674
+ * Queries the applications for which a specified user has obtained access permissions through per-application authorization by paging. You can filter results by delivery group ID, delivery group name, application ID, or application name using fuzzy match.
2675
+ *
2676
+ * @remarks
2677
+ * ## Operation description
2678
+ * This operation queries the applications that a specified user is authorized to access at the application granularity. **Only records authorized at the application level are returned** (for example, authorizations completed through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation). Authorizations granted to an entire delivery group through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are not included in the response.
2679
+ * The results are deduplicated by the combination of delivery group and application. Each record corresponds to one application within one delivery group.
2680
+ * ## Before you begin
2681
+ * - The user must already exist under the current account. If the user does not exist, the error code `User.NotFound` is returned. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the username.
2682
+ * - The delivery group that contains the application must already be created, and the application must have been authorized to the user at the application level. If no per-application authorization has been performed, an empty application list is returned.
2683
+ * ## Parameter description
2684
+ * - **`EndUserId` and `ProductType` are required.** Set `ProductType` to `CloudApp`, which indicates WUYING Cloud Application.
2685
+ * - `AppInstanceGroupId`, `AppId`, `AppInstanceGroupName`, and `AppName` are optional filter conditions. All of them use fuzzy match and can be combined in any way. If all are omitted, all per-application authorization records for the user are returned.
2686
+ * - Use `PageNumber` and `PageSize` for paging. `PageNumber` starts from 1, and `PageSize` ranges from 1 to 100. Use the returned `TotalCount` to determine whether to continue querying.
2687
+ * ## Call sequence
2688
+ * 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications within the delivery group (AppId in the Apps list).
2689
+ * 2. Call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to authorize the application to the target user.
2690
+ * 3. Call this operation to query the applications that the user is authorized to access.
2691
+ *
2692
+ * @param request - ListAuthorizedAppsByUserRequest
2693
+ * @param runtime - runtime options for this request RuntimeOptions
2694
+ * @returns ListAuthorizedAppsByUserResponse
2695
+ */
2696
+ async listAuthorizedAppsByUserWithOptions(request, runtime) {
2697
+ request.validate();
2698
+ let query = {};
2699
+ if (!$dara.isNull(request.appId)) {
2700
+ query["AppId"] = request.appId;
2701
+ }
2702
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2703
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
2704
+ }
2705
+ if (!$dara.isNull(request.appInstanceGroupName)) {
2706
+ query["AppInstanceGroupName"] = request.appInstanceGroupName;
2707
+ }
2708
+ if (!$dara.isNull(request.appName)) {
2709
+ query["AppName"] = request.appName;
2710
+ }
2711
+ if (!$dara.isNull(request.endUserId)) {
2712
+ query["EndUserId"] = request.endUserId;
2713
+ }
2714
+ if (!$dara.isNull(request.pageNumber)) {
2715
+ query["PageNumber"] = request.pageNumber;
2716
+ }
2717
+ if (!$dara.isNull(request.pageSize)) {
2718
+ query["PageSize"] = request.pageSize;
2719
+ }
2720
+ if (!$dara.isNull(request.productType)) {
2721
+ query["ProductType"] = request.productType;
2722
+ }
2723
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2724
+ query: openapi_core_2.OpenApiUtil.query(query),
2725
+ });
2726
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2727
+ action: "ListAuthorizedAppsByUser",
2728
+ version: "2021-09-01",
2729
+ protocol: "HTTPS",
2730
+ pathname: "/",
2731
+ method: "POST",
2732
+ authType: "AK",
2733
+ style: "RPC",
2734
+ reqBodyType: "formData",
2735
+ bodyType: "json",
2736
+ });
2737
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppsByUserResponse({}));
2738
+ }
2739
+ /**
2740
+ * Queries the applications for which a specified user has obtained access permissions through per-application authorization by paging. You can filter results by delivery group ID, delivery group name, application ID, or application name using fuzzy match.
2741
+ *
2742
+ * @remarks
2743
+ * ## Operation description
2744
+ * This operation queries the applications that a specified user is authorized to access at the application granularity. **Only records authorized at the application level are returned** (for example, authorizations completed through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation). Authorizations granted to an entire delivery group through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation are not included in the response.
2745
+ * The results are deduplicated by the combination of delivery group and application. Each record corresponds to one application within one delivery group.
2746
+ * ## Before you begin
2747
+ * - The user must already exist under the current account. If the user does not exist, the error code `User.NotFound` is returned. Call the [DescribeUsers](https://help.aliyun.com/document_detail/436936.html) operation to obtain the username.
2748
+ * - The delivery group that contains the application must already be created, and the application must have been authorized to the user at the application level. If no per-application authorization has been performed, an empty application list is returned.
2749
+ * ## Parameter description
2750
+ * - **`EndUserId` and `ProductType` are required.** Set `ProductType` to `CloudApp`, which indicates WUYING Cloud Application.
2751
+ * - `AppInstanceGroupId`, `AppId`, `AppInstanceGroupName`, and `AppName` are optional filter conditions. All of them use fuzzy match and can be combined in any way. If all are omitted, all per-application authorization records for the user are returned.
2752
+ * - Use `PageNumber` and `PageSize` for paging. `PageNumber` starts from 1, and `PageSize` ranges from 1 to 100. Use the returned `TotalCount` to determine whether to continue querying.
2753
+ * ## Call sequence
2754
+ * 1. Call the [ListAppInstanceGroup](https://help.aliyun.com/document_detail/428506.html) or [GetAppInstanceGroup](https://help.aliyun.com/document_detail/600836.html) operation to obtain the delivery group ID (AppInstanceGroupId) and the application IDs of deployed applications within the delivery group (AppId in the Apps list).
2755
+ * 2. Call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to authorize the application to the target user.
2756
+ * 3. Call this operation to query the applications that the user is authorized to access.
2757
+ *
2758
+ * @param request - ListAuthorizedAppsByUserRequest
2759
+ * @returns ListAuthorizedAppsByUserResponse
2760
+ */
2761
+ async listAuthorizedAppsByUser(request) {
2762
+ let runtime = new $dara.RuntimeOptions({});
2763
+ return await this.listAuthorizedAppsByUserWithOptions(request, runtime);
2764
+ }
2139
2765
  /**
2140
2766
  * Queries the list of user groups authorized by a specified delivery group.
2141
2767
  *
@@ -2149,6 +2775,9 @@ class Client extends openapi_core_1.default {
2149
2775
  if (!$dara.isNull(request.appInstanceGroupId)) {
2150
2776
  body["AppInstanceGroupId"] = request.appInstanceGroupId;
2151
2777
  }
2778
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
2779
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
2780
+ }
2152
2781
  if (!$dara.isNull(request.groupId)) {
2153
2782
  body["GroupId"] = request.groupId;
2154
2783
  }
@@ -2190,6 +2819,139 @@ class Client extends openapi_core_1.default {
2190
2819
  let runtime = new $dara.RuntimeOptions({});
2191
2820
  return await this.listAuthorizedUserGroupsWithOptions(request, runtime);
2192
2821
  }
2822
+ /**
2823
+ * Queries the list of authorized users for a specified delivery group or delivery group set by using paging. Supports exact or fuzzy filtering by username.
2824
+ *
2825
+ * @remarks
2826
+ * ## Operation description
2827
+ * This operation queries the currently authorized users of a specified delivery group (AppInstanceGroupId) or delivery group set (AppInstanceGroupSetId). It returns each user\\"s username, account type, email address, phone number, and the authorization mode of the associated delivery group.
2828
+ * - This operation returns **authorization relationships** and does not indicate whether users are currently online or have established connections.
2829
+ * - In the Cloud Browser product, a delivery group corresponds to a cloud browser group, and a delivery group ID corresponds to a browser group ID.
2830
+ * The scope of results depends on the authorization mode of the delivery group (response parameter AuthMode):
2831
+ * - When the authorization mode is `App` (application-level authorization) or `AppInstanceGroup` (delivery group-level authorization): Returns users authorized through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation at the delivery group level, as well as users authorized through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation at the application level. If AppId is specified, only users **authorized for that specific application** are returned.
2832
+ * - When the authorization mode is `Session` (session-level authorization): Returns users who have been granted persistent sessions. The AppInstancePersistentIds field lists all persistent session IDs granted to each user. If AppInstancePersistentId is specified, only users granted that session are returned.
2833
+ * - When querying by delivery group set: Returns users authorized for the set. The response parameter AppInstanceGroupId is the primary delivery group ID of the set, and AppInstanceGroupSetId is the queried set ID.
2834
+ * When querying by delivery group, results are sorted in descending order by authorization time, with the most recently authorized users listed first.
2835
+ * ## Before you begin
2836
+ * - The target delivery group or delivery group set must be created, belong to the current account, and match the specified ProductType. Otherwise, a resource-not-found error code is returned.
2837
+ * - Users must have been authorized through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) or [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation. If no users have been authorized, the operation returns normally with an empty Users list and TotalCount of 0.
2838
+ * ## Parameter description
2839
+ * - **ProductType, PageNumber, and PageSize are required**. If ProductType has an invalid value, the error code `ProductTypeInvalid` is returned.
2840
+ * - **Exactly one of AppInstanceGroupId and AppInstanceGroupSetId must be specified**. If both or neither are specified, the error code `InvalidParameter.AppInstanceGroupId/AppInstanceGroupSetId` is returned.
2841
+ * - **AppId and AppInstancePersistentId are not supported when querying by delivery group set**. If specified, the error codes `InvalidParameter.AppId` and `InvalidParameter.AppInstancePersistentId` are returned respectively.
2842
+ * - EndUserId performs **exact matching** by username. UserIdFuzzy performs **fuzzy matching** by username (a hit occurs if the username contains the keyword). Both can be specified simultaneously, in which case both conditions must be met.
2843
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2844
+ * - When the authorization mode is `App` or `AppInstanceGroup`, TotalCount is the number of **authorization records** that match the conditions. If the same user has multiple authorization records (for example, authorized for multiple applications), the records are merged into a single user entry in Users. Therefore, the number of users returned on the current page may be less than PageSize. Use TotalCount to determine whether to continue paging. When the authorization mode is `Session`, TotalCount is the deduplicated user count.
2845
+ * ## Call sequence
2846
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID. For cloud browser groups, call the [ListBrowserInstanceGroup](~~ListBrowserInstanceGroup~~) operation.
2847
+ * 2. Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize at the delivery group level, or call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to authorize at the application level.
2848
+ * 3. Call this operation to query authorized users. To remove authorization, pass the returned EndUserId values to the UnAuthorizeUserIds parameter of the authorization operations mentioned above.
2849
+ * ## Error codes
2850
+ * - `ProductTypeInvalid`: The value of ProductType is invalid.
2851
+ * - `InvalidParameter.AppInstanceGroupId/AppInstanceGroupSetId`: Both AppInstanceGroupId and AppInstanceGroupSetId are specified, or neither is specified.
2852
+ * - `InvalidParameter.AppId`: AppId is specified when querying by delivery group set.
2853
+ * - `InvalidParameter.AppInstancePersistentId`: AppInstancePersistentId is specified when querying by delivery group set.
2854
+ * - `InvalidAppInstanceGroupSpecItem.NotFound`: The delivery group does not exist, does not belong to the current account, or the product type does not match.
2855
+ * - `InvalidBrowserInstanceGroup.NotFound`: When ProductType is `CloudBrowser`, the cloud browser group does not exist, does not belong to the current account, or the product type does not match.
2856
+ * - `InvalidAppInstanceGroupSet.NotFound`: The delivery group set does not exist, does not belong to the current account, the product type does not match, or the set does not have an available primary delivery group.
2857
+ * - `InvalidAppInstanceGroupSet.ActivationFailed`: The delivery group set is not in an available state.
2858
+ *
2859
+ * @param request - ListAuthorizedUsersRequest
2860
+ * @param runtime - runtime options for this request RuntimeOptions
2861
+ * @returns ListAuthorizedUsersResponse
2862
+ */
2863
+ async listAuthorizedUsersWithOptions(request, runtime) {
2864
+ request.validate();
2865
+ let query = {};
2866
+ if (!$dara.isNull(request.endUserId)) {
2867
+ query["EndUserId"] = request.endUserId;
2868
+ }
2869
+ if (!$dara.isNull(request.userIdFuzzy)) {
2870
+ query["UserIdFuzzy"] = request.userIdFuzzy;
2871
+ }
2872
+ let body = {};
2873
+ if (!$dara.isNull(request.appId)) {
2874
+ body["AppId"] = request.appId;
2875
+ }
2876
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2877
+ body["AppInstanceGroupId"] = request.appInstanceGroupId;
2878
+ }
2879
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
2880
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
2881
+ }
2882
+ if (!$dara.isNull(request.appInstancePersistentId)) {
2883
+ body["AppInstancePersistentId"] = request.appInstancePersistentId;
2884
+ }
2885
+ if (!$dara.isNull(request.pageNumber)) {
2886
+ body["PageNumber"] = request.pageNumber;
2887
+ }
2888
+ if (!$dara.isNull(request.pageSize)) {
2889
+ body["PageSize"] = request.pageSize;
2890
+ }
2891
+ if (!$dara.isNull(request.productType)) {
2892
+ body["ProductType"] = request.productType;
2893
+ }
2894
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2895
+ query: openapi_core_2.OpenApiUtil.query(query),
2896
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2897
+ });
2898
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2899
+ action: "ListAuthorizedUsers",
2900
+ version: "2021-09-01",
2901
+ protocol: "HTTPS",
2902
+ pathname: "/",
2903
+ method: "POST",
2904
+ authType: "AK",
2905
+ style: "RPC",
2906
+ reqBodyType: "formData",
2907
+ bodyType: "json",
2908
+ });
2909
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedUsersResponse({}));
2910
+ }
2911
+ /**
2912
+ * Queries the list of authorized users for a specified delivery group or delivery group set by using paging. Supports exact or fuzzy filtering by username.
2913
+ *
2914
+ * @remarks
2915
+ * ## Operation description
2916
+ * This operation queries the currently authorized users of a specified delivery group (AppInstanceGroupId) or delivery group set (AppInstanceGroupSetId). It returns each user\\"s username, account type, email address, phone number, and the authorization mode of the associated delivery group.
2917
+ * - This operation returns **authorization relationships** and does not indicate whether users are currently online or have established connections.
2918
+ * - In the Cloud Browser product, a delivery group corresponds to a cloud browser group, and a delivery group ID corresponds to a browser group ID.
2919
+ * The scope of results depends on the authorization mode of the delivery group (response parameter AuthMode):
2920
+ * - When the authorization mode is `App` (application-level authorization) or `AppInstanceGroup` (delivery group-level authorization): Returns users authorized through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation at the delivery group level, as well as users authorized through the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation at the application level. If AppId is specified, only users **authorized for that specific application** are returned.
2921
+ * - When the authorization mode is `Session` (session-level authorization): Returns users who have been granted persistent sessions. The AppInstancePersistentIds field lists all persistent session IDs granted to each user. If AppInstancePersistentId is specified, only users granted that session are returned.
2922
+ * - When querying by delivery group set: Returns users authorized for the set. The response parameter AppInstanceGroupId is the primary delivery group ID of the set, and AppInstanceGroupSetId is the queried set ID.
2923
+ * When querying by delivery group, results are sorted in descending order by authorization time, with the most recently authorized users listed first.
2924
+ * ## Before you begin
2925
+ * - The target delivery group or delivery group set must be created, belong to the current account, and match the specified ProductType. Otherwise, a resource-not-found error code is returned.
2926
+ * - Users must have been authorized through the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) or [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation. If no users have been authorized, the operation returns normally with an empty Users list and TotalCount of 0.
2927
+ * ## Parameter description
2928
+ * - **ProductType, PageNumber, and PageSize are required**. If ProductType has an invalid value, the error code `ProductTypeInvalid` is returned.
2929
+ * - **Exactly one of AppInstanceGroupId and AppInstanceGroupSetId must be specified**. If both or neither are specified, the error code `InvalidParameter.AppInstanceGroupId/AppInstanceGroupSetId` is returned.
2930
+ * - **AppId and AppInstancePersistentId are not supported when querying by delivery group set**. If specified, the error codes `InvalidParameter.AppId` and `InvalidParameter.AppInstancePersistentId` are returned respectively.
2931
+ * - EndUserId performs **exact matching** by username. UserIdFuzzy performs **fuzzy matching** by username (a hit occurs if the username contains the keyword). Both can be specified simultaneously, in which case both conditions must be met.
2932
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2933
+ * - When the authorization mode is `App` or `AppInstanceGroup`, TotalCount is the number of **authorization records** that match the conditions. If the same user has multiple authorization records (for example, authorized for multiple applications), the records are merged into a single user entry in Users. Therefore, the number of users returned on the current page may be less than PageSize. Use TotalCount to determine whether to continue paging. When the authorization mode is `Session`, TotalCount is the deduplicated user count.
2934
+ * ## Call sequence
2935
+ * 1. Call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain the delivery group ID. For cloud browser groups, call the [ListBrowserInstanceGroup](~~ListBrowserInstanceGroup~~) operation.
2936
+ * 2. Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize at the delivery group level, or call the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to authorize at the application level.
2937
+ * 3. Call this operation to query authorized users. To remove authorization, pass the returned EndUserId values to the UnAuthorizeUserIds parameter of the authorization operations mentioned above.
2938
+ * ## Error codes
2939
+ * - `ProductTypeInvalid`: The value of ProductType is invalid.
2940
+ * - `InvalidParameter.AppInstanceGroupId/AppInstanceGroupSetId`: Both AppInstanceGroupId and AppInstanceGroupSetId are specified, or neither is specified.
2941
+ * - `InvalidParameter.AppId`: AppId is specified when querying by delivery group set.
2942
+ * - `InvalidParameter.AppInstancePersistentId`: AppInstancePersistentId is specified when querying by delivery group set.
2943
+ * - `InvalidAppInstanceGroupSpecItem.NotFound`: The delivery group does not exist, does not belong to the current account, or the product type does not match.
2944
+ * - `InvalidBrowserInstanceGroup.NotFound`: When ProductType is `CloudBrowser`, the cloud browser group does not exist, does not belong to the current account, or the product type does not match.
2945
+ * - `InvalidAppInstanceGroupSet.NotFound`: The delivery group set does not exist, does not belong to the current account, the product type does not match, or the set does not have an available primary delivery group.
2946
+ * - `InvalidAppInstanceGroupSet.ActivationFailed`: The delivery group set is not in an available state.
2947
+ *
2948
+ * @param request - ListAuthorizedUsersRequest
2949
+ * @returns ListAuthorizedUsersResponse
2950
+ */
2951
+ async listAuthorizedUsers(request) {
2952
+ let runtime = new $dara.RuntimeOptions({});
2953
+ return await this.listAuthorizedUsersWithOptions(request, runtime);
2954
+ }
2193
2955
  /**
2194
2956
  * Queries the bindng information between users and resources.
2195
2957
  *
@@ -2225,7 +2987,97 @@ class Client extends openapi_core_1.default {
2225
2987
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
2226
2988
  });
2227
2989
  let params = new openapi_core_2.$OpenApiUtil.Params({
2228
- action: "ListBindInfo",
2990
+ action: "ListBindInfo",
2991
+ version: "2021-09-01",
2992
+ protocol: "HTTPS",
2993
+ pathname: "/",
2994
+ method: "POST",
2995
+ authType: "AK",
2996
+ style: "RPC",
2997
+ reqBodyType: "formData",
2998
+ bodyType: "json",
2999
+ });
3000
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindInfoResponse({}));
3001
+ }
3002
+ /**
3003
+ * Queries the bindng information between users and resources.
3004
+ *
3005
+ * @param request - ListBindInfoRequest
3006
+ * @returns ListBindInfoResponse
3007
+ */
3008
+ async listBindInfo(request) {
3009
+ let runtime = new $dara.RuntimeOptions({});
3010
+ return await this.listBindInfoWithOptions(request, runtime);
3011
+ }
3012
+ /**
3013
+ * Queries cloud browser groups and their current status by paging.
3014
+ *
3015
+ * @remarks
3016
+ * This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
3017
+ * ## Query conditions
3018
+ * You can filter by browser group identity, name, business region, office network, set, authorized user group, and status. Only one status value can be specified at a time.
3019
+ * ## Paging
3020
+ * Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
3021
+ * ## What to do next
3022
+ * To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
3023
+ * ## Example notes
3024
+ * The `-` in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual character string returned by the operation. Resource identities in the examples are masked. Use the actual query results in your environment.
3025
+ *
3026
+ * @param request - ListBrowserInstanceGroupRequest
3027
+ * @param runtime - runtime options for this request RuntimeOptions
3028
+ * @returns ListBrowserInstanceGroupResponse
3029
+ */
3030
+ async listBrowserInstanceGroupWithOptions(request, runtime) {
3031
+ request.validate();
3032
+ let query = {};
3033
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
3034
+ query["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
3035
+ }
3036
+ if (!$dara.isNull(request.bizRegionId)) {
3037
+ query["BizRegionId"] = request.bizRegionId;
3038
+ }
3039
+ if (!$dara.isNull(request.browserInstanceGroupId)) {
3040
+ query["BrowserInstanceGroupId"] = request.browserInstanceGroupId;
3041
+ }
3042
+ if (!$dara.isNull(request.browserInstanceGroupName)) {
3043
+ query["BrowserInstanceGroupName"] = request.browserInstanceGroupName;
3044
+ }
3045
+ if (!$dara.isNull(request.cloudBrowserName)) {
3046
+ query["CloudBrowserName"] = request.cloudBrowserName;
3047
+ }
3048
+ if (!$dara.isNull(request.officeSiteId)) {
3049
+ query["OfficeSiteId"] = request.officeSiteId;
3050
+ }
3051
+ if (!$dara.isNull(request.pageNumber)) {
3052
+ query["PageNumber"] = request.pageNumber;
3053
+ }
3054
+ if (!$dara.isNull(request.pageSize)) {
3055
+ query["PageSize"] = request.pageSize;
3056
+ }
3057
+ if (!$dara.isNull(request.tag)) {
3058
+ query["Tag"] = request.tag;
3059
+ }
3060
+ if (!$dara.isNull(request.tier)) {
3061
+ query["Tier"] = request.tier;
3062
+ }
3063
+ let body = {};
3064
+ if (!$dara.isNull(request.excludedUserGroupIds)) {
3065
+ body["ExcludedUserGroupIds"] = request.excludedUserGroupIds;
3066
+ }
3067
+ let bodyFlat = {};
3068
+ if (!$dara.isNull(request.status)) {
3069
+ bodyFlat["Status"] = request.status;
3070
+ }
3071
+ if (!$dara.isNull(request.userGroupIds)) {
3072
+ body["UserGroupIds"] = request.userGroupIds;
3073
+ }
3074
+ body = Object.assign(Object.assign({}, body), openapi_core_2.OpenApiUtil.query(bodyFlat));
3075
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3076
+ query: openapi_core_2.OpenApiUtil.query(query),
3077
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3078
+ });
3079
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3080
+ action: "ListBrowserInstanceGroup",
2229
3081
  version: "2021-09-01",
2230
3082
  protocol: "HTTPS",
2231
3083
  pathname: "/",
@@ -2235,17 +3087,28 @@ class Client extends openapi_core_1.default {
2235
3087
  reqBodyType: "formData",
2236
3088
  bodyType: "json",
2237
3089
  });
2238
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindInfoResponse({}));
3090
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBrowserInstanceGroupResponse({}));
2239
3091
  }
2240
3092
  /**
2241
- * Queries the bindng information between users and resources.
3093
+ * Queries cloud browser groups and their current status by paging.
2242
3094
  *
2243
- * @param request - ListBindInfoRequest
2244
- * @returns ListBindInfoResponse
2245
- */
2246
- async listBindInfo(request) {
3095
+ * @remarks
3096
+ * This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
3097
+ * ## Query conditions
3098
+ * You can filter by browser group identity, name, business region, office network, set, authorized user group, and status. Only one status value can be specified at a time.
3099
+ * ## Paging
3100
+ * Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
3101
+ * ## What to do next
3102
+ * To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
3103
+ * ## Example notes
3104
+ * The `-` in the examples indicates that the field is not applicable or not returned in the current scenario. It is not an actual character string returned by the operation. Resource identities in the examples are masked. Use the actual query results in your environment.
3105
+ *
3106
+ * @param request - ListBrowserInstanceGroupRequest
3107
+ * @returns ListBrowserInstanceGroupResponse
3108
+ */
3109
+ async listBrowserInstanceGroup(request) {
2247
3110
  let runtime = new $dara.RuntimeOptions({});
2248
- return await this.listBindInfoWithOptions(request, runtime);
3111
+ return await this.listBrowserInstanceGroupWithOptions(request, runtime);
2249
3112
  }
2250
3113
  /**
2251
3114
  * Queries the list of desktop agent runtimes.
@@ -2472,8 +3335,8 @@ class Client extends openapi_core_1.default {
2472
3335
  * Queries the list of LLM templates.
2473
3336
  *
2474
3337
  * @remarks
2475
- * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2476
- * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
3338
+ * You can query the list of model templates under a model provider template in the WUYING Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically pinned to the top.
3339
+ * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2477
3340
  *
2478
3341
  * @param tmpReq - ListLlmTemplatesRequest
2479
3342
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2531,8 +3394,8 @@ class Client extends openapi_core_1.default {
2531
3394
  * Queries the list of LLM templates.
2532
3395
  *
2533
3396
  * @remarks
2534
- * You can query the list of model templates under a model provider template in the Wuying Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically placed at the top.
2535
- * Before using this operation, make sure you are familiar with the operations and usage of the Wuying Agent Management Center.
3397
+ * You can query the list of model templates under a model provider template in the WUYING Agent Management Center with paging. Filtering by model group ID, model provider template ID, model template ID, and model encoding is supported. When querying by model group dimension, the default model is automatically pinned to the top.
3398
+ * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2536
3399
  *
2537
3400
  * @param request - ListLlmTemplatesRequest
2538
3401
  * @returns ListLlmTemplatesResponse
@@ -2593,8 +3456,8 @@ class Client extends openapi_core_1.default {
2593
3456
  * Queries the list of model provider templates.
2594
3457
  *
2595
3458
  * @remarks
2596
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
2597
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
3459
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. You can filter results by provider name, model group ID, and provider template ID. Paging is supported.
3460
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2598
3461
  *
2599
3462
  * @param tmpReq - ListModelProviderTemplatesRequest
2600
3463
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2652,8 +3515,8 @@ class Client extends openapi_core_1.default {
2652
3515
  * Queries the list of model provider templates.
2653
3516
  *
2654
3517
  * @remarks
2655
- * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. Filtering by provider name, model group ID, and provider template ID is supported. Use the paging parameters to control the number of results returned per page.
2656
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
3518
+ * You can perform a paged query to retrieve the list of model provider templates under a specified model group in the WUYING Agent Management Center. You can filter results by provider name, model group ID, and provider template ID. Paging is supported.
3519
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2657
3520
  *
2658
3521
  * @param request - ListModelProviderTemplatesRequest
2659
3522
  * @returns ListModelProviderTemplatesResponse
@@ -2719,11 +3582,11 @@ class Client extends openapi_core_1.default {
2719
3582
  return await this.listModelTemplateResourceGroupWithOptions(request, runtime);
2720
3583
  }
2721
3584
  /**
2722
- * Queries the list of model templates.
3585
+ * Queries a list of model templates.
2723
3586
  *
2724
3587
  * @remarks
2725
- * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
2726
- * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
3588
+ * You can use paged query to retrieve the list of model groups created in the Wuying Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether models have been configured. Paging is supported.
3589
+ * Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
2727
3590
  *
2728
3591
  * @param tmpReq - ListModelTemplatesRequest
2729
3592
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2790,11 +3653,11 @@ class Client extends openapi_core_1.default {
2790
3653
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelTemplatesResponse({}));
2791
3654
  }
2792
3655
  /**
2793
- * Queries the list of model templates.
3656
+ * Queries a list of model templates.
2794
3657
  *
2795
3658
  * @remarks
2796
- * You can query the model groups created in the WUYING Agent Management Center with paging. Filtering is supported by Agent provider, Agent platform, template group ID, and whether models have been configured.
2797
- * Before using this operation, make sure you are familiar with the operations and usage of the WUYING Agent Management Center.
3659
+ * You can use paged query to retrieve the list of model groups created in the Wuying Agent Management Center. You can filter results by Agent provider, Agent platform, template group ID, and whether models have been configured. Paging is supported.
3660
+ * Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
2798
3661
  *
2799
3662
  * @param request - ListModelTemplatesRequest
2800
3663
  * @returns ListModelTemplatesResponse
@@ -3037,6 +3900,192 @@ class Client extends openapi_core_1.default {
3037
3900
  let runtime = new $dara.RuntimeOptions({});
3038
3901
  return await this.listPersistentAppInstancesWithOptions(request, runtime);
3039
3902
  }
3903
+ /**
3904
+ * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
3905
+ *
3906
+ * @remarks
3907
+ * ## Before you begin
3908
+ * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
3909
+ * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3910
+ * ## Query and pagination
3911
+ * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
3912
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
3913
+ * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
3914
+ * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
3915
+ * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
3916
+ * ## Invoke sequence
3917
+ * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
3918
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
3919
+ * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3920
+ * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
3921
+ *
3922
+ * @param request - ListPublishedAppInstanceGroupRequest
3923
+ * @param runtime - runtime options for this request RuntimeOptions
3924
+ * @returns ListPublishedAppInstanceGroupResponse
3925
+ */
3926
+ async listPublishedAppInstanceGroupWithOptions(request, runtime) {
3927
+ request.validate();
3928
+ let query = {};
3929
+ if (!$dara.isNull(request.appId)) {
3930
+ query["AppId"] = request.appId;
3931
+ }
3932
+ if (!$dara.isNull(request.appInstanceGroupId)) {
3933
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
3934
+ }
3935
+ if (!$dara.isNull(request.appInstanceGroupName)) {
3936
+ query["AppInstanceGroupName"] = request.appInstanceGroupName;
3937
+ }
3938
+ if (!$dara.isNull(request.appName)) {
3939
+ query["AppName"] = request.appName;
3940
+ }
3941
+ if (!$dara.isNull(request.excludeUserId)) {
3942
+ query["ExcludeUserId"] = request.excludeUserId;
3943
+ }
3944
+ if (!$dara.isNull(request.pageNumber)) {
3945
+ query["PageNumber"] = request.pageNumber;
3946
+ }
3947
+ if (!$dara.isNull(request.pageSize)) {
3948
+ query["PageSize"] = request.pageSize;
3949
+ }
3950
+ if (!$dara.isNull(request.productType)) {
3951
+ query["ProductType"] = request.productType;
3952
+ }
3953
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3954
+ query: openapi_core_2.OpenApiUtil.query(query),
3955
+ });
3956
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3957
+ action: "ListPublishedAppInstanceGroup",
3958
+ version: "2021-09-01",
3959
+ protocol: "HTTPS",
3960
+ pathname: "/",
3961
+ method: "POST",
3962
+ authType: "AK",
3963
+ style: "RPC",
3964
+ reqBodyType: "formData",
3965
+ bodyType: "json",
3966
+ });
3967
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishedAppInstanceGroupResponse({}));
3968
+ }
3969
+ /**
3970
+ * Queries published delivery groups and their application information for a specified product type under the current Alibaba Cloud account by using paging. Supports filtering by delivery group, application, and user authorization status.
3971
+ *
3972
+ * @remarks
3973
+ * ## Before you begin
3974
+ * When calling this operation with a RAM user or STS credential, the `appstreaming:ListPublishedAppInstanceGroup` permission is required.
3975
+ * A delivery group must be in the published state and have deployed applications in its image to appear in the query results. This operation only queries information. It does not create delivery groups, assign users, or grant application access permissions.
3976
+ * ## Query and pagination
3977
+ * - **You must explicitly pass in `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`.
3978
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can pass them individually or in combination. When multiple conditions are specified, all conditions must be met simultaneously. When both `AppId` and `AppName` are specified, the same application must satisfy both conditions.
3979
+ * - If an optional filter parameter is not specified or is set to an empty string, that condition is not applied. Query results are sorted by delivery group creation time from newest to oldest. A delivery group is not returned multiple times even if it contains multiple matching applications.
3980
+ * - `ExcludeUserId` excludes delivery groups in which all applications have been directly authorized to the specified user. It cannot be used to determine whether the user has no access permissions at all.
3981
+ * - `AppId` and `AppName` only filter delivery groups. **They do not restrict the returned `Apps` list to only the matched applications.**
3982
+ * ## Invoke sequence
3983
+ * 1. Invoke a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
3984
+ * 2. Read `AppInstanceGroupModels`. To retrieve the next page, keep the product type and filter conditions unchanged and increment `PageNumber`. If no delivery groups match, the total count is `0` and the list is empty. If the page number exceeds the result range, the list may also be empty, but the total count still represents the total number of matching delivery groups.
3985
+ * 3. To retrieve details of a single delivery group, pass the full `AppInstanceGroupId` from the response and the same `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
3986
+ * The masked identifiers in the examples are for format demonstration purposes. Replace them with your actual identifiers when invoking the operation.
3987
+ *
3988
+ * @param request - ListPublishedAppInstanceGroupRequest
3989
+ * @returns ListPublishedAppInstanceGroupResponse
3990
+ */
3991
+ async listPublishedAppInstanceGroup(request) {
3992
+ let runtime = new $dara.RuntimeOptions({});
3993
+ return await this.listPublishedAppInstanceGroupWithOptions(request, runtime);
3994
+ }
3995
+ /**
3996
+ * Queries deployed applications in published delivery groups under the current Alibaba Cloud account for a specified product type by paging, and returns each application along with its delivery group and the number of authorized users by application. Supports filtering by delivery group, application, and user authorization status.
3997
+ *
3998
+ * @remarks
3999
+ * ## Before you begin
4000
+ * When you call this operation by using a RAM user or Security Token Service (STS) credential, you must have the `appstreaming:ListPublishedApps` permission.
4001
+ * Only delivery groups in the published state whose images contain deployed applications are included in the query results. This operation only queries information. It does not create delivery groups or grant or revoke application access permissions.
4002
+ * ## Response granularity
4003
+ * Results are returned on a per-delivery-group-plus-application basis. If the same application is deployed in multiple published delivery groups, a separate record is returned for each combination. `TotalCount` also reflects the number of such combinations. The list is sorted by the creation time of the delivery group in descending order.
4004
+ * ## Query and pagination
4005
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`. Invalid values return error codes `InvalidParameter.PageNumber` and `InvalidParameter.PageSize`, respectively.
4006
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can specify them individually or in combination. When multiple conditions are specified, all conditions must be met.
4007
+ * - If an optional filter parameter is not specified or is set to an empty string, filtering is not applied for that condition.
4008
+ * - `ExcludeUserId` excludes applications that have been authorized to the specified user by application, which helps you find applications that can still be authorized to that user. **Access permissions granted through delivery-group-level authorization or user groups are not evaluated by this condition.**
4009
+ * ## Invocation sequence
4010
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
4011
+ * 2. Read `Apps`. To retrieve the next page, increment `PageNumber` while keeping the product type and filter conditions unchanged. If no results match, `TotalCount` is `0` and `Apps` is an empty list. If the page number exceeds the result range, `Apps` may also be empty, but `TotalCount` still indicates the total number of matching records.
4012
+ * 3. To authorize users for a specific application by application, pass the returned `AppInstanceGroupId`, `AppId`, and the same `ProductType` to [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~). To view delivery group details, pass `AppInstanceGroupId` and `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
4013
+ * The masked identities in the examples are for format demonstration purposes. Replace them with your actual identities when you invoke the operation.
4014
+ *
4015
+ * @param request - ListPublishedAppsRequest
4016
+ * @param runtime - runtime options for this request RuntimeOptions
4017
+ * @returns ListPublishedAppsResponse
4018
+ */
4019
+ async listPublishedAppsWithOptions(request, runtime) {
4020
+ request.validate();
4021
+ let query = {};
4022
+ if (!$dara.isNull(request.appId)) {
4023
+ query["AppId"] = request.appId;
4024
+ }
4025
+ if (!$dara.isNull(request.appInstanceGroupId)) {
4026
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
4027
+ }
4028
+ if (!$dara.isNull(request.appInstanceGroupName)) {
4029
+ query["AppInstanceGroupName"] = request.appInstanceGroupName;
4030
+ }
4031
+ if (!$dara.isNull(request.appName)) {
4032
+ query["AppName"] = request.appName;
4033
+ }
4034
+ if (!$dara.isNull(request.excludeUserId)) {
4035
+ query["ExcludeUserId"] = request.excludeUserId;
4036
+ }
4037
+ if (!$dara.isNull(request.pageNumber)) {
4038
+ query["PageNumber"] = request.pageNumber;
4039
+ }
4040
+ if (!$dara.isNull(request.pageSize)) {
4041
+ query["PageSize"] = request.pageSize;
4042
+ }
4043
+ if (!$dara.isNull(request.productType)) {
4044
+ query["ProductType"] = request.productType;
4045
+ }
4046
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4047
+ query: openapi_core_2.OpenApiUtil.query(query),
4048
+ });
4049
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4050
+ action: "ListPublishedApps",
4051
+ version: "2021-09-01",
4052
+ protocol: "HTTPS",
4053
+ pathname: "/",
4054
+ method: "POST",
4055
+ authType: "AK",
4056
+ style: "RPC",
4057
+ reqBodyType: "formData",
4058
+ bodyType: "json",
4059
+ });
4060
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPublishedAppsResponse({}));
4061
+ }
4062
+ /**
4063
+ * Queries deployed applications in published delivery groups under the current Alibaba Cloud account for a specified product type by paging, and returns each application along with its delivery group and the number of authorized users by application. Supports filtering by delivery group, application, and user authorization status.
4064
+ *
4065
+ * @remarks
4066
+ * ## Before you begin
4067
+ * When you call this operation by using a RAM user or Security Token Service (STS) credential, you must have the `appstreaming:ListPublishedApps` permission.
4068
+ * Only delivery groups in the published state whose images contain deployed applications are included in the query results. This operation only queries information. It does not create delivery groups or grant or revoke application access permissions.
4069
+ * ## Response granularity
4070
+ * Results are returned on a per-delivery-group-plus-application basis. If the same application is deployed in multiple published delivery groups, a separate record is returned for each combination. `TotalCount` also reflects the number of such combinations. The list is sorted by the creation time of the delivery group in descending order.
4071
+ * ## Query and pagination
4072
+ * - **You must explicitly specify `ProductType`, `PageNumber`, and `PageSize`.** Page numbers start from `1`, and the page size ranges from `1` to `100`. Invalid values return error codes `InvalidParameter.PageNumber` and `InvalidParameter.PageSize`, respectively.
4073
+ * - `AppInstanceGroupId`, `AppInstanceGroupName`, `AppId`, and `AppName` all support substring matching. You can specify them individually or in combination. When multiple conditions are specified, all conditions must be met.
4074
+ * - If an optional filter parameter is not specified or is set to an empty string, filtering is not applied for that condition.
4075
+ * - `ExcludeUserId` excludes applications that have been authorized to the specified user by application, which helps you find applications that can still be authorized to that user. **Access permissions granted through delivery-group-level authorization or user groups are not evaluated by this condition.**
4076
+ * ## Invocation sequence
4077
+ * 1. Initiate a query with `PageNumber=1` and the desired `PageSize`. For WUYING Cloud Application common scenarios, use `ProductType=CloudApp`.
4078
+ * 2. Read `Apps`. To retrieve the next page, increment `PageNumber` while keeping the product type and filter conditions unchanged. If no results match, `TotalCount` is `0` and `Apps` is an empty list. If the page number exceeds the result range, `Apps` may also be empty, but `TotalCount` still indicates the total number of matching records.
4079
+ * 3. To authorize users for a specific application by application, pass the returned `AppInstanceGroupId`, `AppId`, and the same `ProductType` to [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~). To view delivery group details, pass `AppInstanceGroupId` and `ProductType` to [GetAppInstanceGroup](~~GetAppInstanceGroup~~).
4080
+ * The masked identities in the examples are for format demonstration purposes. Replace them with your actual identities when you invoke the operation.
4081
+ *
4082
+ * @param request - ListPublishedAppsRequest
4083
+ * @returns ListPublishedAppsResponse
4084
+ */
4085
+ async listPublishedApps(request) {
4086
+ let runtime = new $dara.RuntimeOptions({});
4087
+ return await this.listPublishedAppsWithOptions(request, runtime);
4088
+ }
3040
4089
  /**
3041
4090
  * Queries the regions supported by WUYING Cloud Application.
3042
4091
  *
@@ -3136,6 +4185,103 @@ class Client extends openapi_core_1.default {
3136
4185
  let runtime = new $dara.RuntimeOptions({});
3137
4186
  return await this.listTagCloudResourcesWithOptions(request, runtime);
3138
4187
  }
4188
+ /**
4189
+ * Queries tags bound to one or more delivery groups, or filters delivery groups that have specific tags bound by tag key-value pairs.
4190
+ *
4191
+ * @remarks
4192
+ * This operation complies with the Alibaba Cloud tagging standard and is used to query tags bound to Elastic Cloud Application (China) delivery groups. You can query tags bound to resources by resource ID, or filter resources that have specific tags bound by tag key-value pairs.
4193
+ * ## Before you begin
4194
+ * - A delivery group is created. You can call the ListAppInstanceGroup operation to obtain the delivery group ID.
4195
+ * - Tags are bound to the delivery group. You can bind tags by calling the TagResources operation, or by using the console or the Tag service.
4196
+ * ## Parameter description
4197
+ * - **ResourceType is required**. Only `APPINSTANCEGROUP` (delivery group) is supported. If you specify other values, the error code `InvalidResourceType.Invalid` is returned.
4198
+ * - **Specify at least one of ResourceId.N and Tag.N**. If neither is specified, the error code `MissingParameter.ResourceIdsOrTags` is returned.
4199
+ * - If only ResourceId.N is specified: all tags attached to the specified resources are returned.
4200
+ * - If only Tag.N is specified: all resources that have the specified tags attached and their matching tags are returned.
4201
+ * - If both are specified: only records of the specified resources that have the specified tags attached are returned.
4202
+ * - Tag.N.Key is required. If it is empty, the error code `InvalidTagPolicy.KeyInvalid` is returned. Tag.N.Value is optional. If it is not specified, the value of the tag key is not restricted, which means any tag value under the key is matched.
4203
+ * - Multiple Tag.N conditions have an AND relationship. A resource is returned only if it has all specified tags attached.
4204
+ * ## Response description
4205
+ * - Each record in the response corresponds to a resource-tag key-value pair. If a resource has multiple tags bound, multiple records are returned.
4206
+ * - TotalCount indicates the number of records returned.
4207
+ * - This operation returns all matching results at a time. An empty NextToken value indicates that no more data is available.
4208
+ * ## Invocation sequence
4209
+ * 1. Invoke the ListAppInstanceGroup operation to obtain the delivery group ID.
4210
+ * 2. Invoke the TagResources operation to attach tags to the delivery group.
4211
+ * 3. Invoke this operation to query tag bindings by resource ID or tag conditions.
4212
+ *
4213
+ * @param request - ListTagResourcesRequest
4214
+ * @param runtime - runtime options for this request RuntimeOptions
4215
+ * @returns ListTagResourcesResponse
4216
+ */
4217
+ async listTagResourcesWithOptions(request, runtime) {
4218
+ request.validate();
4219
+ let body = {};
4220
+ if (!$dara.isNull(request.nextToken)) {
4221
+ body["NextToken"] = request.nextToken;
4222
+ }
4223
+ if (!$dara.isNull(request.regionId)) {
4224
+ body["RegionId"] = request.regionId;
4225
+ }
4226
+ if (!$dara.isNull(request.resourceId)) {
4227
+ body["ResourceId"] = request.resourceId;
4228
+ }
4229
+ if (!$dara.isNull(request.resourceType)) {
4230
+ body["ResourceType"] = request.resourceType;
4231
+ }
4232
+ let bodyFlat = {};
4233
+ if (!$dara.isNull(request.tag)) {
4234
+ bodyFlat["Tag"] = request.tag;
4235
+ }
4236
+ body = Object.assign(Object.assign({}, body), openapi_core_2.OpenApiUtil.query(bodyFlat));
4237
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4238
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
4239
+ });
4240
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4241
+ action: "ListTagResources",
4242
+ version: "2021-09-01",
4243
+ protocol: "HTTPS",
4244
+ pathname: "/",
4245
+ method: "POST",
4246
+ authType: "AK",
4247
+ style: "RPC",
4248
+ reqBodyType: "formData",
4249
+ bodyType: "json",
4250
+ });
4251
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTagResourcesResponse({}));
4252
+ }
4253
+ /**
4254
+ * Queries tags bound to one or more delivery groups, or filters delivery groups that have specific tags bound by tag key-value pairs.
4255
+ *
4256
+ * @remarks
4257
+ * This operation complies with the Alibaba Cloud tagging standard and is used to query tags bound to Elastic Cloud Application (China) delivery groups. You can query tags bound to resources by resource ID, or filter resources that have specific tags bound by tag key-value pairs.
4258
+ * ## Before you begin
4259
+ * - A delivery group is created. You can call the ListAppInstanceGroup operation to obtain the delivery group ID.
4260
+ * - Tags are bound to the delivery group. You can bind tags by calling the TagResources operation, or by using the console or the Tag service.
4261
+ * ## Parameter description
4262
+ * - **ResourceType is required**. Only `APPINSTANCEGROUP` (delivery group) is supported. If you specify other values, the error code `InvalidResourceType.Invalid` is returned.
4263
+ * - **Specify at least one of ResourceId.N and Tag.N**. If neither is specified, the error code `MissingParameter.ResourceIdsOrTags` is returned.
4264
+ * - If only ResourceId.N is specified: all tags attached to the specified resources are returned.
4265
+ * - If only Tag.N is specified: all resources that have the specified tags attached and their matching tags are returned.
4266
+ * - If both are specified: only records of the specified resources that have the specified tags attached are returned.
4267
+ * - Tag.N.Key is required. If it is empty, the error code `InvalidTagPolicy.KeyInvalid` is returned. Tag.N.Value is optional. If it is not specified, the value of the tag key is not restricted, which means any tag value under the key is matched.
4268
+ * - Multiple Tag.N conditions have an AND relationship. A resource is returned only if it has all specified tags attached.
4269
+ * ## Response description
4270
+ * - Each record in the response corresponds to a resource-tag key-value pair. If a resource has multiple tags bound, multiple records are returned.
4271
+ * - TotalCount indicates the number of records returned.
4272
+ * - This operation returns all matching results at a time. An empty NextToken value indicates that no more data is available.
4273
+ * ## Invocation sequence
4274
+ * 1. Invoke the ListAppInstanceGroup operation to obtain the delivery group ID.
4275
+ * 2. Invoke the TagResources operation to attach tags to the delivery group.
4276
+ * 3. Invoke this operation to query tag bindings by resource ID or tag conditions.
4277
+ *
4278
+ * @param request - ListTagResourcesRequest
4279
+ * @returns ListTagResourcesResponse
4280
+ */
4281
+ async listTagResources(request) {
4282
+ let runtime = new $dara.RuntimeOptions({});
4283
+ return await this.listTagResourcesWithOptions(request, runtime);
4284
+ }
3139
4285
  /**
3140
4286
  * Queries the configuration information of an administrator account, such as whether resource expiration reminders are enabled.
3141
4287
  *
@@ -3166,10 +4312,10 @@ class Client extends openapi_core_1.default {
3166
4312
  return await this.listTenantConfigWithOptions(runtime);
3167
4313
  }
3168
4314
  /**
3169
- * Queries the list of workstations.
4315
+ * Queries a list of workstations.
3170
4316
  *
3171
4317
  * @remarks
3172
- * Retrieves the list of WUYING workstations.
4318
+ * Retrieves a list of WUYING workstations.
3173
4319
  *
3174
4320
  * @param request - ListWuyingServerRequest
3175
4321
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3260,10 +4406,10 @@ class Client extends openapi_core_1.default {
3260
4406
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWuyingServerResponse({}));
3261
4407
  }
3262
4408
  /**
3263
- * Queries the list of workstations.
4409
+ * Queries a list of workstations.
3264
4410
  *
3265
4411
  * @remarks
3266
- * Retrieves the list of WUYING workstations.
4412
+ * Retrieves a list of WUYING workstations.
3267
4413
  *
3268
4414
  * @param request - ListWuyingServerRequest
3269
4415
  * @returns ListWuyingServerResponse
@@ -3272,6 +4418,79 @@ class Client extends openapi_core_1.default {
3272
4418
  let runtime = new $dara.RuntimeOptions({});
3273
4419
  return await this.listWuyingServerWithOptions(request, runtime);
3274
4420
  }
4421
+ /**
4422
+ * Queries the list of available zone IDs for a specified region, product type, and operating system type.
4423
+ *
4424
+ * @remarks
4425
+ * ## Operation description
4426
+ * This operation returns the list of available zone IDs for the current Alibaba Cloud account based on the specified region, product type, and operating system type. A typical use case is to check which zones are available before creating a resource that requires a vSwitch, and then select a vSwitch in one of those zones.
4427
+ * This operation only queries information. It does not create resources or incur fees.
4428
+ * ## Before you begin
4429
+ * - When calling this operation with a RAM user or STS credential, the `appstreaming:ListAppInstanceType` permission is required. If the permission is insufficient, the error code `Forbidden.NoPermission` is returned.
4430
+ * - **`ProductType`, `BizRegionId`, and `OsType` are all required.** If any of these parameters is missing, empty, or set to an unrecognized value, the error code `InvalidParameter.ValueInvalid` is returned.
4431
+ * - `BizRegionId` must be a region ID supported by WUYING Cloud Application. Call [ListRegions](~~ListRegions~~) first to obtain the supported region IDs.
4432
+ * ## Call sequence
4433
+ * 1. Call [ListRegions](~~ListRegions~~) to obtain the supported region IDs.
4434
+ * 2. Call this operation with the region ID, target product type, and operating system type, and read the returned `ListZonesModel.Zones`.
4435
+ * 3. When creating a resource that requires a vSwitch, select a vSwitch in one of the returned zones. For example, pass the corresponding vSwitch ID when calling [CreateAppInstanceGroup](~~CreateAppInstanceGroup~~) or [CreateWuyingServer](~~CreateWuyingServer~~).
4436
+ * The returned zone list is determined by the available resources in the current region and may change over time. Query the list in real time before creating resources instead of caching it for extended periods.
4437
+ *
4438
+ * @param request - ListZonesRequest
4439
+ * @param runtime - runtime options for this request RuntimeOptions
4440
+ * @returns ListZonesResponse
4441
+ */
4442
+ async listZonesWithOptions(request, runtime) {
4443
+ request.validate();
4444
+ let query = {};
4445
+ if (!$dara.isNull(request.bizRegionId)) {
4446
+ query["BizRegionId"] = request.bizRegionId;
4447
+ }
4448
+ if (!$dara.isNull(request.osType)) {
4449
+ query["OsType"] = request.osType;
4450
+ }
4451
+ if (!$dara.isNull(request.productType)) {
4452
+ query["ProductType"] = request.productType;
4453
+ }
4454
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4455
+ query: openapi_core_2.OpenApiUtil.query(query),
4456
+ });
4457
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4458
+ action: "ListZones",
4459
+ version: "2021-09-01",
4460
+ protocol: "HTTPS",
4461
+ pathname: "/",
4462
+ method: "POST",
4463
+ authType: "AK",
4464
+ style: "RPC",
4465
+ reqBodyType: "formData",
4466
+ bodyType: "json",
4467
+ });
4468
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListZonesResponse({}));
4469
+ }
4470
+ /**
4471
+ * Queries the list of available zone IDs for a specified region, product type, and operating system type.
4472
+ *
4473
+ * @remarks
4474
+ * ## Operation description
4475
+ * This operation returns the list of available zone IDs for the current Alibaba Cloud account based on the specified region, product type, and operating system type. A typical use case is to check which zones are available before creating a resource that requires a vSwitch, and then select a vSwitch in one of those zones.
4476
+ * This operation only queries information. It does not create resources or incur fees.
4477
+ * ## Before you begin
4478
+ * - When calling this operation with a RAM user or STS credential, the `appstreaming:ListAppInstanceType` permission is required. If the permission is insufficient, the error code `Forbidden.NoPermission` is returned.
4479
+ * - **`ProductType`, `BizRegionId`, and `OsType` are all required.** If any of these parameters is missing, empty, or set to an unrecognized value, the error code `InvalidParameter.ValueInvalid` is returned.
4480
+ * - `BizRegionId` must be a region ID supported by WUYING Cloud Application. Call [ListRegions](~~ListRegions~~) first to obtain the supported region IDs.
4481
+ * ## Call sequence
4482
+ * 1. Call [ListRegions](~~ListRegions~~) to obtain the supported region IDs.
4483
+ * 2. Call this operation with the region ID, target product type, and operating system type, and read the returned `ListZonesModel.Zones`.
4484
+ * 3. When creating a resource that requires a vSwitch, select a vSwitch in one of the returned zones. For example, pass the corresponding vSwitch ID when calling [CreateAppInstanceGroup](~~CreateAppInstanceGroup~~) or [CreateWuyingServer](~~CreateWuyingServer~~).
4485
+ * The returned zone list is determined by the available resources in the current region and may change over time. Query the list in real time before creating resources instead of caching it for extended periods.
4486
+ *
4487
+ * @param request - ListZonesRequest
4488
+ * @returns ListZonesResponse
4489
+ */
4490
+ async listZones(request) {
4491
+ let runtime = new $dara.RuntimeOptions({});
4492
+ return await this.listZonesWithOptions(request, runtime);
4493
+ }
3275
4494
  /**
3276
4495
  * Logs off all sessions in a pay-as-you-go delivery group that has scheduled auto scaling enabled.
3277
4496
  *
@@ -3321,7 +4540,7 @@ class Client extends openapi_core_1.default {
3321
4540
  return await this.logOffAllSessionsInAppInstanceGroupWithOptions(request, runtime);
3322
4541
  }
3323
4542
  /**
3324
- * Modifies the general policy of a delivery group, including the number of concurrent sessions and the session disconnection retention duration.
4543
+ * Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
3325
4544
  *
3326
4545
  * @param tmpReq - ModifyAppInstanceGroupAttributeRequest
3327
4546
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3396,7 +4615,7 @@ class Client extends openapi_core_1.default {
3396
4615
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceGroupAttributeResponse({}));
3397
4616
  }
3398
4617
  /**
3399
- * Modifies the general policy of a delivery group, including the number of concurrent sessions and the session disconnection retention duration.
4618
+ * Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
3400
4619
  *
3401
4620
  * @param request - ModifyAppInstanceGroupAttributeRequest
3402
4621
  * @returns ModifyAppInstanceGroupAttributeResponse
@@ -3498,6 +4717,9 @@ class Client extends openapi_core_1.default {
3498
4717
  query["Timers"] = request.timersShrink;
3499
4718
  }
3500
4719
  let body = {};
4720
+ if (!$dara.isNull(request.authNotificationEnabled)) {
4721
+ body["AuthNotificationEnabled"] = request.authNotificationEnabled;
4722
+ }
3501
4723
  if (!$dara.isNull(request.cloudBrowserName)) {
3502
4724
  body["CloudBrowserName"] = request.cloudBrowserName;
3503
4725
  }
@@ -3709,6 +4931,9 @@ class Client extends openapi_core_1.default {
3709
4931
  async modifyWuyingServerAttributeWithOptions(request, runtime) {
3710
4932
  request.validate();
3711
4933
  let body = {};
4934
+ if (!$dara.isNull(request.erdmaEnabled)) {
4935
+ body["ErdmaEnabled"] = request.erdmaEnabled;
4936
+ }
3712
4937
  if (!$dara.isNull(request.password)) {
3713
4938
  body["Password"] = request.password;
3714
4939
  }
@@ -3966,6 +5191,8 @@ class Client extends openapi_core_1.default {
3966
5191
  *
3967
5192
  * @remarks
3968
5193
  * Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING Workspace.
5194
+ * > Prerequisites:
5195
+ * > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
3969
5196
  *
3970
5197
  * @param tmpReq - RenewAppInstanceGroupRequest
3971
5198
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4027,6 +5254,8 @@ class Client extends openapi_core_1.default {
4027
5254
  *
4028
5255
  * @remarks
4029
5256
  * Before you call this operation, make sure that you fully understand the [billing and pricing](https://help.aliyun.com/document_detail/426039.html) of WUYING Workspace.
5257
+ * > Prerequisites:
5258
+ * > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
4030
5259
  *
4031
5260
  * @param request - RenewAppInstanceGroupRequest
4032
5261
  * @returns RenewAppInstanceGroupResponse
@@ -4087,7 +5316,7 @@ class Client extends openapi_core_1.default {
4087
5316
  return await this.renewWuyingServerWithOptions(request, runtime);
4088
5317
  }
4089
5318
  /**
4090
- * Restarts a cloud graphics workstation.
5319
+ * Restarts a workstation.
4091
5320
  *
4092
5321
  * @param request - RestartWuyingServerRequest
4093
5322
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4121,7 +5350,7 @@ class Client extends openapi_core_1.default {
4121
5350
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartWuyingServerResponse({}));
4122
5351
  }
4123
5352
  /**
4124
- * Restarts a cloud graphics workstation.
5353
+ * Restarts a workstation.
4125
5354
  *
4126
5355
  * @param request - RestartWuyingServerRequest
4127
5356
  * @returns RestartWuyingServerResponse
@@ -4320,6 +5549,96 @@ class Client extends openapi_core_1.default {
4320
5549
  let runtime = new $dara.RuntimeOptions({});
4321
5550
  return await this.tagCloudResourcesWithOptions(request, runtime);
4322
5551
  }
5552
+ /**
5553
+ * Creates and binds tags to specified China Office (Chinese: Wuying) delivery groups in compliance with Alibaba Cloud tag specifications. If a tag key already exists on a resource, the tag value is updated to the value specified in the current request. Currently, only delivery group (`APPINSTANCEGROUP`) resource types are supported.
5554
+ *
5555
+ * @remarks
5556
+ * ## Before you begin
5557
+ * When you use a RAM user or Security Token Service (STS) credential to call this operation, you must have the `appstreaming:TagResources` permission.
5558
+ * The resources to which you want to bind tags must belong to the current Alibaba Cloud account. **This operation currently supports only delivery group resources.** You can set `ResourceType` only to `APPINSTANCEGROUP`. You can call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain delivery group IDs.
5559
+ * ## Tag rules
5560
+ * - In a single request, you can bind up to **20 tags** to up to **50 resources**. Duplicate resource IDs are automatically deduplicated.
5561
+ * - A tag key must be 1 to 128 characters in length. A tag value must be 0 to 256 characters in length. Both are case-sensitive.
5562
+ * - A tag key cannot start with `aliyun` or `acs:` (case-insensitive). Neither tag keys nor tag values can contain `http://` or `https://`.
5563
+ * - Tag keys in the same request must be unique. Otherwise, the error code `InvalidTag.Duplicated` is returned.
5564
+ * - Each tag key on a resource can correspond to only one tag value. If the tag key already exists on the resource, the tag value is updated to the new value.
5565
+ * - A maximum of 20 custom tags can be bound to a single resource. If this limit is exceeded, the error code `ResourceTag.CustomTagCountExceed` is returned.
5566
+ * ## Results
5567
+ * - **If any specified delivery group does not exist or does not belong to the current account, the entire request fails.** The error code `InvalidAppInstanceGroup.NotFound` is returned, and no tags are bound to any resource.
5568
+ * - If the binding succeeds, the response contains only `RequestId` and does not return tag details.
5569
+ * - If multiple resources are specified and only some of them fail to be bound, the operation still returns a success response without failure details. Call `ListTagResources` to verify the binding results. If only one resource is specified and the binding fails, the operation returns the corresponding error code.
5570
+ * ## Call sequence
5571
+ * 1. Call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the IDs of the delivery groups to which you want to add tags.
5572
+ * 2. Call this operation with `ResourceType=APPINSTANCEGROUP`, `ResourceId.N`, and `Tag.N.Key`/`Tag.N.Value`.
5573
+ * 3. To view the tags bound to resources, call `ListTagResources`. To unbind tags, call `UntagResources`.
5574
+ * The masked identifiers in the examples are used to demonstrate the format. Replace them with your actual identifiers when you call the operation.
5575
+ *
5576
+ * @param request - TagResourcesRequest
5577
+ * @param runtime - runtime options for this request RuntimeOptions
5578
+ * @returns TagResourcesResponse
5579
+ */
5580
+ async tagResourcesWithOptions(request, runtime) {
5581
+ request.validate();
5582
+ let body = {};
5583
+ if (!$dara.isNull(request.regionId)) {
5584
+ body["RegionId"] = request.regionId;
5585
+ }
5586
+ if (!$dara.isNull(request.resourceId)) {
5587
+ body["ResourceId"] = request.resourceId;
5588
+ }
5589
+ if (!$dara.isNull(request.resourceType)) {
5590
+ body["ResourceType"] = request.resourceType;
5591
+ }
5592
+ if (!$dara.isNull(request.tag)) {
5593
+ body["Tag"] = request.tag;
5594
+ }
5595
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5596
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5597
+ });
5598
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5599
+ action: "TagResources",
5600
+ version: "2021-09-01",
5601
+ protocol: "HTTPS",
5602
+ pathname: "/",
5603
+ method: "POST",
5604
+ authType: "AK",
5605
+ style: "RPC",
5606
+ reqBodyType: "formData",
5607
+ bodyType: "json",
5608
+ });
5609
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagResourcesResponse({}));
5610
+ }
5611
+ /**
5612
+ * Creates and binds tags to specified China Office (Chinese: Wuying) delivery groups in compliance with Alibaba Cloud tag specifications. If a tag key already exists on a resource, the tag value is updated to the value specified in the current request. Currently, only delivery group (`APPINSTANCEGROUP`) resource types are supported.
5613
+ *
5614
+ * @remarks
5615
+ * ## Before you begin
5616
+ * When you use a RAM user or Security Token Service (STS) credential to call this operation, you must have the `appstreaming:TagResources` permission.
5617
+ * The resources to which you want to bind tags must belong to the current Alibaba Cloud account. **This operation currently supports only delivery group resources.** You can set `ResourceType` only to `APPINSTANCEGROUP`. You can call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain delivery group IDs.
5618
+ * ## Tag rules
5619
+ * - In a single request, you can bind up to **20 tags** to up to **50 resources**. Duplicate resource IDs are automatically deduplicated.
5620
+ * - A tag key must be 1 to 128 characters in length. A tag value must be 0 to 256 characters in length. Both are case-sensitive.
5621
+ * - A tag key cannot start with `aliyun` or `acs:` (case-insensitive). Neither tag keys nor tag values can contain `http://` or `https://`.
5622
+ * - Tag keys in the same request must be unique. Otherwise, the error code `InvalidTag.Duplicated` is returned.
5623
+ * - Each tag key on a resource can correspond to only one tag value. If the tag key already exists on the resource, the tag value is updated to the new value.
5624
+ * - A maximum of 20 custom tags can be bound to a single resource. If this limit is exceeded, the error code `ResourceTag.CustomTagCountExceed` is returned.
5625
+ * ## Results
5626
+ * - **If any specified delivery group does not exist or does not belong to the current account, the entire request fails.** The error code `InvalidAppInstanceGroup.NotFound` is returned, and no tags are bound to any resource.
5627
+ * - If the binding succeeds, the response contains only `RequestId` and does not return tag details.
5628
+ * - If multiple resources are specified and only some of them fail to be bound, the operation still returns a success response without failure details. Call `ListTagResources` to verify the binding results. If only one resource is specified and the binding fails, the operation returns the corresponding error code.
5629
+ * ## Call sequence
5630
+ * 1. Call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain the IDs of the delivery groups to which you want to add tags.
5631
+ * 2. Call this operation with `ResourceType=APPINSTANCEGROUP`, `ResourceId.N`, and `Tag.N.Key`/`Tag.N.Value`.
5632
+ * 3. To view the tags bound to resources, call `ListTagResources`. To unbind tags, call `UntagResources`.
5633
+ * The masked identifiers in the examples are used to demonstrate the format. Replace them with your actual identifiers when you call the operation.
5634
+ *
5635
+ * @param request - TagResourcesRequest
5636
+ * @returns TagResourcesResponse
5637
+ */
5638
+ async tagResources(request) {
5639
+ let runtime = new $dara.RuntimeOptions({});
5640
+ return await this.tagResourcesWithOptions(request, runtime);
5641
+ }
4323
5642
  /**
4324
5643
  * Unbinds secondary private IP addresses from a development host.
4325
5644
  *
@@ -4458,12 +5777,106 @@ class Client extends openapi_core_1.default {
4458
5777
  let runtime = new $dara.RuntimeOptions({});
4459
5778
  return await this.untagCloudResourcesWithOptions(request, runtime);
4460
5779
  }
5780
+ /**
5781
+ * Unbinds tags from specified Wuying delivery groups in compliance with Alibaba Cloud tagging standards. You can unbind specific tags by tag key or unbind all custom tags from a resource at once by setting `All=true` without specifying tag keys. Currently, only the delivery group (`APPINSTANCEGROUP`) resource type is supported.
5782
+ *
5783
+ * @remarks
5784
+ * ## Before you begin
5785
+ * When calling this operation with a RAM user or STS credential, the `appstreaming:UntagResources` permission is required.
5786
+ * The resources from which you want to unbind tags must belong to the current Alibaba Cloud account. **This operation currently supports only delivery group resources.** You can set `ResourceType` only to `APPINSTANCEGROUP`. You can obtain delivery group IDs by calling [ListAppInstanceGroup](~~ListAppInstanceGroup~~), and query tags that are bound to a resource by calling [ListTagResources](~~ListTagResources~~).
5787
+ * ## Parameter description
5788
+ * - You can unbind tags from up to **50 resources** in a single request. Duplicate resource IDs are automatically deduplicated.
5789
+ * - **Specify at least one of `TagKey.N` and `All`.** If neither is specified, or if `TagKey.N` is not specified and `All` is set to `false`, the error code `InvalidParameter.TagKeyListOrAll` is returned.
5790
+ * - If `TagKey.N` is specified: only the tags that correspond to the specified tag keys are unbound. You can specify up to 20 tag keys at a time. The `All` parameter is ignored.
5791
+ * - If `TagKey.N` is not specified and `All=true`: all custom tags on the resource are unbound, including Wuying system tags that start with `System/` and were attached by calling [TagResources](~~TagResources~~).
5792
+ * - If a specified tag key does not exist on the resource, the tag key is skipped and no error is returned.
5793
+ * - Tag keys that start with `System/` are Wuying system tags. Only `System/Scheduler/GRAYSCALE` and `System/Scheduler/STOP_NEW_USER_CONNECTION` are supported. If you specify other tag keys that start with `System/`, the error code `InvalidTagPolicy.KeyInvalid` or `InvalidTag.SystemKeyNotAllow` is returned.
5794
+ * ## Execution results
5795
+ * - **If any specified delivery group does not exist or does not belong to the current account, the entire request fails** with the error code `InvalidAppInstanceGroup.NotFound`, and no tags are unbound from any resource.
5796
+ * - On success, the response contains only `RequestId` and does not return tag details.
5797
+ * - When multiple resources are specified and only some fail to have tags unbound, the operation still returns success and the response does not contain failure details. Call [ListTagResources](~~ListTagResources~~) to verify the unbinding results. When only one resource is specified and the unbinding fails, the operation returns the corresponding error code directly.
5798
+ * ## Call sequence
5799
+ * 1. Call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain delivery group IDs. To check which tag keys are bound to a resource, call [ListTagResources](~~ListTagResources~~).
5800
+ * 2. Call this operation with `ResourceType=APPINSTANCEGROUP` and `ResourceId.N`, and specify `TagKey.N` or `All=true` to indicate the tags to unbind.
5801
+ * 3. To rebind tags, call [TagResources](~~TagResources~~).
5802
+ * The masked identifiers in the examples are for format demonstration purposes only. Replace them with your actual identifiers when making calls.
5803
+ *
5804
+ * @param request - UntagResourcesRequest
5805
+ * @param runtime - runtime options for this request RuntimeOptions
5806
+ * @returns UntagResourcesResponse
5807
+ */
5808
+ async untagResourcesWithOptions(request, runtime) {
5809
+ request.validate();
5810
+ let body = {};
5811
+ if (!$dara.isNull(request.all)) {
5812
+ body["All"] = request.all;
5813
+ }
5814
+ if (!$dara.isNull(request.regionId)) {
5815
+ body["RegionId"] = request.regionId;
5816
+ }
5817
+ if (!$dara.isNull(request.resourceId)) {
5818
+ body["ResourceId"] = request.resourceId;
5819
+ }
5820
+ if (!$dara.isNull(request.resourceType)) {
5821
+ body["ResourceType"] = request.resourceType;
5822
+ }
5823
+ if (!$dara.isNull(request.tagKey)) {
5824
+ body["TagKey"] = request.tagKey;
5825
+ }
5826
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5827
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5828
+ });
5829
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5830
+ action: "UntagResources",
5831
+ version: "2021-09-01",
5832
+ protocol: "HTTPS",
5833
+ pathname: "/",
5834
+ method: "POST",
5835
+ authType: "AK",
5836
+ style: "RPC",
5837
+ reqBodyType: "formData",
5838
+ bodyType: "json",
5839
+ });
5840
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagResourcesResponse({}));
5841
+ }
5842
+ /**
5843
+ * Unbinds tags from specified Wuying delivery groups in compliance with Alibaba Cloud tagging standards. You can unbind specific tags by tag key or unbind all custom tags from a resource at once by setting `All=true` without specifying tag keys. Currently, only the delivery group (`APPINSTANCEGROUP`) resource type is supported.
5844
+ *
5845
+ * @remarks
5846
+ * ## Before you begin
5847
+ * When calling this operation with a RAM user or STS credential, the `appstreaming:UntagResources` permission is required.
5848
+ * The resources from which you want to unbind tags must belong to the current Alibaba Cloud account. **This operation currently supports only delivery group resources.** You can set `ResourceType` only to `APPINSTANCEGROUP`. You can obtain delivery group IDs by calling [ListAppInstanceGroup](~~ListAppInstanceGroup~~), and query tags that are bound to a resource by calling [ListTagResources](~~ListTagResources~~).
5849
+ * ## Parameter description
5850
+ * - You can unbind tags from up to **50 resources** in a single request. Duplicate resource IDs are automatically deduplicated.
5851
+ * - **Specify at least one of `TagKey.N` and `All`.** If neither is specified, or if `TagKey.N` is not specified and `All` is set to `false`, the error code `InvalidParameter.TagKeyListOrAll` is returned.
5852
+ * - If `TagKey.N` is specified: only the tags that correspond to the specified tag keys are unbound. You can specify up to 20 tag keys at a time. The `All` parameter is ignored.
5853
+ * - If `TagKey.N` is not specified and `All=true`: all custom tags on the resource are unbound, including Wuying system tags that start with `System/` and were attached by calling [TagResources](~~TagResources~~).
5854
+ * - If a specified tag key does not exist on the resource, the tag key is skipped and no error is returned.
5855
+ * - Tag keys that start with `System/` are Wuying system tags. Only `System/Scheduler/GRAYSCALE` and `System/Scheduler/STOP_NEW_USER_CONNECTION` are supported. If you specify other tag keys that start with `System/`, the error code `InvalidTagPolicy.KeyInvalid` or `InvalidTag.SystemKeyNotAllow` is returned.
5856
+ * ## Execution results
5857
+ * - **If any specified delivery group does not exist or does not belong to the current account, the entire request fails** with the error code `InvalidAppInstanceGroup.NotFound`, and no tags are unbound from any resource.
5858
+ * - On success, the response contains only `RequestId` and does not return tag details.
5859
+ * - When multiple resources are specified and only some fail to have tags unbound, the operation still returns success and the response does not contain failure details. Call [ListTagResources](~~ListTagResources~~) to verify the unbinding results. When only one resource is specified and the unbinding fails, the operation returns the corresponding error code directly.
5860
+ * ## Call sequence
5861
+ * 1. Call [ListAppInstanceGroup](~~ListAppInstanceGroup~~) to obtain delivery group IDs. To check which tag keys are bound to a resource, call [ListTagResources](~~ListTagResources~~).
5862
+ * 2. Call this operation with `ResourceType=APPINSTANCEGROUP` and `ResourceId.N`, and specify `TagKey.N` or `All=true` to indicate the tags to unbind.
5863
+ * 3. To rebind tags, call [TagResources](~~TagResources~~).
5864
+ * The masked identifiers in the examples are for format demonstration purposes only. Replace them with your actual identifiers when making calls.
5865
+ *
5866
+ * @param request - UntagResourcesRequest
5867
+ * @returns UntagResourcesResponse
5868
+ */
5869
+ async untagResources(request) {
5870
+ let runtime = new $dara.RuntimeOptions({});
5871
+ return await this.untagResourcesWithOptions(request, runtime);
5872
+ }
4461
5873
  /**
4462
5874
  * Updates the image of a delivery group.
4463
5875
  *
4464
5876
  * @remarks
4465
- * >Warning: After the image update starts, sessions of end users accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
4466
- * > After the update is published, changes typically take about 2 minutes to take effect on the client.
5877
+ * >Warning: After the image update starts, sessions of end users who are accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
5878
+ * > Before calling this API, the delivery group must be in the PUBLISHED, DEPLOYED, or MAINTAIN_FAILED state. You can call GetAppInstanceGroup to query the current state of the delivery group.
5879
+ * > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
4467
5880
  *
4468
5881
  * @param request - UpdateAppInstanceGroupImageRequest
4469
5882
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4504,8 +5917,9 @@ class Client extends openapi_core_1.default {
4504
5917
  * Updates the image of a delivery group.
4505
5918
  *
4506
5919
  * @remarks
4507
- * >Warning: After the image update starts, sessions of end users accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
4508
- * > After the update is published, changes typically take about 2 minutes to take effect on the client.
5920
+ * >Warning: After the image update starts, sessions of end users who are accessing cloud applications will be disconnected. Proceed with caution to avoid data loss for end users.
5921
+ * > Before calling this API, the delivery group must be in the PUBLISHED, DEPLOYED, or MAINTAIN_FAILED state. You can call GetAppInstanceGroup to query the current state of the delivery group.
5922
+ * > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
4509
5923
  *
4510
5924
  * @param request - UpdateAppInstanceGroupImageRequest
4511
5925
  * @returns UpdateAppInstanceGroupImageResponse
@@ -4584,8 +5998,8 @@ class Client extends openapi_core_1.default {
4584
5998
  * Updates a model template.
4585
5999
  *
4586
6000
  * @remarks
4587
- * You can update a model group that has been created in the WUYING Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
4588
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
6001
+ * You can update a model group that has been created in the Wuying Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
6002
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
4589
6003
  *
4590
6004
  * @param request - UpdateModelTemplateRequest
4591
6005
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4629,8 +6043,8 @@ class Client extends openapi_core_1.default {
4629
6043
  * Updates a model template.
4630
6044
  *
4631
6045
  * @remarks
4632
- * You can update a model group that has been created in the WUYING Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
4633
- * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
6046
+ * You can update a model group that has been created in the Wuying Agent Management Center, including the group name, description, and model configuration information. You can modify the default model of a model group by updating the Config field. The updated configuration automatically takes effect on associated cloud desktops.
6047
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
4634
6048
  *
4635
6049
  * @param request - UpdateModelTemplateRequest
4636
6050
  * @returns UpdateModelTemplateResponse