@alicloud/agentcore20260804 3.0.0 → 3.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 (129) hide show
  1. package/dist/client.d.ts +370 -188
  2. package/dist/client.js +413 -188
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +155 -53
  5. package/dist/models/CreateCustomAgentRequest.js +61 -1
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +305 -58
  8. package/dist/models/CreateCustomAgentResponseBody.js +153 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateIdentityProviderRequest.d.ts +12 -15
  11. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  12. package/dist/models/CreateIdentityProviderResponseBody.d.ts +19 -22
  13. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  14. package/dist/models/CreateManagedAgentRequest.d.ts +80 -45
  15. package/dist/models/CreateManagedAgentRequest.js +29 -1
  16. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  17. package/dist/models/CreateManagedAgentResponseBody.d.ts +98 -65
  18. package/dist/models/CreateManagedAgentResponseBody.js +29 -1
  19. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  20. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  21. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +10 -10
  22. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +5 -5
  23. package/dist/models/FindCustomAgentImagePreparationRequest.d.ts +23 -0
  24. package/dist/models/FindCustomAgentImagePreparationRequest.js +58 -0
  25. package/dist/models/FindCustomAgentImagePreparationRequest.js.map +1 -0
  26. package/dist/models/FindCustomAgentImagePreparationResponse.d.ts +19 -0
  27. package/dist/models/FindCustomAgentImagePreparationResponse.js +69 -0
  28. package/dist/models/FindCustomAgentImagePreparationResponse.js.map +1 -0
  29. package/dist/models/FindCustomAgentImagePreparationResponseBody.d.ts +135 -0
  30. package/dist/models/FindCustomAgentImagePreparationResponseBody.js +122 -0
  31. package/dist/models/FindCustomAgentImagePreparationResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentImagePreparationRequest.d.ts +13 -0
  33. package/dist/models/GetCustomAgentImagePreparationRequest.js +54 -0
  34. package/dist/models/GetCustomAgentImagePreparationRequest.js.map +1 -0
  35. package/dist/models/GetCustomAgentImagePreparationResponse.d.ts +19 -0
  36. package/dist/models/GetCustomAgentImagePreparationResponse.js +69 -0
  37. package/dist/models/GetCustomAgentImagePreparationResponse.js.map +1 -0
  38. package/dist/models/GetCustomAgentImagePreparationResponseBody.d.ts +135 -0
  39. package/dist/models/GetCustomAgentImagePreparationResponseBody.js +122 -0
  40. package/dist/models/GetCustomAgentImagePreparationResponseBody.js.map +1 -0
  41. package/dist/models/GetCustomAgentResponseBody.d.ts +304 -51
  42. package/dist/models/GetCustomAgentResponseBody.js +153 -1
  43. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetIdentityProviderResponseBody.d.ts +30 -30
  45. package/dist/models/GetIdentityProviderScimresponseBody.d.ts +29 -17
  46. package/dist/models/GetIdentityProviderScimresponseBody.js +2 -0
  47. package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -1
  48. package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +1 -1
  49. package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +10 -10
  50. package/dist/models/GetManagedAgentResponseBody.d.ts +106 -75
  51. package/dist/models/GetManagedAgentResponseBody.js +29 -1
  52. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  54. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +1 -1
  55. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  56. package/dist/models/ListCustomAgentsResponseBody.d.ts +24 -22
  57. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  58. package/dist/models/ListIdentityProvidersRequest.d.ts +1 -1
  59. package/dist/models/ListIdentityProvidersResponseBody.d.ts +30 -18
  60. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  61. package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +10 -10
  62. package/dist/models/UpdateCustomAgentRequest.d.ts +154 -75
  63. package/dist/models/UpdateCustomAgentRequest.js +61 -1
  64. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  65. package/dist/models/UpdateCustomAgentResponseBody.d.ts +310 -65
  66. package/dist/models/UpdateCustomAgentResponseBody.js +153 -1
  67. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  68. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  69. package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -20
  70. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +19 -19
  71. package/dist/models/UpdateIdentityProviderScimrequest.d.ts +2 -2
  72. package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +42 -26
  73. package/dist/models/UpdateIdentityProviderScimresponseBody.js +4 -0
  74. package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -1
  75. package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +1 -1
  76. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  77. package/dist/models/UpdateManagedAgentRequest.d.ts +83 -46
  78. package/dist/models/UpdateManagedAgentRequest.js +29 -1
  79. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  80. package/dist/models/UpdateManagedAgentResponseBody.d.ts +98 -65
  81. package/dist/models/UpdateManagedAgentResponseBody.js +29 -1
  82. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  83. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  84. package/dist/models/model.d.ts +34 -0
  85. package/dist/models/model.js +267 -198
  86. package/dist/models/model.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/client.ts +418 -188
  89. package/src/models/CreateCustomAgentRequest.ts +197 -53
  90. package/src/models/CreateCustomAgentResponseBody.ts +412 -58
  91. package/src/models/CreateIdentityProviderRequest.ts +12 -15
  92. package/src/models/CreateIdentityProviderResponseBody.ts +19 -22
  93. package/src/models/CreateManagedAgentRequest.ts +99 -45
  94. package/src/models/CreateManagedAgentResponseBody.ts +117 -65
  95. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  96. package/src/models/DeleteIdentityProviderResponseBody.ts +10 -10
  97. package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +5 -5
  98. package/src/models/FindCustomAgentImagePreparationRequest.ts +36 -0
  99. package/src/models/FindCustomAgentImagePreparationResponse.ts +40 -0
  100. package/src/models/FindCustomAgentImagePreparationResponseBody.ts +194 -0
  101. package/src/models/GetCustomAgentImagePreparationRequest.ts +24 -0
  102. package/src/models/GetCustomAgentImagePreparationResponse.ts +40 -0
  103. package/src/models/GetCustomAgentImagePreparationResponseBody.ts +194 -0
  104. package/src/models/GetCustomAgentResponseBody.ts +411 -51
  105. package/src/models/GetIdentityProviderResponseBody.ts +30 -30
  106. package/src/models/GetIdentityProviderScimresponseBody.ts +31 -17
  107. package/src/models/GetIdentityProviderServiceProviderRequest.ts +1 -1
  108. package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +10 -10
  109. package/src/models/GetManagedAgentResponseBody.ts +125 -75
  110. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  111. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +1 -1
  112. package/src/models/ListCustomAgentsRequest.ts +2 -2
  113. package/src/models/ListCustomAgentsResponseBody.ts +24 -22
  114. package/src/models/ListIdentityProvidersRequest.ts +1 -1
  115. package/src/models/ListIdentityProvidersResponseBody.ts +30 -18
  116. package/src/models/PrepareIdentityProviderScimresponseBody.ts +10 -10
  117. package/src/models/UpdateCustomAgentRequest.ts +196 -75
  118. package/src/models/UpdateCustomAgentResponseBody.ts +417 -65
  119. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  120. package/src/models/UpdateIdentityProviderRequest.ts +20 -20
  121. package/src/models/UpdateIdentityProviderResponseBody.ts +19 -19
  122. package/src/models/UpdateIdentityProviderScimrequest.ts +2 -2
  123. package/src/models/UpdateIdentityProviderScimresponseBody.ts +46 -26
  124. package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +1 -1
  125. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  126. package/src/models/UpdateManagedAgentRequest.ts +102 -46
  127. package/src/models/UpdateManagedAgentResponseBody.ts +117 -65
  128. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  129. package/src/models/model.ts +34 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item. Mount targets must not be duplicated or form parent-child overrides.
5
+ * The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item and is validated by the backend. Mount targets cannot be duplicated or overlap in a parent-child relationship.
6
6
  *
7
7
  * @example
8
8
  * /mnt/agenticfs/data
@@ -10,7 +10,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
10
10
  mountPath?: string;
11
11
  /**
12
12
  * @remarks
13
- * The existing non-empty relative directory under the access point. This field is required for each mount item. Root directories, absolute paths, and parent directory traversals are not allowed.
13
+ * The existing non-empty relative directory under the access point. This field is required for each mount item and is validated by the backend. Root directories, absolute paths, and parent directory traversals are not allowed.
14
14
  *
15
15
  * @example
16
16
  * workspace/data
@@ -18,7 +18,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
18
18
  path?: string;
19
19
  /**
20
20
  * @remarks
21
- * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
21
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If omitted, the default value is false.
22
22
  *
23
23
  * @example
24
24
  * false
@@ -26,7 +26,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
26
26
  readOnly?: boolean;
27
27
  /**
28
28
  * @remarks
29
- * The domain name of the access point. This field is required for each mount item. Use the DomainName value from the response of the NAS ListAccessPoints operation. Do not include the protocol, port, or path.
29
+ * The domain name of the access point. This field is required for each mount item and is validated by the backend. Use the DomainName value from the ListAccessPoints response of NAS. Do not include the protocol, port, or path.
30
30
  *
31
31
  * @example
32
32
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -46,9 +46,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
46
46
  export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The startup command for the code package. This field is required in code package mode. The working directory is the extracted code root directory /code, such as python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use scripts within the package.
50
- *
51
- * This parameter is required.
49
+ * The startup command for the code package. This field is required in code package mode. The working directory is the extracted code root directory /code, such as python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. Use scripts within the package for complex commands.
52
50
  *
53
51
  * @example
54
52
  * python main.py
@@ -56,9 +54,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Mode
56
54
  entrypoint?: string;
57
55
  /**
58
56
  * @remarks
59
- * The code runtime environment identifier, such as python3.12. When creating or switching environments, use the identifier returned by the ListAgentCodeRuntimes operation. The identifier is validated by the current version catalog and is not a fixed enumeration.
60
- *
61
- * This parameter is required.
57
+ * The code runtime environment identifier, such as python3.12. When you create or switch environments, use the identifier returned by ListAgentCodeRuntimes. The identifier is validated by the current version catalog and is not a fixed enumeration.
62
58
  *
63
59
  * @example
64
60
  * python3.12
@@ -66,9 +62,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Mode
66
62
  languageRuntime?: string;
67
63
  /**
68
64
  * @remarks
69
- * The source address of the code package. This field supports oss:// addresses or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. After a local upload, use the sourceUri returned by the GetAgentCodePackageUploadUrl operation. The address is revalidated and transferred during creation or updates. After the transfer is saved, the platform returns a fixed oss:// address. This fixed address can be reused for regular updates.
70
- *
71
- * This parameter is required.
65
+ * The source address of the code package. This field supports oss:// addresses or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs. External sites, custom domain names, and additional authentication request headers are not supported. For local uploads, use the sourceUri returned by GetAgentCodePackageUploadUrl. The address is revalidated and transferred during creation or update. After the address is saved, a fixed oss:// address of the platform is returned. You can reuse this fixed address for regular updates.
72
66
  *
73
67
  * @example
74
68
  * oss://my-agent-bucket/packages/main.zip
@@ -88,7 +82,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Mode
88
82
  export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
89
83
  /**
90
84
  * @remarks
91
- * The optional executable program and startup parameters. If specified, this field must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field together.
85
+ * The optional executable program and startup parameters. If specified, this field must be a non-empty string. When you update the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, you must provide this field.
92
86
  *
93
87
  * @example
94
88
  * python app.py
@@ -98,8 +92,6 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
98
92
  * @remarks
99
93
  * The ID of the ACR instance to which the image repository belongs. This field cannot be empty.
100
94
  *
101
- * This parameter is required.
102
- *
103
95
  * @example
104
96
  * cri-a1b2c3d4e5f6
105
97
  */
@@ -108,8 +100,6 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
108
100
  * @remarks
109
101
  * The namespace to which the ACR image repository belongs. This field cannot be empty.
110
102
  *
111
- * This parameter is required.
112
- *
113
103
  * @example
114
104
  * my-agent
115
105
  */
@@ -118,17 +108,13 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
118
108
  * @remarks
119
109
  * The name of the image repository in the ACR namespace. This field cannot be empty.
120
110
  *
121
- * This parameter is required.
122
- *
123
111
  * @example
124
112
  * chat-agent
125
113
  */
126
114
  repo?: string;
127
115
  /**
128
116
  * @remarks
129
- * The image tag used for deployment. This field cannot be empty. When updating the tag, you must also provide artifact.port and other required image fields.
130
- *
131
- * This parameter is required.
117
+ * The image tag used for deployment. This field cannot be empty. When you update the tag, you must also provide artifact.port and other required image fields.
132
118
  *
133
119
  * @example
134
120
  * v1.0.0
@@ -136,9 +122,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
136
122
  tag?: string;
137
123
  /**
138
124
  * @remarks
139
- * The image source type. Currently, only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
140
- *
141
- * This parameter is required.
125
+ * The image source type. Only acr is supported, which indicates Container Registry.
142
126
  *
143
127
  * @example
144
128
  * acr
@@ -170,8 +154,6 @@ export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
170
154
  * @remarks
171
155
  * The TCP port listened by the agent service. Valid values: 1 to 65535.
172
156
  *
173
- * This parameter is required.
174
- *
175
157
  * @example
176
158
  * 8080
177
159
  */
@@ -187,6 +169,99 @@ export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
187
169
  [key: string]: any;
188
170
  });
189
171
  }
172
+ export declare class UpdateCustomAgentRequestBodyCustomImagePullNetwork extends $dara.Model {
173
+ /**
174
+ * @remarks
175
+ * The ID of the security group. This field is required when type is set to vpc and must belong to the selected VPC.
176
+ *
177
+ * @example
178
+ * sg-example
179
+ */
180
+ securityGroupId?: string;
181
+ /**
182
+ * @remarks
183
+ * The type of the pull network. This field is required when you submit pullNetwork and is validated by the backend. The default value for a new configuration is public network, which is independent of the agent runtime network.
184
+ *
185
+ * @example
186
+ * public
187
+ */
188
+ type?: string;
189
+ /**
190
+ * @remarks
191
+ * The ID of the security group. This field is required when type is set to vpc and must belong to the selected VPC.
192
+ *
193
+ * @example
194
+ * vsw-example
195
+ */
196
+ vSwitchId?: string;
197
+ /**
198
+ * @remarks
199
+ * The ID of the VPC. This field is required when type is set to vpc. The associated account and region are validated by the backend.
200
+ *
201
+ * @example
202
+ * vpc-example
203
+ */
204
+ vpcId?: string;
205
+ static names(): {
206
+ [key: string]: string;
207
+ };
208
+ static types(): {
209
+ [key: string]: any;
210
+ };
211
+ validate(): void;
212
+ constructor(map?: {
213
+ [key: string]: any;
214
+ });
215
+ }
216
+ export declare class UpdateCustomAgentRequestBodyCustomImage extends $dara.Model {
217
+ /**
218
+ * @remarks
219
+ * The custom image address. This field is required when you submit customImage and is validated by the backend. Specify the full registry[:port]/repository:tag or registry[:port]/repository@sha256:digest format. Multi-level paths are supported. Do not include the protocol or user information.
220
+ *
221
+ * @example
222
+ * registry.example.com/team/agent:v1
223
+ */
224
+ image?: string;
225
+ /**
226
+ * @remarks
227
+ * The repository password or token for the current task. Submit a non-empty value in pairs with the username field. The value is not trimmed and cannot be null, an empty string, or a masked value. This field is used only for the current task and is not permanently saved or returned. To use anonymous access, omit both fields.
228
+ *
229
+ * @example
230
+ * example-registry-token
231
+ */
232
+ password?: string;
233
+ /**
234
+ * @remarks
235
+ * The independent network configuration for pulling images. This field is required when you submit customImage and is validated by the backend. For public networks, only pass type=public.
236
+ */
237
+ pullNetwork?: UpdateCustomAgentRequestBodyCustomImagePullNetwork;
238
+ /**
239
+ * @remarks
240
+ * Specifies whether to skip HTTPS certificate verification. If omitted, the default value is false. This field does not accept null. HTTP fallback semantics are still under discussion and do not affect the current field definition. The image address does not include a protocol.
241
+ *
242
+ * @example
243
+ * false
244
+ */
245
+ skipTlsVerify?: boolean;
246
+ /**
247
+ * @remarks
248
+ * The repository username for the current task. When you create or explicitly update a private source, resubmit this field in pairs with the password field. Existing copies also require verification. To use anonymous access, omit both fields. A read-only username is not automatically used as the input for the current task.
249
+ *
250
+ * @example
251
+ * reader
252
+ */
253
+ username?: string;
254
+ static names(): {
255
+ [key: string]: string;
256
+ };
257
+ static types(): {
258
+ [key: string]: any;
259
+ };
260
+ validate(): void;
261
+ constructor(map?: {
262
+ [key: string]: any;
263
+ });
264
+ }
190
265
  export declare class UpdateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
191
266
  /**
192
267
  * @remarks
@@ -200,7 +275,7 @@ export declare class UpdateCustomAgentRequestBodyEnvironmentVariables extends $d
200
275
  name?: string;
201
276
  /**
202
277
  * @remarks
203
- * The value of the environment variable. This field must be a string. Empty strings are allowed.
278
+ * The value of the environment variable. This field must be a string and can be an empty string.
204
279
  *
205
280
  * This parameter is required.
206
281
  *
@@ -239,15 +314,17 @@ export declare class UpdateCustomAgentRequestBodyEnvironment extends $dara.Model
239
314
  export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model {
240
315
  /**
241
316
  * @remarks
242
- * This parameter currently does not take effect. Omit this field.
317
+ * This parameter does not take effect. Omit this parameter.
243
318
  *
244
319
  * @example
245
320
  * 1
321
+ *
322
+ * @deprecated
246
323
  */
247
324
  healthyThreshold?: number;
248
325
  /**
249
326
  * @remarks
250
- * The interval between two health checks, in seconds. This field must be a positive integer. If this field is omitted, the default value is 10.
327
+ * The interval between two consecutive health checks, in seconds. The value must be a positive integer. Default value: 10.
251
328
  *
252
329
  * @example
253
330
  * 10
@@ -255,7 +332,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
255
332
  intervalSeconds?: number;
256
333
  /**
257
334
  * @remarks
258
- * The HTTP health check path. This field must start with a forward slash (/). If this field is omitted, the default value is /healthz.
335
+ * The HTTP health check path. The path must start with a forward slash (/). Default value: /healthz.
259
336
  *
260
337
  * @example
261
338
  * /healthz
@@ -263,7 +340,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
263
340
  path?: string;
264
341
  /**
265
342
  * @remarks
266
- * The port accessed by the health check. This field is required when configuring a health check. Valid values: 1 to 65535.
343
+ * The port used for health checks. This field is required when you configure a health check. Valid values: 1 to 65535.
267
344
  *
268
345
  * @example
269
346
  * 8080
@@ -271,7 +348,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
271
348
  port?: number;
272
349
  /**
273
350
  * @remarks
274
- * The timeout period for a single health check, in seconds. This field must be a positive integer and less than intervalSeconds. If this field is omitted, the default value is 2.
351
+ * The timeout period for a single health check, in seconds. The value must be a positive integer and less than the value of intervalSeconds. Default value: 2.
275
352
  *
276
353
  * @example
277
354
  * 2
@@ -279,7 +356,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
279
356
  timeoutSeconds?: number;
280
357
  /**
281
358
  * @remarks
282
- * The number of consecutive health check failures before the agent is considered unhealthy. This field must be a positive integer. If this field is omitted, the default value is 3.
359
+ * The number of consecutive health check failures required to mark the target as unhealthy. The value must be a positive integer. Default value: 3.
283
360
  *
284
361
  * @example
285
362
  * 3
@@ -299,7 +376,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
299
376
  export declare class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model {
300
377
  /**
301
378
  * @remarks
302
- * The name of the SLS logstore that receives agent logs.
379
+ * The name of the SLS Logstore that receives agent logs.
303
380
  *
304
381
  * @example
305
382
  * agent-runtime
@@ -327,7 +404,7 @@ export declare class UpdateCustomAgentRequestBodyLoggingSls extends $dara.Model
327
404
  export declare class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
328
405
  /**
329
406
  * @remarks
330
- * The SLS log delivery destination. When updating this object, you must provide both the project and logstore fields, and they cannot be empty.
407
+ * The SLS log delivery destination. When you update this object, you must provide both the project and logstore fields, and they cannot be empty.
331
408
  */
332
409
  sls?: UpdateCustomAgentRequestBodyLoggingSls;
333
410
  static names(): {
@@ -344,7 +421,7 @@ export declare class UpdateCustomAgentRequestBodyLogging extends $dara.Model {
344
421
  export declare class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
345
422
  /**
346
423
  * @remarks
347
- * Specifies whether to allow the agent to access the Internet. When configuring accessInternet, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow Internet access.
424
+ * Specifies whether to allow the agent to access the Internet. A Boolean value is required when you configure accessInternet. For this setting to take effect, Internet access must also be allowed by the workspace.
348
425
  */
349
426
  enabled?: boolean;
350
427
  static names(): {
@@ -361,7 +438,7 @@ export declare class UpdateCustomAgentRequestBodyNetworkAccessInternet extends $
361
438
  export declare class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
362
439
  /**
363
440
  * @remarks
364
- * Specifies whether to allow the agent to access the user VPC configured in the workspace. When configuring accessVpc, you must provide a Boolean value. For this configuration to take effect, the workspace must also allow VPC access.
441
+ * Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value is required when you configure accessVpc. For this setting to take effect, VPC access must also be allowed by the workspace.
365
442
  */
366
443
  enabled?: boolean;
367
444
  static names(): {
@@ -378,12 +455,12 @@ export declare class UpdateCustomAgentRequestBodyNetworkAccessVpc extends $dara.
378
455
  export declare class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
379
456
  /**
380
457
  * @remarks
381
- * The Internet access configuration. When this access item is omitted, the agent does not restrict Internet access. However, the workspace must still allow Internet access.
458
+ * The Internet access configuration. If this access item is omitted, the agent does not restrict Internet access. However, Internet access must still be allowed by the workspace.
382
459
  */
383
460
  accessInternet?: UpdateCustomAgentRequestBodyNetworkAccessInternet;
384
461
  /**
385
462
  * @remarks
386
- * The user VPC access configuration. When this access item is omitted, the agent does not restrict VPC access. However, the workspace must still be configured to allow access to the user VPC.
463
+ * The user VPC access configuration. If this access item is omitted, the agent does not restrict VPC access. However, the workspace must be configured to allow access to the user VPC.
387
464
  */
388
465
  accessVpc?: UpdateCustomAgentRequestBodyNetworkAccessVpc;
389
466
  static names(): {
@@ -417,7 +494,7 @@ export declare class UpdateCustomAgentRequestBodyObservability extends $dara.Mod
417
494
  export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
418
495
  /**
419
496
  * @remarks
420
- * The name of the OSS bucket. This parameter is required for each mount item. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens. It cannot start or end with a hyphen.
497
+ * The name of the OSS bucket. This field is required for each mount item. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen.
421
498
  *
422
499
  * @example
423
500
  * my-agent-data
@@ -425,7 +502,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
425
502
  bucketName?: string;
426
503
  /**
427
504
  * @remarks
428
- * The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overlaps.
505
+ * The subdirectory under /mnt/oss/ in the container. This field is required for each mount item. Mount targets cannot be duplicated or form parent-child overlaps.
429
506
  *
430
507
  * @example
431
508
  * /mnt/oss/train
@@ -433,7 +510,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
433
510
  mountPath?: string;
434
511
  /**
435
512
  * @remarks
436
- * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported. Do not use parent directory navigation.
513
+ * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing forward slashes (/) are removed. The root directory is not supported. Do not use parent directory navigation.
437
514
  *
438
515
  * @example
439
516
  * datasets/train
@@ -441,7 +518,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
441
518
  path?: string;
442
519
  /**
443
520
  * @remarks
444
- * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this field is omitted, the default value is false.
521
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If omitted, the default value is false.
445
522
  */
446
523
  readOnly?: boolean;
447
524
  static names(): {
@@ -458,7 +535,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
458
535
  export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
459
536
  /**
460
537
  * @remarks
461
- * The usage description of the current API path.
538
+ * The purpose description of the current API path.
462
539
  *
463
540
  * @example
464
541
  * AG-UI conversation API
@@ -466,7 +543,7 @@ export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Mod
466
543
  description?: string;
467
544
  /**
468
545
  * @remarks
469
- * The non-empty API path for the current protocol.
546
+ * The non-empty API path corresponding to the current protocol.
470
547
  *
471
548
  * This parameter is required.
472
549
  *
@@ -495,7 +572,7 @@ export declare class UpdateCustomAgentRequestBodyProtocol extends $dara.Model {
495
572
  };
496
573
  /**
497
574
  * @remarks
498
- * The list of API paths for the current protocol.
575
+ * The list of API paths corresponding to the current protocol.
499
576
  */
500
577
  paths?: UpdateCustomAgentRequestBodyProtocolPaths[];
501
578
  /**
@@ -525,7 +602,7 @@ export declare class UpdateCustomAgentRequestBodyProtocol extends $dara.Model {
525
602
  export declare class UpdateCustomAgentRequestBodyRuntimeCompute extends $dara.Model {
526
603
  /**
527
604
  * @remarks
528
- * The compute specification. Valid values:
605
+ * The computing specification. Valid values:
529
606
  * - INTERACTIVE: 1 vCPU and 2 GiB of memory.
530
607
  * - STANDARD: 2 vCPUs and 4 GiB of memory.
531
608
  * - HEAVY: 4 vCPUs and 8 GiB of memory.
@@ -550,10 +627,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeCompute extends $dara.Mo
550
627
  export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
551
628
  /**
552
629
  * @remarks
553
- * Specifies whether to enable elastic scaling. Valid values:
554
- * - true: Enabled.
555
- * - false: Disabled.
556
- * Default value: false. This default value applies when runtime is provided and this field is omitted.
630
+ * Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. When runtime is provided, omitting this field defaults to false.
557
631
  *
558
632
  * This parameter is required.
559
633
  */
@@ -568,7 +642,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
568
642
  maxConcurrentSessionsPerSandbox?: number;
569
643
  /**
570
644
  * @remarks
571
- * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, omitting this field uses the default value of 10.
645
+ * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than the value of minSandboxCount. When runtime is provided, omitting this field uses the default value of 10.
572
646
  *
573
647
  * @example
574
648
  * 10
@@ -576,7 +650,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
576
650
  maxSandboxCount?: number;
577
651
  /**
578
652
  * @remarks
579
- * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, omitting this field uses the default value of 1.
653
+ * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than the value of maxSandboxCount. When runtime is provided, omitting this field uses the default value of 1.
580
654
  *
581
655
  * @example
582
656
  * 1
@@ -584,7 +658,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
584
658
  minSandboxCount?: number;
585
659
  /**
586
660
  * @remarks
587
- * The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, omitting this field uses the default value of 600.
661
+ * The session idle timeout limit, in seconds. Valid values: 60 to 86400. When runtime is provided, omitting this field uses the default value of 600.
588
662
  *
589
663
  * @example
590
664
  * 600
@@ -604,7 +678,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
604
678
  export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
605
679
  /**
606
680
  * @remarks
607
- * The name of the HTTP request header used by the session policy. This parameter is required when type is set to ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this parameter for other policies.
681
+ * The name of the HTTP request header used by the session policy. This field is required when type is set to ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this field for other policies.
608
682
  *
609
683
  * @example
610
684
  * X-Session-Id
@@ -614,9 +688,9 @@ export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $d
614
688
  * @remarks
615
689
  * The session policy type. Valid values:
616
690
  * - AFFINITY: Session affinity.
617
- * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
618
- * - ISOLATED_COOKIE: Cookie-based session policy. This value is not recommended.
619
- * - DISABLED: Compatibility option. The response returns AFFINITY.
691
+ * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified in headerName.
692
+ * - ISOLATED_COOKIE: Not recommended.
693
+ * - DISABLED: A compatibility option. The response returns AFFINITY.
620
694
  *
621
695
  * This parameter is required.
622
696
  *
@@ -645,12 +719,12 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
645
719
  compute?: UpdateCustomAgentRequestBodyRuntimeCompute;
646
720
  /**
647
721
  * @remarks
648
- * The optional elastic policy. When runtime is provided, omitting hpa or its fields uses the default values: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
722
+ * The optional elastic policy. When runtime is provided, omitting hpa or its fields uses the following default values: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
649
723
  */
650
724
  hpa?: UpdateCustomAgentRequestBodyRuntimeHpa;
651
725
  /**
652
726
  * @remarks
653
- * The session policy configuration used to set the session association method for requests.
727
+ * The session policy configuration used to set the session affinity method for requests.
654
728
  *
655
729
  * This parameter is required.
656
730
  */
@@ -669,17 +743,22 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
669
743
  export declare class UpdateCustomAgentRequestBody extends $dara.Model {
670
744
  /**
671
745
  * @remarks
672
- * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. During creation, omitting this field or passing an empty array [] indicates no additional mounts. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
746
+ * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10. If you omit this field or pass an empty array [] during creation, no additional mounts are configured. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
673
747
  */
674
748
  agenticFsMounts?: UpdateCustomAgentRequestBodyAgenticFsMounts[];
675
749
  /**
676
750
  * @remarks
677
- * The deployment artifact configuration. You must specify the service listening port in the port field and choose either the code or container deployment method. During an update, you must provide the required fields for the selected method.
751
+ * The deployment artifact configuration. You must specify the service listening port and choose either code or container as the deployment method. During an update, you must provide the required fields for the selected method.
678
752
  */
679
753
  artifact?: UpdateCustomAgentRequestBodyArtifact;
680
754
  /**
681
755
  * @remarks
682
- * The description of the agent purpose. The maximum length is 1,024 characters after leading and trailing whitespaces are removed. Omitting this field retains the original value. Pass null to clear the description.
756
+ * The custom image configuration. Omitting this field retains the original source. Submitting the complete configuration indicates an active update of the custom image. You do not need to submit this field if only the port and startup command change.
757
+ */
758
+ customImage?: UpdateCustomAgentRequestBodyCustomImage;
759
+ /**
760
+ * @remarks
761
+ * The description of the agent purpose. The description can be up to 1,024 characters in length after leading and trailing spaces are removed. If omitted, the original value is retained. Pass null to clear the description.
683
762
  *
684
763
  * @example
685
764
  * Custom agent that provides conversation services
@@ -692,17 +771,17 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
692
771
  environment?: UpdateCustomAgentRequestBodyEnvironment;
693
772
  /**
694
773
  * @remarks
695
- * The optional HTTP health check configuration. When providing this object, you must specify the port field. Other unspecified items use default values. Omitting this field during creation indicates no configuration. During an update, omitting this top-level field retains the original configuration, and passing null removes the health check.
774
+ * The optional HTTP health check configuration. When this object is provided, the port field is required, and other unspecified fields use default values. Omitting this object during creation means no health check is configured. During an update, omitting this top-level field retains the original configuration, and passing null removes the health check.
696
775
  */
697
776
  healthCheck?: UpdateCustomAgentRequestBodyHealthCheck;
698
777
  /**
699
778
  * @remarks
700
- * The log delivery configuration for the agent. You can specify the Simple Log Service (SLS) project and logstore. After a successful creation or update, verify whether logs are delivered properly.
779
+ * The log delivery configuration for the agent. You can specify the Simple Log Service (SLS) project and Logstore. After a successful creation or update, verify that logs are delivered as expected.
701
780
  */
702
781
  logging?: UpdateCustomAgentRequestBodyLogging;
703
782
  /**
704
783
  * @remarks
705
- * The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace. Omitting this field retains the original value. You cannot pass null or a blank name.
784
+ * The custom name of the agent. The name must be 1 to 128 characters in length after leading and trailing spaces are removed, and must be unique within the same workspace. Omitting this field retains the original value. You cannot pass null or an empty name.
706
785
  *
707
786
  * @example
708
787
  * my-custom-agent
@@ -710,7 +789,7 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
710
789
  name?: string;
711
790
  /**
712
791
  * @remarks
713
- * The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible range is still restricted by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
792
+ * The network access configuration for the agent. When this object is provided, omitted access items are treated as allowed. The actual accessible scope is still restricted by the network configuration of the workspace. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
714
793
  */
715
794
  network?: UpdateCustomAgentRequestBodyNetwork;
716
795
  /**
@@ -720,17 +799,17 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
720
799
  observability?: UpdateCustomAgentRequestBodyObservability;
721
800
  /**
722
801
  * @remarks
723
- * The OSS mount list. A maximum of 10 items in total with agenticFsMounts. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap. The entire list is replaced during an update. Pass an empty array to clear the list.
802
+ * The list of Object Storage Service (OSS) mounts. The total number of OSS mounts and agenticFsMounts cannot exceed 10. For each item, you must specify bucketName, path, and mountPath. Mount targets cannot be duplicated or overlap with each other. During an update, this list is replaced entirely. Pass an empty array to clear all mounts.
724
803
  */
725
804
  ossMounts?: UpdateCustomAgentRequestBodyOssMounts[];
726
805
  /**
727
806
  * @remarks
728
- * The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. The entire list is replaced during an update.
807
+ * The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. During an update, this list is replaced entirely.
729
808
  */
730
809
  protocol?: UpdateCustomAgentRequestBodyProtocol[];
731
810
  /**
732
811
  * @remarks
733
- * The ARN of the RAM role used when the agent accesses user cloud resources. The role must have permissions to access the cloud resources.
812
+ * The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role used by the agent to access user cloud resources. The role must have the required permissions for the accessed cloud resources.
734
813
  *
735
814
  * @example
736
815
  * acs:ram::1234567890123456:role/agentcore-runtime-role
@@ -738,12 +817,12 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
738
817
  roleArn?: string;
739
818
  /**
740
819
  * @remarks
741
- * The runtime configuration. When this object is provided, compute and sessionPolicy must be present at the same time. To retain the original elastic policy, provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
820
+ * The runtime configuration. When this object is provided, both compute and sessionPolicy must be present. To retain the original elastic policy, provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
742
821
  */
743
822
  runtime?: UpdateCustomAgentRequestBodyRuntime;
744
823
  /**
745
824
  * @remarks
746
- * If this parameter is not passed during an update, the original value is retained. Explicitly set this parameter to true or false. The system does not automatically supplement false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
825
+ * If this field is not passed during an update, the original value is retained. Explicitly set this field to true or false. The system does not automatically append false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
747
826
  *
748
827
  * @example
749
828
  * true
@@ -763,7 +842,7 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
763
842
  export declare class UpdateCustomAgentRequest extends $dara.Model {
764
843
  /**
765
844
  * @remarks
766
- * The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
845
+ * The update configuration for the custom agent. Specify at least one top-level field. Omitted top-level fields retain their original values. When you provide a configuration object, you must specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
767
846
  */
768
847
  body?: UpdateCustomAgentRequestBody;
769
848
  /**