@alicloud/appstream-center20210901 5.7.0 → 5.8.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 (261) hide show
  1. package/dist/client.d.ts +356 -70
  2. package/dist/client.js +737 -74
  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/ListAuthorizedAppInstanceGroupByUserRequest.d.ts +106 -0
  83. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js +72 -0
  84. package/dist/models/ListAuthorizedAppInstanceGroupByUserRequest.js.map +1 -0
  85. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.d.ts +19 -0
  86. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js +69 -0
  87. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponse.js.map +1 -0
  88. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.d.ts +195 -0
  89. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js +134 -0
  90. package/dist/models/ListAuthorizedAppInstanceGroupByUserResponseBody.js.map +1 -0
  91. package/dist/models/ListAuthorizedUserGroupsRequest.d.ts +9 -3
  92. package/dist/models/ListAuthorizedUserGroupsRequest.js +2 -0
  93. package/dist/models/ListAuthorizedUserGroupsRequest.js.map +1 -1
  94. package/dist/models/ListAuthorizedUserGroupsResponseBody.d.ts +10 -2
  95. package/dist/models/ListAuthorizedUserGroupsResponseBody.js +2 -0
  96. package/dist/models/ListAuthorizedUserGroupsResponseBody.js.map +1 -1
  97. package/dist/models/ListAuthorizedUsersRequest.d.ts +99 -0
  98. package/dist/models/ListAuthorizedUsersRequest.js +74 -0
  99. package/dist/models/ListAuthorizedUsersRequest.js.map +1 -0
  100. package/dist/models/ListAuthorizedUsersResponse.d.ts +19 -0
  101. package/dist/models/ListAuthorizedUsersResponse.js +69 -0
  102. package/dist/models/ListAuthorizedUsersResponse.js.map +1 -0
  103. package/dist/models/ListAuthorizedUsersResponseBody.d.ts +151 -0
  104. package/dist/models/ListAuthorizedUsersResponseBody.js +109 -0
  105. package/dist/models/ListAuthorizedUsersResponseBody.js.map +1 -0
  106. package/dist/models/ListBrowserInstanceGroupRequest.d.ts +146 -0
  107. package/dist/models/ListBrowserInstanceGroupRequest.js +115 -0
  108. package/dist/models/ListBrowserInstanceGroupRequest.js.map +1 -0
  109. package/dist/models/ListBrowserInstanceGroupResponse.d.ts +19 -0
  110. package/dist/models/ListBrowserInstanceGroupResponse.js +69 -0
  111. package/dist/models/ListBrowserInstanceGroupResponse.js.map +1 -0
  112. package/dist/models/ListBrowserInstanceGroupResponseBody.d.ts +705 -0
  113. package/dist/models/ListBrowserInstanceGroupResponseBody.js +470 -0
  114. package/dist/models/ListBrowserInstanceGroupResponseBody.js.map +1 -0
  115. package/dist/models/ListDesktopAgentRuntimeRequest.d.ts +9 -9
  116. package/dist/models/ListDesktopAgentRuntimeResponseBody.d.ts +19 -10
  117. package/dist/models/ListDesktopAgentRuntimeResponseBody.js.map +1 -1
  118. package/dist/models/ListLlmTemplatesRequest.d.ts +11 -3
  119. package/dist/models/ListLlmTemplatesRequest.js.map +1 -1
  120. package/dist/models/ListLlmTemplatesResponseBody.d.ts +36 -9
  121. package/dist/models/ListLlmTemplatesResponseBody.js.map +1 -1
  122. package/dist/models/ListLlmTemplatesShrinkRequest.d.ts +11 -3
  123. package/dist/models/ListLlmTemplatesShrinkRequest.js.map +1 -1
  124. package/dist/models/ListModelProviderEndpointsRequest.d.ts +28 -0
  125. package/dist/models/ListModelProviderEndpointsRequest.js.map +1 -1
  126. package/dist/models/ListModelProviderEndpointsResponseBody.d.ts +71 -0
  127. package/dist/models/ListModelProviderEndpointsResponseBody.js.map +1 -1
  128. package/dist/models/ListModelProviderTemplatesRequest.d.ts +3 -3
  129. package/dist/models/ListModelProviderTemplatesResponseBody.d.ts +3 -3
  130. package/dist/models/ListModelProviderTemplatesShrinkRequest.d.ts +3 -3
  131. package/dist/models/ListModelTemplatesRequest.d.ts +9 -8
  132. package/dist/models/ListModelTemplatesRequest.js.map +1 -1
  133. package/dist/models/ListModelTemplatesResponseBody.d.ts +19 -6
  134. package/dist/models/ListModelTemplatesResponseBody.js.map +1 -1
  135. package/dist/models/ListModelTemplatesShrinkRequest.d.ts +9 -8
  136. package/dist/models/ListModelTemplatesShrinkRequest.js.map +1 -1
  137. package/dist/models/ListNodeInstanceTypeRequest.d.ts +22 -1
  138. package/dist/models/ListNodeInstanceTypeRequest.js.map +1 -1
  139. package/dist/models/ListNodeInstanceTypeResponseBody.d.ts +2 -2
  140. package/dist/models/ListOtaTaskRequest.d.ts +1 -1
  141. package/dist/models/ListTenantConfigResponseBody.d.ts +8 -0
  142. package/dist/models/ListTenantConfigResponseBody.js.map +1 -1
  143. package/dist/models/ListWuyingServerResponseBody.d.ts +41 -23
  144. package/dist/models/ListWuyingServerResponseBody.js +4 -0
  145. package/dist/models/ListWuyingServerResponseBody.js.map +1 -1
  146. package/dist/models/ModifyAppInstanceGroupAttributeRequest.d.ts +24 -6
  147. package/dist/models/ModifyAppInstanceGroupAttributeRequest.js.map +1 -1
  148. package/dist/models/ModifyAppInstanceGroupAttributeResponseBody.d.ts +2 -2
  149. package/dist/models/ModifyAppInstanceGroupAttributeShrinkRequest.d.ts +4 -4
  150. package/dist/models/ModifyBrowserInstanceGroupRequest.d.ts +60 -21
  151. package/dist/models/ModifyBrowserInstanceGroupRequest.js +2 -0
  152. package/dist/models/ModifyBrowserInstanceGroupRequest.js.map +1 -1
  153. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.d.ts +8 -0
  154. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js +2 -0
  155. package/dist/models/ModifyBrowserInstanceGroupShrinkRequest.js.map +1 -1
  156. package/dist/models/ModifyNodePoolAmountRequest.d.ts +5 -2
  157. package/dist/models/ModifyNodePoolAmountRequest.js.map +1 -1
  158. package/dist/models/ModifyNodePoolAmountShrinkRequest.d.ts +1 -1
  159. package/dist/models/ModifyWuyingServerAttributeRequest.d.ts +15 -0
  160. package/dist/models/ModifyWuyingServerAttributeRequest.js +2 -0
  161. package/dist/models/ModifyWuyingServerAttributeRequest.js.map +1 -1
  162. package/dist/models/RenewAppInstanceGroupRequest.d.ts +29 -11
  163. package/dist/models/RenewAppInstanceGroupRequest.js.map +1 -1
  164. package/dist/models/RenewAppInstanceGroupShrinkRequest.d.ts +29 -11
  165. package/dist/models/RenewAppInstanceGroupShrinkRequest.js.map +1 -1
  166. package/dist/models/RenewWuyingServerRequest.d.ts +3 -0
  167. package/dist/models/RenewWuyingServerRequest.js.map +1 -1
  168. package/dist/models/RestartWuyingServerRequest.d.ts +7 -0
  169. package/dist/models/RestartWuyingServerRequest.js.map +1 -1
  170. package/dist/models/StartWuyingServerRequest.d.ts +7 -0
  171. package/dist/models/StartWuyingServerRequest.js.map +1 -1
  172. package/dist/models/StopWuyingServerRequest.d.ts +8 -4
  173. package/dist/models/StopWuyingServerRequest.js.map +1 -1
  174. package/dist/models/UpdateModelTemplateRequest.d.ts +5 -2
  175. package/dist/models/UpdateModelTemplateRequest.js.map +1 -1
  176. package/dist/models/model.d.ts +75 -0
  177. package/dist/models/model.js +160 -8
  178. package/dist/models/model.js.map +1 -1
  179. package/package.json +1 -1
  180. package/src/client.ts +833 -74
  181. package/src/models/ApproveOtaTaskRequest.ts +2 -2
  182. package/src/models/ApproveOtaTaskResponseBody.ts +1 -1
  183. package/src/models/AuthorizeInstanceGroupRequest.ts +26 -14
  184. package/src/models/AuthorizeInstanceGroupResponseBody.ts +1 -1
  185. package/src/models/AuthorizeInstanceGroupShrinkRequest.ts +24 -12
  186. package/src/models/AuthorizeUsersForAppRequest.ts +148 -0
  187. package/src/models/AuthorizeUsersForAppResponse.ts +40 -0
  188. package/src/models/AuthorizeUsersForAppResponseBody.ts +34 -0
  189. package/src/models/AuthorizeUsersForAppShrinkRequest.ts +100 -0
  190. package/src/models/CreateAppInstanceGroupRequest.ts +63 -63
  191. package/src/models/CreateAppInstanceGroupShrinkRequest.ts +14 -14
  192. package/src/models/CreateBrowserInstanceGroupRequest.ts +1542 -0
  193. package/src/models/CreateBrowserInstanceGroupResponse.ts +40 -0
  194. package/src/models/CreateBrowserInstanceGroupResponseBody.ts +84 -0
  195. package/src/models/CreateBrowserInstanceGroupShrinkRequest.ts +315 -0
  196. package/src/models/CreateImageByInstanceRequest.ts +29 -4
  197. package/src/models/CreateImageByInstanceResponseBody.ts +2 -2
  198. package/src/models/CreateModelTemplateRequest.ts +6 -3
  199. package/src/models/CreateWuyingServerRequest.ts +73 -22
  200. package/src/models/DeleteImageResponseBody.ts +4 -7
  201. package/src/models/DescribeWuyingServerEipInfoRequest.ts +2 -2
  202. package/src/models/DescribeWuyingServerEipInfoResponseBody.ts +8 -1
  203. package/src/models/DescribeWuyingServerRequest.ts +1 -1
  204. package/src/models/DescribeWuyingServerResponseBody.ts +22 -12
  205. package/src/models/GetAppInstanceGroupRequest.ts +1 -1
  206. package/src/models/GetAppInstanceGroupResponseBody.ts +25 -18
  207. package/src/models/GetBrowserInstanceGroupRequest.ts +34 -0
  208. package/src/models/GetBrowserInstanceGroupResponse.ts +40 -0
  209. package/src/models/GetBrowserInstanceGroupResponseBody.ts +1461 -0
  210. package/src/models/GetConnectionTicketRequest.ts +25 -9
  211. package/src/models/GetConnectionTicketResponseBody.ts +5 -2
  212. package/src/models/GetRuntimeModelConfigResponseBody.ts +11 -5
  213. package/src/models/ListAppInstanceGroupRequest.ts +9 -3
  214. package/src/models/ListAppInstanceGroupResponseBody.ts +24 -17
  215. package/src/models/ListAppInstancesRequest.ts +4 -4
  216. package/src/models/ListAppInstancesResponseBody.ts +20 -6
  217. package/src/models/ListAuthorizedAppInstanceGroupByUserRequest.ts +133 -0
  218. package/src/models/ListAuthorizedAppInstanceGroupByUserResponse.ts +40 -0
  219. package/src/models/ListAuthorizedAppInstanceGroupByUserResponseBody.ts +266 -0
  220. package/src/models/ListAuthorizedUserGroupsRequest.ts +11 -3
  221. package/src/models/ListAuthorizedUserGroupsResponseBody.ts +12 -2
  222. package/src/models/ListAuthorizedUsersRequest.ts +128 -0
  223. package/src/models/ListAuthorizedUsersResponse.ts +40 -0
  224. package/src/models/ListAuthorizedUsersResponseBody.ts +206 -0
  225. package/src/models/ListBrowserInstanceGroupRequest.ts +207 -0
  226. package/src/models/ListBrowserInstanceGroupResponse.ts +40 -0
  227. package/src/models/ListBrowserInstanceGroupResponseBody.ts +1004 -0
  228. package/src/models/ListDesktopAgentRuntimeRequest.ts +9 -9
  229. package/src/models/ListDesktopAgentRuntimeResponseBody.ts +19 -10
  230. package/src/models/ListLlmTemplatesRequest.ts +11 -3
  231. package/src/models/ListLlmTemplatesResponseBody.ts +36 -9
  232. package/src/models/ListLlmTemplatesShrinkRequest.ts +11 -3
  233. package/src/models/ListModelProviderEndpointsRequest.ts +28 -0
  234. package/src/models/ListModelProviderEndpointsResponseBody.ts +71 -0
  235. package/src/models/ListModelProviderTemplatesRequest.ts +3 -3
  236. package/src/models/ListModelProviderTemplatesResponseBody.ts +3 -3
  237. package/src/models/ListModelProviderTemplatesShrinkRequest.ts +3 -3
  238. package/src/models/ListModelTemplatesRequest.ts +9 -8
  239. package/src/models/ListModelTemplatesResponseBody.ts +19 -6
  240. package/src/models/ListModelTemplatesShrinkRequest.ts +9 -8
  241. package/src/models/ListNodeInstanceTypeRequest.ts +22 -1
  242. package/src/models/ListNodeInstanceTypeResponseBody.ts +2 -2
  243. package/src/models/ListOtaTaskRequest.ts +1 -1
  244. package/src/models/ListTenantConfigResponseBody.ts +8 -0
  245. package/src/models/ListWuyingServerResponseBody.ts +45 -23
  246. package/src/models/ModifyAppInstanceGroupAttributeRequest.ts +24 -6
  247. package/src/models/ModifyAppInstanceGroupAttributeResponseBody.ts +2 -2
  248. package/src/models/ModifyAppInstanceGroupAttributeShrinkRequest.ts +4 -4
  249. package/src/models/ModifyBrowserInstanceGroupRequest.ts +62 -21
  250. package/src/models/ModifyBrowserInstanceGroupShrinkRequest.ts +10 -0
  251. package/src/models/ModifyNodePoolAmountRequest.ts +5 -2
  252. package/src/models/ModifyNodePoolAmountShrinkRequest.ts +1 -1
  253. package/src/models/ModifyWuyingServerAttributeRequest.ts +17 -0
  254. package/src/models/RenewAppInstanceGroupRequest.ts +29 -11
  255. package/src/models/RenewAppInstanceGroupShrinkRequest.ts +29 -11
  256. package/src/models/RenewWuyingServerRequest.ts +3 -0
  257. package/src/models/RestartWuyingServerRequest.ts +7 -0
  258. package/src/models/StartWuyingServerRequest.ts +7 -0
  259. package/src/models/StopWuyingServerRequest.ts +8 -4
  260. package/src/models/UpdateModelTemplateRequest.ts +5 -2
  261. package/src/models/model.ts +75 -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.
1517
1802
  *
1518
1803
  * @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.
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.
1860
+ *
1861
+ * @remarks
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,104 @@ 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 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.
2499
+ *
2500
+ * @remarks
2501
+ * ## Operation description
2502
+ * 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.
2503
+ * Scope of returned results:
2504
+ * - 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.
2505
+ * - 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.
2506
+ * - 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.
2507
+ * ## Before you begin
2508
+ * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2509
+ * ## Parameter description
2510
+ * - **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.
2511
+ * - 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.
2512
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2513
+ * - 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.
2514
+ * ## Call sequence
2515
+ * 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.
2516
+ * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2517
+ * 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.
2518
+ *
2519
+ * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2520
+ * @param runtime - runtime options for this request RuntimeOptions
2521
+ * @returns ListAuthorizedAppInstanceGroupByUserResponse
2522
+ */
2523
+ async listAuthorizedAppInstanceGroupByUserWithOptions(request, runtime) {
2524
+ request.validate();
2525
+ let query = {};
2526
+ if (!$dara.isNull(request.appId)) {
2527
+ query["AppId"] = request.appId;
2528
+ }
2529
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2530
+ query["AppInstanceGroupId"] = request.appInstanceGroupId;
2531
+ }
2532
+ if (!$dara.isNull(request.appInstanceGroupName)) {
2533
+ query["AppInstanceGroupName"] = request.appInstanceGroupName;
2534
+ }
2535
+ if (!$dara.isNull(request.appName)) {
2536
+ query["AppName"] = request.appName;
2537
+ }
2538
+ if (!$dara.isNull(request.endUserId)) {
2539
+ query["EndUserId"] = request.endUserId;
2540
+ }
2541
+ if (!$dara.isNull(request.pageNumber)) {
2542
+ query["PageNumber"] = request.pageNumber;
2543
+ }
2544
+ if (!$dara.isNull(request.pageSize)) {
2545
+ query["PageSize"] = request.pageSize;
2546
+ }
2547
+ if (!$dara.isNull(request.productType)) {
2548
+ query["ProductType"] = request.productType;
2549
+ }
2550
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2551
+ query: openapi_core_2.OpenApiUtil.query(query),
2552
+ });
2553
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2554
+ action: "ListAuthorizedAppInstanceGroupByUser",
2555
+ version: "2021-09-01",
2556
+ protocol: "HTTPS",
2557
+ pathname: "/",
2558
+ method: "POST",
2559
+ authType: "AK",
2560
+ style: "RPC",
2561
+ reqBodyType: "formData",
2562
+ bodyType: "json",
2563
+ });
2564
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAppInstanceGroupByUserResponse({}));
2565
+ }
2566
+ /**
2567
+ * 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.
2568
+ *
2569
+ * @remarks
2570
+ * ## Operation description
2571
+ * 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.
2572
+ * Scope of returned results:
2573
+ * - 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.
2574
+ * - 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.
2575
+ * - 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.
2576
+ * ## Before you begin
2577
+ * - Call the [AuthorizeInstanceGroup](~~AuthorizeInstanceGroup~~) operation to authorize the delivery group to the user.
2578
+ * ## Parameter description
2579
+ * - **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.
2580
+ * - 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.
2581
+ * - PageNumber starts from 1. Valid values of PageSize: 1 to 100.
2582
+ * - 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.
2583
+ * ## Call sequence
2584
+ * 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.
2585
+ * 2. Call this operation to query the delivery groups authorized to the user and the applications deployed in each delivery group.
2586
+ * 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.
2587
+ *
2588
+ * @param request - ListAuthorizedAppInstanceGroupByUserRequest
2589
+ * @returns ListAuthorizedAppInstanceGroupByUserResponse
2590
+ */
2591
+ async listAuthorizedAppInstanceGroupByUser(request) {
2592
+ let runtime = new $dara.RuntimeOptions({});
2593
+ return await this.listAuthorizedAppInstanceGroupByUserWithOptions(request, runtime);
2594
+ }
2139
2595
  /**
2140
2596
  * Queries the list of user groups authorized by a specified delivery group.
2141
2597
  *
@@ -2149,6 +2605,9 @@ class Client extends openapi_core_1.default {
2149
2605
  if (!$dara.isNull(request.appInstanceGroupId)) {
2150
2606
  body["AppInstanceGroupId"] = request.appInstanceGroupId;
2151
2607
  }
2608
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
2609
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
2610
+ }
2152
2611
  if (!$dara.isNull(request.groupId)) {
2153
2612
  body["GroupId"] = request.groupId;
2154
2613
  }
@@ -2190,6 +2649,97 @@ class Client extends openapi_core_1.default {
2190
2649
  let runtime = new $dara.RuntimeOptions({});
2191
2650
  return await this.listAuthorizedUserGroupsWithOptions(request, runtime);
2192
2651
  }
2652
+ /**
2653
+ * Queries authorized users of a cloud browser group with paging.
2654
+ *
2655
+ * @remarks
2656
+ * ## Before you begin
2657
+ * - The target cloud browser group or delivery group set must be created, belong to the current account, and match the specified `ProductType`.
2658
+ * - When querying authorized users of cloud browsers, set `ProductType` to `CloudBrowser`.
2659
+ * - **Specify either `AppInstanceGroupId` or `AppInstanceGroupSetId`, but not both.**
2660
+ * ## Query notes
2661
+ * - This operation returns authorization relationships and does not indicate whether users are currently online or sessions are connected.
2662
+ * - When querying by set, omit `AppId` and `AppInstancePersistentId`.
2663
+ * - Use `PageNumber` and `PageSize` for pagination and check `TotalCount` to determine whether to continue querying.
2664
+ * ## Example notes
2665
+ * The examples show how to set the fields. Replace resource identifiers with actual values in your account.
2666
+ * An example value of `-` indicates that the parameter does not need to be set. Omit the corresponding parameter when calling the operation. Do not pass the character `-`.
2667
+ *
2668
+ * @param request - ListAuthorizedUsersRequest
2669
+ * @param runtime - runtime options for this request RuntimeOptions
2670
+ * @returns ListAuthorizedUsersResponse
2671
+ */
2672
+ async listAuthorizedUsersWithOptions(request, runtime) {
2673
+ request.validate();
2674
+ let query = {};
2675
+ if (!$dara.isNull(request.endUserId)) {
2676
+ query["EndUserId"] = request.endUserId;
2677
+ }
2678
+ if (!$dara.isNull(request.userIdFuzzy)) {
2679
+ query["UserIdFuzzy"] = request.userIdFuzzy;
2680
+ }
2681
+ let body = {};
2682
+ if (!$dara.isNull(request.appId)) {
2683
+ body["AppId"] = request.appId;
2684
+ }
2685
+ if (!$dara.isNull(request.appInstanceGroupId)) {
2686
+ body["AppInstanceGroupId"] = request.appInstanceGroupId;
2687
+ }
2688
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
2689
+ body["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
2690
+ }
2691
+ if (!$dara.isNull(request.appInstancePersistentId)) {
2692
+ body["AppInstancePersistentId"] = request.appInstancePersistentId;
2693
+ }
2694
+ if (!$dara.isNull(request.pageNumber)) {
2695
+ body["PageNumber"] = request.pageNumber;
2696
+ }
2697
+ if (!$dara.isNull(request.pageSize)) {
2698
+ body["PageSize"] = request.pageSize;
2699
+ }
2700
+ if (!$dara.isNull(request.productType)) {
2701
+ body["ProductType"] = request.productType;
2702
+ }
2703
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2704
+ query: openapi_core_2.OpenApiUtil.query(query),
2705
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2706
+ });
2707
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2708
+ action: "ListAuthorizedUsers",
2709
+ version: "2021-09-01",
2710
+ protocol: "HTTPS",
2711
+ pathname: "/",
2712
+ method: "POST",
2713
+ authType: "AK",
2714
+ style: "RPC",
2715
+ reqBodyType: "formData",
2716
+ bodyType: "json",
2717
+ });
2718
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedUsersResponse({}));
2719
+ }
2720
+ /**
2721
+ * Queries authorized users of a cloud browser group with paging.
2722
+ *
2723
+ * @remarks
2724
+ * ## Before you begin
2725
+ * - The target cloud browser group or delivery group set must be created, belong to the current account, and match the specified `ProductType`.
2726
+ * - When querying authorized users of cloud browsers, set `ProductType` to `CloudBrowser`.
2727
+ * - **Specify either `AppInstanceGroupId` or `AppInstanceGroupSetId`, but not both.**
2728
+ * ## Query notes
2729
+ * - This operation returns authorization relationships and does not indicate whether users are currently online or sessions are connected.
2730
+ * - When querying by set, omit `AppId` and `AppInstancePersistentId`.
2731
+ * - Use `PageNumber` and `PageSize` for pagination and check `TotalCount` to determine whether to continue querying.
2732
+ * ## Example notes
2733
+ * The examples show how to set the fields. Replace resource identifiers with actual values in your account.
2734
+ * An example value of `-` indicates that the parameter does not need to be set. Omit the corresponding parameter when calling the operation. Do not pass the character `-`.
2735
+ *
2736
+ * @param request - ListAuthorizedUsersRequest
2737
+ * @returns ListAuthorizedUsersResponse
2738
+ */
2739
+ async listAuthorizedUsers(request) {
2740
+ let runtime = new $dara.RuntimeOptions({});
2741
+ return await this.listAuthorizedUsersWithOptions(request, runtime);
2742
+ }
2193
2743
  /**
2194
2744
  * Queries the bindng information between users and resources.
2195
2745
  *
@@ -2247,6 +2797,107 @@ class Client extends openapi_core_1.default {
2247
2797
  let runtime = new $dara.RuntimeOptions({});
2248
2798
  return await this.listBindInfoWithOptions(request, runtime);
2249
2799
  }
2800
+ /**
2801
+ * Queries cloud browser groups and their current status by paging.
2802
+ *
2803
+ * @remarks
2804
+ * This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
2805
+ * ## Query conditions
2806
+ * 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.
2807
+ * ## Paging
2808
+ * Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
2809
+ * ## What to do next
2810
+ * To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
2811
+ * ## Example notes
2812
+ * 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.
2813
+ *
2814
+ * @param request - ListBrowserInstanceGroupRequest
2815
+ * @param runtime - runtime options for this request RuntimeOptions
2816
+ * @returns ListBrowserInstanceGroupResponse
2817
+ */
2818
+ async listBrowserInstanceGroupWithOptions(request, runtime) {
2819
+ request.validate();
2820
+ let query = {};
2821
+ if (!$dara.isNull(request.appInstanceGroupSetId)) {
2822
+ query["AppInstanceGroupSetId"] = request.appInstanceGroupSetId;
2823
+ }
2824
+ if (!$dara.isNull(request.bizRegionId)) {
2825
+ query["BizRegionId"] = request.bizRegionId;
2826
+ }
2827
+ if (!$dara.isNull(request.browserInstanceGroupId)) {
2828
+ query["BrowserInstanceGroupId"] = request.browserInstanceGroupId;
2829
+ }
2830
+ if (!$dara.isNull(request.browserInstanceGroupName)) {
2831
+ query["BrowserInstanceGroupName"] = request.browserInstanceGroupName;
2832
+ }
2833
+ if (!$dara.isNull(request.cloudBrowserName)) {
2834
+ query["CloudBrowserName"] = request.cloudBrowserName;
2835
+ }
2836
+ if (!$dara.isNull(request.officeSiteId)) {
2837
+ query["OfficeSiteId"] = request.officeSiteId;
2838
+ }
2839
+ if (!$dara.isNull(request.pageNumber)) {
2840
+ query["PageNumber"] = request.pageNumber;
2841
+ }
2842
+ if (!$dara.isNull(request.pageSize)) {
2843
+ query["PageSize"] = request.pageSize;
2844
+ }
2845
+ if (!$dara.isNull(request.tag)) {
2846
+ query["Tag"] = request.tag;
2847
+ }
2848
+ if (!$dara.isNull(request.tier)) {
2849
+ query["Tier"] = request.tier;
2850
+ }
2851
+ let body = {};
2852
+ if (!$dara.isNull(request.excludedUserGroupIds)) {
2853
+ body["ExcludedUserGroupIds"] = request.excludedUserGroupIds;
2854
+ }
2855
+ let bodyFlat = {};
2856
+ if (!$dara.isNull(request.status)) {
2857
+ bodyFlat["Status"] = request.status;
2858
+ }
2859
+ if (!$dara.isNull(request.userGroupIds)) {
2860
+ body["UserGroupIds"] = request.userGroupIds;
2861
+ }
2862
+ body = Object.assign(Object.assign({}, body), openapi_core_2.OpenApiUtil.query(bodyFlat));
2863
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2864
+ query: openapi_core_2.OpenApiUtil.query(query),
2865
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
2866
+ });
2867
+ let params = new openapi_core_2.$OpenApiUtil.Params({
2868
+ action: "ListBrowserInstanceGroup",
2869
+ version: "2021-09-01",
2870
+ protocol: "HTTPS",
2871
+ pathname: "/",
2872
+ method: "POST",
2873
+ authType: "AK",
2874
+ style: "RPC",
2875
+ reqBodyType: "formData",
2876
+ bodyType: "json",
2877
+ });
2878
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBrowserInstanceGroupResponse({}));
2879
+ }
2880
+ /**
2881
+ * Queries cloud browser groups and their current status by paging.
2882
+ *
2883
+ * @remarks
2884
+ * This topic describes how to use this operation in the monthly active user (MAU) billing scenario.
2885
+ * ## Query conditions
2886
+ * 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.
2887
+ * ## Paging
2888
+ * Use `PageNumber` and `PageSize` for paging. Use the returned `TotalCount` to determine whether to continue querying the next page.
2889
+ * ## What to do next
2890
+ * To view the detailed configuration of a single browser group, invoke `GetBrowserInstanceGroup` with the returned identity.
2891
+ * ## Example notes
2892
+ * 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.
2893
+ *
2894
+ * @param request - ListBrowserInstanceGroupRequest
2895
+ * @returns ListBrowserInstanceGroupResponse
2896
+ */
2897
+ async listBrowserInstanceGroup(request) {
2898
+ let runtime = new $dara.RuntimeOptions({});
2899
+ return await this.listBrowserInstanceGroupWithOptions(request, runtime);
2900
+ }
2250
2901
  /**
2251
2902
  * Queries the list of desktop agent runtimes.
2252
2903
  *
@@ -2472,8 +3123,8 @@ class Client extends openapi_core_1.default {
2472
3123
  * Queries the list of LLM templates.
2473
3124
  *
2474
3125
  * @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.
3126
+ * 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.
3127
+ * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2477
3128
  *
2478
3129
  * @param tmpReq - ListLlmTemplatesRequest
2479
3130
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2531,8 +3182,8 @@ class Client extends openapi_core_1.default {
2531
3182
  * Queries the list of LLM templates.
2532
3183
  *
2533
3184
  * @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.
3185
+ * 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.
3186
+ * Before using this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2536
3187
  *
2537
3188
  * @param request - ListLlmTemplatesRequest
2538
3189
  * @returns ListLlmTemplatesResponse
@@ -2593,8 +3244,8 @@ class Client extends openapi_core_1.default {
2593
3244
  * Queries the list of model provider templates.
2594
3245
  *
2595
3246
  * @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.
3247
+ * 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.
3248
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2598
3249
  *
2599
3250
  * @param tmpReq - ListModelProviderTemplatesRequest
2600
3251
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2652,8 +3303,8 @@ class Client extends openapi_core_1.default {
2652
3303
  * Queries the list of model provider templates.
2653
3304
  *
2654
3305
  * @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.
3306
+ * 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.
3307
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the WUYING Agent Management Center.
2657
3308
  *
2658
3309
  * @param request - ListModelProviderTemplatesRequest
2659
3310
  * @returns ListModelProviderTemplatesResponse
@@ -2719,11 +3370,11 @@ class Client extends openapi_core_1.default {
2719
3370
  return await this.listModelTemplateResourceGroupWithOptions(request, runtime);
2720
3371
  }
2721
3372
  /**
2722
- * Queries the list of model templates.
3373
+ * Queries a list of model templates.
2723
3374
  *
2724
3375
  * @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.
3376
+ * 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.
3377
+ * Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
2727
3378
  *
2728
3379
  * @param tmpReq - ListModelTemplatesRequest
2729
3380
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2790,11 +3441,11 @@ class Client extends openapi_core_1.default {
2790
3441
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelTemplatesResponse({}));
2791
3442
  }
2792
3443
  /**
2793
- * Queries the list of model templates.
3444
+ * Queries a list of model templates.
2794
3445
  *
2795
3446
  * @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.
3447
+ * 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.
3448
+ * Before using this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
2798
3449
  *
2799
3450
  * @param request - ListModelTemplatesRequest
2800
3451
  * @returns ListModelTemplatesResponse
@@ -3166,10 +3817,10 @@ class Client extends openapi_core_1.default {
3166
3817
  return await this.listTenantConfigWithOptions(runtime);
3167
3818
  }
3168
3819
  /**
3169
- * Queries the list of workstations.
3820
+ * Queries a list of workstations.
3170
3821
  *
3171
3822
  * @remarks
3172
- * Retrieves the list of WUYING workstations.
3823
+ * Retrieves a list of WUYING workstations.
3173
3824
  *
3174
3825
  * @param request - ListWuyingServerRequest
3175
3826
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3260,10 +3911,10 @@ class Client extends openapi_core_1.default {
3260
3911
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWuyingServerResponse({}));
3261
3912
  }
3262
3913
  /**
3263
- * Queries the list of workstations.
3914
+ * Queries a list of workstations.
3264
3915
  *
3265
3916
  * @remarks
3266
- * Retrieves the list of WUYING workstations.
3917
+ * Retrieves a list of WUYING workstations.
3267
3918
  *
3268
3919
  * @param request - ListWuyingServerRequest
3269
3920
  * @returns ListWuyingServerResponse
@@ -3321,7 +3972,7 @@ class Client extends openapi_core_1.default {
3321
3972
  return await this.logOffAllSessionsInAppInstanceGroupWithOptions(request, runtime);
3322
3973
  }
3323
3974
  /**
3324
- * Modifies the general policy of a delivery group, including the number of concurrent sessions and the session disconnection retention duration.
3975
+ * Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
3325
3976
  *
3326
3977
  * @param tmpReq - ModifyAppInstanceGroupAttributeRequest
3327
3978
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3396,7 +4047,7 @@ class Client extends openapi_core_1.default {
3396
4047
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAppInstanceGroupAttributeResponse({}));
3397
4048
  }
3398
4049
  /**
3399
- * Modifies the general policy of a delivery group, including the number of concurrent sessions and the session disconnection retention duration.
4050
+ * Modifies the General Policy of a delivery group, including the number of concurrent sessions and the session retention duration after disconnection.
3400
4051
  *
3401
4052
  * @param request - ModifyAppInstanceGroupAttributeRequest
3402
4053
  * @returns ModifyAppInstanceGroupAttributeResponse
@@ -3498,6 +4149,9 @@ class Client extends openapi_core_1.default {
3498
4149
  query["Timers"] = request.timersShrink;
3499
4150
  }
3500
4151
  let body = {};
4152
+ if (!$dara.isNull(request.authNotificationEnabled)) {
4153
+ body["AuthNotificationEnabled"] = request.authNotificationEnabled;
4154
+ }
3501
4155
  if (!$dara.isNull(request.cloudBrowserName)) {
3502
4156
  body["CloudBrowserName"] = request.cloudBrowserName;
3503
4157
  }
@@ -3709,6 +4363,9 @@ class Client extends openapi_core_1.default {
3709
4363
  async modifyWuyingServerAttributeWithOptions(request, runtime) {
3710
4364
  request.validate();
3711
4365
  let body = {};
4366
+ if (!$dara.isNull(request.erdmaEnabled)) {
4367
+ body["ErdmaEnabled"] = request.erdmaEnabled;
4368
+ }
3712
4369
  if (!$dara.isNull(request.password)) {
3713
4370
  body["Password"] = request.password;
3714
4371
  }
@@ -3966,6 +4623,8 @@ class Client extends openapi_core_1.default {
3966
4623
  *
3967
4624
  * @remarks
3968
4625
  * 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.
4626
+ * > Prerequisites:
4627
+ * > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
3969
4628
  *
3970
4629
  * @param tmpReq - RenewAppInstanceGroupRequest
3971
4630
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4027,6 +4686,8 @@ class Client extends openapi_core_1.default {
4027
4686
  *
4028
4687
  * @remarks
4029
4688
  * 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.
4689
+ * > Prerequisites:
4690
+ * > - The delivery group must be in the PUBLISHED state, and ChargeType must be set to PrePaid.
4030
4691
  *
4031
4692
  * @param request - RenewAppInstanceGroupRequest
4032
4693
  * @returns RenewAppInstanceGroupResponse
@@ -4087,7 +4748,7 @@ class Client extends openapi_core_1.default {
4087
4748
  return await this.renewWuyingServerWithOptions(request, runtime);
4088
4749
  }
4089
4750
  /**
4090
- * Restarts a cloud graphics workstation.
4751
+ * Restarts a workstation.
4091
4752
  *
4092
4753
  * @param request - RestartWuyingServerRequest
4093
4754
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4121,7 +4782,7 @@ class Client extends openapi_core_1.default {
4121
4782
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartWuyingServerResponse({}));
4122
4783
  }
4123
4784
  /**
4124
- * Restarts a cloud graphics workstation.
4785
+ * Restarts a workstation.
4125
4786
  *
4126
4787
  * @param request - RestartWuyingServerRequest
4127
4788
  * @returns RestartWuyingServerResponse
@@ -4462,8 +5123,9 @@ class Client extends openapi_core_1.default {
4462
5123
  * Updates the image of a delivery group.
4463
5124
  *
4464
5125
  * @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.
5126
+ * >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.
5127
+ * > 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.
5128
+ * > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
4467
5129
  *
4468
5130
  * @param request - UpdateAppInstanceGroupImageRequest
4469
5131
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4504,8 +5166,9 @@ class Client extends openapi_core_1.default {
4504
5166
  * Updates the image of a delivery group.
4505
5167
  *
4506
5168
  * @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.
5169
+ * >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.
5170
+ * > 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.
5171
+ * > After the update is published, you typically need to wait about 2 minutes for the changes to take effect on the client.
4509
5172
  *
4510
5173
  * @param request - UpdateAppInstanceGroupImageRequest
4511
5174
  * @returns UpdateAppInstanceGroupImageResponse
@@ -4584,8 +5247,8 @@ class Client extends openapi_core_1.default {
4584
5247
  * Updates a model template.
4585
5248
  *
4586
5249
  * @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.
5250
+ * 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.
5251
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
4589
5252
  *
4590
5253
  * @param request - UpdateModelTemplateRequest
4591
5254
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4629,8 +5292,8 @@ class Client extends openapi_core_1.default {
4629
5292
  * Updates a model template.
4630
5293
  *
4631
5294
  * @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.
5295
+ * 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.
5296
+ * Before you call this operation, make sure that you are familiar with the operations and usage of the Wuying Agent Management Center.
4634
5297
  *
4635
5298
  * @param request - UpdateModelTemplateRequest
4636
5299
  * @returns UpdateModelTemplateResponse