@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
|
@@ -13,7 +13,7 @@ export class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Mode
|
|
|
13
13
|
mountPath?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The relative directory
|
|
16
|
+
* The relative directory in the mounted access point.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* workspace/data
|
|
@@ -23,7 +23,7 @@ export class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Mode
|
|
|
23
23
|
* @remarks
|
|
24
24
|
* Specifies whether the mount is read-only. Valid values:
|
|
25
25
|
* - true: Read-only.
|
|
26
|
-
* - false:
|
|
26
|
+
* - false: Read and write.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* false
|
|
@@ -67,7 +67,7 @@ export class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Mode
|
|
|
67
67
|
export class CreateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The startup command for the code package. This parameter is required in code package mode. The working directory is the
|
|
70
|
+
* The startup command for the code package. This parameter 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.
|
|
71
71
|
*
|
|
72
72
|
* This parameter is required.
|
|
73
73
|
*
|
|
@@ -87,7 +87,7 @@ export class CreateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
|
87
87
|
languageRuntime?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The oss:// address of the platform-fixed code package referenced
|
|
90
|
+
* The oss:// address of the platform-fixed 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.
|
|
91
91
|
*
|
|
92
92
|
* This parameter is required.
|
|
93
93
|
*
|
|
@@ -133,8 +133,6 @@ export class CreateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
133
133
|
* @remarks
|
|
134
134
|
* The ID of the ACR instance to which the image repository belongs.
|
|
135
135
|
*
|
|
136
|
-
* This parameter is required.
|
|
137
|
-
*
|
|
138
136
|
* @example
|
|
139
137
|
* cri-a1b2c3d4e5f6
|
|
140
138
|
*/
|
|
@@ -143,8 +141,6 @@ export class CreateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
143
141
|
* @remarks
|
|
144
142
|
* The namespace to which the ACR image repository belongs.
|
|
145
143
|
*
|
|
146
|
-
* This parameter is required.
|
|
147
|
-
*
|
|
148
144
|
* @example
|
|
149
145
|
* my-agent
|
|
150
146
|
*/
|
|
@@ -153,8 +149,6 @@ export class CreateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
153
149
|
* @remarks
|
|
154
150
|
* The name of the image repository in the ACR namespace.
|
|
155
151
|
*
|
|
156
|
-
* This parameter is required.
|
|
157
|
-
*
|
|
158
152
|
* @example
|
|
159
153
|
* chat-agent
|
|
160
154
|
*/
|
|
@@ -163,15 +157,13 @@ export class CreateCustomAgentResponseBodyDataArtifactContainer extends $dara.Mo
|
|
|
163
157
|
* @remarks
|
|
164
158
|
* The latest submitted image tag.
|
|
165
159
|
*
|
|
166
|
-
* This parameter is required.
|
|
167
|
-
*
|
|
168
160
|
* @example
|
|
169
161
|
* v1.0.0
|
|
170
162
|
*/
|
|
171
163
|
tag?: string;
|
|
172
164
|
/**
|
|
173
165
|
* @remarks
|
|
174
|
-
* The source type
|
|
166
|
+
* The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
|
|
175
167
|
*
|
|
176
168
|
* This parameter is required.
|
|
177
169
|
*
|
|
@@ -265,7 +257,7 @@ export class CreateCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
|
265
257
|
export class CreateCustomAgentResponseBodyDataCodePackageInfo extends $dara.Model {
|
|
266
258
|
/**
|
|
267
259
|
* @remarks
|
|
268
|
-
* The CRC64
|
|
260
|
+
* The CRC64 value of the code package object.
|
|
269
261
|
*
|
|
270
262
|
* @example
|
|
271
263
|
* 456
|
|
@@ -332,6 +324,296 @@ export class CreateCustomAgentResponseBodyDataCodePackageInfo extends $dara.Mode
|
|
|
332
324
|
}
|
|
333
325
|
}
|
|
334
326
|
|
|
327
|
+
export class CreateCustomAgentResponseBodyDataCurrentImagePullNetwork extends $dara.Model {
|
|
328
|
+
/**
|
|
329
|
+
* @remarks
|
|
330
|
+
* The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
|
|
331
|
+
*
|
|
332
|
+
* @example
|
|
333
|
+
* sg-example
|
|
334
|
+
*/
|
|
335
|
+
securityGroupId?: string;
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The type of the pull network. This parameter is required when you submit pullNetwork and is verified by the backend. The default value is public network, which is independent of the agent runtime network.
|
|
339
|
+
*
|
|
340
|
+
* @example
|
|
341
|
+
* public
|
|
342
|
+
*/
|
|
343
|
+
type?: string;
|
|
344
|
+
/**
|
|
345
|
+
* @remarks
|
|
346
|
+
* The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
|
|
347
|
+
*
|
|
348
|
+
* @example
|
|
349
|
+
* vsw-example
|
|
350
|
+
*/
|
|
351
|
+
vSwitchId?: string;
|
|
352
|
+
/**
|
|
353
|
+
* @remarks
|
|
354
|
+
* The ID of the VPC. This parameter is required when type is set to vpc. The account and region to which the VPC belongs are verified by the backend.
|
|
355
|
+
*
|
|
356
|
+
* @example
|
|
357
|
+
* vpc-example
|
|
358
|
+
*/
|
|
359
|
+
vpcId?: string;
|
|
360
|
+
static names(): { [key: string]: string } {
|
|
361
|
+
return {
|
|
362
|
+
securityGroupId: 'securityGroupId',
|
|
363
|
+
type: 'type',
|
|
364
|
+
vSwitchId: 'vSwitchId',
|
|
365
|
+
vpcId: 'vpcId',
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
static types(): { [key: string]: any } {
|
|
370
|
+
return {
|
|
371
|
+
securityGroupId: 'string',
|
|
372
|
+
type: 'string',
|
|
373
|
+
vSwitchId: 'string',
|
|
374
|
+
vpcId: 'string',
|
|
375
|
+
};
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
validate() {
|
|
379
|
+
super.validate();
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
constructor(map?: { [key: string]: any }) {
|
|
383
|
+
super(map);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export class CreateCustomAgentResponseBodyDataCurrentImage extends $dara.Model {
|
|
388
|
+
/**
|
|
389
|
+
* @remarks
|
|
390
|
+
* The original image address for the custom source.
|
|
391
|
+
*
|
|
392
|
+
* @example
|
|
393
|
+
* registry.example.com/team/agent:v1
|
|
394
|
+
*/
|
|
395
|
+
image?: string;
|
|
396
|
+
/**
|
|
397
|
+
* @remarks
|
|
398
|
+
* The instance ID for the ACR source.
|
|
399
|
+
*
|
|
400
|
+
* @example
|
|
401
|
+
* cri-example
|
|
402
|
+
*/
|
|
403
|
+
instanceId?: string;
|
|
404
|
+
/**
|
|
405
|
+
* @remarks
|
|
406
|
+
* The namespace for the ACR source.
|
|
407
|
+
*
|
|
408
|
+
* @example
|
|
409
|
+
* team
|
|
410
|
+
*/
|
|
411
|
+
namespace?: string;
|
|
412
|
+
/**
|
|
413
|
+
* @remarks
|
|
414
|
+
* The dedicated pull network for the custom source.
|
|
415
|
+
*/
|
|
416
|
+
pullNetwork?: CreateCustomAgentResponseBodyDataCurrentImagePullNetwork;
|
|
417
|
+
/**
|
|
418
|
+
* @remarks
|
|
419
|
+
* The repository name for the ACR source.
|
|
420
|
+
*
|
|
421
|
+
* @example
|
|
422
|
+
* agent
|
|
423
|
+
*/
|
|
424
|
+
repo?: string;
|
|
425
|
+
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* The certificate exception option for the custom source.
|
|
428
|
+
*
|
|
429
|
+
* @example
|
|
430
|
+
* false
|
|
431
|
+
*/
|
|
432
|
+
skipTlsVerify?: boolean;
|
|
433
|
+
/**
|
|
434
|
+
* @remarks
|
|
435
|
+
* The image source type of the current active version.
|
|
436
|
+
*
|
|
437
|
+
* @example
|
|
438
|
+
* custom
|
|
439
|
+
*/
|
|
440
|
+
sourceType?: string;
|
|
441
|
+
/**
|
|
442
|
+
* @remarks
|
|
443
|
+
* The tag of the ACR source.
|
|
444
|
+
*
|
|
445
|
+
* @example
|
|
446
|
+
* v1
|
|
447
|
+
*/
|
|
448
|
+
tag?: string;
|
|
449
|
+
/**
|
|
450
|
+
* @remarks
|
|
451
|
+
* 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.
|
|
452
|
+
*
|
|
453
|
+
* @example
|
|
454
|
+
* reader
|
|
455
|
+
*/
|
|
456
|
+
username?: string;
|
|
457
|
+
static names(): { [key: string]: string } {
|
|
458
|
+
return {
|
|
459
|
+
image: 'image',
|
|
460
|
+
instanceId: 'instanceId',
|
|
461
|
+
namespace: 'namespace',
|
|
462
|
+
pullNetwork: 'pullNetwork',
|
|
463
|
+
repo: 'repo',
|
|
464
|
+
skipTlsVerify: 'skipTlsVerify',
|
|
465
|
+
sourceType: 'sourceType',
|
|
466
|
+
tag: 'tag',
|
|
467
|
+
username: 'username',
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
static types(): { [key: string]: any } {
|
|
472
|
+
return {
|
|
473
|
+
image: 'string',
|
|
474
|
+
instanceId: 'string',
|
|
475
|
+
namespace: 'string',
|
|
476
|
+
pullNetwork: CreateCustomAgentResponseBodyDataCurrentImagePullNetwork,
|
|
477
|
+
repo: 'string',
|
|
478
|
+
skipTlsVerify: 'boolean',
|
|
479
|
+
sourceType: 'string',
|
|
480
|
+
tag: 'string',
|
|
481
|
+
username: 'string',
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
validate() {
|
|
486
|
+
if(this.pullNetwork && typeof (this.pullNetwork as any).validate === 'function') {
|
|
487
|
+
(this.pullNetwork as any).validate();
|
|
488
|
+
}
|
|
489
|
+
super.validate();
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
constructor(map?: { [key: string]: any }) {
|
|
493
|
+
super(map);
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export class CreateCustomAgentResponseBodyDataCustomImagePullNetwork extends $dara.Model {
|
|
498
|
+
/**
|
|
499
|
+
* @remarks
|
|
500
|
+
* The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
|
|
501
|
+
*
|
|
502
|
+
* @example
|
|
503
|
+
* sg-example
|
|
504
|
+
*/
|
|
505
|
+
securityGroupId?: string;
|
|
506
|
+
/**
|
|
507
|
+
* @remarks
|
|
508
|
+
* The type of the pull network. This parameter is required when you submit pullNetwork and is verified by the backend. The default value is public network, which is independent of the agent runtime network.
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* public
|
|
512
|
+
*/
|
|
513
|
+
type?: string;
|
|
514
|
+
/**
|
|
515
|
+
* @remarks
|
|
516
|
+
* The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
|
|
517
|
+
*
|
|
518
|
+
* @example
|
|
519
|
+
* vsw-example
|
|
520
|
+
*/
|
|
521
|
+
vSwitchId?: string;
|
|
522
|
+
/**
|
|
523
|
+
* @remarks
|
|
524
|
+
* The ID of the VPC. This parameter is required when type is set to vpc. The account and region to which the VPC belongs are verified by the backend.
|
|
525
|
+
*
|
|
526
|
+
* @example
|
|
527
|
+
* vpc-example
|
|
528
|
+
*/
|
|
529
|
+
vpcId?: string;
|
|
530
|
+
static names(): { [key: string]: string } {
|
|
531
|
+
return {
|
|
532
|
+
securityGroupId: 'securityGroupId',
|
|
533
|
+
type: 'type',
|
|
534
|
+
vSwitchId: 'vSwitchId',
|
|
535
|
+
vpcId: 'vpcId',
|
|
536
|
+
};
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
static types(): { [key: string]: any } {
|
|
540
|
+
return {
|
|
541
|
+
securityGroupId: 'string',
|
|
542
|
+
type: 'string',
|
|
543
|
+
vSwitchId: 'string',
|
|
544
|
+
vpcId: 'string',
|
|
545
|
+
};
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
validate() {
|
|
549
|
+
super.validate();
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
constructor(map?: { [key: string]: any }) {
|
|
553
|
+
super(map);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export class CreateCustomAgentResponseBodyDataCustomImage extends $dara.Model {
|
|
558
|
+
/**
|
|
559
|
+
* @remarks
|
|
560
|
+
* The latest saved source address, which may still be in preparation.
|
|
561
|
+
*
|
|
562
|
+
* @example
|
|
563
|
+
* registry.example.com/team/agent:v1
|
|
564
|
+
*/
|
|
565
|
+
image?: string;
|
|
566
|
+
/**
|
|
567
|
+
* @remarks
|
|
568
|
+
* The saved dedicated pull network.
|
|
569
|
+
*/
|
|
570
|
+
pullNetwork?: CreateCustomAgentResponseBodyDataCustomImagePullNetwork;
|
|
571
|
+
/**
|
|
572
|
+
* @remarks
|
|
573
|
+
* The saved HTTPS certificate exception option.
|
|
574
|
+
*
|
|
575
|
+
* @example
|
|
576
|
+
* false
|
|
577
|
+
*/
|
|
578
|
+
skipTlsVerify?: boolean;
|
|
579
|
+
/**
|
|
580
|
+
* @remarks
|
|
581
|
+
* The username saved after the source is successfully prepared. Omitted for anonymous or unverified sources. This does not indicate the existence of a reusable password.
|
|
582
|
+
*
|
|
583
|
+
* @example
|
|
584
|
+
* reader
|
|
585
|
+
*/
|
|
586
|
+
username?: string;
|
|
587
|
+
static names(): { [key: string]: string } {
|
|
588
|
+
return {
|
|
589
|
+
image: 'image',
|
|
590
|
+
pullNetwork: 'pullNetwork',
|
|
591
|
+
skipTlsVerify: 'skipTlsVerify',
|
|
592
|
+
username: 'username',
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
static types(): { [key: string]: any } {
|
|
597
|
+
return {
|
|
598
|
+
image: 'string',
|
|
599
|
+
pullNetwork: CreateCustomAgentResponseBodyDataCustomImagePullNetwork,
|
|
600
|
+
skipTlsVerify: 'boolean',
|
|
601
|
+
username: 'string',
|
|
602
|
+
};
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
validate() {
|
|
606
|
+
if(this.pullNetwork && typeof (this.pullNetwork as any).validate === 'function') {
|
|
607
|
+
(this.pullNetwork as any).validate();
|
|
608
|
+
}
|
|
609
|
+
super.validate();
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
constructor(map?: { [key: string]: any }) {
|
|
613
|
+
super(map);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
|
|
335
617
|
export class CreateCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
|
|
336
618
|
/**
|
|
337
619
|
* @remarks
|
|
@@ -379,7 +661,7 @@ export class CreateCustomAgentResponseBodyDataEnvironmentVariables extends $dara
|
|
|
379
661
|
export class CreateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
380
662
|
/**
|
|
381
663
|
* @remarks
|
|
382
|
-
* The
|
|
664
|
+
* The list of recently submitted environment variables.
|
|
383
665
|
*/
|
|
384
666
|
variables?: CreateCustomAgentResponseBodyDataEnvironmentVariables[];
|
|
385
667
|
static names(): { [key: string]: string } {
|
|
@@ -413,11 +695,13 @@ export class CreateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
413
695
|
*
|
|
414
696
|
* @example
|
|
415
697
|
* 1
|
|
698
|
+
*
|
|
699
|
+
* @deprecated
|
|
416
700
|
*/
|
|
417
701
|
healthyThreshold?: number;
|
|
418
702
|
/**
|
|
419
703
|
* @remarks
|
|
420
|
-
* The interval between two
|
|
704
|
+
* The interval between two health checks, in seconds.
|
|
421
705
|
*
|
|
422
706
|
* @example
|
|
423
707
|
* 10
|
|
@@ -425,7 +709,7 @@ export class CreateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
|
425
709
|
intervalSeconds?: number;
|
|
426
710
|
/**
|
|
427
711
|
* @remarks
|
|
428
|
-
* The HTTP
|
|
712
|
+
* The HTTP health check path.
|
|
429
713
|
*
|
|
430
714
|
* @example
|
|
431
715
|
* /healthz
|
|
@@ -542,10 +826,50 @@ export class CreateCustomAgentResponseBodyDataImageCachePreparation extends $dar
|
|
|
542
826
|
}
|
|
543
827
|
}
|
|
544
828
|
|
|
829
|
+
export class CreateCustomAgentResponseBodyDataImagePreparation extends $dara.Model {
|
|
830
|
+
/**
|
|
831
|
+
* @remarks
|
|
832
|
+
* The image preparation phase for this request. Configuration acceptance does not mean successful deployment.
|
|
833
|
+
*
|
|
834
|
+
* @example
|
|
835
|
+
* QUEUED
|
|
836
|
+
*/
|
|
837
|
+
phase?: string;
|
|
838
|
+
/**
|
|
839
|
+
* @remarks
|
|
840
|
+
* The ID of the task submitted from the console. This is not the RM operationId.
|
|
841
|
+
*
|
|
842
|
+
* @example
|
|
843
|
+
* agent-example:1
|
|
844
|
+
*/
|
|
845
|
+
preparationId?: string;
|
|
846
|
+
static names(): { [key: string]: string } {
|
|
847
|
+
return {
|
|
848
|
+
phase: 'phase',
|
|
849
|
+
preparationId: 'preparationId',
|
|
850
|
+
};
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
static types(): { [key: string]: any } {
|
|
854
|
+
return {
|
|
855
|
+
phase: 'string',
|
|
856
|
+
preparationId: 'string',
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
validate() {
|
|
861
|
+
super.validate();
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
constructor(map?: { [key: string]: any }) {
|
|
865
|
+
super(map);
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
|
|
545
869
|
export class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
|
|
546
870
|
/**
|
|
547
871
|
* @remarks
|
|
548
|
-
* The reason code for the wait or execution failure of the latest configuration,
|
|
872
|
+
* The reason code for the wait or execution failure of the latest configuration, used to determine subsequent processing methods.
|
|
549
873
|
*
|
|
550
874
|
* This parameter is required.
|
|
551
875
|
*
|
|
@@ -555,7 +879,7 @@ export class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara
|
|
|
555
879
|
code?: string;
|
|
556
880
|
/**
|
|
557
881
|
* @remarks
|
|
558
|
-
* The description of the reason why the latest configuration failed to
|
|
882
|
+
* 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.
|
|
559
883
|
*
|
|
560
884
|
* This parameter is required.
|
|
561
885
|
*
|
|
@@ -565,7 +889,7 @@ export class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara
|
|
|
565
889
|
message?: string;
|
|
566
890
|
/**
|
|
567
891
|
* @remarks
|
|
568
|
-
* Specifies whether the system automatically retries the operation. If the value is true, you can query
|
|
892
|
+
* Specifies whether the system automatically retries the operation. If the value is true, you can query again later. If the value is false, check and fix the configuration based on the reason, and then resubmit.
|
|
569
893
|
*
|
|
570
894
|
* This parameter is required.
|
|
571
895
|
*/
|
|
@@ -598,7 +922,7 @@ export class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara
|
|
|
598
922
|
export class CreateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
|
|
599
923
|
/**
|
|
600
924
|
* @remarks
|
|
601
|
-
* The name of the
|
|
925
|
+
* The name of the SLS Logstore that receives agent logs.
|
|
602
926
|
*
|
|
603
927
|
* @example
|
|
604
928
|
* agent-runtime
|
|
@@ -606,7 +930,7 @@ export class CreateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
|
|
|
606
930
|
logstore?: string;
|
|
607
931
|
/**
|
|
608
932
|
* @remarks
|
|
609
|
-
* The name of the
|
|
933
|
+
* The name of the SLS project that receives agent logs.
|
|
610
934
|
*
|
|
611
935
|
* @example
|
|
612
936
|
* my-agent-logs
|
|
@@ -722,12 +1046,12 @@ export class CreateCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Mod
|
|
|
722
1046
|
export class CreateCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
723
1047
|
/**
|
|
724
1048
|
* @remarks
|
|
725
|
-
* The Internet access configuration of the agent. If this
|
|
1049
|
+
* The Internet access configuration of the agent. If this parameter is not configured, Internet access is allowed on the agent side but is still restricted by the workspace.
|
|
726
1050
|
*/
|
|
727
1051
|
accessInternet?: CreateCustomAgentResponseBodyDataNetworkAccessInternet;
|
|
728
1052
|
/**
|
|
729
1053
|
* @remarks
|
|
730
|
-
* The user VPC access configuration of the agent. If this
|
|
1054
|
+
* The user VPC access configuration of the agent. If this parameter is not configured, user VPC access is allowed on the agent side but is still restricted by the workspace.
|
|
731
1055
|
*/
|
|
732
1056
|
accessVpc?: CreateCustomAgentResponseBodyDataNetworkAccessVpc;
|
|
733
1057
|
static names(): { [key: string]: string } {
|
|
@@ -815,7 +1139,7 @@ export class CreateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
815
1139
|
* @remarks
|
|
816
1140
|
* Specifies whether the mount is read-only. Valid values:
|
|
817
1141
|
* - true: Read-only.
|
|
818
|
-
* - false:
|
|
1142
|
+
* - false: Read and write.
|
|
819
1143
|
*/
|
|
820
1144
|
readOnly?: boolean;
|
|
821
1145
|
static names(): { [key: string]: string } {
|
|
@@ -848,7 +1172,7 @@ export class CreateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
|
848
1172
|
export class CreateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
|
|
849
1173
|
/**
|
|
850
1174
|
* @remarks
|
|
851
|
-
* The
|
|
1175
|
+
* The purpose description of the current API path.
|
|
852
1176
|
*
|
|
853
1177
|
* @example
|
|
854
1178
|
* AG-UI conversation API
|
|
@@ -890,7 +1214,7 @@ export class CreateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model
|
|
|
890
1214
|
export class CreateCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
891
1215
|
/**
|
|
892
1216
|
* @remarks
|
|
893
|
-
* The request header configuration for the current protocol. The key is the header name
|
|
1217
|
+
* The request header configuration for the current protocol. The key is the header name and the value is a string.
|
|
894
1218
|
*/
|
|
895
1219
|
headers?: { [key: string]: string };
|
|
896
1220
|
/**
|
|
@@ -900,7 +1224,10 @@ export class CreateCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
|
900
1224
|
paths?: CreateCustomAgentResponseBodyDataProtocolPaths[];
|
|
901
1225
|
/**
|
|
902
1226
|
* @remarks
|
|
903
|
-
* The invocation protocol type. Valid values:
|
|
1227
|
+
* The invocation protocol type. Valid values:
|
|
1228
|
+
* - agui: AG-UI protocol.
|
|
1229
|
+
* - openai-chat-completion: OpenAI Chat Completions compatible protocol.
|
|
1230
|
+
* - custom: Custom protocol.
|
|
904
1231
|
*
|
|
905
1232
|
* This parameter is required.
|
|
906
1233
|
*
|
|
@@ -942,7 +1269,10 @@ export class CreateCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
|
942
1269
|
export class CreateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
943
1270
|
/**
|
|
944
1271
|
* @remarks
|
|
945
|
-
* The compute specification. Valid values:
|
|
1272
|
+
* The compute specification. Valid values:
|
|
1273
|
+
* - INTERACTIVE: 1 vCPU and 2 GiB of memory.
|
|
1274
|
+
* - STANDARD: 2 vCPUs and 4 GiB of memory.
|
|
1275
|
+
* - HEAVY: 4 vCPUs and 8 GiB of memory.
|
|
946
1276
|
*
|
|
947
1277
|
* This parameter is required.
|
|
948
1278
|
*
|
|
@@ -1007,7 +1337,7 @@ export class CreateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
|
1007
1337
|
minSandboxCount?: number;
|
|
1008
1338
|
/**
|
|
1009
1339
|
* @remarks
|
|
1010
|
-
* The maximum idle time for a session, in seconds.
|
|
1340
|
+
* The maximum idle time configured for a session, in seconds.
|
|
1011
1341
|
*
|
|
1012
1342
|
* @example
|
|
1013
1343
|
* 600
|
|
@@ -1055,7 +1385,7 @@ export class CreateCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara
|
|
|
1055
1385
|
* @remarks
|
|
1056
1386
|
* The type of the session policy. Valid values:
|
|
1057
1387
|
* - AFFINITY: Session affinity.
|
|
1058
|
-
* - ISOLATED_HEADER_FIELD:
|
|
1388
|
+
* - ISOLATED_HEADER_FIELD: Uses the request header specified by headerName to associate sessions.
|
|
1059
1389
|
* ISOLATED_COOKIE is not recommended. The compatible value DISABLED in a request is returned as AFFINITY.
|
|
1060
1390
|
*
|
|
1061
1391
|
* This parameter is required.
|
|
@@ -1169,7 +1499,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1169
1499
|
codePackageInfo?: CreateCustomAgentResponseBodyDataCodePackageInfo;
|
|
1170
1500
|
/**
|
|
1171
1501
|
* @remarks
|
|
1172
|
-
* The creation method of the agent.
|
|
1502
|
+
* The creation method of the agent. The value is CUSTOM for custom agents.
|
|
1173
1503
|
*
|
|
1174
1504
|
* @example
|
|
1175
1505
|
* CUSTOM
|
|
@@ -1177,7 +1507,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1177
1507
|
createMode?: string;
|
|
1178
1508
|
/**
|
|
1179
1509
|
* @remarks
|
|
1180
|
-
* The time
|
|
1510
|
+
* The creation time of the agent. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
|
|
1181
1511
|
*
|
|
1182
1512
|
* @example
|
|
1183
1513
|
* 2026-10-10T06:00:00Z
|
|
@@ -1185,7 +1515,17 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1185
1515
|
createdAt?: string;
|
|
1186
1516
|
/**
|
|
1187
1517
|
* @remarks
|
|
1188
|
-
* The
|
|
1518
|
+
* The image source snapshot of the current active configuration version. The value is null before the first configuration takes effect. This field does not indicate the health status.
|
|
1519
|
+
*/
|
|
1520
|
+
currentImage?: CreateCustomAgentResponseBodyDataCurrentImage;
|
|
1521
|
+
/**
|
|
1522
|
+
* @remarks
|
|
1523
|
+
* The recently saved source and the verified username for this source. The source may be in preparation or failed, and the password is not returned.
|
|
1524
|
+
*/
|
|
1525
|
+
customImage?: CreateCustomAgentResponseBodyDataCustomImage;
|
|
1526
|
+
/**
|
|
1527
|
+
* @remarks
|
|
1528
|
+
* The deployment method of the agent. Custom agents are deployed and managed by the platform, and MANAGED is returned.
|
|
1189
1529
|
*
|
|
1190
1530
|
* @example
|
|
1191
1531
|
* MANAGED
|
|
@@ -1193,7 +1533,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1193
1533
|
deployType?: string;
|
|
1194
1534
|
/**
|
|
1195
1535
|
* @remarks
|
|
1196
|
-
* The description of the agent.
|
|
1536
|
+
* The description of the agent\\"s purpose.
|
|
1197
1537
|
*
|
|
1198
1538
|
* @example
|
|
1199
1539
|
* Custom agent that provides conversation services
|
|
@@ -1201,7 +1541,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1201
1541
|
description?: string;
|
|
1202
1542
|
/**
|
|
1203
1543
|
* @remarks
|
|
1204
|
-
* The
|
|
1544
|
+
* The active configuration version.
|
|
1205
1545
|
*
|
|
1206
1546
|
* This parameter is required.
|
|
1207
1547
|
*
|
|
@@ -1219,7 +1559,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1219
1559
|
environment?: CreateCustomAgentResponseBodyDataEnvironment;
|
|
1220
1560
|
/**
|
|
1221
1561
|
* @remarks
|
|
1222
|
-
* The HTTP health check configuration
|
|
1562
|
+
* The HTTP health check configuration for the agent. Empty if not configured.
|
|
1223
1563
|
*/
|
|
1224
1564
|
healthCheck?: CreateCustomAgentResponseBodyDataHealthCheck;
|
|
1225
1565
|
/**
|
|
@@ -1237,17 +1577,22 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1237
1577
|
imageCacheId?: string;
|
|
1238
1578
|
/**
|
|
1239
1579
|
* @remarks
|
|
1240
|
-
* The
|
|
1580
|
+
* The acceptance summary for the current cache preparation.
|
|
1241
1581
|
*/
|
|
1242
1582
|
imageCachePreparation?: CreateCustomAgentResponseBodyDataImageCachePreparation;
|
|
1243
1583
|
/**
|
|
1244
1584
|
* @remarks
|
|
1245
|
-
* The
|
|
1585
|
+
* The currently associated image preparation task. The phase indicates acceptance. Query the preparation API for real-time progress. A regular save does not create an image preparation task.
|
|
1586
|
+
*/
|
|
1587
|
+
imagePreparation?: CreateCustomAgentResponseBodyDataImagePreparation;
|
|
1588
|
+
/**
|
|
1589
|
+
* @remarks
|
|
1590
|
+
* The wait or execution error of the latest configuration version. Returned only when this version is waiting for a retry or has failed to execute.
|
|
1246
1591
|
*/
|
|
1247
1592
|
latestExecutionError?: CreateCustomAgentResponseBodyDataLatestExecutionError;
|
|
1248
1593
|
/**
|
|
1249
1594
|
* @remarks
|
|
1250
|
-
* The
|
|
1595
|
+
* 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.
|
|
1251
1596
|
*
|
|
1252
1597
|
* This parameter is required.
|
|
1253
1598
|
*
|
|
@@ -1257,13 +1602,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1257
1602
|
latestSpecVersion?: number;
|
|
1258
1603
|
/**
|
|
1259
1604
|
* @remarks
|
|
1260
|
-
* The execution status corresponding to
|
|
1261
|
-
* - pending: Waiting for execution.
|
|
1262
|
-
* - processing: Executing.
|
|
1263
|
-
* - waiting_retry: Waiting for a retry.
|
|
1264
|
-
* - succeeded: Execution succeeded.
|
|
1265
|
-
* - failed: Execution failed.
|
|
1266
|
-
* - superseded: Superseded by a subsequent version.
|
|
1605
|
+
* The execution status corresponding to latestSpecVersion. pending indicates waiting for execution. processing indicates executing. waiting_retry indicates waiting for a retry. succeeded indicates execution succeeded. failed indicates execution failed. superseded indicates replaced by a subsequent version.
|
|
1267
1606
|
*
|
|
1268
1607
|
* @example
|
|
1269
1608
|
* succeeded
|
|
@@ -1274,12 +1613,12 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1274
1613
|
latestVersionStatus?: string;
|
|
1275
1614
|
/**
|
|
1276
1615
|
* @remarks
|
|
1277
|
-
* The
|
|
1616
|
+
* The recently submitted log delivery configuration.
|
|
1278
1617
|
*/
|
|
1279
1618
|
logging?: CreateCustomAgentResponseBodyDataLogging;
|
|
1280
1619
|
/**
|
|
1281
1620
|
* @remarks
|
|
1282
|
-
* The custom agent
|
|
1621
|
+
* The name of the custom agent.
|
|
1283
1622
|
*
|
|
1284
1623
|
* This parameter is required.
|
|
1285
1624
|
*
|
|
@@ -1299,7 +1638,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1299
1638
|
observability?: CreateCustomAgentResponseBodyDataObservability;
|
|
1300
1639
|
/**
|
|
1301
1640
|
* @remarks
|
|
1302
|
-
* The
|
|
1641
|
+
* The list of OSS directory mounts in the latest submission.
|
|
1303
1642
|
*/
|
|
1304
1643
|
ossMounts?: CreateCustomAgentResponseBodyDataOssMounts[];
|
|
1305
1644
|
/**
|
|
@@ -1317,7 +1656,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1317
1656
|
regionId?: string;
|
|
1318
1657
|
/**
|
|
1319
1658
|
* @remarks
|
|
1320
|
-
* The
|
|
1659
|
+
* The ARN of the RAM role used by the agent to access user cloud resources.
|
|
1321
1660
|
*
|
|
1322
1661
|
* @example
|
|
1323
1662
|
* acs:ram::1234567890123456:role/agentcore-runtime-role
|
|
@@ -1325,12 +1664,12 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1325
1664
|
roleArn?: string;
|
|
1326
1665
|
/**
|
|
1327
1666
|
* @remarks
|
|
1328
|
-
* The runtime configuration
|
|
1667
|
+
* The runtime configuration in the latest commit, including compute specifications, session policy, and elastic policy.
|
|
1329
1668
|
*/
|
|
1330
1669
|
runtime?: CreateCustomAgentResponseBodyDataRuntime;
|
|
1331
1670
|
/**
|
|
1332
1671
|
* @remarks
|
|
1333
|
-
* The
|
|
1672
|
+
* The number of instances counted by running 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. Missing keys are treated as 0.
|
|
1334
1673
|
*/
|
|
1335
1674
|
sandboxPhaseCounts?: { [key: string]: number };
|
|
1336
1675
|
/**
|
|
@@ -1360,7 +1699,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1360
1699
|
updatedAt?: string;
|
|
1361
1700
|
/**
|
|
1362
1701
|
* @remarks
|
|
1363
|
-
*
|
|
1702
|
+
* The image cache toggle.
|
|
1364
1703
|
*
|
|
1365
1704
|
* This parameter is required.
|
|
1366
1705
|
*
|
|
@@ -1386,6 +1725,8 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1386
1725
|
codePackageInfo: 'codePackageInfo',
|
|
1387
1726
|
createMode: 'createMode',
|
|
1388
1727
|
createdAt: 'createdAt',
|
|
1728
|
+
currentImage: 'currentImage',
|
|
1729
|
+
customImage: 'customImage',
|
|
1389
1730
|
deployType: 'deployType',
|
|
1390
1731
|
description: 'description',
|
|
1391
1732
|
effectiveSpecVersion: 'effectiveSpecVersion',
|
|
@@ -1393,6 +1734,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1393
1734
|
healthCheck: 'healthCheck',
|
|
1394
1735
|
imageCacheId: 'imageCacheId',
|
|
1395
1736
|
imageCachePreparation: 'imageCachePreparation',
|
|
1737
|
+
imagePreparation: 'imagePreparation',
|
|
1396
1738
|
latestExecutionError: 'latestExecutionError',
|
|
1397
1739
|
latestSpecVersion: 'latestSpecVersion',
|
|
1398
1740
|
latestVersionStatus: 'latestVersionStatus',
|
|
@@ -1421,6 +1763,8 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1421
1763
|
codePackageInfo: CreateCustomAgentResponseBodyDataCodePackageInfo,
|
|
1422
1764
|
createMode: 'string',
|
|
1423
1765
|
createdAt: 'string',
|
|
1766
|
+
currentImage: CreateCustomAgentResponseBodyDataCurrentImage,
|
|
1767
|
+
customImage: CreateCustomAgentResponseBodyDataCustomImage,
|
|
1424
1768
|
deployType: 'string',
|
|
1425
1769
|
description: 'string',
|
|
1426
1770
|
effectiveSpecVersion: 'number',
|
|
@@ -1428,6 +1772,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1428
1772
|
healthCheck: CreateCustomAgentResponseBodyDataHealthCheck,
|
|
1429
1773
|
imageCacheId: 'string',
|
|
1430
1774
|
imageCachePreparation: CreateCustomAgentResponseBodyDataImageCachePreparation,
|
|
1775
|
+
imagePreparation: CreateCustomAgentResponseBodyDataImagePreparation,
|
|
1431
1776
|
latestExecutionError: CreateCustomAgentResponseBodyDataLatestExecutionError,
|
|
1432
1777
|
latestSpecVersion: 'number',
|
|
1433
1778
|
latestVersionStatus: 'string',
|
|
@@ -1458,6 +1803,12 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1458
1803
|
if(this.codePackageInfo && typeof (this.codePackageInfo as any).validate === 'function') {
|
|
1459
1804
|
(this.codePackageInfo as any).validate();
|
|
1460
1805
|
}
|
|
1806
|
+
if(this.currentImage && typeof (this.currentImage as any).validate === 'function') {
|
|
1807
|
+
(this.currentImage as any).validate();
|
|
1808
|
+
}
|
|
1809
|
+
if(this.customImage && typeof (this.customImage as any).validate === 'function') {
|
|
1810
|
+
(this.customImage as any).validate();
|
|
1811
|
+
}
|
|
1461
1812
|
if(this.environment && typeof (this.environment as any).validate === 'function') {
|
|
1462
1813
|
(this.environment as any).validate();
|
|
1463
1814
|
}
|
|
@@ -1467,6 +1818,9 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
1467
1818
|
if(this.imageCachePreparation && typeof (this.imageCachePreparation as any).validate === 'function') {
|
|
1468
1819
|
(this.imageCachePreparation as any).validate();
|
|
1469
1820
|
}
|
|
1821
|
+
if(this.imagePreparation && typeof (this.imagePreparation as any).validate === 'function') {
|
|
1822
|
+
(this.imagePreparation as any).validate();
|
|
1823
|
+
}
|
|
1470
1824
|
if(this.latestExecutionError && typeof (this.latestExecutionError as any).validate === 'function') {
|
|
1471
1825
|
(this.latestExecutionError as any).validate();
|
|
1472
1826
|
}
|
|
@@ -1512,7 +1866,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
1512
1866
|
code?: string;
|
|
1513
1867
|
/**
|
|
1514
1868
|
* @remarks
|
|
1515
|
-
* The latest submitted configuration and status of the custom agent. A successful response indicates that the request is accepted, but the configuration may not have taken effect.
|
|
1869
|
+
* The latest submitted configuration and status of the custom agent. A successful response indicates that the request is accepted, but the configuration may not have taken effect yet.
|
|
1516
1870
|
*
|
|
1517
1871
|
* This parameter is required.
|
|
1518
1872
|
*/
|
|
@@ -1529,7 +1883,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
1529
1883
|
httpStatusCode?: number;
|
|
1530
1884
|
/**
|
|
1531
1885
|
* @remarks
|
|
1532
|
-
* The
|
|
1886
|
+
* The description of the processing result for the request. The value is success if the request is successful.
|
|
1533
1887
|
*
|
|
1534
1888
|
* This parameter is required.
|
|
1535
1889
|
*
|
|
@@ -1539,7 +1893,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
1539
1893
|
message?: string;
|
|
1540
1894
|
/**
|
|
1541
1895
|
* @remarks
|
|
1542
|
-
* The unique identifier of the request
|
|
1896
|
+
* The unique identifier of the request, which is used to locate and troubleshoot issues.
|
|
1543
1897
|
*
|
|
1544
1898
|
* This parameter is required.
|
|
1545
1899
|
*
|
|
@@ -1549,7 +1903,7 @@ export class CreateCustomAgentResponseBody extends $dara.Model {
|
|
|
1549
1903
|
requestId?: string;
|
|
1550
1904
|
/**
|
|
1551
1905
|
* @remarks
|
|
1552
|
-
* Indicates whether the request
|
|
1906
|
+
* 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.
|
|
1553
1907
|
*
|
|
1554
1908
|
* This parameter is required.
|
|
1555
1909
|
*/
|