@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
|
@@ -21,7 +21,7 @@ export class UpdateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Mode
|
|
|
21
21
|
path?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* Specifies whether the mount is read-only. A value of true indicates a read-only mount
|
|
24
|
+
* Specifies whether the mount is read-only. A value of true indicates a read-only mount, and a value of false indicates a read-write mount.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* false
|
|
@@ -65,7 +65,7 @@ export class UpdateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Mode
|
|
|
65
65
|
export class UpdateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* 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.
|
|
68
|
+
* 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.
|
|
69
69
|
*
|
|
70
70
|
* This parameter is required.
|
|
71
71
|
*
|
|
@@ -85,7 +85,7 @@ export class UpdateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
|
85
85
|
languageRuntime?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
* The oss:// address of the platform-fixed code package referenced
|
|
88
|
+
* The oss:// address of the platform-fixed code package referenced in 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.
|
|
89
89
|
*
|
|
90
90
|
* This parameter is required.
|
|
91
91
|
*
|
|
@@ -131,8 +131,6 @@ export class UpdateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
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 UpdateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
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 UpdateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
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 UpdateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
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 source type of the image. A value of acr indicates Alibaba Cloud Container Registry.
|
|
164
|
+
* The source type of the image. A value of acr indicates Alibaba Cloud Container Registry (ACR).
|
|
173
165
|
*
|
|
174
166
|
* This parameter is required.
|
|
175
167
|
*
|
|
@@ -221,7 +213,7 @@ export class UpdateCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
|
221
213
|
container?: UpdateCustomAgentResponseBodyDataArtifactContainer;
|
|
222
214
|
/**
|
|
223
215
|
* @remarks
|
|
224
|
-
* The TCP port
|
|
216
|
+
* The TCP port on which the agent service listens.
|
|
225
217
|
*
|
|
226
218
|
* This parameter is required.
|
|
227
219
|
*
|
|
@@ -330,6 +322,296 @@ export class UpdateCustomAgentResponseBodyDataCodePackageInfo extends $dara.Mode
|
|
|
330
322
|
}
|
|
331
323
|
}
|
|
332
324
|
|
|
325
|
+
export class UpdateCustomAgentResponseBodyDataCurrentImagePullNetwork extends $dara.Model {
|
|
326
|
+
/**
|
|
327
|
+
* @remarks
|
|
328
|
+
* The ID of the security group. This field 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 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.
|
|
337
|
+
*
|
|
338
|
+
* @example
|
|
339
|
+
* public
|
|
340
|
+
*/
|
|
341
|
+
type?: string;
|
|
342
|
+
/**
|
|
343
|
+
* @remarks
|
|
344
|
+
* The ID of the security group. This field 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 ID of the VPC. This field is required when type is set to vpc. The associated account and region are validated 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 UpdateCustomAgentResponseBodyDataCurrentImage 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 dedicated pull network for the custom source.
|
|
413
|
+
*/
|
|
414
|
+
pullNetwork?: UpdateCustomAgentResponseBodyDataCurrentImagePullNetwork;
|
|
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 valid 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 the password is not 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: UpdateCustomAgentResponseBodyDataCurrentImagePullNetwork,
|
|
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 UpdateCustomAgentResponseBodyDataCustomImagePullNetwork extends $dara.Model {
|
|
496
|
+
/**
|
|
497
|
+
* @remarks
|
|
498
|
+
* The ID of the security group. This field 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 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.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* public
|
|
510
|
+
*/
|
|
511
|
+
type?: string;
|
|
512
|
+
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* The ID of the security group. This field 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 ID of the VPC. This field is required when type is set to vpc. The associated account and region are validated 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 UpdateCustomAgentResponseBodyDataCustomImage 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?: UpdateCustomAgentResponseBodyDataCustomImagePullNetwork;
|
|
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: UpdateCustomAgentResponseBodyDataCustomImagePullNetwork,
|
|
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 UpdateCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
|
|
334
616
|
/**
|
|
335
617
|
* @remarks
|
|
@@ -377,7 +659,7 @@ export class UpdateCustomAgentResponseBodyDataEnvironmentVariables extends $dara
|
|
|
377
659
|
export class UpdateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
378
660
|
/**
|
|
379
661
|
* @remarks
|
|
380
|
-
* The
|
|
662
|
+
* The list of recently submitted environment variables.
|
|
381
663
|
*/
|
|
382
664
|
variables?: UpdateCustomAgentResponseBodyDataEnvironmentVariables[];
|
|
383
665
|
static names(): { [key: string]: string } {
|
|
@@ -407,15 +689,17 @@ export class UpdateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
|
407
689
|
export class UpdateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
408
690
|
/**
|
|
409
691
|
* @remarks
|
|
410
|
-
* This parameter does not take effect.
|
|
692
|
+
* This parameter does not take effect currently.
|
|
411
693
|
*
|
|
412
694
|
* @example
|
|
413
695
|
* 1
|
|
696
|
+
*
|
|
697
|
+
* @deprecated
|
|
414
698
|
*/
|
|
415
699
|
healthyThreshold?: number;
|
|
416
700
|
/**
|
|
417
701
|
* @remarks
|
|
418
|
-
* The interval between two
|
|
702
|
+
* The interval between two health checks, in seconds.
|
|
419
703
|
*
|
|
420
704
|
* @example
|
|
421
705
|
* 10
|
|
@@ -423,7 +707,7 @@ export class UpdateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
423
707
|
intervalSeconds?: number;
|
|
424
708
|
/**
|
|
425
709
|
* @remarks
|
|
426
|
-
* The HTTP
|
|
710
|
+
* The HTTP health check path.
|
|
427
711
|
*
|
|
428
712
|
* @example
|
|
429
713
|
* /healthz
|
|
@@ -487,7 +771,7 @@ export class UpdateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
487
771
|
export class UpdateCustomAgentResponseBodyDataImageCachePreparation extends $dara.Model {
|
|
488
772
|
/**
|
|
489
773
|
* @remarks
|
|
490
|
-
* The ID of the associated cache
|
|
774
|
+
* The ID of the currently associated cache.
|
|
491
775
|
*
|
|
492
776
|
* This parameter is required.
|
|
493
777
|
*
|
|
@@ -540,10 +824,50 @@ export class UpdateCustomAgentResponseBodyDataImageCachePreparation extends $dar
|
|
|
540
824
|
}
|
|
541
825
|
}
|
|
542
826
|
|
|
827
|
+
export class UpdateCustomAgentResponseBodyDataImagePreparation extends $dara.Model {
|
|
828
|
+
/**
|
|
829
|
+
* @remarks
|
|
830
|
+
* The current image preparation phase. Configuration acceptance does not mean successful deployment.
|
|
831
|
+
*
|
|
832
|
+
* @example
|
|
833
|
+
* QUEUED
|
|
834
|
+
*/
|
|
835
|
+
phase?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @remarks
|
|
838
|
+
* The task ID submitted from the console for this submission. This is not the RM operationId.
|
|
839
|
+
*
|
|
840
|
+
* @example
|
|
841
|
+
* agent-example:1
|
|
842
|
+
*/
|
|
843
|
+
preparationId?: string;
|
|
844
|
+
static names(): { [key: string]: string } {
|
|
845
|
+
return {
|
|
846
|
+
phase: 'phase',
|
|
847
|
+
preparationId: 'preparationId',
|
|
848
|
+
};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
static types(): { [key: string]: any } {
|
|
852
|
+
return {
|
|
853
|
+
phase: 'string',
|
|
854
|
+
preparationId: 'string',
|
|
855
|
+
};
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
validate() {
|
|
859
|
+
super.validate();
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
constructor(map?: { [key: string]: any }) {
|
|
863
|
+
super(map);
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
543
867
|
export class UpdateCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
|
|
544
868
|
/**
|
|
545
869
|
* @remarks
|
|
546
|
-
* The reason code for the waiting or execution failure of the latest configuration. This
|
|
870
|
+
* The reason code for the waiting or execution failure of the latest configuration. This is used to determine the subsequent handling method.
|
|
547
871
|
*
|
|
548
872
|
* This parameter is required.
|
|
549
873
|
*
|
|
@@ -553,17 +877,17 @@ export class UpdateCustomAgentResponseBodyDataLatestExecutionError extends $dara
|
|
|
553
877
|
code?: string;
|
|
554
878
|
/**
|
|
555
879
|
* @remarks
|
|
556
|
-
* The description of the reason why the latest configuration is waiting or failed to execute.
|
|
880
|
+
* The description of the reason why the latest configuration is waiting or failed to execute. Refer to the code and retryable fields to determine What to do next.
|
|
557
881
|
*
|
|
558
882
|
* This parameter is required.
|
|
559
883
|
*
|
|
560
884
|
* @example
|
|
561
|
-
*
|
|
885
|
+
* The agent execution failed. Check the configuration and resubmit
|
|
562
886
|
*/
|
|
563
887
|
message?: string;
|
|
564
888
|
/**
|
|
565
889
|
* @remarks
|
|
566
|
-
*
|
|
890
|
+
* Indicates whether the system automatically retries. If true, you can query again later. If false, check and fix the configuration based on the reason, and then resubmit.
|
|
567
891
|
*
|
|
568
892
|
* This parameter is required.
|
|
569
893
|
*/
|
|
@@ -596,7 +920,7 @@ export class UpdateCustomAgentResponseBodyDataLatestExecutionError extends $dara
|
|
|
596
920
|
export class UpdateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
|
|
597
921
|
/**
|
|
598
922
|
* @remarks
|
|
599
|
-
* The name of the SLS
|
|
923
|
+
* The name of the SLS Logstore that receives agent logs.
|
|
600
924
|
*
|
|
601
925
|
* @example
|
|
602
926
|
* agent-runtime
|
|
@@ -666,7 +990,7 @@ export class UpdateCustomAgentResponseBodyDataLogging extends $dara.Model {
|
|
|
666
990
|
export class UpdateCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
667
991
|
/**
|
|
668
992
|
* @remarks
|
|
669
|
-
* Specifies whether
|
|
993
|
+
* Specifies whether the agent is allowed to access the Internet. The actual access is still restricted by the workspace.
|
|
670
994
|
*/
|
|
671
995
|
enabled?: boolean;
|
|
672
996
|
static names(): { [key: string]: string } {
|
|
@@ -693,7 +1017,7 @@ export class UpdateCustomAgentResponseBodyDataNetworkAccessInternet extends $dar
|
|
|
693
1017
|
export class UpdateCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
|
|
694
1018
|
/**
|
|
695
1019
|
* @remarks
|
|
696
|
-
* Specifies whether
|
|
1020
|
+
* Specifies whether the agent is allowed to access the user VPC configured for the workspace. The actual access is still restricted by the workspace.
|
|
697
1021
|
*/
|
|
698
1022
|
enabled?: boolean;
|
|
699
1023
|
static names(): { [key: string]: string } {
|
|
@@ -720,12 +1044,12 @@ export class UpdateCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Mod
|
|
|
720
1044
|
export class UpdateCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
721
1045
|
/**
|
|
722
1046
|
* @remarks
|
|
723
|
-
* The Internet access configuration of the agent. If this
|
|
1047
|
+
* The Internet access configuration of the agent. If this item is not configured, the agent allows access, but it is still restricted by the workspace.
|
|
724
1048
|
*/
|
|
725
1049
|
accessInternet?: UpdateCustomAgentResponseBodyDataNetworkAccessInternet;
|
|
726
1050
|
/**
|
|
727
1051
|
* @remarks
|
|
728
|
-
* The user VPC access configuration of the agent. If this
|
|
1052
|
+
* The user VPC access configuration of the agent. If this item is not configured, the agent allows access, but it is still restricted by the workspace.
|
|
729
1053
|
*/
|
|
730
1054
|
accessVpc?: UpdateCustomAgentResponseBodyDataNetworkAccessVpc;
|
|
731
1055
|
static names(): { [key: string]: string } {
|
|
@@ -795,7 +1119,7 @@ export class UpdateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
795
1119
|
bucketName?: string;
|
|
796
1120
|
/**
|
|
797
1121
|
* @remarks
|
|
798
|
-
* The OSS mount directory in the container,
|
|
1122
|
+
* The OSS mount directory in the container, located under /mnt/oss/.
|
|
799
1123
|
*
|
|
800
1124
|
* @example
|
|
801
1125
|
* /mnt/oss/train
|
|
@@ -811,7 +1135,7 @@ export class UpdateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
811
1135
|
path?: string;
|
|
812
1136
|
/**
|
|
813
1137
|
* @remarks
|
|
814
|
-
* Specifies whether the mount is read-only. A value of true indicates a read-only mount
|
|
1138
|
+
* Specifies whether the mount is read-only. A value of true indicates a read-only mount, and a value of false indicates a read-write mount.
|
|
815
1139
|
*/
|
|
816
1140
|
readOnly?: boolean;
|
|
817
1141
|
static names(): { [key: string]: string } {
|
|
@@ -844,7 +1168,7 @@ export class UpdateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
844
1168
|
export class UpdateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
|
|
845
1169
|
/**
|
|
846
1170
|
* @remarks
|
|
847
|
-
* The
|
|
1171
|
+
* The purpose description of the current API path.
|
|
848
1172
|
*
|
|
849
1173
|
* @example
|
|
850
1174
|
* AG-UI conversation API
|
|
@@ -852,7 +1176,7 @@ export class UpdateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model
|
|
|
852
1176
|
description?: string;
|
|
853
1177
|
/**
|
|
854
1178
|
* @remarks
|
|
855
|
-
* The
|
|
1179
|
+
* The API path corresponding to the current protocol.
|
|
856
1180
|
*
|
|
857
1181
|
* This parameter is required.
|
|
858
1182
|
*
|
|
@@ -891,7 +1215,7 @@ export class UpdateCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
|
891
1215
|
headers?: { [key: string]: string };
|
|
892
1216
|
/**
|
|
893
1217
|
* @remarks
|
|
894
|
-
* The list of API paths
|
|
1218
|
+
* The list of API paths corresponding to the current protocol.
|
|
895
1219
|
*/
|
|
896
1220
|
paths?: UpdateCustomAgentResponseBodyDataProtocolPaths[];
|
|
897
1221
|
/**
|
|
@@ -941,7 +1265,7 @@ export class UpdateCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
|
941
1265
|
export class UpdateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
942
1266
|
/**
|
|
943
1267
|
* @remarks
|
|
944
|
-
* The
|
|
1268
|
+
* The computing specification. Valid values:
|
|
945
1269
|
* - INTERACTIVE: 1 vCPU and 2 GiB of memory.
|
|
946
1270
|
* - STANDARD: 2 vCPUs and 4 GiB of memory.
|
|
947
1271
|
* - HEAVY: 4 vCPUs and 8 GiB of memory.
|
|
@@ -976,16 +1300,14 @@ export class UpdateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model
|
|
|
976
1300
|
export class UpdateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
977
1301
|
/**
|
|
978
1302
|
* @remarks
|
|
979
|
-
* Specifies whether elastic scaling is enabled.
|
|
980
|
-
* - true: Enabled.
|
|
981
|
-
* - false: Disabled.
|
|
1303
|
+
* Specifies whether elastic scaling is enabled.
|
|
982
1304
|
*
|
|
983
1305
|
* This parameter is required.
|
|
984
1306
|
*/
|
|
985
1307
|
enabled?: boolean;
|
|
986
1308
|
/**
|
|
987
1309
|
* @remarks
|
|
988
|
-
* The maximum number of concurrent sessions configured for a single
|
|
1310
|
+
* The maximum number of concurrent sessions configured for a single runtime instance.
|
|
989
1311
|
*
|
|
990
1312
|
* @example
|
|
991
1313
|
* 100
|
|
@@ -993,7 +1315,7 @@ export class UpdateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
993
1315
|
maxConcurrentSessionsPerSandbox?: number;
|
|
994
1316
|
/**
|
|
995
1317
|
* @remarks
|
|
996
|
-
* The maximum number of
|
|
1318
|
+
* The maximum number of runtime instances configured.
|
|
997
1319
|
*
|
|
998
1320
|
* @example
|
|
999
1321
|
* 10
|
|
@@ -1001,7 +1323,7 @@ export class UpdateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
1001
1323
|
maxSandboxCount?: number;
|
|
1002
1324
|
/**
|
|
1003
1325
|
* @remarks
|
|
1004
|
-
* The minimum number of
|
|
1326
|
+
* The minimum number of runtime instances configured.
|
|
1005
1327
|
*
|
|
1006
1328
|
* @example
|
|
1007
1329
|
* 1
|
|
@@ -1009,7 +1331,7 @@ export class UpdateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
1009
1331
|
minSandboxCount?: number;
|
|
1010
1332
|
/**
|
|
1011
1333
|
* @remarks
|
|
1012
|
-
* The maximum idle time for a session, in seconds.
|
|
1334
|
+
* The configured maximum idle time for a session, in seconds.
|
|
1013
1335
|
*
|
|
1014
1336
|
* @example
|
|
1015
1337
|
* 600
|
|
@@ -1143,7 +1465,7 @@ export class UpdateCustomAgentResponseBodyDataRuntime extends $dara.Model {
|
|
|
1143
1465
|
export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
1144
1466
|
/**
|
|
1145
1467
|
* @remarks
|
|
1146
|
-
* The unique identifier of the custom agent. You can obtain this identifier from the response of
|
|
1468
|
+
* The unique identifier of the custom agent. You can obtain this identifier from the response of CreateCustomAgent or ListCustomAgents.
|
|
1147
1469
|
*
|
|
1148
1470
|
* This parameter is required.
|
|
1149
1471
|
*
|
|
@@ -1168,7 +1490,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1168
1490
|
codePackageInfo?: UpdateCustomAgentResponseBodyDataCodePackageInfo;
|
|
1169
1491
|
/**
|
|
1170
1492
|
* @remarks
|
|
1171
|
-
* The creation method of the agent.
|
|
1493
|
+
* The creation method of the agent. The value is CUSTOM for custom agents.
|
|
1172
1494
|
*
|
|
1173
1495
|
* @example
|
|
1174
1496
|
* CUSTOM
|
|
@@ -1176,7 +1498,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1176
1498
|
createMode?: string;
|
|
1177
1499
|
/**
|
|
1178
1500
|
* @remarks
|
|
1179
|
-
* The time when the agent was created. The time is in ISO 8601 format.
|
|
1501
|
+
* The time when the agent was created. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
|
|
1180
1502
|
*
|
|
1181
1503
|
* @example
|
|
1182
1504
|
* 2026-10-10T06:00:00Z
|
|
@@ -1184,7 +1506,17 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1184
1506
|
createdAt?: string;
|
|
1185
1507
|
/**
|
|
1186
1508
|
* @remarks
|
|
1187
|
-
* The
|
|
1509
|
+
* The image source snapshot of the current valid configuration version. The value is null before the initial configuration takes effect. This field does not indicate the health status.
|
|
1510
|
+
*/
|
|
1511
|
+
currentImage?: UpdateCustomAgentResponseBodyDataCurrentImage;
|
|
1512
|
+
/**
|
|
1513
|
+
* @remarks
|
|
1514
|
+
* The recently saved source and the verified username of the source. The source may be in preparation or failed. The password is not returned.
|
|
1515
|
+
*/
|
|
1516
|
+
customImage?: UpdateCustomAgentResponseBodyDataCustomImage;
|
|
1517
|
+
/**
|
|
1518
|
+
* @remarks
|
|
1519
|
+
* The deployment method of the agent. Custom agents are deployed and managed by the platform, and MANAGED is returned.
|
|
1188
1520
|
*
|
|
1189
1521
|
* @example
|
|
1190
1522
|
* MANAGED
|
|
@@ -1192,7 +1524,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1192
1524
|
deployType?: string;
|
|
1193
1525
|
/**
|
|
1194
1526
|
* @remarks
|
|
1195
|
-
* The description of the agent.
|
|
1527
|
+
* The description of the agent\\"s purpose.
|
|
1196
1528
|
*
|
|
1197
1529
|
* @example
|
|
1198
1530
|
* Custom agent that provides conversation services
|
|
@@ -1200,7 +1532,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1200
1532
|
description?: string;
|
|
1201
1533
|
/**
|
|
1202
1534
|
* @remarks
|
|
1203
|
-
* The
|
|
1535
|
+
* The active configuration version.
|
|
1204
1536
|
*
|
|
1205
1537
|
* This parameter is required.
|
|
1206
1538
|
*
|
|
@@ -1218,7 +1550,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1218
1550
|
environment?: UpdateCustomAgentResponseBodyDataEnvironment;
|
|
1219
1551
|
/**
|
|
1220
1552
|
* @remarks
|
|
1221
|
-
* The HTTP health check configuration
|
|
1553
|
+
* The HTTP health check configuration for the agent. This is empty if not configured.
|
|
1222
1554
|
*/
|
|
1223
1555
|
healthCheck?: UpdateCustomAgentResponseBodyDataHealthCheck;
|
|
1224
1556
|
/**
|
|
@@ -1236,17 +1568,22 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1236
1568
|
imageCacheId?: string;
|
|
1237
1569
|
/**
|
|
1238
1570
|
* @remarks
|
|
1239
|
-
* The
|
|
1571
|
+
* The acceptance summary for the current cache preparation.
|
|
1240
1572
|
*/
|
|
1241
1573
|
imageCachePreparation?: UpdateCustomAgentResponseBodyDataImageCachePreparation;
|
|
1242
1574
|
/**
|
|
1243
1575
|
* @remarks
|
|
1244
|
-
* The
|
|
1576
|
+
* The currently associated image preparation task. The phase indicates the acceptance prompt. Query the preparation API for real-time progress. A standard save operation does not create an image preparation task.
|
|
1577
|
+
*/
|
|
1578
|
+
imagePreparation?: UpdateCustomAgentResponseBodyDataImagePreparation;
|
|
1579
|
+
/**
|
|
1580
|
+
* @remarks
|
|
1581
|
+
* The waiting or execution error of the latest configuration version. This is returned only when the version is waiting for a retry or fails to execute.
|
|
1245
1582
|
*/
|
|
1246
1583
|
latestExecutionError?: UpdateCustomAgentResponseBodyDataLatestExecutionError;
|
|
1247
1584
|
/**
|
|
1248
1585
|
* @remarks
|
|
1249
|
-
* The
|
|
1586
|
+
* The latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
|
|
1250
1587
|
*
|
|
1251
1588
|
* This parameter is required.
|
|
1252
1589
|
*
|
|
@@ -1256,13 +1593,13 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1256
1593
|
latestSpecVersion?: number;
|
|
1257
1594
|
/**
|
|
1258
1595
|
* @remarks
|
|
1259
|
-
* The execution status corresponding to latestSpecVersion. Valid values:
|
|
1260
|
-
* - pending:
|
|
1261
|
-
* - processing:
|
|
1262
|
-
* - waiting_retry:
|
|
1263
|
-
* - succeeded:
|
|
1264
|
-
* - failed:
|
|
1265
|
-
* - superseded:
|
|
1596
|
+
* The execution status corresponding to the latestSpecVersion. Valid values:
|
|
1597
|
+
* - pending: Waiting for execution.
|
|
1598
|
+
* - processing: Executing.
|
|
1599
|
+
* - waiting_retry: Waiting for a retry.
|
|
1600
|
+
* - succeeded: Executed successfully.
|
|
1601
|
+
* - failed: Execution failed.
|
|
1602
|
+
* - superseded: Superseded by a subsequent version.
|
|
1266
1603
|
*
|
|
1267
1604
|
* @example
|
|
1268
1605
|
* succeeded
|
|
@@ -1273,7 +1610,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1273
1610
|
latestVersionStatus?: string;
|
|
1274
1611
|
/**
|
|
1275
1612
|
* @remarks
|
|
1276
|
-
* The
|
|
1613
|
+
* The recently submitted log delivery configuration.
|
|
1277
1614
|
*/
|
|
1278
1615
|
logging?: UpdateCustomAgentResponseBodyDataLogging;
|
|
1279
1616
|
/**
|
|
@@ -1288,7 +1625,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1288
1625
|
name?: string;
|
|
1289
1626
|
/**
|
|
1290
1627
|
* @remarks
|
|
1291
|
-
* The network access configuration of the agent. The actual access scope is also
|
|
1628
|
+
* The network access configuration of the agent. The actual access scope is also restricted by the network configuration of the workspace.
|
|
1292
1629
|
*/
|
|
1293
1630
|
network?: UpdateCustomAgentResponseBodyDataNetwork;
|
|
1294
1631
|
/**
|
|
@@ -1298,7 +1635,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1298
1635
|
observability?: UpdateCustomAgentResponseBodyDataObservability;
|
|
1299
1636
|
/**
|
|
1300
1637
|
* @remarks
|
|
1301
|
-
* The
|
|
1638
|
+
* The list of OSS directory mounts in the latest submission.
|
|
1302
1639
|
*/
|
|
1303
1640
|
ossMounts?: UpdateCustomAgentResponseBodyDataOssMounts[];
|
|
1304
1641
|
/**
|
|
@@ -1324,12 +1661,12 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1324
1661
|
roleArn?: string;
|
|
1325
1662
|
/**
|
|
1326
1663
|
* @remarks
|
|
1327
|
-
* The
|
|
1664
|
+
* The runtime configuration in the latest commit, including compute specifications, session policy, and elastic policy.
|
|
1328
1665
|
*/
|
|
1329
1666
|
runtime?: UpdateCustomAgentResponseBodyDataRuntime;
|
|
1330
1667
|
/**
|
|
1331
1668
|
* @remarks
|
|
1332
|
-
* The
|
|
1669
|
+
* The count of runtime instances by 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. Missing keys are treated as 0.
|
|
1333
1670
|
*/
|
|
1334
1671
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1335
1672
|
/**
|
|
@@ -1352,7 +1689,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1352
1689
|
updatedAt?: string;
|
|
1353
1690
|
/**
|
|
1354
1691
|
* @remarks
|
|
1355
|
-
*
|
|
1692
|
+
* The image cache switch.
|
|
1356
1693
|
*
|
|
1357
1694
|
* This parameter is required.
|
|
1358
1695
|
*
|
|
@@ -1378,6 +1715,8 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1378
1715
|
codePackageInfo: 'codePackageInfo',
|
|
1379
1716
|
createMode: 'createMode',
|
|
1380
1717
|
createdAt: 'createdAt',
|
|
1718
|
+
currentImage: 'currentImage',
|
|
1719
|
+
customImage: 'customImage',
|
|
1381
1720
|
deployType: 'deployType',
|
|
1382
1721
|
description: 'description',
|
|
1383
1722
|
effectiveSpecVersion: 'effectiveSpecVersion',
|
|
@@ -1385,6 +1724,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1385
1724
|
healthCheck: 'healthCheck',
|
|
1386
1725
|
imageCacheId: 'imageCacheId',
|
|
1387
1726
|
imageCachePreparation: 'imageCachePreparation',
|
|
1727
|
+
imagePreparation: 'imagePreparation',
|
|
1388
1728
|
latestExecutionError: 'latestExecutionError',
|
|
1389
1729
|
latestSpecVersion: 'latestSpecVersion',
|
|
1390
1730
|
latestVersionStatus: 'latestVersionStatus',
|
|
@@ -1413,6 +1753,8 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1413
1753
|
codePackageInfo: UpdateCustomAgentResponseBodyDataCodePackageInfo,
|
|
1414
1754
|
createMode: 'string',
|
|
1415
1755
|
createdAt: 'string',
|
|
1756
|
+
currentImage: UpdateCustomAgentResponseBodyDataCurrentImage,
|
|
1757
|
+
customImage: UpdateCustomAgentResponseBodyDataCustomImage,
|
|
1416
1758
|
deployType: 'string',
|
|
1417
1759
|
description: 'string',
|
|
1418
1760
|
effectiveSpecVersion: 'number',
|
|
@@ -1420,6 +1762,7 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1420
1762
|
healthCheck: UpdateCustomAgentResponseBodyDataHealthCheck,
|
|
1421
1763
|
imageCacheId: 'string',
|
|
1422
1764
|
imageCachePreparation: UpdateCustomAgentResponseBodyDataImageCachePreparation,
|
|
1765
|
+
imagePreparation: UpdateCustomAgentResponseBodyDataImagePreparation,
|
|
1423
1766
|
latestExecutionError: UpdateCustomAgentResponseBodyDataLatestExecutionError,
|
|
1424
1767
|
latestSpecVersion: 'number',
|
|
1425
1768
|
latestVersionStatus: 'string',
|
|
@@ -1450,6 +1793,12 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1450
1793
|
if(this.codePackageInfo && typeof (this.codePackageInfo as any).validate === 'function') {
|
|
1451
1794
|
(this.codePackageInfo as any).validate();
|
|
1452
1795
|
}
|
|
1796
|
+
if(this.currentImage && typeof (this.currentImage as any).validate === 'function') {
|
|
1797
|
+
(this.currentImage as any).validate();
|
|
1798
|
+
}
|
|
1799
|
+
if(this.customImage && typeof (this.customImage as any).validate === 'function') {
|
|
1800
|
+
(this.customImage as any).validate();
|
|
1801
|
+
}
|
|
1453
1802
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1454
1803
|
(this.environment as any).validate();
|
|
1455
1804
|
}
|
|
@@ -1459,6 +1808,9 @@ export class UpdateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1459
1808
|
if(this.imageCachePreparation && typeof (this.imageCachePreparation as any).validate === 'function') {
|
|
1460
1809
|
(this.imageCachePreparation as any).validate();
|
|
1461
1810
|
}
|
|
1811
|
+
if(this.imagePreparation && typeof (this.imagePreparation as any).validate === 'function') {
|
|
1812
|
+
(this.imagePreparation as any).validate();
|
|
1813
|
+
}
|
|
1462
1814
|
if(this.latestExecutionError && typeof (this.latestExecutionError as any).validate === 'function') {
|
|
1463
1815
|
(this.latestExecutionError as any).validate();
|
|
1464
1816
|
}
|
|
@@ -1521,7 +1873,7 @@ export class UpdateCustomAgentResponseBody extends $dara.Model {
|
|
|
1521
1873
|
httpStatusCode?: number;
|
|
1522
1874
|
/**
|
|
1523
1875
|
* @remarks
|
|
1524
|
-
* The
|
|
1876
|
+
* The description of the processing result for the request. The value is success when the request is successful.
|
|
1525
1877
|
*
|
|
1526
1878
|
* This parameter is required.
|
|
1527
1879
|
*
|
|
@@ -1541,7 +1893,7 @@ export class UpdateCustomAgentResponseBody extends $dara.Model {
|
|
|
1541
1893
|
requestId?: string;
|
|
1542
1894
|
/**
|
|
1543
1895
|
* @remarks
|
|
1544
|
-
*
|
|
1896
|
+
* Specifies whether the request was processed successfully. A value of true indicates success. A successful creation, update, or deletion does not mean that the background operation is complete.
|
|
1545
1897
|
*
|
|
1546
1898
|
* This parameter is required.
|
|
1547
1899
|
*/
|