@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
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets
|
|
5
|
+
* The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets cannot be duplicated or form parent-child overrides.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* /mnt/agenticfs/data
|
|
@@ -18,7 +18,7 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
18
18
|
path?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this parameter
|
|
21
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If you omit this parameter, the default value is false.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* false
|
|
@@ -26,7 +26,7 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
26
26
|
readOnly?: boolean;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The domain name of the access point. This parameter is required for each mount item.
|
|
29
|
+
* The domain name of the access point. This parameter is required for each mount item. Specify the DomainName value from the ListAccessPoints response of NAS. Do not include the protocol, port, or path.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
@@ -46,7 +46,7 @@ export declare class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
|
|
|
46
46
|
export declare class CreateCustomAgentRequestBodyArtifactCode extends $dara.Model {
|
|
47
47
|
/**
|
|
48
48
|
* @remarks
|
|
49
|
-
* The startup command for the code package. This parameter is required in code package mode. The working directory is the
|
|
49
|
+
* 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.
|
|
50
50
|
*
|
|
51
51
|
* This parameter is required.
|
|
52
52
|
*
|
|
@@ -56,7 +56,7 @@ export declare class CreateCustomAgentRequestBodyArtifactCode extends $dara.Mode
|
|
|
56
56
|
entrypoint?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The code runtime environment identifier, such as python3.12. When you create or switch environments, use the identifier returned by ListAgentCodeRuntimes. The identifier is
|
|
59
|
+
* The code runtime environment identifier, such as python3.12. When you create or switch environments, use the identifier returned by ListAgentCodeRuntimes. The identifier is verified by the current version catalog and is not a fixed enumeration.
|
|
60
60
|
*
|
|
61
61
|
* This parameter is required.
|
|
62
62
|
*
|
|
@@ -66,7 +66,7 @@ export declare class CreateCustomAgentRequestBodyArtifactCode extends $dara.Mode
|
|
|
66
66
|
languageRuntime?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* The source address of the code package.
|
|
69
|
+
* The source address of the code package. This parameter supports oss:// addresses or HTTPS object addresses of standard OSS public domain names, including OSS signed URLs. Arbitrary external sites, custom domain names, and additional authentication request headers are not supported. After a local upload, use the sourceUri returned by GetAgentCodePackageUploadUrl. The address is reverified and transferred during creation or update. After the address is saved, a fixed oss:// address of the platform is returned. You can reuse this fixed address for regular updates.
|
|
70
70
|
*
|
|
71
71
|
* This parameter is required.
|
|
72
72
|
*
|
|
@@ -98,8 +98,6 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
98
98
|
* @remarks
|
|
99
99
|
* The ID of the ACR instance to which the image repository belongs. This parameter cannot be empty.
|
|
100
100
|
*
|
|
101
|
-
* This parameter is required.
|
|
102
|
-
*
|
|
103
101
|
* @example
|
|
104
102
|
* cri-a1b2c3d4e5f6
|
|
105
103
|
*/
|
|
@@ -108,8 +106,6 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
108
106
|
* @remarks
|
|
109
107
|
* The namespace to which the ACR image repository belongs. This parameter cannot be empty.
|
|
110
108
|
*
|
|
111
|
-
* This parameter is required.
|
|
112
|
-
*
|
|
113
109
|
* @example
|
|
114
110
|
* my-agent
|
|
115
111
|
*/
|
|
@@ -118,8 +114,6 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
118
114
|
* @remarks
|
|
119
115
|
* The name of the image repository in the ACR namespace. This parameter cannot be empty.
|
|
120
116
|
*
|
|
121
|
-
* This parameter is required.
|
|
122
|
-
*
|
|
123
117
|
* @example
|
|
124
118
|
* chat-agent
|
|
125
119
|
*/
|
|
@@ -128,8 +122,6 @@ export declare class CreateCustomAgentRequestBodyArtifactContainer extends $dara
|
|
|
128
122
|
* @remarks
|
|
129
123
|
* The image tag used for deployment. This parameter cannot be empty. When you update the tag, you must also specify artifact.port and other required image fields.
|
|
130
124
|
*
|
|
131
|
-
* This parameter is required.
|
|
132
|
-
*
|
|
133
125
|
* @example
|
|
134
126
|
* v1.0.0
|
|
135
127
|
*/
|
|
@@ -168,7 +160,7 @@ export declare class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
168
160
|
container?: CreateCustomAgentRequestBodyArtifactContainer;
|
|
169
161
|
/**
|
|
170
162
|
* @remarks
|
|
171
|
-
* The TCP port
|
|
163
|
+
* The TCP port on which the agent service listens. Valid values: 1 to 65535.
|
|
172
164
|
*
|
|
173
165
|
* This parameter is required.
|
|
174
166
|
*
|
|
@@ -187,6 +179,99 @@ export declare class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
187
179
|
[key: string]: any;
|
|
188
180
|
});
|
|
189
181
|
}
|
|
182
|
+
export declare class CreateCustomAgentRequestBodyCustomImagePullNetwork extends $dara.Model {
|
|
183
|
+
/**
|
|
184
|
+
* @remarks
|
|
185
|
+
* 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.
|
|
186
|
+
*
|
|
187
|
+
* @example
|
|
188
|
+
* sg-example
|
|
189
|
+
*/
|
|
190
|
+
securityGroupId?: string;
|
|
191
|
+
/**
|
|
192
|
+
* @remarks
|
|
193
|
+
* 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.
|
|
194
|
+
*
|
|
195
|
+
* @example
|
|
196
|
+
* public
|
|
197
|
+
*/
|
|
198
|
+
type?: string;
|
|
199
|
+
/**
|
|
200
|
+
* @remarks
|
|
201
|
+
* 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.
|
|
202
|
+
*
|
|
203
|
+
* @example
|
|
204
|
+
* vsw-example
|
|
205
|
+
*/
|
|
206
|
+
vSwitchId?: string;
|
|
207
|
+
/**
|
|
208
|
+
* @remarks
|
|
209
|
+
* 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.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* vpc-example
|
|
213
|
+
*/
|
|
214
|
+
vpcId?: string;
|
|
215
|
+
static names(): {
|
|
216
|
+
[key: string]: string;
|
|
217
|
+
};
|
|
218
|
+
static types(): {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
};
|
|
221
|
+
validate(): void;
|
|
222
|
+
constructor(map?: {
|
|
223
|
+
[key: string]: any;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
export declare class CreateCustomAgentRequestBodyCustomImage extends $dara.Model {
|
|
227
|
+
/**
|
|
228
|
+
* @remarks
|
|
229
|
+
* The custom image address. This parameter is required when you submit customImage and is verified by the backend. Specify the full registry[:port]/repository:tag or registry[:port]/repository@sha256:digest format. Multi-level paths are supported. Do not include the protocol or user information.
|
|
230
|
+
*
|
|
231
|
+
* @example
|
|
232
|
+
* registry.example.com/team/agent:v1
|
|
233
|
+
*/
|
|
234
|
+
image?: string;
|
|
235
|
+
/**
|
|
236
|
+
* @remarks
|
|
237
|
+
* The repository password or token for the current task. Submit a non-empty value in pair with username. The value is not trimmed. Null, empty strings, or masked values are not accepted. This parameter is used only for the current task and is not permanently saved or returned. To use anonymous access, omit both this parameter and username.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* example-registry-token
|
|
241
|
+
*/
|
|
242
|
+
password?: string;
|
|
243
|
+
/**
|
|
244
|
+
* @remarks
|
|
245
|
+
* The independent network configuration for pulling the image. This parameter is required when you submit customImage and is verified by the backend. To use the public network, specify only type=public.
|
|
246
|
+
*/
|
|
247
|
+
pullNetwork?: CreateCustomAgentRequestBodyCustomImagePullNetwork;
|
|
248
|
+
/**
|
|
249
|
+
* @remarks
|
|
250
|
+
* Specifies whether to skip HTTPS certificate verification. If you omit this parameter, the default value is false. Null is not accepted. HTTP fallback semantics are still under discussion and do not affect the definition of this field. The image address does not include the protocol.
|
|
251
|
+
*
|
|
252
|
+
* @example
|
|
253
|
+
* false
|
|
254
|
+
*/
|
|
255
|
+
skipTlsVerify?: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* @remarks
|
|
258
|
+
* The repository username for the current task. When you create or explicitly update a private source, resubmit this parameter in pair with password. Existing copies also require verification. To use anonymous access, omit both this parameter and password. Read-only usernames are not automatically used as input for the current task.
|
|
259
|
+
*
|
|
260
|
+
* @example
|
|
261
|
+
* reader
|
|
262
|
+
*/
|
|
263
|
+
username?: string;
|
|
264
|
+
static names(): {
|
|
265
|
+
[key: string]: string;
|
|
266
|
+
};
|
|
267
|
+
static types(): {
|
|
268
|
+
[key: string]: any;
|
|
269
|
+
};
|
|
270
|
+
validate(): void;
|
|
271
|
+
constructor(map?: {
|
|
272
|
+
[key: string]: any;
|
|
273
|
+
});
|
|
274
|
+
}
|
|
190
275
|
export declare class CreateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
191
276
|
/**
|
|
192
277
|
* @remarks
|
|
@@ -200,7 +285,7 @@ export declare class CreateCustomAgentRequestBodyEnvironmentVariables extends $d
|
|
|
200
285
|
name?: string;
|
|
201
286
|
/**
|
|
202
287
|
* @remarks
|
|
203
|
-
* The value of the environment variable.
|
|
288
|
+
* The value of the environment variable. The value must be a string. Empty strings are allowed.
|
|
204
289
|
*
|
|
205
290
|
* This parameter is required.
|
|
206
291
|
*
|
|
@@ -239,15 +324,17 @@ export declare class CreateCustomAgentRequestBodyEnvironment extends $dara.Model
|
|
|
239
324
|
export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
|
|
240
325
|
/**
|
|
241
326
|
* @remarks
|
|
242
|
-
* This parameter
|
|
327
|
+
* This parameter currently takes no effect. Omit this parameter.
|
|
243
328
|
*
|
|
244
329
|
* @example
|
|
245
330
|
* 1
|
|
331
|
+
*
|
|
332
|
+
* @deprecated
|
|
246
333
|
*/
|
|
247
334
|
healthyThreshold?: number;
|
|
248
335
|
/**
|
|
249
336
|
* @remarks
|
|
250
|
-
* The interval between two health checks, in seconds.
|
|
337
|
+
* The interval between two health checks, in seconds. This value must be a positive integer. Default value: 10.
|
|
251
338
|
*
|
|
252
339
|
* @example
|
|
253
340
|
* 10
|
|
@@ -255,7 +342,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
255
342
|
intervalSeconds?: number;
|
|
256
343
|
/**
|
|
257
344
|
* @remarks
|
|
258
|
-
* The HTTP health check path.
|
|
345
|
+
* The HTTP health check path. The path must start with a forward slash (/). Default value: /healthz.
|
|
259
346
|
*
|
|
260
347
|
* @example
|
|
261
348
|
* /healthz
|
|
@@ -263,7 +350,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
263
350
|
path?: string;
|
|
264
351
|
/**
|
|
265
352
|
* @remarks
|
|
266
|
-
* The port accessed for health checks. This
|
|
353
|
+
* The port accessed for health checks. This field is required when you configure a health check. Valid values: 1 to 65535.
|
|
267
354
|
*
|
|
268
355
|
* @example
|
|
269
356
|
* 8080
|
|
@@ -271,7 +358,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
271
358
|
port?: number;
|
|
272
359
|
/**
|
|
273
360
|
* @remarks
|
|
274
|
-
* The timeout period for a single health check, in seconds.
|
|
361
|
+
* The timeout period for a single health check, in seconds. This value must be a positive integer and less than the value of intervalSeconds. Default value: 2.
|
|
275
362
|
*
|
|
276
363
|
* @example
|
|
277
364
|
* 2
|
|
@@ -279,7 +366,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
279
366
|
timeoutSeconds?: number;
|
|
280
367
|
/**
|
|
281
368
|
* @remarks
|
|
282
|
-
* The number of consecutive health check failures
|
|
369
|
+
* The number of consecutive health check failures required to mark the target as unhealthy. This value must be a positive integer. Default value: 3.
|
|
283
370
|
*
|
|
284
371
|
* @example
|
|
285
372
|
* 3
|
|
@@ -299,7 +386,7 @@ export declare class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model
|
|
|
299
386
|
export declare class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
|
|
300
387
|
/**
|
|
301
388
|
* @remarks
|
|
302
|
-
* The name of the
|
|
389
|
+
* The name of the SLS Logstore that receives agent logs.
|
|
303
390
|
*
|
|
304
391
|
* @example
|
|
305
392
|
* agent-runtime
|
|
@@ -307,7 +394,7 @@ export declare class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model
|
|
|
307
394
|
logstore?: string;
|
|
308
395
|
/**
|
|
309
396
|
* @remarks
|
|
310
|
-
* The name of the
|
|
397
|
+
* The name of the SLS project that receives agent logs.
|
|
311
398
|
*
|
|
312
399
|
* @example
|
|
313
400
|
* my-agent-logs
|
|
@@ -327,7 +414,7 @@ export declare class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model
|
|
|
327
414
|
export declare class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
328
415
|
/**
|
|
329
416
|
* @remarks
|
|
330
|
-
* The
|
|
417
|
+
* The SLS log delivery destination. When you configure this object, neither the project nor the logstore field can be empty.
|
|
331
418
|
*/
|
|
332
419
|
sls?: CreateCustomAgentRequestBodyLoggingSls;
|
|
333
420
|
static names(): {
|
|
@@ -344,7 +431,7 @@ export declare class CreateCustomAgentRequestBodyLogging extends $dara.Model {
|
|
|
344
431
|
export declare class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
|
|
345
432
|
/**
|
|
346
433
|
* @remarks
|
|
347
|
-
* Specifies whether to allow the agent to access the Internet. A Boolean value
|
|
434
|
+
* Specifies whether to allow the agent to access the Internet. A Boolean value is required when you configure accessInternet. For this setting to take effect, the workspace must also allow Internet access.
|
|
348
435
|
*/
|
|
349
436
|
enabled?: boolean;
|
|
350
437
|
static names(): {
|
|
@@ -361,7 +448,7 @@ export declare class CreateCustomAgentRequestBodyNetworkAccessInternet extends $
|
|
|
361
448
|
export declare class CreateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
|
|
362
449
|
/**
|
|
363
450
|
* @remarks
|
|
364
|
-
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value
|
|
451
|
+
* Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value is required when you configure accessVpc. For this setting to take effect, the workspace must also allow VPC access.
|
|
365
452
|
*/
|
|
366
453
|
enabled?: boolean;
|
|
367
454
|
static names(): {
|
|
@@ -417,7 +504,7 @@ export declare class CreateCustomAgentRequestBodyObservability extends $dara.Mod
|
|
|
417
504
|
export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
418
505
|
/**
|
|
419
506
|
* @remarks
|
|
420
|
-
* The name of the OSS bucket. This
|
|
507
|
+
* The name of the OSS bucket. This field is required for each mount item. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens. It cannot start or end with a hyphen.
|
|
421
508
|
*
|
|
422
509
|
* @example
|
|
423
510
|
* my-agent-data
|
|
@@ -425,7 +512,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
425
512
|
bucketName?: string;
|
|
426
513
|
/**
|
|
427
514
|
* @remarks
|
|
428
|
-
* The subdirectory under /mnt/oss/ in the container. This
|
|
515
|
+
* The subdirectory under /mnt/oss/ in the container. This field is required for each mount item. Mount targets must not be duplicated or form parent-child overlaps.
|
|
429
516
|
*
|
|
430
517
|
* @example
|
|
431
518
|
* /mnt/oss/train
|
|
@@ -433,7 +520,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
433
520
|
mountPath?: string;
|
|
434
521
|
/**
|
|
435
522
|
* @remarks
|
|
436
|
-
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported
|
|
523
|
+
* The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing forward slashes (/) are removed. The root directory is not supported, and parent directory traversal is not allowed.
|
|
437
524
|
*
|
|
438
525
|
* @example
|
|
439
526
|
* datasets/train
|
|
@@ -441,7 +528,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
441
528
|
path?: string;
|
|
442
529
|
/**
|
|
443
530
|
* @remarks
|
|
444
|
-
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this parameter
|
|
531
|
+
* Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If you omit this parameter, the default value is false.
|
|
445
532
|
*/
|
|
446
533
|
readOnly?: boolean;
|
|
447
534
|
static names(): {
|
|
@@ -458,7 +545,7 @@ export declare class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
|
|
|
458
545
|
export declare class CreateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
|
|
459
546
|
/**
|
|
460
547
|
* @remarks
|
|
461
|
-
* The
|
|
548
|
+
* The purpose description of the current API path.
|
|
462
549
|
*
|
|
463
550
|
* @example
|
|
464
551
|
* AG-UI conversation API
|
|
@@ -500,7 +587,10 @@ export declare class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
500
587
|
paths?: CreateCustomAgentRequestBodyProtocolPaths[];
|
|
501
588
|
/**
|
|
502
589
|
* @remarks
|
|
503
|
-
* The invocation protocol type. Valid values:
|
|
590
|
+
* The invocation protocol type. Valid values:
|
|
591
|
+
* - agui: AG-UI protocol.
|
|
592
|
+
* - openai-chat-completion: OpenAI Chat Completions compatible protocol.
|
|
593
|
+
* - custom: Custom protocol.
|
|
504
594
|
*
|
|
505
595
|
* This parameter is required.
|
|
506
596
|
*
|
|
@@ -522,7 +612,10 @@ export declare class CreateCustomAgentRequestBodyProtocol extends $dara.Model {
|
|
|
522
612
|
export declare class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Model {
|
|
523
613
|
/**
|
|
524
614
|
* @remarks
|
|
525
|
-
* The compute specification. Valid values:
|
|
615
|
+
* The compute specification. Valid values:
|
|
616
|
+
* - INTERACTIVE: 1 vCPU and 2 GiB of memory.
|
|
617
|
+
* - STANDARD: 2 vCPUs and 4 GiB of memory.
|
|
618
|
+
* - HEAVY: 4 vCPUs and 8 GiB of memory.
|
|
526
619
|
*
|
|
527
620
|
* This parameter is required.
|
|
528
621
|
*
|
|
@@ -544,14 +637,14 @@ export declare class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Mo
|
|
|
544
637
|
export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
|
|
545
638
|
/**
|
|
546
639
|
* @remarks
|
|
547
|
-
* Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled
|
|
640
|
+
* Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled, and a value of false indicates that elastic scaling is disabled. When runtime is provided, omitting this field defaults to false.
|
|
548
641
|
*
|
|
549
642
|
* This parameter is required.
|
|
550
643
|
*/
|
|
551
644
|
enabled?: boolean;
|
|
552
645
|
/**
|
|
553
646
|
* @remarks
|
|
554
|
-
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided,
|
|
647
|
+
* The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, omitting this field uses the default value of 100.
|
|
555
648
|
*
|
|
556
649
|
* @example
|
|
557
650
|
* 100
|
|
@@ -559,7 +652,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
559
652
|
maxConcurrentSessionsPerSandbox?: number;
|
|
560
653
|
/**
|
|
561
654
|
* @remarks
|
|
562
|
-
* The maximum number of runtime instances. Valid values: 1 to 100.
|
|
655
|
+
* The maximum number of runtime instances. Valid values: 1 to 100. This value cannot be less than the value of minSandboxCount. When runtime is provided, omitting this field uses the default value of 10.
|
|
563
656
|
*
|
|
564
657
|
* @example
|
|
565
658
|
* 10
|
|
@@ -567,7 +660,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
567
660
|
maxSandboxCount?: number;
|
|
568
661
|
/**
|
|
569
662
|
* @remarks
|
|
570
|
-
* The minimum number of runtime instances. Valid values: 1 to 100.
|
|
663
|
+
* The minimum number of runtime instances. Valid values: 1 to 100. This value cannot be greater than the value of maxSandboxCount. When runtime is provided, omitting this field uses the default value of 1.
|
|
571
664
|
*
|
|
572
665
|
* @example
|
|
573
666
|
* 1
|
|
@@ -575,7 +668,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
575
668
|
minSandboxCount?: number;
|
|
576
669
|
/**
|
|
577
670
|
* @remarks
|
|
578
|
-
* The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided,
|
|
671
|
+
* The session idle timeout limit, in seconds. Valid values: 60 to 86400. When runtime is provided, omitting this field uses the default value of 600.
|
|
579
672
|
*
|
|
580
673
|
* @example
|
|
581
674
|
* 600
|
|
@@ -595,7 +688,7 @@ export declare class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
|
|
|
595
688
|
export declare class CreateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
|
|
596
689
|
/**
|
|
597
690
|
* @remarks
|
|
598
|
-
* The name of the HTTP request header used by the session policy. This
|
|
691
|
+
* The name of the HTTP request header used by the session policy. This field is required when type is set to ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this field for other policies.
|
|
599
692
|
*
|
|
600
693
|
* @example
|
|
601
694
|
* X-Session-Id
|
|
@@ -603,7 +696,11 @@ export declare class CreateCustomAgentRequestBodyRuntimeSessionPolicy extends $d
|
|
|
603
696
|
headerName?: string;
|
|
604
697
|
/**
|
|
605
698
|
* @remarks
|
|
606
|
-
* The session policy type. Valid values:
|
|
699
|
+
* The session policy type. Valid values:
|
|
700
|
+
* - AFFINITY: Session affinity.
|
|
701
|
+
* - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified in headerName.
|
|
702
|
+
* - ISOLATED_COOKIE: Not recommended for use at this time.
|
|
703
|
+
* - DISABLED: A compatibility option. The response returns AFFINITY.
|
|
607
704
|
*
|
|
608
705
|
* This parameter is required.
|
|
609
706
|
*
|
|
@@ -632,12 +729,12 @@ export declare class CreateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
632
729
|
compute?: CreateCustomAgentRequestBodyRuntimeCompute;
|
|
633
730
|
/**
|
|
634
731
|
* @remarks
|
|
635
|
-
* The optional elastic policy. When runtime is provided,
|
|
732
|
+
* The optional elastic policy. When runtime is provided, omitting hpa or its fields applies the following default values: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
|
|
636
733
|
*/
|
|
637
734
|
hpa?: CreateCustomAgentRequestBodyRuntimeHpa;
|
|
638
735
|
/**
|
|
639
736
|
* @remarks
|
|
640
|
-
* The session policy configuration
|
|
737
|
+
* The session policy configuration used to set the session association method for requests.
|
|
641
738
|
*
|
|
642
739
|
* This parameter is required.
|
|
643
740
|
*/
|
|
@@ -656,7 +753,7 @@ export declare class CreateCustomAgentRequestBodyRuntime extends $dara.Model {
|
|
|
656
753
|
export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
657
754
|
/**
|
|
658
755
|
* @remarks
|
|
659
|
-
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass [], the
|
|
756
|
+
* The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass an empty array [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass an empty array [], the mounts are cleared. You cannot pass null.
|
|
660
757
|
*/
|
|
661
758
|
agenticFsMounts?: CreateCustomAgentRequestBodyAgenticFsMounts[];
|
|
662
759
|
/**
|
|
@@ -668,7 +765,12 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
668
765
|
artifact?: CreateCustomAgentRequestBodyArtifact;
|
|
669
766
|
/**
|
|
670
767
|
* @remarks
|
|
671
|
-
* The
|
|
768
|
+
* The custom image source. This parameter is required when artifact.container.type is set to custom. Omit this parameter for other sources.
|
|
769
|
+
*/
|
|
770
|
+
customImage?: CreateCustomAgentRequestBodyCustomImage;
|
|
771
|
+
/**
|
|
772
|
+
* @remarks
|
|
773
|
+
* The description of the agent purpose. The description can be up to 1,024 characters in length after leading and trailing spaces are removed.
|
|
672
774
|
*
|
|
673
775
|
* @example
|
|
674
776
|
* Custom agent that provides conversation services
|
|
@@ -681,17 +783,17 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
681
783
|
environment?: CreateCustomAgentRequestBodyEnvironment;
|
|
682
784
|
/**
|
|
683
785
|
* @remarks
|
|
684
|
-
* The optional HTTP health check configuration.
|
|
786
|
+
* The optional HTTP health check configuration. When this object is provided, the port field is required, and unspecified fields use default values. Omitting this field during creation means no health check is configured. Omitting this top-level field during an update retains the original configuration, while passing null removes the health check.
|
|
685
787
|
*/
|
|
686
788
|
healthCheck?: CreateCustomAgentRequestBodyHealthCheck;
|
|
687
789
|
/**
|
|
688
790
|
* @remarks
|
|
689
|
-
* The
|
|
791
|
+
* The log delivery configuration for the agent. You can specify the Simple Log Service (SLS) project and Logstore. After a successful creation or update, verify that logs are delivered as expected.
|
|
690
792
|
*/
|
|
691
793
|
logging?: CreateCustomAgentRequestBodyLogging;
|
|
692
794
|
/**
|
|
693
795
|
* @remarks
|
|
694
|
-
* The name of the
|
|
796
|
+
* The custom name of the agent. The name must be 1 to 128 characters in length after leading and trailing spaces are removed. The name must be unique within the same workspace.
|
|
695
797
|
*
|
|
696
798
|
* This parameter is required.
|
|
697
799
|
*
|
|
@@ -701,7 +803,7 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
701
803
|
name?: string;
|
|
702
804
|
/**
|
|
703
805
|
* @remarks
|
|
704
|
-
* The network access configuration
|
|
806
|
+
* The network access configuration for the agent. When this object is provided, omitted access items are treated as allowed. The actual accessible scope is still restricted by the network configuration of the workspace. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
|
|
705
807
|
*/
|
|
706
808
|
network?: CreateCustomAgentRequestBodyNetwork;
|
|
707
809
|
/**
|
|
@@ -711,17 +813,17 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
711
813
|
observability?: CreateCustomAgentRequestBodyObservability;
|
|
712
814
|
/**
|
|
713
815
|
* @remarks
|
|
714
|
-
* The
|
|
816
|
+
* The OSS mount list. The total number of items in this list and agenticFsMounts cannot exceed 10. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap with each other. During an update, this list is replaced entirely. Pass an empty array [] to clear the list.
|
|
715
817
|
*/
|
|
716
818
|
ossMounts?: CreateCustomAgentRequestBodyOssMounts[];
|
|
717
819
|
/**
|
|
718
820
|
* @remarks
|
|
719
|
-
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers.
|
|
821
|
+
* The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. During an update, this list is replaced entirely.
|
|
720
822
|
*/
|
|
721
823
|
protocol?: CreateCustomAgentRequestBodyProtocol[];
|
|
722
824
|
/**
|
|
723
825
|
* @remarks
|
|
724
|
-
* The ARN of the RAM role used by the agent to access user cloud resources. The role must have permissions
|
|
826
|
+
* The ARN of the RAM role used by the agent to access user cloud resources. The role must have the required permissions for the accessed cloud resources.
|
|
725
827
|
*
|
|
726
828
|
* This parameter is required.
|
|
727
829
|
*
|
|
@@ -738,7 +840,7 @@ export declare class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
738
840
|
runtime?: CreateCustomAgentRequestBodyRuntime;
|
|
739
841
|
/**
|
|
740
842
|
* @remarks
|
|
741
|
-
*
|
|
843
|
+
* The default value is false if omitted during creation. Explicit true or false settings are supported. The new contract rejects null and invalid types. Existing compatibility endpoints are handled according to migration agreements.
|
|
742
844
|
*
|
|
743
845
|
* @example
|
|
744
846
|
* true
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CreateCustomAgentRequest = exports.CreateCustomAgentRequestBody = exports.CreateCustomAgentRequestBodyRuntime = exports.CreateCustomAgentRequestBodyRuntimeSessionPolicy = exports.CreateCustomAgentRequestBodyRuntimeHpa = exports.CreateCustomAgentRequestBodyRuntimeCompute = exports.CreateCustomAgentRequestBodyProtocol = exports.CreateCustomAgentRequestBodyProtocolPaths = exports.CreateCustomAgentRequestBodyOssMounts = exports.CreateCustomAgentRequestBodyObservability = exports.CreateCustomAgentRequestBodyNetwork = exports.CreateCustomAgentRequestBodyNetworkAccessVpc = exports.CreateCustomAgentRequestBodyNetworkAccessInternet = exports.CreateCustomAgentRequestBodyLogging = exports.CreateCustomAgentRequestBodyLoggingSls = exports.CreateCustomAgentRequestBodyHealthCheck = exports.CreateCustomAgentRequestBodyEnvironment = exports.CreateCustomAgentRequestBodyEnvironmentVariables = exports.CreateCustomAgentRequestBodyArtifact = exports.CreateCustomAgentRequestBodyArtifactContainer = exports.CreateCustomAgentRequestBodyArtifactCode = exports.CreateCustomAgentRequestBodyAgenticFsMounts = void 0;
|
|
36
|
+
exports.CreateCustomAgentRequest = exports.CreateCustomAgentRequestBody = exports.CreateCustomAgentRequestBodyRuntime = exports.CreateCustomAgentRequestBodyRuntimeSessionPolicy = exports.CreateCustomAgentRequestBodyRuntimeHpa = exports.CreateCustomAgentRequestBodyRuntimeCompute = exports.CreateCustomAgentRequestBodyProtocol = exports.CreateCustomAgentRequestBodyProtocolPaths = exports.CreateCustomAgentRequestBodyOssMounts = exports.CreateCustomAgentRequestBodyObservability = exports.CreateCustomAgentRequestBodyNetwork = exports.CreateCustomAgentRequestBodyNetworkAccessVpc = exports.CreateCustomAgentRequestBodyNetworkAccessInternet = exports.CreateCustomAgentRequestBodyLogging = exports.CreateCustomAgentRequestBodyLoggingSls = exports.CreateCustomAgentRequestBodyHealthCheck = exports.CreateCustomAgentRequestBodyEnvironment = exports.CreateCustomAgentRequestBodyEnvironmentVariables = exports.CreateCustomAgentRequestBodyCustomImage = exports.CreateCustomAgentRequestBodyCustomImagePullNetwork = exports.CreateCustomAgentRequestBodyArtifact = exports.CreateCustomAgentRequestBodyArtifactContainer = exports.CreateCustomAgentRequestBodyArtifactCode = exports.CreateCustomAgentRequestBodyAgenticFsMounts = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
|
|
@@ -142,6 +142,61 @@ class CreateCustomAgentRequestBodyArtifact extends $dara.Model {
|
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
exports.CreateCustomAgentRequestBodyArtifact = CreateCustomAgentRequestBodyArtifact;
|
|
145
|
+
class CreateCustomAgentRequestBodyCustomImagePullNetwork extends $dara.Model {
|
|
146
|
+
static names() {
|
|
147
|
+
return {
|
|
148
|
+
securityGroupId: 'securityGroupId',
|
|
149
|
+
type: 'type',
|
|
150
|
+
vSwitchId: 'vSwitchId',
|
|
151
|
+
vpcId: 'vpcId',
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
static types() {
|
|
155
|
+
return {
|
|
156
|
+
securityGroupId: 'string',
|
|
157
|
+
type: 'string',
|
|
158
|
+
vSwitchId: 'string',
|
|
159
|
+
vpcId: 'string',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
validate() {
|
|
163
|
+
super.validate();
|
|
164
|
+
}
|
|
165
|
+
constructor(map) {
|
|
166
|
+
super(map);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
exports.CreateCustomAgentRequestBodyCustomImagePullNetwork = CreateCustomAgentRequestBodyCustomImagePullNetwork;
|
|
170
|
+
class CreateCustomAgentRequestBodyCustomImage extends $dara.Model {
|
|
171
|
+
static names() {
|
|
172
|
+
return {
|
|
173
|
+
image: 'image',
|
|
174
|
+
password: 'password',
|
|
175
|
+
pullNetwork: 'pullNetwork',
|
|
176
|
+
skipTlsVerify: 'skipTlsVerify',
|
|
177
|
+
username: 'username',
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
static types() {
|
|
181
|
+
return {
|
|
182
|
+
image: 'string',
|
|
183
|
+
password: 'string',
|
|
184
|
+
pullNetwork: CreateCustomAgentRequestBodyCustomImagePullNetwork,
|
|
185
|
+
skipTlsVerify: 'boolean',
|
|
186
|
+
username: 'string',
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
validate() {
|
|
190
|
+
if (this.pullNetwork && typeof this.pullNetwork.validate === 'function') {
|
|
191
|
+
this.pullNetwork.validate();
|
|
192
|
+
}
|
|
193
|
+
super.validate();
|
|
194
|
+
}
|
|
195
|
+
constructor(map) {
|
|
196
|
+
super(map);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.CreateCustomAgentRequestBodyCustomImage = CreateCustomAgentRequestBodyCustomImage;
|
|
145
200
|
class CreateCustomAgentRequestBodyEnvironmentVariables extends $dara.Model {
|
|
146
201
|
static names() {
|
|
147
202
|
return {
|
|
@@ -520,6 +575,7 @@ class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
520
575
|
return {
|
|
521
576
|
agenticFsMounts: 'agenticFsMounts',
|
|
522
577
|
artifact: 'artifact',
|
|
578
|
+
customImage: 'customImage',
|
|
523
579
|
description: 'description',
|
|
524
580
|
environment: 'environment',
|
|
525
581
|
healthCheck: 'healthCheck',
|
|
@@ -538,6 +594,7 @@ class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
538
594
|
return {
|
|
539
595
|
agenticFsMounts: { 'type': 'array', 'itemType': CreateCustomAgentRequestBodyAgenticFsMounts },
|
|
540
596
|
artifact: CreateCustomAgentRequestBodyArtifact,
|
|
597
|
+
customImage: CreateCustomAgentRequestBodyCustomImage,
|
|
541
598
|
description: 'string',
|
|
542
599
|
environment: CreateCustomAgentRequestBodyEnvironment,
|
|
543
600
|
healthCheck: CreateCustomAgentRequestBodyHealthCheck,
|
|
@@ -559,6 +616,9 @@ class CreateCustomAgentRequestBody extends $dara.Model {
|
|
|
559
616
|
if (this.artifact && typeof this.artifact.validate === 'function') {
|
|
560
617
|
this.artifact.validate();
|
|
561
618
|
}
|
|
619
|
+
if (this.customImage && typeof this.customImage.validate === 'function') {
|
|
620
|
+
this.customImage.validate();
|
|
621
|
+
}
|
|
562
622
|
if (this.environment && typeof this.environment.validate === 'function') {
|
|
563
623
|
this.environment.validate();
|
|
564
624
|
}
|