@alicloud/agentcore20260804 3.0.1 → 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 +22 -18
- 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 +28 -28
- 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 +22 -18
- 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 +28 -28
- 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
|
@@ -21,7 +21,7 @@ export class GetCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only
|
|
24
|
+
* 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.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -85,7 +85,7 @@ export class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
|
85
85
|
languageRuntime?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* 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.
|
|
88
|
+
* 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.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
@@ -121,7 +121,7 @@ export class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
|
121
121
|
export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model {
|
|
122
122
|
/**
|
|
123
123
|
* @remarks
|
|
124
|
-
* The custom executable program and startup parameters. If not configured, the default startup method of the image is used.
|
|
124
|
+
* The custom executable program and startup parameters. If this parameter is not configured, the default startup method of the image is used.
|
|
125
125
|
*
|
|
126
126
|
* @example
|
|
127
127
|
* python app.py
|
|
@@ -131,8 +131,6 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
|
|
|
131
131
|
* @remarks
|
|
132
132
|
* The ID of the ACR instance to which the image repository belongs.
|
|
133
133
|
*
|
|
134
|
-
* This parameter is required.
|
|
135
|
-
*
|
|
136
134
|
* @example
|
|
137
135
|
* cri-a1b2c3d4e5f6
|
|
138
136
|
*/
|
|
@@ -141,8 +139,6 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
|
|
|
141
139
|
* @remarks
|
|
142
140
|
* The namespace to which the ACR image repository belongs.
|
|
143
141
|
*
|
|
144
|
-
* This parameter is required.
|
|
145
|
-
*
|
|
146
142
|
* @example
|
|
147
143
|
* my-agent
|
|
148
144
|
*/
|
|
@@ -151,8 +147,6 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
|
|
|
151
147
|
* @remarks
|
|
152
148
|
* The name of the image repository in the ACR namespace.
|
|
153
149
|
*
|
|
154
|
-
* This parameter is required.
|
|
155
|
-
*
|
|
156
150
|
* @example
|
|
157
151
|
* chat-agent
|
|
158
152
|
*/
|
|
@@ -161,15 +155,13 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
|
|
|
161
155
|
* @remarks
|
|
162
156
|
* The latest submitted image tag.
|
|
163
157
|
*
|
|
164
|
-
* This parameter is required.
|
|
165
|
-
*
|
|
166
158
|
* @example
|
|
167
159
|
* v1.0.0
|
|
168
160
|
*/
|
|
169
161
|
tag?: string;
|
|
170
162
|
/**
|
|
171
163
|
* @remarks
|
|
172
|
-
* The image source type. acr indicates Alibaba Cloud Container Registry.
|
|
164
|
+
* The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
|
|
173
165
|
*
|
|
174
166
|
* This parameter is required.
|
|
175
167
|
*
|
|
@@ -211,7 +203,7 @@ export class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model
|
|
|
211
203
|
export class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
212
204
|
/**
|
|
213
205
|
* @remarks
|
|
214
|
-
* The code package deployment configuration. This parameter is mutually exclusive with container. The code package
|
|
206
|
+
* 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.
|
|
215
207
|
*/
|
|
216
208
|
code?: GetCustomAgentResponseBodyDataArtifactCode;
|
|
217
209
|
/**
|
|
@@ -221,7 +213,7 @@ export class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
|
221
213
|
container?: GetCustomAgentResponseBodyDataArtifactContainer;
|
|
222
214
|
/**
|
|
223
215
|
* @remarks
|
|
224
|
-
* The TCP port on
|
|
216
|
+
* The TCP port listened on by the agent service.
|
|
225
217
|
*
|
|
226
218
|
* This parameter is required.
|
|
227
219
|
*
|
|
@@ -330,6 +322,296 @@ export class GetCustomAgentResponseBodyDataCodePackageInfo extends $dara.Model {
|
|
|
330
322
|
}
|
|
331
323
|
}
|
|
332
324
|
|
|
325
|
+
export class GetCustomAgentResponseBodyDataCurrentImagePullNetwork extends $dara.Model {
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* sg-example
|
|
332
|
+
*/
|
|
333
|
+
securityGroupId?: string;
|
|
334
|
+
/**
|
|
335
|
+
* @remarks
|
|
336
|
+
* 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.
|
|
337
|
+
*
|
|
338
|
+
* @example
|
|
339
|
+
* public
|
|
340
|
+
*/
|
|
341
|
+
type?: string;
|
|
342
|
+
/**
|
|
343
|
+
* @remarks
|
|
344
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
345
|
+
*
|
|
346
|
+
* @example
|
|
347
|
+
* vsw-example
|
|
348
|
+
*/
|
|
349
|
+
vSwitchId?: string;
|
|
350
|
+
/**
|
|
351
|
+
* @remarks
|
|
352
|
+
* The VPC ID. This parameter is required when type is set to vpc. The associated account and region are verified by the backend.
|
|
353
|
+
*
|
|
354
|
+
* @example
|
|
355
|
+
* vpc-example
|
|
356
|
+
*/
|
|
357
|
+
vpcId?: string;
|
|
358
|
+
static names(): { [key: string]: string } {
|
|
359
|
+
return {
|
|
360
|
+
securityGroupId: 'securityGroupId',
|
|
361
|
+
type: 'type',
|
|
362
|
+
vSwitchId: 'vSwitchId',
|
|
363
|
+
vpcId: 'vpcId',
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
static types(): { [key: string]: any } {
|
|
368
|
+
return {
|
|
369
|
+
securityGroupId: 'string',
|
|
370
|
+
type: 'string',
|
|
371
|
+
vSwitchId: 'string',
|
|
372
|
+
vpcId: 'string',
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
validate() {
|
|
377
|
+
super.validate();
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
constructor(map?: { [key: string]: any }) {
|
|
381
|
+
super(map);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export class GetCustomAgentResponseBodyDataCurrentImage extends $dara.Model {
|
|
386
|
+
/**
|
|
387
|
+
* @remarks
|
|
388
|
+
* The original image address for the custom source.
|
|
389
|
+
*
|
|
390
|
+
* @example
|
|
391
|
+
* registry.example.com/team/agent:v1
|
|
392
|
+
*/
|
|
393
|
+
image?: string;
|
|
394
|
+
/**
|
|
395
|
+
* @remarks
|
|
396
|
+
* The instance ID for the ACR source.
|
|
397
|
+
*
|
|
398
|
+
* @example
|
|
399
|
+
* cri-example
|
|
400
|
+
*/
|
|
401
|
+
instanceId?: string;
|
|
402
|
+
/**
|
|
403
|
+
* @remarks
|
|
404
|
+
* The namespace for the ACR source.
|
|
405
|
+
*
|
|
406
|
+
* @example
|
|
407
|
+
* team
|
|
408
|
+
*/
|
|
409
|
+
namespace?: string;
|
|
410
|
+
/**
|
|
411
|
+
* @remarks
|
|
412
|
+
* The independent pull network for the custom source.
|
|
413
|
+
*/
|
|
414
|
+
pullNetwork?: GetCustomAgentResponseBodyDataCurrentImagePullNetwork;
|
|
415
|
+
/**
|
|
416
|
+
* @remarks
|
|
417
|
+
* The repository name for the ACR source.
|
|
418
|
+
*
|
|
419
|
+
* @example
|
|
420
|
+
* agent
|
|
421
|
+
*/
|
|
422
|
+
repo?: string;
|
|
423
|
+
/**
|
|
424
|
+
* @remarks
|
|
425
|
+
* The certificate exception option for the custom source.
|
|
426
|
+
*
|
|
427
|
+
* @example
|
|
428
|
+
* false
|
|
429
|
+
*/
|
|
430
|
+
skipTlsVerify?: boolean;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The image source type of the current active version.
|
|
434
|
+
*
|
|
435
|
+
* @example
|
|
436
|
+
* custom
|
|
437
|
+
*/
|
|
438
|
+
sourceType?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @remarks
|
|
441
|
+
* The tag of the ACR source.
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* v1
|
|
445
|
+
*/
|
|
446
|
+
tag?: string;
|
|
447
|
+
/**
|
|
448
|
+
* @remarks
|
|
449
|
+
* 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.
|
|
450
|
+
*
|
|
451
|
+
* @example
|
|
452
|
+
* reader
|
|
453
|
+
*/
|
|
454
|
+
username?: string;
|
|
455
|
+
static names(): { [key: string]: string } {
|
|
456
|
+
return {
|
|
457
|
+
image: 'image',
|
|
458
|
+
instanceId: 'instanceId',
|
|
459
|
+
namespace: 'namespace',
|
|
460
|
+
pullNetwork: 'pullNetwork',
|
|
461
|
+
repo: 'repo',
|
|
462
|
+
skipTlsVerify: 'skipTlsVerify',
|
|
463
|
+
sourceType: 'sourceType',
|
|
464
|
+
tag: 'tag',
|
|
465
|
+
username: 'username',
|
|
466
|
+
};
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
static types(): { [key: string]: any } {
|
|
470
|
+
return {
|
|
471
|
+
image: 'string',
|
|
472
|
+
instanceId: 'string',
|
|
473
|
+
namespace: 'string',
|
|
474
|
+
pullNetwork: GetCustomAgentResponseBodyDataCurrentImagePullNetwork,
|
|
475
|
+
repo: 'string',
|
|
476
|
+
skipTlsVerify: 'boolean',
|
|
477
|
+
sourceType: 'string',
|
|
478
|
+
tag: 'string',
|
|
479
|
+
username: 'string',
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
validate() {
|
|
484
|
+
if(this.pullNetwork && typeof (this.pullNetwork as any).validate === 'function') {
|
|
485
|
+
(this.pullNetwork as any).validate();
|
|
486
|
+
}
|
|
487
|
+
super.validate();
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
constructor(map?: { [key: string]: any }) {
|
|
491
|
+
super(map);
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export class GetCustomAgentResponseBodyDataCustomImagePullNetwork extends $dara.Model {
|
|
496
|
+
/**
|
|
497
|
+
* @remarks
|
|
498
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
499
|
+
*
|
|
500
|
+
* @example
|
|
501
|
+
* sg-example
|
|
502
|
+
*/
|
|
503
|
+
securityGroupId?: string;
|
|
504
|
+
/**
|
|
505
|
+
* @remarks
|
|
506
|
+
* 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.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* public
|
|
510
|
+
*/
|
|
511
|
+
type?: string;
|
|
512
|
+
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* The security group ID. This parameter is required when type is set to vpc and must belong to the selected VPC.
|
|
515
|
+
*
|
|
516
|
+
* @example
|
|
517
|
+
* vsw-example
|
|
518
|
+
*/
|
|
519
|
+
vSwitchId?: string;
|
|
520
|
+
/**
|
|
521
|
+
* @remarks
|
|
522
|
+
* The VPC ID. This parameter is required when type is set to vpc. The associated account and region are verified by the backend.
|
|
523
|
+
*
|
|
524
|
+
* @example
|
|
525
|
+
* vpc-example
|
|
526
|
+
*/
|
|
527
|
+
vpcId?: string;
|
|
528
|
+
static names(): { [key: string]: string } {
|
|
529
|
+
return {
|
|
530
|
+
securityGroupId: 'securityGroupId',
|
|
531
|
+
type: 'type',
|
|
532
|
+
vSwitchId: 'vSwitchId',
|
|
533
|
+
vpcId: 'vpcId',
|
|
534
|
+
};
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
static types(): { [key: string]: any } {
|
|
538
|
+
return {
|
|
539
|
+
securityGroupId: 'string',
|
|
540
|
+
type: 'string',
|
|
541
|
+
vSwitchId: 'string',
|
|
542
|
+
vpcId: 'string',
|
|
543
|
+
};
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
validate() {
|
|
547
|
+
super.validate();
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
constructor(map?: { [key: string]: any }) {
|
|
551
|
+
super(map);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
export class GetCustomAgentResponseBodyDataCustomImage extends $dara.Model {
|
|
556
|
+
/**
|
|
557
|
+
* @remarks
|
|
558
|
+
* The latest saved source address, which may still be in preparation.
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* registry.example.com/team/agent:v1
|
|
562
|
+
*/
|
|
563
|
+
image?: string;
|
|
564
|
+
/**
|
|
565
|
+
* @remarks
|
|
566
|
+
* The saved dedicated pull network.
|
|
567
|
+
*/
|
|
568
|
+
pullNetwork?: GetCustomAgentResponseBodyDataCustomImagePullNetwork;
|
|
569
|
+
/**
|
|
570
|
+
* @remarks
|
|
571
|
+
* The saved HTTPS certificate exception option.
|
|
572
|
+
*
|
|
573
|
+
* @example
|
|
574
|
+
* false
|
|
575
|
+
*/
|
|
576
|
+
skipTlsVerify?: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* @remarks
|
|
579
|
+
* 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.
|
|
580
|
+
*
|
|
581
|
+
* @example
|
|
582
|
+
* reader
|
|
583
|
+
*/
|
|
584
|
+
username?: string;
|
|
585
|
+
static names(): { [key: string]: string } {
|
|
586
|
+
return {
|
|
587
|
+
image: 'image',
|
|
588
|
+
pullNetwork: 'pullNetwork',
|
|
589
|
+
skipTlsVerify: 'skipTlsVerify',
|
|
590
|
+
username: 'username',
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
static types(): { [key: string]: any } {
|
|
595
|
+
return {
|
|
596
|
+
image: 'string',
|
|
597
|
+
pullNetwork: GetCustomAgentResponseBodyDataCustomImagePullNetwork,
|
|
598
|
+
skipTlsVerify: 'boolean',
|
|
599
|
+
username: 'string',
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
validate() {
|
|
604
|
+
if(this.pullNetwork && typeof (this.pullNetwork as any).validate === 'function') {
|
|
605
|
+
(this.pullNetwork as any).validate();
|
|
606
|
+
}
|
|
607
|
+
super.validate();
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
constructor(map?: { [key: string]: any }) {
|
|
611
|
+
super(map);
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
|
|
333
615
|
export class GetCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
|
|
334
616
|
/**
|
|
335
617
|
* @remarks
|
|
@@ -377,7 +659,7 @@ export class GetCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Mo
|
|
|
377
659
|
export class GetCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
378
660
|
/**
|
|
379
661
|
* @remarks
|
|
380
|
-
* The
|
|
662
|
+
* The list of recently submitted environment variables.
|
|
381
663
|
*/
|
|
382
664
|
variables?: GetCustomAgentResponseBodyDataEnvironmentVariables[];
|
|
383
665
|
static names(): { [key: string]: string } {
|
|
@@ -411,6 +693,8 @@ export class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
411
693
|
*
|
|
412
694
|
* @example
|
|
413
695
|
* 1
|
|
696
|
+
*
|
|
697
|
+
* @deprecated
|
|
414
698
|
*/
|
|
415
699
|
healthyThreshold?: number;
|
|
416
700
|
/**
|
|
@@ -447,7 +731,7 @@ export class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
447
731
|
timeoutSeconds?: number;
|
|
448
732
|
/**
|
|
449
733
|
* @remarks
|
|
450
|
-
* The number of consecutive health check failures
|
|
734
|
+
* The number of consecutive health check failures required to mark the agent as unhealthy.
|
|
451
735
|
*
|
|
452
736
|
* @example
|
|
453
737
|
* 3
|
|
@@ -484,10 +768,50 @@ export class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
484
768
|
}
|
|
485
769
|
}
|
|
486
770
|
|
|
771
|
+
export class GetCustomAgentResponseBodyDataImagePreparation extends $dara.Model {
|
|
772
|
+
/**
|
|
773
|
+
* @remarks
|
|
774
|
+
* The current image preparation phase. Configuration acceptance does not mean successful deployment.
|
|
775
|
+
*
|
|
776
|
+
* @example
|
|
777
|
+
* QUEUED
|
|
778
|
+
*/
|
|
779
|
+
phase?: string;
|
|
780
|
+
/**
|
|
781
|
+
* @remarks
|
|
782
|
+
* The task ID submitted from the console. This is not the Resource Management (RM) operation ID.
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* agent-example:1
|
|
786
|
+
*/
|
|
787
|
+
preparationId?: string;
|
|
788
|
+
static names(): { [key: string]: string } {
|
|
789
|
+
return {
|
|
790
|
+
phase: 'phase',
|
|
791
|
+
preparationId: 'preparationId',
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
static types(): { [key: string]: any } {
|
|
796
|
+
return {
|
|
797
|
+
phase: 'string',
|
|
798
|
+
preparationId: 'string',
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
validate() {
|
|
803
|
+
super.validate();
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
constructor(map?: { [key: string]: any }) {
|
|
807
|
+
super(map);
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
|
|
487
811
|
export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
|
|
488
812
|
/**
|
|
489
813
|
* @remarks
|
|
490
|
-
* The reason code for the
|
|
814
|
+
* The reason code for the waiting or execution failure of the latest configuration. Used to determine subsequent handling methods.
|
|
491
815
|
*
|
|
492
816
|
* This parameter is required.
|
|
493
817
|
*
|
|
@@ -497,7 +821,7 @@ export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Mo
|
|
|
497
821
|
code?: string;
|
|
498
822
|
/**
|
|
499
823
|
* @remarks
|
|
500
|
-
* The
|
|
824
|
+
* The reason why the latest configuration is pending or failed to execute. Determine what to do next based on the code and retryable fields.
|
|
501
825
|
*
|
|
502
826
|
* This parameter is required.
|
|
503
827
|
*
|
|
@@ -507,7 +831,7 @@ export class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Mo
|
|
|
507
831
|
message?: string;
|
|
508
832
|
/**
|
|
509
833
|
* @remarks
|
|
510
|
-
* Indicates whether the
|
|
834
|
+
* 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.
|
|
511
835
|
*
|
|
512
836
|
* This parameter is required.
|
|
513
837
|
*/
|
|
@@ -610,7 +934,7 @@ export class GetCustomAgentResponseBodyDataLogging extends $dara.Model {
|
|
|
610
934
|
export class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
611
935
|
/**
|
|
612
936
|
* @remarks
|
|
613
|
-
* Specifies whether Internet access is allowed on the agent side. The actual access
|
|
937
|
+
* Specifies whether Internet access is allowed on the agent side. The actual access remains restricted by the workspace.
|
|
614
938
|
*/
|
|
615
939
|
enabled?: boolean;
|
|
616
940
|
static names(): { [key: string]: string } {
|
|
@@ -637,7 +961,7 @@ export class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.M
|
|
|
637
961
|
export class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
|
|
638
962
|
/**
|
|
639
963
|
* @remarks
|
|
640
|
-
* Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access
|
|
964
|
+
* 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.
|
|
641
965
|
*/
|
|
642
966
|
enabled?: boolean;
|
|
643
967
|
static names(): { [key: string]: string } {
|
|
@@ -664,12 +988,12 @@ export class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model
|
|
|
664
988
|
export class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
665
989
|
/**
|
|
666
990
|
* @remarks
|
|
667
|
-
* The Internet access configuration of the agent. If
|
|
991
|
+
* The Internet access configuration of the agent. If not configured, Internet access is allowed on the agent side but remains restricted by the workspace.
|
|
668
992
|
*/
|
|
669
993
|
accessInternet?: GetCustomAgentResponseBodyDataNetworkAccessInternet;
|
|
670
994
|
/**
|
|
671
995
|
* @remarks
|
|
672
|
-
* The user VPC access configuration of the agent. If
|
|
996
|
+
* 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.
|
|
673
997
|
*/
|
|
674
998
|
accessVpc?: GetCustomAgentResponseBodyDataNetworkAccessVpc;
|
|
675
999
|
static names(): { [key: string]: string } {
|
|
@@ -704,7 +1028,7 @@ export class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
|
704
1028
|
export class GetCustomAgentResponseBodyDataObservability extends $dara.Model {
|
|
705
1029
|
/**
|
|
706
1030
|
* @remarks
|
|
707
|
-
* Specifies whether
|
|
1031
|
+
* Specifies whether agent observability is enabled.
|
|
708
1032
|
*/
|
|
709
1033
|
enabled?: boolean;
|
|
710
1034
|
static names(): { [key: string]: string } {
|
|
@@ -755,7 +1079,7 @@ export class GetCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
755
1079
|
path?: string;
|
|
756
1080
|
/**
|
|
757
1081
|
* @remarks
|
|
758
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only
|
|
1082
|
+
* 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.
|
|
759
1083
|
*/
|
|
760
1084
|
readOnly?: boolean;
|
|
761
1085
|
static names(): { [key: string]: string } {
|
|
@@ -830,7 +1154,7 @@ export class GetCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
|
|
|
830
1154
|
export class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
831
1155
|
/**
|
|
832
1156
|
* @remarks
|
|
833
|
-
* The request header configuration for the current protocol
|
|
1157
|
+
* The request header configuration for the current protocol, where the key is the name and the value is a string.
|
|
834
1158
|
*/
|
|
835
1159
|
headers?: { [key: string]: string };
|
|
836
1160
|
/**
|
|
@@ -914,14 +1238,14 @@ export class GetCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
|
914
1238
|
export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
915
1239
|
/**
|
|
916
1240
|
* @remarks
|
|
917
|
-
* Specifies whether to enable elastic scaling.
|
|
1241
|
+
* Specifies whether to enable elastic scaling. Valid values: true: Enabled. false: Disabled.
|
|
918
1242
|
*
|
|
919
1243
|
* This parameter is required.
|
|
920
1244
|
*/
|
|
921
1245
|
enabled?: boolean;
|
|
922
1246
|
/**
|
|
923
1247
|
* @remarks
|
|
924
|
-
* The configured maximum number of concurrent sessions
|
|
1248
|
+
* The configured maximum number of concurrent sessions for a single runtime instance.
|
|
925
1249
|
*
|
|
926
1250
|
* @example
|
|
927
1251
|
* 100
|
|
@@ -945,7 +1269,7 @@ export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
945
1269
|
minSandboxCount?: number;
|
|
946
1270
|
/**
|
|
947
1271
|
* @remarks
|
|
948
|
-
* The configured session idle timeout limit in seconds.
|
|
1272
|
+
* The configured session idle timeout limit, in seconds.
|
|
949
1273
|
*
|
|
950
1274
|
* @example
|
|
951
1275
|
* 600
|
|
@@ -983,7 +1307,7 @@ export class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
983
1307
|
export class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
984
1308
|
/**
|
|
985
1309
|
* @remarks
|
|
986
|
-
* The name of the HTTP request header used by the session policy
|
|
1310
|
+
* The name of the HTTP request header used by the session policy, applicable to ISOLATED_HEADER_FIELD.
|
|
987
1311
|
*
|
|
988
1312
|
* @example
|
|
989
1313
|
* X-Session-Id
|
|
@@ -991,7 +1315,7 @@ export class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Mo
|
|
|
991
1315
|
headerName?: string;
|
|
992
1316
|
/**
|
|
993
1317
|
* @remarks
|
|
994
|
-
* The session policy type. Valid values: AFFINITY
|
|
1318
|
+
* 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.
|
|
995
1319
|
*
|
|
996
1320
|
* This parameter is required.
|
|
997
1321
|
*
|
|
@@ -1079,7 +1403,7 @@ export class GetCustomAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
1079
1403
|
export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
1080
1404
|
/**
|
|
1081
1405
|
* @remarks
|
|
1082
|
-
* The unique identifier of the custom agent
|
|
1406
|
+
* The unique identifier of the custom agent. You can obtain this ID from the response of CreateCustomAgent or ListCustomAgents.
|
|
1083
1407
|
*
|
|
1084
1408
|
* This parameter is required.
|
|
1085
1409
|
*
|
|
@@ -1094,7 +1418,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1094
1418
|
agenticFsMounts?: GetCustomAgentResponseBodyDataAgenticFsMounts[];
|
|
1095
1419
|
/**
|
|
1096
1420
|
* @remarks
|
|
1097
|
-
* 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.
|
|
1421
|
+
* 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.
|
|
1098
1422
|
*/
|
|
1099
1423
|
artifact?: GetCustomAgentResponseBodyDataArtifact;
|
|
1100
1424
|
/**
|
|
@@ -1104,7 +1428,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1104
1428
|
codePackageInfo?: GetCustomAgentResponseBodyDataCodePackageInfo;
|
|
1105
1429
|
/**
|
|
1106
1430
|
* @remarks
|
|
1107
|
-
* The creation method of the agent. CUSTOM is returned for custom agents.
|
|
1431
|
+
* The creation method of the agent. A value of CUSTOM is returned for custom agents.
|
|
1108
1432
|
*
|
|
1109
1433
|
* @example
|
|
1110
1434
|
* CUSTOM
|
|
@@ -1120,7 +1444,17 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1120
1444
|
createdAt?: string;
|
|
1121
1445
|
/**
|
|
1122
1446
|
* @remarks
|
|
1123
|
-
* The
|
|
1447
|
+
* 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.
|
|
1448
|
+
*/
|
|
1449
|
+
currentImage?: GetCustomAgentResponseBodyDataCurrentImage;
|
|
1450
|
+
/**
|
|
1451
|
+
* @remarks
|
|
1452
|
+
* The recently saved source and its verified username. The source may be in preparation or failed. No password is returned.
|
|
1453
|
+
*/
|
|
1454
|
+
customImage?: GetCustomAgentResponseBodyDataCustomImage;
|
|
1455
|
+
/**
|
|
1456
|
+
* @remarks
|
|
1457
|
+
* The deployment method of the agent. Custom agents are deployed and managed by the platform, and MANAGED is returned.
|
|
1124
1458
|
*
|
|
1125
1459
|
* @example
|
|
1126
1460
|
* MANAGED
|
|
@@ -1131,12 +1465,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1131
1465
|
* The description of the agent\\"s purpose.
|
|
1132
1466
|
*
|
|
1133
1467
|
* @example
|
|
1134
|
-
* Custom agent
|
|
1468
|
+
* Custom agent for providing conversational services
|
|
1135
1469
|
*/
|
|
1136
1470
|
description?: string;
|
|
1137
1471
|
/**
|
|
1138
1472
|
* @remarks
|
|
1139
|
-
* The
|
|
1473
|
+
* The active configuration version.
|
|
1140
1474
|
*
|
|
1141
1475
|
* This parameter is required.
|
|
1142
1476
|
*
|
|
@@ -1154,7 +1488,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1154
1488
|
environment?: GetCustomAgentResponseBodyDataEnvironment;
|
|
1155
1489
|
/**
|
|
1156
1490
|
* @remarks
|
|
1157
|
-
* The HTTP health check configuration for the agent.
|
|
1491
|
+
* The HTTP health check configuration for the agent. Empty if not configured.
|
|
1158
1492
|
*/
|
|
1159
1493
|
healthCheck?: GetCustomAgentResponseBodyDataHealthCheck;
|
|
1160
1494
|
/**
|
|
@@ -1172,7 +1506,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1172
1506
|
imageCacheId?: string;
|
|
1173
1507
|
/**
|
|
1174
1508
|
* @remarks
|
|
1175
|
-
* The
|
|
1509
|
+
* 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.
|
|
1510
|
+
*/
|
|
1511
|
+
imagePreparation?: GetCustomAgentResponseBodyDataImagePreparation;
|
|
1512
|
+
/**
|
|
1513
|
+
* @remarks
|
|
1514
|
+
* The waiting or execution error of the latest configuration version. Returned only when this version is waiting for a retry or has failed.
|
|
1176
1515
|
*/
|
|
1177
1516
|
latestExecutionError?: GetCustomAgentResponseBodyDataLatestExecutionError;
|
|
1178
1517
|
/**
|
|
@@ -1187,7 +1526,13 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1187
1526
|
latestSpecVersion?: number;
|
|
1188
1527
|
/**
|
|
1189
1528
|
* @remarks
|
|
1190
|
-
* The execution status corresponding to
|
|
1529
|
+
* The execution status corresponding to latestSpecVersion. Valid values:
|
|
1530
|
+
* - pending: Waiting for execution.
|
|
1531
|
+
* - processing: Executing.
|
|
1532
|
+
* - waiting_retry: Waiting for a retry.
|
|
1533
|
+
* - succeeded: Executed successfully.
|
|
1534
|
+
* - failed: Execution failed.
|
|
1535
|
+
* - superseded: Superseded by a subsequent version.
|
|
1191
1536
|
*
|
|
1192
1537
|
* @example
|
|
1193
1538
|
* succeeded
|
|
@@ -1203,7 +1548,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1203
1548
|
logging?: GetCustomAgentResponseBodyDataLogging;
|
|
1204
1549
|
/**
|
|
1205
1550
|
* @remarks
|
|
1206
|
-
* The custom agent
|
|
1551
|
+
* The name of the custom agent.
|
|
1207
1552
|
*
|
|
1208
1553
|
* This parameter is required.
|
|
1209
1554
|
*
|
|
@@ -1213,17 +1558,17 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1213
1558
|
name?: string;
|
|
1214
1559
|
/**
|
|
1215
1560
|
* @remarks
|
|
1216
|
-
* The network access configuration of the agent. The actual access scope is also
|
|
1561
|
+
* The network access configuration of the agent. The actual access scope is also restricted by the workspace network configuration.
|
|
1217
1562
|
*/
|
|
1218
1563
|
network?: GetCustomAgentResponseBodyDataNetwork;
|
|
1219
1564
|
/**
|
|
1220
1565
|
* @remarks
|
|
1221
|
-
* The observability configuration for high-code
|
|
1566
|
+
* The observability configuration for the high-code agent.
|
|
1222
1567
|
*/
|
|
1223
1568
|
observability?: GetCustomAgentResponseBodyDataObservability;
|
|
1224
1569
|
/**
|
|
1225
1570
|
* @remarks
|
|
1226
|
-
* The
|
|
1571
|
+
* The list of recently submitted OSS directory mounts.
|
|
1227
1572
|
*/
|
|
1228
1573
|
ossMounts?: GetCustomAgentResponseBodyDataOssMounts[];
|
|
1229
1574
|
/**
|
|
@@ -1254,12 +1599,12 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1254
1599
|
runtime?: GetCustomAgentResponseBodyDataRuntime;
|
|
1255
1600
|
/**
|
|
1256
1601
|
* @remarks
|
|
1257
|
-
*
|
|
1602
|
+
* 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.
|
|
1258
1603
|
*/
|
|
1259
1604
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1260
1605
|
/**
|
|
1261
1606
|
* @remarks
|
|
1262
|
-
* The overall status of the agent. Valid values: Creating:
|
|
1607
|
+
* 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.
|
|
1263
1608
|
*
|
|
1264
1609
|
* This parameter is required.
|
|
1265
1610
|
*
|
|
@@ -1269,7 +1614,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1269
1614
|
status?: string;
|
|
1270
1615
|
/**
|
|
1271
1616
|
* @remarks
|
|
1272
|
-
* The time
|
|
1617
|
+
* 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.
|
|
1273
1618
|
*
|
|
1274
1619
|
* @example
|
|
1275
1620
|
* 2026-10-10T06:05:00Z
|
|
@@ -1277,7 +1622,7 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1277
1622
|
updatedAt?: string;
|
|
1278
1623
|
/**
|
|
1279
1624
|
* @remarks
|
|
1280
|
-
*
|
|
1625
|
+
* The image cache switch.
|
|
1281
1626
|
*
|
|
1282
1627
|
* This parameter is required.
|
|
1283
1628
|
*
|
|
@@ -1303,12 +1648,15 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1303
1648
|
codePackageInfo: 'codePackageInfo',
|
|
1304
1649
|
createMode: 'createMode',
|
|
1305
1650
|
createdAt: 'createdAt',
|
|
1651
|
+
currentImage: 'currentImage',
|
|
1652
|
+
customImage: 'customImage',
|
|
1306
1653
|
deployType: 'deployType',
|
|
1307
1654
|
description: 'description',
|
|
1308
1655
|
effectiveSpecVersion: 'effectiveSpecVersion',
|
|
1309
1656
|
environment: 'environment',
|
|
1310
1657
|
healthCheck: 'healthCheck',
|
|
1311
1658
|
imageCacheId: 'imageCacheId',
|
|
1659
|
+
imagePreparation: 'imagePreparation',
|
|
1312
1660
|
latestExecutionError: 'latestExecutionError',
|
|
1313
1661
|
latestSpecVersion: 'latestSpecVersion',
|
|
1314
1662
|
latestVersionStatus: 'latestVersionStatus',
|
|
@@ -1337,12 +1685,15 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1337
1685
|
codePackageInfo: GetCustomAgentResponseBodyDataCodePackageInfo,
|
|
1338
1686
|
createMode: 'string',
|
|
1339
1687
|
createdAt: 'string',
|
|
1688
|
+
currentImage: GetCustomAgentResponseBodyDataCurrentImage,
|
|
1689
|
+
customImage: GetCustomAgentResponseBodyDataCustomImage,
|
|
1340
1690
|
deployType: 'string',
|
|
1341
1691
|
description: 'string',
|
|
1342
1692
|
effectiveSpecVersion: 'number',
|
|
1343
1693
|
environment: GetCustomAgentResponseBodyDataEnvironment,
|
|
1344
1694
|
healthCheck: GetCustomAgentResponseBodyDataHealthCheck,
|
|
1345
1695
|
imageCacheId: 'string',
|
|
1696
|
+
imagePreparation: GetCustomAgentResponseBodyDataImagePreparation,
|
|
1346
1697
|
latestExecutionError: GetCustomAgentResponseBodyDataLatestExecutionError,
|
|
1347
1698
|
latestSpecVersion: 'number',
|
|
1348
1699
|
latestVersionStatus: 'string',
|
|
@@ -1373,12 +1724,21 @@ export class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1373
1724
|
if(this.codePackageInfo && typeof (this.codePackageInfo as any).validate === 'function') {
|
|
1374
1725
|
(this.codePackageInfo as any).validate();
|
|
1375
1726
|
}
|
|
1727
|
+
if(this.currentImage && typeof (this.currentImage as any).validate === 'function') {
|
|
1728
|
+
(this.currentImage as any).validate();
|
|
1729
|
+
}
|
|
1730
|
+
if(this.customImage && typeof (this.customImage as any).validate === 'function') {
|
|
1731
|
+
(this.customImage as any).validate();
|
|
1732
|
+
}
|
|
1376
1733
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1377
1734
|
(this.environment as any).validate();
|
|
1378
1735
|
}
|
|
1379
1736
|
if(this.healthCheck && typeof (this.healthCheck as any).validate === 'function') {
|
|
1380
1737
|
(this.healthCheck as any).validate();
|
|
1381
1738
|
}
|
|
1739
|
+
if(this.imagePreparation && typeof (this.imagePreparation as any).validate === 'function') {
|
|
1740
|
+
(this.imagePreparation as any).validate();
|
|
1741
|
+
}
|
|
1382
1742
|
if(this.latestExecutionError && typeof (this.latestExecutionError as any).validate === 'function') {
|
|
1383
1743
|
(this.latestExecutionError as any).validate();
|
|
1384
1744
|
}
|
|
@@ -1431,7 +1791,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
1431
1791
|
data?: GetCustomAgentResponseBodyData;
|
|
1432
1792
|
/**
|
|
1433
1793
|
* @remarks
|
|
1434
|
-
* The HTTP status code of the request.
|
|
1794
|
+
* The HTTP status code of the request. The value is 200 if the request is successful.
|
|
1435
1795
|
*
|
|
1436
1796
|
* This parameter is required.
|
|
1437
1797
|
*
|
|
@@ -1441,7 +1801,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
1441
1801
|
httpStatusCode?: number;
|
|
1442
1802
|
/**
|
|
1443
1803
|
* @remarks
|
|
1444
|
-
* The
|
|
1804
|
+
* The description of the processing result for the request. The value is success if the request is successful.
|
|
1445
1805
|
*
|
|
1446
1806
|
* This parameter is required.
|
|
1447
1807
|
*
|
|
@@ -1461,7 +1821,7 @@ export class GetCustomAgentResponseBody extends $dara.Model {
|
|
|
1461
1821
|
requestId?: string;
|
|
1462
1822
|
/**
|
|
1463
1823
|
* @remarks
|
|
1464
|
-
*
|
|
1824
|
+
* 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.
|
|
1465
1825
|
*
|
|
1466
1826
|
* This parameter is required.
|
|
1467
1827
|
*/
|