@alicloud/agentcore20260804 2.0.1 → 2.1.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 (178) hide show
  1. package/dist/client.d.ts +118 -70
  2. package/dist/client.js +178 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
  5. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  6. package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
  7. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  8. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  9. package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
  10. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
  11. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
  12. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  13. package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
  14. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  15. package/dist/models/CreateManagedAgentRequest.d.ts +33 -12
  16. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  17. package/dist/models/CreateManagedAgentResponseBody.d.ts +40 -19
  18. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  19. package/dist/models/CreateUserRequest.d.ts +4 -4
  20. package/dist/models/CreateUserResponseBody.d.ts +7 -7
  21. package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
  22. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  23. package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
  24. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  25. package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
  26. package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
  27. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  28. package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
  29. package/dist/models/EnableConnectorRequest.d.ts +1 -1
  30. package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
  31. package/dist/models/GetExternalAgentResponseBody.d.ts +31 -6
  32. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  33. package/dist/models/GetManagedAgentResponseBody.d.ts +48 -27
  34. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  35. package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
  36. package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
  37. package/dist/models/GetUserResponseBody.d.ts +15 -9
  38. package/dist/models/GetUserResponseBody.js.map +1 -1
  39. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
  40. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
  41. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
  42. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
  43. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
  44. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
  45. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
  46. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
  47. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
  48. package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
  49. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  50. package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
  51. package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
  52. package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
  53. package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
  54. package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
  55. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
  56. package/dist/models/ListConnectorsRequest.d.ts +2 -2
  57. package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
  58. package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
  59. package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
  60. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  61. package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
  62. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  63. package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
  64. package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
  65. package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
  66. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
  67. package/dist/models/ListSandboxesRequest.d.ts +6 -3
  68. package/dist/models/ListSandboxesRequest.js.map +1 -1
  69. package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
  70. package/dist/models/ListSandboxesResponseBody.js.map +1 -1
  71. package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
  72. package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
  73. package/dist/models/ListTeamsRequest.d.ts +2 -2
  74. package/dist/models/ListTeamsResponseBody.d.ts +5 -5
  75. package/dist/models/ListUsersRequest.d.ts +12 -0
  76. package/dist/models/ListUsersRequest.js.map +1 -1
  77. package/dist/models/ListUsersResponseBody.d.ts +64 -2
  78. package/dist/models/ListUsersResponseBody.js.map +1 -1
  79. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  80. package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
  81. package/dist/models/UpdateConnectorRequest.d.ts +1 -1
  82. package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
  83. package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
  84. package/dist/models/UpdateManagedAgentRequest.d.ts +59 -20
  85. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  86. package/dist/models/UpdateManagedAgentResponseBody.d.ts +73 -27
  87. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  88. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  89. package/dist/models/UpdateUserResponseBody.d.ts +1 -1
  90. package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
  91. package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
  92. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  93. package/dist/models/VerifyConnectorRequest.d.ts +1 -1
  94. package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
  95. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
  96. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
  97. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
  98. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
  99. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
  100. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
  101. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
  102. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
  103. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
  104. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
  105. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
  106. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
  107. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
  108. package/dist/models/model.d.ts +8 -0
  109. package/dist/models/model.js +31 -15
  110. package/dist/models/model.js.map +1 -1
  111. package/package.json +1 -1
  112. package/src/client.ts +188 -70
  113. package/src/models/CreateAgentImchannelRequest.ts +4 -5
  114. package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
  115. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  116. package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
  117. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
  118. package/src/models/CreateIdentityProviderRequest.ts +7 -5
  119. package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
  120. package/src/models/CreateManagedAgentRequest.ts +33 -12
  121. package/src/models/CreateManagedAgentResponseBody.ts +40 -19
  122. package/src/models/CreateUserRequest.ts +4 -4
  123. package/src/models/CreateUserResponseBody.ts +7 -7
  124. package/src/models/CreateWorkspaceRequest.ts +9 -0
  125. package/src/models/CreateWorkspaceResponseBody.ts +13 -4
  126. package/src/models/DeleteAgentImchannelRequest.ts +1 -1
  127. package/src/models/DisableConnectorResponseBody.ts +2 -2
  128. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  129. package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
  130. package/src/models/EnableConnectorRequest.ts +1 -1
  131. package/src/models/EnableConnectorResponseBody.ts +4 -4
  132. package/src/models/GetExternalAgentResponseBody.ts +31 -6
  133. package/src/models/GetManagedAgentResponseBody.ts +48 -27
  134. package/src/models/GetServiceEndpointResponseBody.ts +8 -12
  135. package/src/models/GetUserResponseBody.ts +15 -9
  136. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
  137. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
  138. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
  139. package/src/models/GetWorkspaceResponseBody.ts +16 -12
  140. package/src/models/ListAgentImchannelsRequest.ts +6 -6
  141. package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
  142. package/src/models/ListAgentTeamsResponseBody.ts +3 -3
  143. package/src/models/ListConnectorModelsRequest.ts +3 -3
  144. package/src/models/ListConnectorModelsResponseBody.ts +7 -9
  145. package/src/models/ListConnectorsRequest.ts +2 -2
  146. package/src/models/ListConnectorsResponseBody.ts +6 -6
  147. package/src/models/ListCredentialsResponseBody.ts +2 -2
  148. package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
  149. package/src/models/ListManagedAgentsResponseBody.ts +3 -9
  150. package/src/models/ListSandboxSessionsRequest.ts +4 -1
  151. package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
  152. package/src/models/ListSandboxesRequest.ts +6 -3
  153. package/src/models/ListSandboxesResponseBody.ts +108 -0
  154. package/src/models/ListServiceEndpointsRequest.ts +1 -1
  155. package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
  156. package/src/models/ListTeamsRequest.ts +2 -2
  157. package/src/models/ListTeamsResponseBody.ts +5 -5
  158. package/src/models/ListUsersRequest.ts +12 -0
  159. package/src/models/ListUsersResponseBody.ts +64 -2
  160. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  161. package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
  162. package/src/models/UpdateConnectorRequest.ts +1 -1
  163. package/src/models/UpdateConnectorResponseBody.ts +3 -3
  164. package/src/models/UpdateCredentialResponseBody.ts +1 -1
  165. package/src/models/UpdateManagedAgentRequest.ts +59 -20
  166. package/src/models/UpdateManagedAgentResponseBody.ts +73 -27
  167. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  168. package/src/models/UpdateUserResponseBody.ts +1 -1
  169. package/src/models/UpdateWorkspaceRequest.ts +2 -2
  170. package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
  171. package/src/models/VerifyConnectorRequest.ts +1 -1
  172. package/src/models/VerifyConnectorResponseBody.ts +2 -2
  173. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
  174. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
  175. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
  176. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
  177. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
  178. package/src/models/model.ts +8 -0
@@ -121,7 +121,7 @@ export class UpdateManagedAgentResponseBodyDataEnvironment extends $dara.Model {
121
121
  export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
122
122
  /**
123
123
  * @remarks
124
- * The Key ID used to bind a Service Account Key of the QoderCLI Connector. This parameter can be omitted when only one key exists, but is required when multiple keys exist.
124
+ * The connector service account key.
125
125
  *
126
126
  * @example
127
127
  * key-xxxx
@@ -129,7 +129,7 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
129
129
  connectorServiceAccountKey?: string;
130
130
  /**
131
131
  * @remarks
132
- * The Connector Key name that is populated during queries. This value is not used as a binding reference during writes.
132
+ * The connector service account name.
133
133
  *
134
134
  * @example
135
135
  * my-connector-key
@@ -161,12 +161,12 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
161
161
  export class UpdateManagedAgentResponseBodyDataHarness extends $dara.Model {
162
162
  /**
163
163
  * @remarks
164
- * The Connector binding configuration for the qodercli harness.
164
+ * The harness configuration.
165
165
  */
166
166
  configuration?: UpdateManagedAgentResponseBodyDataHarnessConfiguration;
167
167
  /**
168
168
  * @remarks
169
- * The type of the runtime harness. Valid values: qwenpaw and qodercli. When the type is qodercli, binding is performed based on configuration.connectorServiceAccountKey, and the name is also populated during queries.
169
+ * The harness type.
170
170
  *
171
171
  * @example
172
172
  * qodercli
@@ -200,36 +200,57 @@ export class UpdateManagedAgentResponseBodyDataHarness extends $dara.Model {
200
200
 
201
201
  export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
202
202
  /**
203
+ * @remarks
204
+ * Indicates whether the quota is enabled. This field is not returned if no quota is configured.
205
+ *
203
206
  * @example
204
207
  * true
205
208
  */
206
209
  enabled?: boolean;
207
210
  /**
211
+ * @remarks
212
+ * The quota limit type. Currently, only token is supported.
213
+ *
208
214
  * @example
209
215
  * token
210
216
  */
211
217
  limitType?: string;
212
218
  /**
219
+ * @remarks
220
+ * Indicates whether the quota has been exceeded in the current period. This is a read-only field returned by the backend.
221
+ *
213
222
  * @example
214
223
  * false
215
224
  */
216
225
  overLimit?: boolean;
217
226
  /**
227
+ * @remarks
228
+ * The quota statistical period. The value day indicates a daily period, and the value month indicates a monthly period.
229
+ *
218
230
  * @example
219
231
  * day
220
232
  */
221
233
  periodType?: string;
222
234
  /**
235
+ * @remarks
236
+ * The gateway quota rule status. This is a read-only field returned by the backend.
237
+ *
223
238
  * @example
224
239
  * ACTIVE
225
240
  */
226
241
  ruleStatus?: string;
227
242
  /**
243
+ * @remarks
244
+ * The maximum number of tokens that can be consumed within a single period.
245
+ *
228
246
  * @example
229
247
  * 1000000
230
248
  */
231
249
  usageLimit?: number;
232
250
  /**
251
+ * @remarks
252
+ * The number of tokens consumed in the current period. This is a read-only field returned by the backend.
253
+ *
233
254
  * @example
234
255
  * 12345
235
256
  */
@@ -284,6 +305,10 @@ export class UpdateManagedAgentResponseBodyDataModel extends $dara.Model {
284
305
  * qwen-max
285
306
  */
286
307
  modelName?: string;
308
+ /**
309
+ * @remarks
310
+ * The model token quota configuration and the quota usage status for the current period. This field is empty if no quota is configured.
311
+ */
287
312
  quota?: UpdateManagedAgentResponseBodyDataModelQuota;
288
313
  static names(): { [key: string]: string } {
289
314
  return {
@@ -316,7 +341,7 @@ export class UpdateManagedAgentResponseBodyDataModel extends $dara.Model {
316
341
  export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
317
342
  /**
318
343
  * @remarks
319
- * Specifies whether public network access is allowed.
344
+ * Specifies whether to allow public network access.
320
345
  *
321
346
  * @example
322
347
  * false
@@ -346,7 +371,7 @@ export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $da
346
371
  export class UpdateManagedAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
347
372
  /**
348
373
  * @remarks
349
- * Specifies whether VPC access is allowed.
374
+ * Specifies whether to allow VPC access.
350
375
  *
351
376
  * @example
352
377
  * true
@@ -416,22 +441,31 @@ export class UpdateManagedAgentResponseBodyDataNetwork extends $dara.Model {
416
441
  export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
417
442
  /**
418
443
  * @remarks
419
- * The OSS bucket name. Each mount item is validated as required by the backend.
444
+ * The OSS bucket name. This parameter is required by backend validation for each mount entry.
445
+ *
446
+ * @example
447
+ * bucket-001
420
448
  */
421
449
  bucketName?: string;
422
450
  /**
423
451
  * @remarks
424
- * The absolute mount path in the container. Each mount item is validated as required by the backend.
452
+ * The absolute mount path in the container. This parameter is required by backend validation for each mount entry.
453
+ *
454
+ * @example
455
+ * /mnt/oss/datasets
425
456
  */
426
457
  mountPath?: string;
427
458
  /**
428
459
  * @remarks
429
- * The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
460
+ * The relative object prefix within the bucket. If this parameter is not specified, the entire bucket is mounted.
461
+ *
462
+ * @example
463
+ * datasets
430
464
  */
431
465
  path?: string;
432
466
  /**
433
467
  * @remarks
434
- * Specifies whether to mount as read-only. Default value: false.
468
+ * Specifies whether to mount in read-only mode. Default value: false.
435
469
  */
436
470
  readOnly?: boolean;
437
471
  static names(): { [key: string]: string } {
@@ -496,27 +530,39 @@ export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
496
530
  export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
497
531
  /**
498
532
  * @remarks
499
- * Specifies whether to enable auto scaling. Required when hpa is present as validated by the backend.
533
+ * Specifies whether to enable auto scaling. This parameter is required by backend validation when hpa is specified.
500
534
  */
501
535
  enabled?: boolean;
502
536
  /**
503
537
  * @remarks
504
- * The maximum number of active sessions per Sandbox. Required when hpa is present as validated by the backend.
538
+ * The maximum number of active sessions per sandbox. This parameter is required by backend validation when hpa is specified.
539
+ *
540
+ * @example
541
+ * 5
505
542
  */
506
543
  maxConcurrentSessionsPerSandbox?: number;
507
544
  /**
508
545
  * @remarks
509
- * The maximum number of Sandboxes. Required when HPA is enabled and must be no less than the minimum value.
546
+ * The maximum number of sandboxes. This parameter is required when HPA is enabled and the value must be no less than the minimum value.
547
+ *
548
+ * @example
549
+ * 3
510
550
  */
511
551
  maxSandboxCount?: number;
512
552
  /**
513
553
  * @remarks
514
- * The minimum number of Sandboxes. Required when HPA is enabled.
554
+ * The minimum number of sandboxes. This parameter is required when HPA is enabled.
555
+ *
556
+ * @example
557
+ * 1
515
558
  */
516
559
  minSandboxCount?: number;
517
560
  /**
518
561
  * @remarks
519
- * The session reclamation time after inactivity, in seconds. Required when hpa is present as validated by the backend.
562
+ * The session reclamation time after inactivity, in seconds. This parameter is required by backend validation when hpa is specified.
563
+ *
564
+ * @example
565
+ * 3600
520
566
  */
521
567
  sessionTtlSeconds?: number;
522
568
  static names(): { [key: string]: string } {
@@ -551,7 +597,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
551
597
  export class UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
552
598
  /**
553
599
  * @remarks
554
- * The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
600
+ * The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
555
601
  *
556
602
  * @example
557
603
  * X-Session-Id
@@ -600,7 +646,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
600
646
  compute?: UpdateManagedAgentResponseBodyDataRuntimeCompute;
601
647
  /**
602
648
  * @remarks
603
- * The Sandbox auto scaling and session configuration.
649
+ * The sandbox auto scaling and session configuration.
604
650
  */
605
651
  hpa?: UpdateManagedAgentResponseBodyDataRuntimeHpa;
606
652
  /**
@@ -891,12 +937,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
891
937
  description?: string;
892
938
  /**
893
939
  * @remarks
894
- * The environment configuration.
940
+ * The environment configuration information.
895
941
  */
896
942
  environment?: UpdateManagedAgentResponseBodyDataEnvironment;
897
943
  /**
898
944
  * @remarks
899
- * The runtime harness of the managed agent. Valid values: qwenpaw and qodercli.
945
+ * The agent harness configuration.
900
946
  */
901
947
  harness?: UpdateManagedAgentResponseBodyDataHarness;
902
948
  /**
@@ -917,7 +963,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
917
963
  latestSpecVersion?: number;
918
964
  /**
919
965
  * @remarks
920
- * The status of the latest version.
966
+ * The latest version status.
921
967
  *
922
968
  * @example
923
969
  * succeeded
@@ -925,7 +971,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
925
971
  latestVersionStatus?: string;
926
972
  /**
927
973
  * @remarks
928
- * The model configuration.
974
+ * The model configuration information.
929
975
  */
930
976
  model?: UpdateManagedAgentResponseBodyDataModel;
931
977
  /**
@@ -938,7 +984,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
938
984
  name?: string;
939
985
  /**
940
986
  * @remarks
941
- * The network configuration.
987
+ * The network configuration information.
942
988
  */
943
989
  network?: UpdateManagedAgentResponseBodyDataNetwork;
944
990
  /**
@@ -956,12 +1002,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
956
1002
  regionId?: string;
957
1003
  /**
958
1004
  * @remarks
959
- * The runtime configuration.
1005
+ * The runtime configuration information.
960
1006
  */
961
1007
  runtime?: UpdateManagedAgentResponseBodyDataRuntime;
962
1008
  /**
963
1009
  * @remarks
964
- * The instance count of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), and FAILED (runtime failure). Only phases that actually exist are returned. A missing key indicates a count of 0. This field is a dynamic map and new keys may be added in the future. You can use FAILED > 0 to determine whether abnormal instances exist.
1010
+ * The number of managed agent instances grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), FAILED (runtime failure). Only phases that actually occur are returned. Missing keys should be treated as 0. This field is a dynamic mapping, and new keys may be added in the future. You can use FAILED > 0 to determine whether any abnormal instances exist.
965
1011
  */
966
1012
  sandboxPhaseCounts?: { [key: string]: number };
967
1013
  /**
@@ -994,7 +1040,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
994
1040
  tools?: UpdateManagedAgentResponseBodyDataTools[];
995
1041
  /**
996
1042
  * @remarks
997
- * The update time in RFC 3339 format.
1043
+ * The time when the managed agent was last updated, in RFC 3339 format.
998
1044
  *
999
1045
  * @example
1000
1046
  * 2026-01-01T00:00:00Z
@@ -1111,7 +1157,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1111
1157
  export class UpdateManagedAgentResponseBody extends $dara.Model {
1112
1158
  /**
1113
1159
  * @remarks
1114
- * The business status code. The value SUCCESS is returned if the request is successful.
1160
+ * The business status code. The value is SUCCESS when the operation succeeds.
1115
1161
  *
1116
1162
  * @example
1117
1163
  * SUCCESS
@@ -1132,7 +1178,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
1132
1178
  httpStatusCode?: number;
1133
1179
  /**
1134
1180
  * @remarks
1135
- * The message returned for the request.
1181
+ * The result message of the request.
1136
1182
  *
1137
1183
  * @example
1138
1184
  * success
@@ -10,7 +10,7 @@ export class UpdateManagedAgentShrinkRequest extends $dara.Model {
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The reserved idempotency token. The backend does not guarantee idempotence in the current phase.
13
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current version.
14
14
  *
15
15
  * @example
16
16
  * client-token-1
@@ -45,7 +45,7 @@ export class UpdateUserResponseBodyData extends $dara.Model {
45
45
  email?: string;
46
46
  /**
47
47
  * @remarks
48
- * The username. The name must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The name must be 1 to 32 characters in length.
48
+ * The username. The name must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit and be 1 to 32 characters in length.
49
49
  *
50
50
  * @example
51
51
  * user-01
@@ -18,7 +18,7 @@ export class UpdateWorkspaceRequestBodyNetworkConfigurationVpc extends $dara.Mod
18
18
  vSwitchIds?: string[];
19
19
  /**
20
20
  * @remarks
21
- * The VPC ID.
21
+ * The VPC ID of the user.
22
22
  *
23
23
  * @example
24
24
  * vpc-bp1234567890
@@ -55,7 +55,7 @@ export class UpdateWorkspaceRequestBodyNetworkConfigurationVpc extends $dara.Mod
55
55
  export class UpdateWorkspaceRequestBodyNetworkConfiguration extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The VPC network configuration.
58
+ * The VPC network configuration of the user.
59
59
  *
60
60
  * This parameter is required.
61
61
  */
@@ -18,7 +18,7 @@ export class UpdateWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dar
18
18
  vSwitchIds?: string[];
19
19
  /**
20
20
  * @remarks
21
- * The VPC ID.
21
+ * The VPC ID of the user.
22
22
  *
23
23
  * @example
24
24
  * vpc-bp1234567890
@@ -55,7 +55,7 @@ export class UpdateWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dar
55
55
  export class UpdateWorkspaceResponseBodyDataNetworkConfiguration extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The VPC network configuration.
58
+ * The VPC network configuration of the user.
59
59
  */
60
60
  vpc?: UpdateWorkspaceResponseBodyDataNetworkConfigurationVpc;
61
61
  static names(): { [key: string]: string } {
@@ -86,11 +86,17 @@ export class UpdateWorkspaceResponseBodyData extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
88
  * The OSS storage authorization status.
89
+ *
90
+ * @example
91
+ * AUTHORIZED
89
92
  */
90
93
  authorizationStatus?: string;
91
94
  /**
92
95
  * @remarks
93
96
  * The name of the private OSS bucket.
97
+ *
98
+ * @example
99
+ * bucket-001
94
100
  */
95
101
  bucketName?: string;
96
102
  /**
@@ -116,7 +122,7 @@ export class UpdateWorkspaceResponseBodyData extends $dara.Model {
116
122
  regionId?: string;
117
123
  /**
118
124
  * @remarks
119
- * The workspace status. Valid values: Initializing, Initialized, Deleting, Deleted.
125
+ * The workspace status. Valid values: Initializing, Initialized, Deleting, and Deleted.
120
126
  *
121
127
  * @example
122
128
  * Initialized
@@ -125,11 +131,14 @@ export class UpdateWorkspaceResponseBodyData extends $dara.Model {
125
131
  /**
126
132
  * @remarks
127
133
  * The storage type of the workspace.
134
+ *
135
+ * @example
136
+ * PRIVATE
128
137
  */
129
138
  storageType?: string;
130
139
  /**
131
140
  * @remarks
132
- * The ID of the tenant to which the workspace belongs.
141
+ * The tenant ID to which the workspace belongs.
133
142
  *
134
143
  * @example
135
144
  * tenant-123456
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VerifyConnectorRequestBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * A JSON string. qodercli uses apiKey. This parameter is used only for validation and is not persisted.
8
+ * The Connector configuration JSON string to validate. Set site to global or cn. The serviceAccountKeys field must contain at least one item with a serviceAccountKey.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class VerifyConnectorResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of Service Account Key names that failed validation. Each element is a key name string. This list is empty if all keys pass validation.
8
+ * The list of Service Account Key labels that failed validation or returned indeterminate results.
9
9
  *
10
10
  * @example
11
11
  * default
@@ -13,7 +13,7 @@ export class VerifyConnectorResponseBodyData extends $dara.Model {
13
13
  invalidServiceAccountKeys?: string[];
14
14
  /**
15
15
  * @remarks
16
- * Indicates whether the credentials are valid.
16
+ * Indicates whether all validated Service Account Keys are valid.
17
17
  *
18
18
  * @example
19
19
  * true
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class VerifyWorkspaceAcrRamAuthorizationRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ACR Enterprise instance ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * cri-1234567890abcdef
14
+ */
15
+ acrInstanceId?: string;
16
+ /**
17
+ * @remarks
18
+ * The target ACR namespace, which corresponds to Agent artifact.container.namespace. This is not a Kubernetes namespace. Together with the instance and repository, it determines the authorization scope.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * example
24
+ */
25
+ namespace?: string;
26
+ /**
27
+ * @remarks
28
+ * The target repository name, which corresponds to Agent artifact.container.repo. It does not include a tag, namespace, or path separator. Wildcards are not accepted.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * agent-image
34
+ */
35
+ repository?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ acrInstanceId: 'acrInstanceId',
39
+ namespace: 'namespace',
40
+ repository: 'repository',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ acrInstanceId: 'string',
47
+ namespace: 'string',
48
+ repository: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { VerifyWorkspaceAcrRamAuthorizationResponseBody } from "./VerifyWorkspaceAcrRamAuthorizationResponseBody";
4
+
5
+
6
+ export class VerifyWorkspaceAcrRamAuthorizationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: VerifyWorkspaceAcrRamAuthorizationResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: VerifyWorkspaceAcrRamAuthorizationResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+