@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.
- package/dist/client.d.ts +370 -188
- package/dist/client.js +413 -188
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +155 -53
- package/dist/models/CreateCustomAgentRequest.js +61 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +305 -58
- package/dist/models/CreateCustomAgentResponseBody.js +153 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +12 -15
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +19 -22
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +80 -45
- package/dist/models/CreateManagedAgentRequest.js +29 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +98 -65
- package/dist/models/CreateManagedAgentResponseBody.js +29 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +10 -10
- package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +5 -5
- package/dist/models/FindCustomAgentImagePreparationRequest.d.ts +23 -0
- package/dist/models/FindCustomAgentImagePreparationRequest.js +58 -0
- package/dist/models/FindCustomAgentImagePreparationRequest.js.map +1 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.d.ts +19 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.js +69 -0
- package/dist/models/FindCustomAgentImagePreparationResponse.js.map +1 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.d.ts +135 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.js +122 -0
- package/dist/models/FindCustomAgentImagePreparationResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.js +54 -0
- package/dist/models/GetCustomAgentImagePreparationRequest.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.js +69 -0
- package/dist/models/GetCustomAgentImagePreparationResponse.js.map +1 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.d.ts +135 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.js +122 -0
- package/dist/models/GetCustomAgentImagePreparationResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +304 -51
- package/dist/models/GetCustomAgentResponseBody.js +153 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +30 -30
- package/dist/models/GetIdentityProviderScimresponseBody.d.ts +29 -17
- package/dist/models/GetIdentityProviderScimresponseBody.js +2 -0
- package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +1 -1
- package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +10 -10
- package/dist/models/GetManagedAgentResponseBody.d.ts +106 -75
- package/dist/models/GetManagedAgentResponseBody.js +29 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentsResponseBody.d.ts +24 -22
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProvidersRequest.d.ts +1 -1
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +30 -18
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +10 -10
- package/dist/models/UpdateCustomAgentRequest.d.ts +154 -75
- package/dist/models/UpdateCustomAgentRequest.js +61 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +310 -65
- package/dist/models/UpdateCustomAgentResponseBody.js +153 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -20
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +19 -19
- package/dist/models/UpdateIdentityProviderScimrequest.d.ts +2 -2
- package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +42 -26
- package/dist/models/UpdateIdentityProviderScimresponseBody.js +4 -0
- package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -1
- package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateManagedAgentRequest.d.ts +83 -46
- package/dist/models/UpdateManagedAgentRequest.js +29 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +98 -65
- package/dist/models/UpdateManagedAgentResponseBody.js +29 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/model.d.ts +34 -0
- package/dist/models/model.js +267 -198
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +418 -188
- package/src/models/CreateCustomAgentRequest.ts +197 -53
- package/src/models/CreateCustomAgentResponseBody.ts +412 -58
- package/src/models/CreateIdentityProviderRequest.ts +12 -15
- package/src/models/CreateIdentityProviderResponseBody.ts +19 -22
- package/src/models/CreateManagedAgentRequest.ts +99 -45
- package/src/models/CreateManagedAgentResponseBody.ts +117 -65
- package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteIdentityProviderResponseBody.ts +10 -10
- package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +5 -5
- package/src/models/FindCustomAgentImagePreparationRequest.ts +36 -0
- package/src/models/FindCustomAgentImagePreparationResponse.ts +40 -0
- package/src/models/FindCustomAgentImagePreparationResponseBody.ts +194 -0
- package/src/models/GetCustomAgentImagePreparationRequest.ts +24 -0
- package/src/models/GetCustomAgentImagePreparationResponse.ts +40 -0
- package/src/models/GetCustomAgentImagePreparationResponseBody.ts +194 -0
- package/src/models/GetCustomAgentResponseBody.ts +411 -51
- package/src/models/GetIdentityProviderResponseBody.ts +30 -30
- package/src/models/GetIdentityProviderScimresponseBody.ts +31 -17
- package/src/models/GetIdentityProviderServiceProviderRequest.ts +1 -1
- package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +10 -10
- package/src/models/GetManagedAgentResponseBody.ts +125 -75
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +1 -1
- package/src/models/ListCustomAgentsRequest.ts +2 -2
- package/src/models/ListCustomAgentsResponseBody.ts +24 -22
- package/src/models/ListIdentityProvidersRequest.ts +1 -1
- package/src/models/ListIdentityProvidersResponseBody.ts +30 -18
- package/src/models/PrepareIdentityProviderScimresponseBody.ts +10 -10
- package/src/models/UpdateCustomAgentRequest.ts +196 -75
- package/src/models/UpdateCustomAgentResponseBody.ts +417 -65
- package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderRequest.ts +20 -20
- package/src/models/UpdateIdentityProviderResponseBody.ts +19 -19
- package/src/models/UpdateIdentityProviderScimrequest.ts +2 -2
- package/src/models/UpdateIdentityProviderScimresponseBody.ts +46 -26
- package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
- package/src/models/UpdateManagedAgentRequest.ts +102 -46
- package/src/models/UpdateManagedAgentResponseBody.ts +117 -65
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/model.ts +34 -0
|
@@ -18,7 +18,7 @@ export declare class GetCustomAgentResponseBodyDataAgenticFsMounts extends $dara
|
|
|
18
18
|
path?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only
|
|
21
|
+
* Specifies whether the mount is read-only. A value of true indicates a read-only mount. A value of false indicates a read-write mount.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -66,7 +66,7 @@ export declare class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Mo
|
|
|
66
66
|
languageRuntime?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The fixed oss:// address of the platform code package referenced by the currently saved configuration. This address does not include the signature parameters of the source HTTPS link. You can use this address to reuse an existing code package. To download the content, call GetAgentCodePackageDownloadUrl.
|
|
69
|
+
* The fixed oss:// address of the platform code package referenced by the currently saved configuration. This address does not include the signature parameters of the source HTTPS link. You can use this address to reuse an existing code package. To download the content, call the GetAgentCodePackageDownloadUrl operation.
|
|
70
70
|
*
|
|
71
71
|
* This parameter is required.
|
|
72
72
|
*
|
|
@@ -88,7 +88,7 @@ export declare class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Mo
|
|
|
88
88
|
export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model {
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The custom executable program and startup parameters. If not configured, the default startup method of the image is used.
|
|
91
|
+
* The custom executable program and startup parameters. If this parameter is not configured, the default startup method of the image is used.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* python app.py
|
|
@@ -98,8 +98,6 @@ export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $da
|
|
|
98
98
|
* @remarks
|
|
99
99
|
* The ID of the ACR instance to which the image repository belongs.
|
|
100
100
|
*
|
|
101
|
-
* This parameter is required.
|
|
102
|
-
*
|
|
103
101
|
* @example
|
|
104
102
|
* cri-a1b2c3d4e5f6
|
|
105
103
|
*/
|
|
@@ -108,8 +106,6 @@ export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $da
|
|
|
108
106
|
* @remarks
|
|
109
107
|
* The namespace to which the ACR image repository belongs.
|
|
110
108
|
*
|
|
111
|
-
* This parameter is required.
|
|
112
|
-
*
|
|
113
109
|
* @example
|
|
114
110
|
* my-agent
|
|
115
111
|
*/
|
|
@@ -118,8 +114,6 @@ export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $da
|
|
|
118
114
|
* @remarks
|
|
119
115
|
* The name of the image repository in the ACR namespace.
|
|
120
116
|
*
|
|
121
|
-
* This parameter is required.
|
|
122
|
-
*
|
|
123
117
|
* @example
|
|
124
118
|
* chat-agent
|
|
125
119
|
*/
|
|
@@ -128,15 +122,13 @@ export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $da
|
|
|
128
122
|
* @remarks
|
|
129
123
|
* The latest submitted image tag.
|
|
130
124
|
*
|
|
131
|
-
* This parameter is required.
|
|
132
|
-
*
|
|
133
125
|
* @example
|
|
134
126
|
* v1.0.0
|
|
135
127
|
*/
|
|
136
128
|
tag?: string;
|
|
137
129
|
/**
|
|
138
130
|
* @remarks
|
|
139
|
-
* The image source type. acr indicates Alibaba Cloud Container Registry.
|
|
131
|
+
* The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
|
|
140
132
|
*
|
|
141
133
|
* This parameter is required.
|
|
142
134
|
*
|
|
@@ -158,7 +150,7 @@ export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $da
|
|
|
158
150
|
export declare class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
159
151
|
/**
|
|
160
152
|
* @remarks
|
|
161
|
-
* The code package deployment configuration. This parameter is mutually exclusive with container. The code package
|
|
153
|
+
* The code package deployment configuration. This parameter is mutually exclusive with the container parameter. The code package uses the ZIP or TAR.GZ format. Dependencies must be packaged by the user. The platform does not install dependencies or perform online builds.
|
|
162
154
|
*/
|
|
163
155
|
code?: GetCustomAgentResponseBodyDataArtifactCode;
|
|
164
156
|
/**
|
|
@@ -168,7 +160,7 @@ export declare class GetCustomAgentResponseBodyDataArtifact extends $dara.Model
|
|
|
168
160
|
container?: GetCustomAgentResponseBodyDataArtifactContainer;
|
|
169
161
|
/**
|
|
170
162
|
* @remarks
|
|
171
|
-
* The TCP port on
|
|
163
|
+
* The TCP port listened on by the agent service.
|
|
172
164
|
*
|
|
173
165
|
* This parameter is required.
|
|
174
166
|
*
|
|
@@ -239,6 +231,216 @@ export declare class GetCustomAgentResponseBodyDataCodePackageInfo extends $dara
|
|
|
239
231
|
[key: string]: any;
|
|
240
232
|
});
|
|
241
233
|
}
|
|
234
|
+
export declare class GetCustomAgentResponseBodyDataCurrentImagePullNetwork extends $dara.Model {
|
|
235
|
+
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* sg-example
|
|
241
|
+
*/
|
|
242
|
+
securityGroupId?: string;
|
|
243
|
+
/**
|
|
244
|
+
* @remarks
|
|
245
|
+
* The pull network type. This parameter is required when pullNetwork is submitted and is verified by the backend. The default value for a new creation is public network, which is independent of the agent runtime network.
|
|
246
|
+
*
|
|
247
|
+
* @example
|
|
248
|
+
* public
|
|
249
|
+
*/
|
|
250
|
+
type?: string;
|
|
251
|
+
/**
|
|
252
|
+
* @remarks
|
|
253
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
254
|
+
*
|
|
255
|
+
* @example
|
|
256
|
+
* vsw-example
|
|
257
|
+
*/
|
|
258
|
+
vSwitchId?: string;
|
|
259
|
+
/**
|
|
260
|
+
* @remarks
|
|
261
|
+
* The VPC ID. This parameter is required when type is set to vpc. The associated account and region are verified by the backend.
|
|
262
|
+
*
|
|
263
|
+
* @example
|
|
264
|
+
* vpc-example
|
|
265
|
+
*/
|
|
266
|
+
vpcId?: string;
|
|
267
|
+
static names(): {
|
|
268
|
+
[key: string]: string;
|
|
269
|
+
};
|
|
270
|
+
static types(): {
|
|
271
|
+
[key: string]: any;
|
|
272
|
+
};
|
|
273
|
+
validate(): void;
|
|
274
|
+
constructor(map?: {
|
|
275
|
+
[key: string]: any;
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
export declare class GetCustomAgentResponseBodyDataCurrentImage extends $dara.Model {
|
|
279
|
+
/**
|
|
280
|
+
* @remarks
|
|
281
|
+
* The original image address for the custom source.
|
|
282
|
+
*
|
|
283
|
+
* @example
|
|
284
|
+
* registry.example.com/team/agent:v1
|
|
285
|
+
*/
|
|
286
|
+
image?: string;
|
|
287
|
+
/**
|
|
288
|
+
* @remarks
|
|
289
|
+
* The instance ID for the ACR source.
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* cri-example
|
|
293
|
+
*/
|
|
294
|
+
instanceId?: string;
|
|
295
|
+
/**
|
|
296
|
+
* @remarks
|
|
297
|
+
* The namespace for the ACR source.
|
|
298
|
+
*
|
|
299
|
+
* @example
|
|
300
|
+
* team
|
|
301
|
+
*/
|
|
302
|
+
namespace?: string;
|
|
303
|
+
/**
|
|
304
|
+
* @remarks
|
|
305
|
+
* The independent pull network for the custom source.
|
|
306
|
+
*/
|
|
307
|
+
pullNetwork?: GetCustomAgentResponseBodyDataCurrentImagePullNetwork;
|
|
308
|
+
/**
|
|
309
|
+
* @remarks
|
|
310
|
+
* The repository name for the ACR source.
|
|
311
|
+
*
|
|
312
|
+
* @example
|
|
313
|
+
* agent
|
|
314
|
+
*/
|
|
315
|
+
repo?: string;
|
|
316
|
+
/**
|
|
317
|
+
* @remarks
|
|
318
|
+
* The certificate exception option for the custom source.
|
|
319
|
+
*
|
|
320
|
+
* @example
|
|
321
|
+
* false
|
|
322
|
+
*/
|
|
323
|
+
skipTlsVerify?: boolean;
|
|
324
|
+
/**
|
|
325
|
+
* @remarks
|
|
326
|
+
* The image source type of the current active version.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* custom
|
|
330
|
+
*/
|
|
331
|
+
sourceType?: string;
|
|
332
|
+
/**
|
|
333
|
+
* @remarks
|
|
334
|
+
* The tag of the ACR source.
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* v1
|
|
338
|
+
*/
|
|
339
|
+
tag?: string;
|
|
340
|
+
/**
|
|
341
|
+
* @remarks
|
|
342
|
+
* The source snapshot from the current active configuration version. Omitted for anonymous sources. A new source failure does not overwrite this username, and no password is returned.
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* reader
|
|
346
|
+
*/
|
|
347
|
+
username?: string;
|
|
348
|
+
static names(): {
|
|
349
|
+
[key: string]: string;
|
|
350
|
+
};
|
|
351
|
+
static types(): {
|
|
352
|
+
[key: string]: any;
|
|
353
|
+
};
|
|
354
|
+
validate(): void;
|
|
355
|
+
constructor(map?: {
|
|
356
|
+
[key: string]: any;
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
export declare class GetCustomAgentResponseBodyDataCustomImagePullNetwork extends $dara.Model {
|
|
360
|
+
/**
|
|
361
|
+
* @remarks
|
|
362
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
363
|
+
*
|
|
364
|
+
* @example
|
|
365
|
+
* sg-example
|
|
366
|
+
*/
|
|
367
|
+
securityGroupId?: string;
|
|
368
|
+
/**
|
|
369
|
+
* @remarks
|
|
370
|
+
* The pull network type. This parameter is required when pullNetwork is submitted and is verified by the backend. The default value for a new creation is public network, which is independent of the agent runtime network.
|
|
371
|
+
*
|
|
372
|
+
* @example
|
|
373
|
+
* public
|
|
374
|
+
*/
|
|
375
|
+
type?: string;
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* vsw-example
|
|
382
|
+
*/
|
|
383
|
+
vSwitchId?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The VPC ID. This parameter is required when type is set to vpc. The associated account and region are verified by the backend.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* vpc-example
|
|
390
|
+
*/
|
|
391
|
+
vpcId?: string;
|
|
392
|
+
static names(): {
|
|
393
|
+
[key: string]: string;
|
|
394
|
+
};
|
|
395
|
+
static types(): {
|
|
396
|
+
[key: string]: any;
|
|
397
|
+
};
|
|
398
|
+
validate(): void;
|
|
399
|
+
constructor(map?: {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
export declare class GetCustomAgentResponseBodyDataCustomImage extends $dara.Model {
|
|
404
|
+
/**
|
|
405
|
+
* @remarks
|
|
406
|
+
* The latest saved source address, which may still be in preparation.
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* registry.example.com/team/agent:v1
|
|
410
|
+
*/
|
|
411
|
+
image?: string;
|
|
412
|
+
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* The saved dedicated pull network.
|
|
415
|
+
*/
|
|
416
|
+
pullNetwork?: GetCustomAgentResponseBodyDataCustomImagePullNetwork;
|
|
417
|
+
/**
|
|
418
|
+
* @remarks
|
|
419
|
+
* The saved HTTPS certificate exception option.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* false
|
|
423
|
+
*/
|
|
424
|
+
skipTlsVerify?: boolean;
|
|
425
|
+
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* Returns the saved username only after the source is successfully prepared. Omitted for anonymous or unverified sources. This does not indicate the presence of a reusable password.
|
|
428
|
+
*
|
|
429
|
+
* @example
|
|
430
|
+
* reader
|
|
431
|
+
*/
|
|
432
|
+
username?: string;
|
|
433
|
+
static names(): {
|
|
434
|
+
[key: string]: string;
|
|
435
|
+
};
|
|
436
|
+
static types(): {
|
|
437
|
+
[key: string]: any;
|
|
438
|
+
};
|
|
439
|
+
validate(): void;
|
|
440
|
+
constructor(map?: {
|
|
441
|
+
[key: string]: any;
|
|
442
|
+
});
|
|
443
|
+
}
|
|
242
444
|
export declare class GetCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
|
|
243
445
|
/**
|
|
244
446
|
* @remarks
|
|
@@ -274,7 +476,7 @@ export declare class GetCustomAgentResponseBodyDataEnvironmentVariables extends
|
|
|
274
476
|
export declare class GetCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
275
477
|
/**
|
|
276
478
|
* @remarks
|
|
277
|
-
* The
|
|
479
|
+
* The list of recently submitted environment variables.
|
|
278
480
|
*/
|
|
279
481
|
variables?: GetCustomAgentResponseBodyDataEnvironmentVariables[];
|
|
280
482
|
static names(): {
|
|
@@ -295,6 +497,8 @@ export declare class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Mod
|
|
|
295
497
|
*
|
|
296
498
|
* @example
|
|
297
499
|
* 1
|
|
500
|
+
*
|
|
501
|
+
* @deprecated
|
|
298
502
|
*/
|
|
299
503
|
healthyThreshold?: number;
|
|
300
504
|
/**
|
|
@@ -331,7 +535,7 @@ export declare class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Mod
|
|
|
331
535
|
timeoutSeconds?: number;
|
|
332
536
|
/**
|
|
333
537
|
* @remarks
|
|
334
|
-
* The number of consecutive health check failures
|
|
538
|
+
* The number of consecutive health check failures required to mark the agent as unhealthy.
|
|
335
539
|
*
|
|
336
540
|
* @example
|
|
337
541
|
* 3
|
|
@@ -348,10 +552,38 @@ export declare class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Mod
|
|
|
348
552
|
[key: string]: any;
|
|
349
553
|
});
|
|
350
554
|
}
|
|
555
|
+
export declare class GetCustomAgentResponseBodyDataImagePreparation extends $dara.Model {
|
|
556
|
+
/**
|
|
557
|
+
* @remarks
|
|
558
|
+
* The current image preparation phase. Configuration acceptance does not mean successful deployment.
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* QUEUED
|
|
562
|
+
*/
|
|
563
|
+
phase?: string;
|
|
564
|
+
/**
|
|
565
|
+
* @remarks
|
|
566
|
+
* The task ID submitted from the console. This is not the Resource Management (RM) operation ID.
|
|
567
|
+
*
|
|
568
|
+
* @example
|
|
569
|
+
* agent-example:1
|
|
570
|
+
*/
|
|
571
|
+
preparationId?: string;
|
|
572
|
+
static names(): {
|
|
573
|
+
[key: string]: string;
|
|
574
|
+
};
|
|
575
|
+
static types(): {
|
|
576
|
+
[key: string]: any;
|
|
577
|
+
};
|
|
578
|
+
validate(): void;
|
|
579
|
+
constructor(map?: {
|
|
580
|
+
[key: string]: any;
|
|
581
|
+
});
|
|
582
|
+
}
|
|
351
583
|
export declare class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
|
|
352
584
|
/**
|
|
353
585
|
* @remarks
|
|
354
|
-
* The reason code for the
|
|
586
|
+
* The reason code for the waiting or execution failure of the latest configuration. Used to determine subsequent handling methods.
|
|
355
587
|
*
|
|
356
588
|
* This parameter is required.
|
|
357
589
|
*
|
|
@@ -361,7 +593,7 @@ export declare class GetCustomAgentResponseBodyDataLatestExecutionError extends
|
|
|
361
593
|
code?: string;
|
|
362
594
|
/**
|
|
363
595
|
* @remarks
|
|
364
|
-
* The
|
|
596
|
+
* The reason why the latest configuration is pending or failed to execute. Determine what to do next based on the code and retryable fields.
|
|
365
597
|
*
|
|
366
598
|
* This parameter is required.
|
|
367
599
|
*
|
|
@@ -371,7 +603,7 @@ export declare class GetCustomAgentResponseBodyDataLatestExecutionError extends
|
|
|
371
603
|
message?: string;
|
|
372
604
|
/**
|
|
373
605
|
* @remarks
|
|
374
|
-
* Indicates whether the
|
|
606
|
+
* Indicates whether the task is automatically retried. If true, you can query again later. If false, check and fix the configuration based on the reason, and then resubmit.
|
|
375
607
|
*
|
|
376
608
|
* This parameter is required.
|
|
377
609
|
*/
|
|
@@ -435,7 +667,7 @@ export declare class GetCustomAgentResponseBodyDataLogging extends $dara.Model {
|
|
|
435
667
|
export declare class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
436
668
|
/**
|
|
437
669
|
* @remarks
|
|
438
|
-
* Specifies whether Internet access is allowed on the agent side. The actual access
|
|
670
|
+
* Specifies whether Internet access is allowed on the agent side. The actual access remains restricted by the workspace.
|
|
439
671
|
*/
|
|
440
672
|
enabled?: boolean;
|
|
441
673
|
static names(): {
|
|
@@ -452,7 +684,7 @@ export declare class GetCustomAgentResponseBodyDataNetworkAccessInternet extends
|
|
|
452
684
|
export declare class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
|
|
453
685
|
/**
|
|
454
686
|
* @remarks
|
|
455
|
-
* Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access
|
|
687
|
+
* Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access remains restricted by the workspace.
|
|
456
688
|
*/
|
|
457
689
|
enabled?: boolean;
|
|
458
690
|
static names(): {
|
|
@@ -469,12 +701,12 @@ export declare class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dar
|
|
|
469
701
|
export declare class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
470
702
|
/**
|
|
471
703
|
* @remarks
|
|
472
|
-
* The Internet access configuration of the agent. If
|
|
704
|
+
* The Internet access configuration of the agent. If not configured, Internet access is allowed on the agent side but remains restricted by the workspace.
|
|
473
705
|
*/
|
|
474
706
|
accessInternet?: GetCustomAgentResponseBodyDataNetworkAccessInternet;
|
|
475
707
|
/**
|
|
476
708
|
* @remarks
|
|
477
|
-
* The user VPC access configuration of the agent. If
|
|
709
|
+
* The user VPC access configuration of the agent. If not configured, user VPC access is allowed on the agent side but remains restricted by the workspace.
|
|
478
710
|
*/
|
|
479
711
|
accessVpc?: GetCustomAgentResponseBodyDataNetworkAccessVpc;
|
|
480
712
|
static names(): {
|
|
@@ -491,7 +723,7 @@ export declare class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
491
723
|
export declare class GetCustomAgentResponseBodyDataObservability extends $dara.Model {
|
|
492
724
|
/**
|
|
493
725
|
* @remarks
|
|
494
|
-
* Specifies whether
|
|
726
|
+
* Specifies whether agent observability is enabled.
|
|
495
727
|
*/
|
|
496
728
|
enabled?: boolean;
|
|
497
729
|
static names(): {
|
|
@@ -532,7 +764,7 @@ export declare class GetCustomAgentResponseBodyDataOssMounts extends $dara.Model
|
|
|
532
764
|
path?: string;
|
|
533
765
|
/**
|
|
534
766
|
* @remarks
|
|
535
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only
|
|
767
|
+
* Specifies whether the mount is read-only. A value of true indicates a read-only mount. A value of false indicates a read-write mount.
|
|
536
768
|
*/
|
|
537
769
|
readOnly?: boolean;
|
|
538
770
|
static names(): {
|
|
@@ -579,7 +811,7 @@ export declare class GetCustomAgentResponseBodyDataProtocolPaths extends $dara.M
|
|
|
579
811
|
export declare class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
580
812
|
/**
|
|
581
813
|
* @remarks
|
|
582
|
-
* The request header configuration for the current protocol
|
|
814
|
+
* The request header configuration for the current protocol, where the key is the name and the value is a string.
|
|
583
815
|
*/
|
|
584
816
|
headers?: {
|
|
585
817
|
[key: string]: string;
|
|
@@ -635,14 +867,14 @@ export declare class GetCustomAgentResponseBodyDataRuntimeCompute extends $dara.
|
|
|
635
867
|
export declare class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
636
868
|
/**
|
|
637
869
|
* @remarks
|
|
638
|
-
* Specifies whether to enable elastic scaling.
|
|
870
|
+
* Specifies whether to enable elastic scaling. Valid values: true: Enabled. false: Disabled.
|
|
639
871
|
*
|
|
640
872
|
* This parameter is required.
|
|
641
873
|
*/
|
|
642
874
|
enabled?: boolean;
|
|
643
875
|
/**
|
|
644
876
|
* @remarks
|
|
645
|
-
* The configured maximum number of concurrent sessions
|
|
877
|
+
* The configured maximum number of concurrent sessions for a single runtime instance.
|
|
646
878
|
*
|
|
647
879
|
* @example
|
|
648
880
|
* 100
|
|
@@ -666,7 +898,7 @@ export declare class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Mode
|
|
|
666
898
|
minSandboxCount?: number;
|
|
667
899
|
/**
|
|
668
900
|
* @remarks
|
|
669
|
-
* The configured session idle timeout limit in seconds.
|
|
901
|
+
* The configured session idle timeout limit, in seconds.
|
|
670
902
|
*
|
|
671
903
|
* @example
|
|
672
904
|
* 600
|
|
@@ -686,7 +918,7 @@ export declare class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Mode
|
|
|
686
918
|
export declare class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
687
919
|
/**
|
|
688
920
|
* @remarks
|
|
689
|
-
* The name of the HTTP request header used by the session policy
|
|
921
|
+
* The name of the HTTP request header used by the session policy, applicable to ISOLATED_HEADER_FIELD.
|
|
690
922
|
*
|
|
691
923
|
* @example
|
|
692
924
|
* X-Session-Id
|
|
@@ -694,7 +926,7 @@ export declare class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends
|
|
|
694
926
|
headerName?: string;
|
|
695
927
|
/**
|
|
696
928
|
* @remarks
|
|
697
|
-
* The session policy type. Valid values: AFFINITY
|
|
929
|
+
* The session policy type. Valid values: AFFINITY: Session affinity. ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName. ISOLATED_COOKIE is not recommended. The compatible value DISABLED in requests is returned as AFFINITY.
|
|
698
930
|
*
|
|
699
931
|
* This parameter is required.
|
|
700
932
|
*
|
|
@@ -747,7 +979,7 @@ export declare class GetCustomAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
747
979
|
export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
748
980
|
/**
|
|
749
981
|
* @remarks
|
|
750
|
-
* The unique identifier of the custom agent
|
|
982
|
+
* The unique identifier of the custom agent. You can obtain this ID from the response of CreateCustomAgent or ListCustomAgents.
|
|
751
983
|
*
|
|
752
984
|
* This parameter is required.
|
|
753
985
|
*
|
|
@@ -762,7 +994,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
762
994
|
agenticFsMounts?: GetCustomAgentResponseBodyDataAgenticFsMounts[];
|
|
763
995
|
/**
|
|
764
996
|
* @remarks
|
|
765
|
-
* The latest submitted deployment artifact configuration, including the service listening port and ACR container image. To determine whether the configuration has taken effect, check the latestVersionStatus parameter.
|
|
997
|
+
* The latest submitted deployment artifact configuration, including the service listening port and the ACR container image. To determine whether the configuration has taken effect, check the latestVersionStatus parameter.
|
|
766
998
|
*/
|
|
767
999
|
artifact?: GetCustomAgentResponseBodyDataArtifact;
|
|
768
1000
|
/**
|
|
@@ -772,7 +1004,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
772
1004
|
codePackageInfo?: GetCustomAgentResponseBodyDataCodePackageInfo;
|
|
773
1005
|
/**
|
|
774
1006
|
* @remarks
|
|
775
|
-
* The creation method of the agent. CUSTOM is returned for custom agents.
|
|
1007
|
+
* The creation method of the agent. A value of CUSTOM is returned for custom agents.
|
|
776
1008
|
*
|
|
777
1009
|
* @example
|
|
778
1010
|
* CUSTOM
|
|
@@ -788,7 +1020,17 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
788
1020
|
createdAt?: string;
|
|
789
1021
|
/**
|
|
790
1022
|
* @remarks
|
|
791
|
-
* The
|
|
1023
|
+
* The image source snapshot of the current active configuration version. This value is null before the initial configuration takes effect and does not represent the health status.
|
|
1024
|
+
*/
|
|
1025
|
+
currentImage?: GetCustomAgentResponseBodyDataCurrentImage;
|
|
1026
|
+
/**
|
|
1027
|
+
* @remarks
|
|
1028
|
+
* The recently saved source and its verified username. The source may be in preparation or failed. No password is returned.
|
|
1029
|
+
*/
|
|
1030
|
+
customImage?: GetCustomAgentResponseBodyDataCustomImage;
|
|
1031
|
+
/**
|
|
1032
|
+
* @remarks
|
|
1033
|
+
* The deployment method of the agent. Custom agents are deployed and managed by the platform, and MANAGED is returned.
|
|
792
1034
|
*
|
|
793
1035
|
* @example
|
|
794
1036
|
* MANAGED
|
|
@@ -799,12 +1041,12 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
799
1041
|
* The description of the agent\\"s purpose.
|
|
800
1042
|
*
|
|
801
1043
|
* @example
|
|
802
|
-
* Custom agent
|
|
1044
|
+
* Custom agent for providing conversational services
|
|
803
1045
|
*/
|
|
804
1046
|
description?: string;
|
|
805
1047
|
/**
|
|
806
1048
|
* @remarks
|
|
807
|
-
* The
|
|
1049
|
+
* The active configuration version.
|
|
808
1050
|
*
|
|
809
1051
|
* This parameter is required.
|
|
810
1052
|
*
|
|
@@ -822,7 +1064,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
822
1064
|
environment?: GetCustomAgentResponseBodyDataEnvironment;
|
|
823
1065
|
/**
|
|
824
1066
|
* @remarks
|
|
825
|
-
* The HTTP health check configuration for the agent.
|
|
1067
|
+
* The HTTP health check configuration for the agent. Empty if not configured.
|
|
826
1068
|
*/
|
|
827
1069
|
healthCheck?: GetCustomAgentResponseBodyDataHealthCheck;
|
|
828
1070
|
/**
|
|
@@ -840,7 +1082,12 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
840
1082
|
imageCacheId?: string;
|
|
841
1083
|
/**
|
|
842
1084
|
* @remarks
|
|
843
|
-
* The
|
|
1085
|
+
* The currently associated image preparation task. The phase indicates acceptance. Query the preparation API for real-time progress. A standard save operation does not create an image preparation task.
|
|
1086
|
+
*/
|
|
1087
|
+
imagePreparation?: GetCustomAgentResponseBodyDataImagePreparation;
|
|
1088
|
+
/**
|
|
1089
|
+
* @remarks
|
|
1090
|
+
* The waiting or execution error of the latest configuration version. Returned only when this version is waiting for a retry or has failed.
|
|
844
1091
|
*/
|
|
845
1092
|
latestExecutionError?: GetCustomAgentResponseBodyDataLatestExecutionError;
|
|
846
1093
|
/**
|
|
@@ -855,7 +1102,13 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
855
1102
|
latestSpecVersion?: number;
|
|
856
1103
|
/**
|
|
857
1104
|
* @remarks
|
|
858
|
-
* The execution status corresponding to
|
|
1105
|
+
* The execution status corresponding to latestSpecVersion. Valid values:
|
|
1106
|
+
* - pending: Waiting for execution.
|
|
1107
|
+
* - processing: Executing.
|
|
1108
|
+
* - waiting_retry: Waiting for a retry.
|
|
1109
|
+
* - succeeded: Executed successfully.
|
|
1110
|
+
* - failed: Execution failed.
|
|
1111
|
+
* - superseded: Superseded by a subsequent version.
|
|
859
1112
|
*
|
|
860
1113
|
* @example
|
|
861
1114
|
* succeeded
|
|
@@ -871,7 +1124,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
871
1124
|
logging?: GetCustomAgentResponseBodyDataLogging;
|
|
872
1125
|
/**
|
|
873
1126
|
* @remarks
|
|
874
|
-
* The custom agent
|
|
1127
|
+
* The name of the custom agent.
|
|
875
1128
|
*
|
|
876
1129
|
* This parameter is required.
|
|
877
1130
|
*
|
|
@@ -881,17 +1134,17 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
881
1134
|
name?: string;
|
|
882
1135
|
/**
|
|
883
1136
|
* @remarks
|
|
884
|
-
* The network access configuration of the agent. The actual access scope is also
|
|
1137
|
+
* The network access configuration of the agent. The actual access scope is also restricted by the workspace network configuration.
|
|
885
1138
|
*/
|
|
886
1139
|
network?: GetCustomAgentResponseBodyDataNetwork;
|
|
887
1140
|
/**
|
|
888
1141
|
* @remarks
|
|
889
|
-
* The observability configuration for high-code
|
|
1142
|
+
* The observability configuration for the high-code agent.
|
|
890
1143
|
*/
|
|
891
1144
|
observability?: GetCustomAgentResponseBodyDataObservability;
|
|
892
1145
|
/**
|
|
893
1146
|
* @remarks
|
|
894
|
-
* The
|
|
1147
|
+
* The list of recently submitted OSS directory mounts.
|
|
895
1148
|
*/
|
|
896
1149
|
ossMounts?: GetCustomAgentResponseBodyDataOssMounts[];
|
|
897
1150
|
/**
|
|
@@ -922,14 +1175,14 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
922
1175
|
runtime?: GetCustomAgentResponseBodyDataRuntime;
|
|
923
1176
|
/**
|
|
924
1177
|
* @remarks
|
|
925
|
-
*
|
|
1178
|
+
* Counts the number of instances by runtime instance phase. Keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed). Only phases that actually occur are returned, and missing keys are treated as 0.
|
|
926
1179
|
*/
|
|
927
1180
|
sandboxPhaseCounts?: {
|
|
928
1181
|
[key: string]: number;
|
|
929
1182
|
};
|
|
930
1183
|
/**
|
|
931
1184
|
* @remarks
|
|
932
|
-
* The overall status of the agent. Valid values: Creating:
|
|
1185
|
+
* The overall status of the agent. Valid values: Creating: Creating. Running: Running. Failed: Failed. Updating: Updating. Deleting: Deleting. Deleted: Deleted. To check the execution progress of the latest configuration, query latestVersionStatus.
|
|
933
1186
|
*
|
|
934
1187
|
* This parameter is required.
|
|
935
1188
|
*
|
|
@@ -939,7 +1192,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
939
1192
|
status?: string;
|
|
940
1193
|
/**
|
|
941
1194
|
* @remarks
|
|
942
|
-
* The time
|
|
1195
|
+
* The most recent update time of the agent, in ISO 8601 format. The trailing Z indicates the UTC time zone, and fractional seconds may be included.
|
|
943
1196
|
*
|
|
944
1197
|
* @example
|
|
945
1198
|
* 2026-10-10T06:05:00Z
|
|
@@ -947,7 +1200,7 @@ export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
947
1200
|
updatedAt?: string;
|
|
948
1201
|
/**
|
|
949
1202
|
* @remarks
|
|
950
|
-
*
|
|
1203
|
+
* The image cache switch.
|
|
951
1204
|
*
|
|
952
1205
|
* This parameter is required.
|
|
953
1206
|
*
|
|
@@ -996,7 +1249,7 @@ export declare class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
996
1249
|
data?: GetCustomAgentResponseBodyData;
|
|
997
1250
|
/**
|
|
998
1251
|
* @remarks
|
|
999
|
-
* The HTTP status code of the request.
|
|
1252
|
+
* The HTTP status code of the request. The value is 200 if the request is successful.
|
|
1000
1253
|
*
|
|
1001
1254
|
* This parameter is required.
|
|
1002
1255
|
*
|
|
@@ -1006,7 +1259,7 @@ export declare class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
1006
1259
|
httpStatusCode?: number;
|
|
1007
1260
|
/**
|
|
1008
1261
|
* @remarks
|
|
1009
|
-
* The
|
|
1262
|
+
* The description of the processing result for the request. The value is success if the request is successful.
|
|
1010
1263
|
*
|
|
1011
1264
|
* This parameter is required.
|
|
1012
1265
|
*
|
|
@@ -1026,7 +1279,7 @@ export declare class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
1026
1279
|
requestId?: string;
|
|
1027
1280
|
/**
|
|
1028
1281
|
* @remarks
|
|
1029
|
-
*
|
|
1282
|
+
* Indicates whether the request was processed successfully. A value of true indicates that the request was processed successfully. A successful creation, update, or deletion does not mean that the background operation is complete.
|
|
1030
1283
|
*
|
|
1031
1284
|
* This parameter is required.
|
|
1032
1285
|
*/
|