@alicloud/agentcore20260804 1.0.0 → 1.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 +218 -2
- package/dist/client.js +487 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +501 -0
- package/dist/models/CreateManagedAgentRequest.js +452 -0
- package/dist/models/CreateManagedAgentRequest.js.map +1 -0
- package/dist/models/CreateManagedAgentResponse.d.ts +19 -0
- package/dist/models/CreateManagedAgentResponse.js +69 -0
- package/dist/models/CreateManagedAgentResponse.js.map +1 -0
- package/dist/models/CreateManagedAgentResponseBody.d.ts +607 -0
- package/dist/models/CreateManagedAgentResponseBody.js +480 -0
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -0
- package/dist/models/CreateManagedAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateManagedAgentShrinkRequest.js +60 -0
- package/dist/models/CreateManagedAgentShrinkRequest.js.map +1 -0
- package/dist/models/CreateWorkspaceRequest.d.ts +105 -0
- package/dist/models/CreateWorkspaceRequest.js +135 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -0
- package/dist/models/CreateWorkspaceResponse.d.ts +19 -0
- package/dist/models/CreateWorkspaceResponse.js +69 -0
- package/dist/models/CreateWorkspaceResponse.js.map +1 -0
- package/dist/models/CreateWorkspaceResponseBody.d.ts +165 -0
- package/dist/models/CreateWorkspaceResponseBody.js +151 -0
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -0
- package/dist/models/CreateWorkspaceShrinkRequest.d.ts +26 -0
- package/dist/models/CreateWorkspaceShrinkRequest.js +60 -0
- package/dist/models/CreateWorkspaceShrinkRequest.js.map +1 -0
- package/dist/models/DeleteManagedAgentRequest.d.ts +13 -0
- package/dist/models/DeleteManagedAgentRequest.js +54 -0
- package/dist/models/DeleteManagedAgentRequest.js.map +1 -0
- package/dist/models/DeleteManagedAgentResponse.d.ts +19 -0
- package/dist/models/DeleteManagedAgentResponse.js +69 -0
- package/dist/models/DeleteManagedAgentResponse.js.map +1 -0
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +166 -0
- package/dist/models/DeleteManagedAgentResponseBody.js +112 -0
- package/dist/models/DeleteManagedAgentResponseBody.js.map +1 -0
- package/dist/models/DeleteWorkspaceRequest.d.ts +13 -0
- package/dist/models/DeleteWorkspaceRequest.js +54 -0
- package/dist/models/DeleteWorkspaceRequest.js.map +1 -0
- package/dist/models/DeleteWorkspaceResponse.d.ts +19 -0
- package/dist/models/DeleteWorkspaceResponse.js +69 -0
- package/dist/models/DeleteWorkspaceResponse.js.map +1 -0
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +78 -0
- package/dist/models/DeleteWorkspaceResponseBody.js +90 -0
- package/dist/models/DeleteWorkspaceResponseBody.js.map +1 -0
- package/dist/models/GetManagedAgentRequest.d.ts +13 -0
- package/dist/models/GetManagedAgentRequest.js +54 -0
- package/dist/models/GetManagedAgentRequest.js.map +1 -0
- package/dist/models/GetManagedAgentResponse.d.ts +19 -0
- package/dist/models/GetManagedAgentResponse.js +69 -0
- package/dist/models/GetManagedAgentResponse.js.map +1 -0
- package/dist/models/GetManagedAgentResponseBody.d.ts +607 -0
- package/dist/models/GetManagedAgentResponseBody.js +480 -0
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -0
- package/dist/models/GetWorkspaceRequest.d.ts +13 -0
- package/dist/models/GetWorkspaceRequest.js +54 -0
- package/dist/models/GetWorkspaceRequest.js.map +1 -0
- package/dist/models/GetWorkspaceResponse.d.ts +19 -0
- package/dist/models/GetWorkspaceResponse.js +69 -0
- package/dist/models/GetWorkspaceResponse.js.map +1 -0
- package/dist/models/GetWorkspaceResponseBody.d.ts +181 -0
- package/dist/models/GetWorkspaceResponseBody.js +155 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
- package/dist/models/ListManagedAgentsRequest.d.ts +29 -0
- package/dist/models/ListManagedAgentsRequest.js +60 -0
- package/dist/models/ListManagedAgentsRequest.js.map +1 -0
- package/dist/models/ListManagedAgentsResponse.d.ts +19 -0
- package/dist/models/ListManagedAgentsResponse.js +69 -0
- package/dist/models/ListManagedAgentsResponse.js.map +1 -0
- package/dist/models/ListManagedAgentsResponseBody.d.ts +193 -0
- package/dist/models/ListManagedAgentsResponseBody.js +118 -0
- package/dist/models/ListManagedAgentsResponseBody.js.map +1 -0
- package/dist/models/ListWorkspacesRequest.d.ts +37 -0
- package/dist/models/ListWorkspacesRequest.js +62 -0
- package/dist/models/ListWorkspacesRequest.js.map +1 -0
- package/dist/models/ListWorkspacesResponse.d.ts +19 -0
- package/dist/models/ListWorkspacesResponse.js +69 -0
- package/dist/models/ListWorkspacesResponse.js.map +1 -0
- package/dist/models/ListWorkspacesResponseBody.d.ts +201 -0
- package/dist/models/ListWorkspacesResponseBody.js +159 -0
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -0
- package/dist/models/UpdateManagedAgentRequest.d.ts +495 -0
- package/dist/models/UpdateManagedAgentRequest.js +452 -0
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -0
- package/dist/models/UpdateManagedAgentResponse.d.ts +19 -0
- package/dist/models/UpdateManagedAgentResponse.js +69 -0
- package/dist/models/UpdateManagedAgentResponse.js.map +1 -0
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +607 -0
- package/dist/models/UpdateManagedAgentResponseBody.js +480 -0
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateManagedAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateManagedAgentShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelRequest.d.ts +9 -0
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +83 -0
- package/dist/models/UpdateModelResponseBody.js.map +1 -1
- package/dist/models/UpdateModelShrinkRequest.d.ts +7 -0
- package/dist/models/UpdateModelShrinkRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceRequest.d.ts +103 -0
- package/dist/models/UpdateWorkspaceRequest.js +135 -0
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -0
- package/dist/models/UpdateWorkspaceResponse.d.ts +19 -0
- package/dist/models/UpdateWorkspaceResponse.js +69 -0
- package/dist/models/UpdateWorkspaceResponse.js.map +1 -0
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +165 -0
- package/dist/models/UpdateWorkspaceResponseBody.js +151 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -0
- package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateWorkspaceShrinkRequest.js +60 -0
- package/dist/models/UpdateWorkspaceShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +135 -0
- package/dist/models/model.js +277 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +524 -2
- package/src/models/CreateManagedAgentRequest.ts +764 -0
- package/src/models/CreateManagedAgentResponse.ts +40 -0
- package/src/models/CreateManagedAgentResponseBody.ts +898 -0
- package/src/models/CreateManagedAgentShrinkRequest.ts +41 -0
- package/src/models/CreateWorkspaceRequest.ts +168 -0
- package/src/models/CreateWorkspaceResponse.ts +40 -0
- package/src/models/CreateWorkspaceResponseBody.ts +244 -0
- package/src/models/CreateWorkspaceShrinkRequest.ts +41 -0
- package/src/models/DeleteManagedAgentRequest.ts +24 -0
- package/src/models/DeleteManagedAgentResponse.ts +40 -0
- package/src/models/DeleteManagedAgentResponseBody.ts +224 -0
- package/src/models/DeleteWorkspaceRequest.ts +24 -0
- package/src/models/DeleteWorkspaceResponse.ts +40 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +114 -0
- package/src/models/GetManagedAgentRequest.ts +24 -0
- package/src/models/GetManagedAgentResponse.ts +40 -0
- package/src/models/GetManagedAgentResponseBody.ts +898 -0
- package/src/models/GetWorkspaceRequest.ts +24 -0
- package/src/models/GetWorkspaceResponse.ts +40 -0
- package/src/models/GetWorkspaceResponseBody.ts +264 -0
- package/src/models/ListManagedAgentsRequest.ts +44 -0
- package/src/models/ListManagedAgentsResponse.ts +40 -0
- package/src/models/ListManagedAgentsResponseBody.ts +257 -0
- package/src/models/ListWorkspacesRequest.ts +54 -0
- package/src/models/ListWorkspacesResponse.ts +40 -0
- package/src/models/ListWorkspacesResponseBody.ts +288 -0
- package/src/models/UpdateManagedAgentRequest.ts +758 -0
- package/src/models/UpdateManagedAgentResponse.ts +40 -0
- package/src/models/UpdateManagedAgentResponseBody.ts +898 -0
- package/src/models/UpdateManagedAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateModelRequest.ts +9 -0
- package/src/models/UpdateModelResponseBody.ts +83 -0
- package/src/models/UpdateModelShrinkRequest.ts +7 -0
- package/src/models/UpdateWorkspaceRequest.ts +166 -0
- package/src/models/UpdateWorkspaceResponse.ts +40 -0
- package/src/models/UpdateWorkspaceResponseBody.ts +244 -0
- package/src/models/UpdateWorkspaceShrinkRequest.ts +41 -0
- package/src/models/model.ts +135 -0
package/dist/client.d.ts
CHANGED
|
@@ -62,6 +62,24 @@ export default class Client extends OpenApi {
|
|
|
62
62
|
* @returns CreateIdentityProviderResponse
|
|
63
63
|
*/
|
|
64
64
|
createIdentityProvider(workspaceId: string, request: $_model.CreateIdentityProviderRequest): Promise<$_model.CreateIdentityProviderResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Creates a managed agent in a specified workspace.
|
|
67
|
+
*
|
|
68
|
+
* @param tmpReq - CreateManagedAgentRequest
|
|
69
|
+
* @param headers - map
|
|
70
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
71
|
+
* @returns CreateManagedAgentResponse
|
|
72
|
+
*/
|
|
73
|
+
createManagedAgentWithOptions(workspaceId: string, tmpReq: $_model.CreateManagedAgentRequest, headers: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateManagedAgentResponse>;
|
|
76
|
+
/**
|
|
77
|
+
* Creates a managed agent in a specified workspace.
|
|
78
|
+
*
|
|
79
|
+
* @param request - CreateManagedAgentRequest
|
|
80
|
+
* @returns CreateManagedAgentResponse
|
|
81
|
+
*/
|
|
82
|
+
createManagedAgent(workspaceId: string, request: $_model.CreateManagedAgentRequest): Promise<$_model.CreateManagedAgentResponse>;
|
|
65
83
|
/**
|
|
66
84
|
* Creates a model configuration under a specified model connection in a workspace.
|
|
67
85
|
*
|
|
@@ -134,6 +152,30 @@ export default class Client extends OpenApi {
|
|
|
134
152
|
* @returns CreateUserResponse
|
|
135
153
|
*/
|
|
136
154
|
createUser(workspaceId: string, request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
157
|
+
*
|
|
158
|
+
* @remarks
|
|
159
|
+
* ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
160
|
+
*
|
|
161
|
+
* @param tmpReq - CreateWorkspaceRequest
|
|
162
|
+
* @param headers - map
|
|
163
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
164
|
+
* @returns CreateWorkspaceResponse
|
|
165
|
+
*/
|
|
166
|
+
createWorkspaceWithOptions(tmpReq: $_model.CreateWorkspaceRequest, headers: {
|
|
167
|
+
[key: string]: string;
|
|
168
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateWorkspaceResponse>;
|
|
169
|
+
/**
|
|
170
|
+
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
171
|
+
*
|
|
172
|
+
* @remarks
|
|
173
|
+
* ## Operation description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
174
|
+
*
|
|
175
|
+
* @param request - CreateWorkspaceRequest
|
|
176
|
+
* @returns CreateWorkspaceResponse
|
|
177
|
+
*/
|
|
178
|
+
createWorkspace(request: $_model.CreateWorkspaceRequest): Promise<$_model.CreateWorkspaceResponse>;
|
|
137
179
|
/**
|
|
138
180
|
* 调试模型
|
|
139
181
|
*
|
|
@@ -188,6 +230,24 @@ export default class Client extends OpenApi {
|
|
|
188
230
|
* @returns DeleteIdentityProviderResponse
|
|
189
231
|
*/
|
|
190
232
|
deleteIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.DeleteIdentityProviderRequest): Promise<$_model.DeleteIdentityProviderResponse>;
|
|
233
|
+
/**
|
|
234
|
+
* Deletes a specified managed agent.
|
|
235
|
+
*
|
|
236
|
+
* @param request - DeleteManagedAgentRequest
|
|
237
|
+
* @param headers - map
|
|
238
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
239
|
+
* @returns DeleteManagedAgentResponse
|
|
240
|
+
*/
|
|
241
|
+
deleteManagedAgentWithOptions(workspaceId: string, agentId: string, request: $_model.DeleteManagedAgentRequest, headers: {
|
|
242
|
+
[key: string]: string;
|
|
243
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteManagedAgentResponse>;
|
|
244
|
+
/**
|
|
245
|
+
* Deletes a specified managed agent.
|
|
246
|
+
*
|
|
247
|
+
* @param request - DeleteManagedAgentRequest
|
|
248
|
+
* @returns DeleteManagedAgentResponse
|
|
249
|
+
*/
|
|
250
|
+
deleteManagedAgent(workspaceId: string, agentId: string, request: $_model.DeleteManagedAgentRequest): Promise<$_model.DeleteManagedAgentResponse>;
|
|
191
251
|
/**
|
|
192
252
|
* 删除模型
|
|
193
253
|
*
|
|
@@ -260,6 +320,30 @@ export default class Client extends OpenApi {
|
|
|
260
320
|
* @returns DeleteUserResponse
|
|
261
321
|
*/
|
|
262
322
|
deleteUser(workspaceId: string, agentCoreUserId: string, request: $_model.DeleteUserRequest): Promise<$_model.DeleteUserResponse>;
|
|
323
|
+
/**
|
|
324
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
|
|
325
|
+
*
|
|
326
|
+
* @remarks
|
|
327
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
|
|
328
|
+
*
|
|
329
|
+
* @param request - DeleteWorkspaceRequest
|
|
330
|
+
* @param headers - map
|
|
331
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
332
|
+
* @returns DeleteWorkspaceResponse
|
|
333
|
+
*/
|
|
334
|
+
deleteWorkspaceWithOptions(workspaceId: string, request: $_model.DeleteWorkspaceRequest, headers: {
|
|
335
|
+
[key: string]: string;
|
|
336
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWorkspaceResponse>;
|
|
337
|
+
/**
|
|
338
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. When you repeatedly delete a workspace that is in the Deleting or Deleted state, the server handles the request with idempotence semantics.
|
|
339
|
+
*
|
|
340
|
+
* @remarks
|
|
341
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. When you repeatedly delete a workspace that is in the `Deleting` or `Deleted` state, the server handles the request with idempotence semantics.\\n.
|
|
342
|
+
*
|
|
343
|
+
* @param request - DeleteWorkspaceRequest
|
|
344
|
+
* @returns DeleteWorkspaceResponse
|
|
345
|
+
*/
|
|
346
|
+
deleteWorkspace(workspaceId: string, request: $_model.DeleteWorkspaceRequest): Promise<$_model.DeleteWorkspaceResponse>;
|
|
263
347
|
/**
|
|
264
348
|
* 查询凭证
|
|
265
349
|
*
|
|
@@ -296,6 +380,24 @@ export default class Client extends OpenApi {
|
|
|
296
380
|
* @returns GetIdentityProviderResponse
|
|
297
381
|
*/
|
|
298
382
|
getIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.GetIdentityProviderRequest): Promise<$_model.GetIdentityProviderResponse>;
|
|
383
|
+
/**
|
|
384
|
+
* Queries the details of a specified managed agent.
|
|
385
|
+
*
|
|
386
|
+
* @param request - GetManagedAgentRequest
|
|
387
|
+
* @param headers - map
|
|
388
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
389
|
+
* @returns GetManagedAgentResponse
|
|
390
|
+
*/
|
|
391
|
+
getManagedAgentWithOptions(workspaceId: string, agentId: string, request: $_model.GetManagedAgentRequest, headers: {
|
|
392
|
+
[key: string]: string;
|
|
393
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetManagedAgentResponse>;
|
|
394
|
+
/**
|
|
395
|
+
* Queries the details of a specified managed agent.
|
|
396
|
+
*
|
|
397
|
+
* @param request - GetManagedAgentRequest
|
|
398
|
+
* @returns GetManagedAgentResponse
|
|
399
|
+
*/
|
|
400
|
+
getManagedAgent(workspaceId: string, agentId: string, request: $_model.GetManagedAgentRequest): Promise<$_model.GetManagedAgentResponse>;
|
|
299
401
|
/**
|
|
300
402
|
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
301
403
|
*
|
|
@@ -368,6 +470,30 @@ export default class Client extends OpenApi {
|
|
|
368
470
|
* @returns GetUserResponse
|
|
369
471
|
*/
|
|
370
472
|
getUser(workspaceId: string, agentCoreUserId: string, request: $_model.GetUserRequest): Promise<$_model.GetUserResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
|
|
475
|
+
*
|
|
476
|
+
* @remarks
|
|
477
|
+
* ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
|
|
478
|
+
*
|
|
479
|
+
* @param request - GetWorkspaceRequest
|
|
480
|
+
* @param headers - map
|
|
481
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
482
|
+
* @returns GetWorkspaceResponse
|
|
483
|
+
*/
|
|
484
|
+
getWorkspaceWithOptions(workspaceId: string, request: $_model.GetWorkspaceRequest, headers: {
|
|
485
|
+
[key: string]: string;
|
|
486
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkspaceResponse>;
|
|
487
|
+
/**
|
|
488
|
+
* Queries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
|
|
489
|
+
*
|
|
490
|
+
* @remarks
|
|
491
|
+
* ## Operation description\\nQueries workspace details by workspace ID, including lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
|
|
492
|
+
*
|
|
493
|
+
* @param request - GetWorkspaceRequest
|
|
494
|
+
* @returns GetWorkspaceResponse
|
|
495
|
+
*/
|
|
496
|
+
getWorkspace(workspaceId: string, request: $_model.GetWorkspaceRequest): Promise<$_model.GetWorkspaceResponse>;
|
|
371
497
|
/**
|
|
372
498
|
* 查询凭证列表
|
|
373
499
|
*
|
|
@@ -404,6 +530,30 @@ export default class Client extends OpenApi {
|
|
|
404
530
|
* @returns ListIdentityProvidersResponse
|
|
405
531
|
*/
|
|
406
532
|
listIdentityProviders(workspaceId: string, request: $_model.ListIdentityProvidersRequest): Promise<$_model.ListIdentityProvidersResponse>;
|
|
533
|
+
/**
|
|
534
|
+
* Queries the list of managed agents in a specified workspace.
|
|
535
|
+
*
|
|
536
|
+
* @remarks
|
|
537
|
+
* Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
|
|
538
|
+
*
|
|
539
|
+
* @param request - ListManagedAgentsRequest
|
|
540
|
+
* @param headers - map
|
|
541
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
542
|
+
* @returns ListManagedAgentsResponse
|
|
543
|
+
*/
|
|
544
|
+
listManagedAgentsWithOptions(workspaceId: string, request: $_model.ListManagedAgentsRequest, headers: {
|
|
545
|
+
[key: string]: string;
|
|
546
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListManagedAgentsResponse>;
|
|
547
|
+
/**
|
|
548
|
+
* Queries the list of managed agents in a specified workspace.
|
|
549
|
+
*
|
|
550
|
+
* @remarks
|
|
551
|
+
* Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
|
|
552
|
+
*
|
|
553
|
+
* @param request - ListManagedAgentsRequest
|
|
554
|
+
* @returns ListManagedAgentsResponse
|
|
555
|
+
*/
|
|
556
|
+
listManagedAgents(workspaceId: string, request: $_model.ListManagedAgentsRequest): Promise<$_model.ListManagedAgentsResponse>;
|
|
407
557
|
/**
|
|
408
558
|
* 查询模型连接列表
|
|
409
559
|
*
|
|
@@ -512,6 +662,30 @@ export default class Client extends OpenApi {
|
|
|
512
662
|
* @returns ListUsersResponse
|
|
513
663
|
*/
|
|
514
664
|
listUsers(workspaceId: string, request: $_model.ListUsersRequest): Promise<$_model.ListUsersResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
|
|
667
|
+
*
|
|
668
|
+
* @remarks
|
|
669
|
+
* ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
670
|
+
*
|
|
671
|
+
* @param request - ListWorkspacesRequest
|
|
672
|
+
* @param headers - map
|
|
673
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
674
|
+
* @returns ListWorkspacesResponse
|
|
675
|
+
*/
|
|
676
|
+
listWorkspacesWithOptions(request: $_model.ListWorkspacesRequest, headers: {
|
|
677
|
+
[key: string]: string;
|
|
678
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkspacesResponse>;
|
|
679
|
+
/**
|
|
680
|
+
* Queries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
|
|
681
|
+
*
|
|
682
|
+
* @remarks
|
|
683
|
+
* ## Request description\\nQueries workspaces under the current tenant with paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per page, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
684
|
+
*
|
|
685
|
+
* @param request - ListWorkspacesRequest
|
|
686
|
+
* @returns ListWorkspacesResponse
|
|
687
|
+
*/
|
|
688
|
+
listWorkspaces(request: $_model.ListWorkspacesRequest): Promise<$_model.ListWorkspacesResponse>;
|
|
515
689
|
/**
|
|
516
690
|
* 重置用户密码
|
|
517
691
|
*
|
|
@@ -567,7 +741,25 @@ export default class Client extends OpenApi {
|
|
|
567
741
|
*/
|
|
568
742
|
updateIdentityProvider(workspaceId: string, identityProviderType: string, request: $_model.UpdateIdentityProviderRequest): Promise<$_model.UpdateIdentityProviderResponse>;
|
|
569
743
|
/**
|
|
570
|
-
*
|
|
744
|
+
* Updates the configuration of a specified managed agent.
|
|
745
|
+
*
|
|
746
|
+
* @param tmpReq - UpdateManagedAgentRequest
|
|
747
|
+
* @param headers - map
|
|
748
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
749
|
+
* @returns UpdateManagedAgentResponse
|
|
750
|
+
*/
|
|
751
|
+
updateManagedAgentWithOptions(workspaceId: string, agentId: string, tmpReq: $_model.UpdateManagedAgentRequest, headers: {
|
|
752
|
+
[key: string]: string;
|
|
753
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateManagedAgentResponse>;
|
|
754
|
+
/**
|
|
755
|
+
* Updates the configuration of a specified managed agent.
|
|
756
|
+
*
|
|
757
|
+
* @param request - UpdateManagedAgentRequest
|
|
758
|
+
* @returns UpdateManagedAgentResponse
|
|
759
|
+
*/
|
|
760
|
+
updateManagedAgent(workspaceId: string, agentId: string, request: $_model.UpdateManagedAgentRequest): Promise<$_model.UpdateManagedAgentResponse>;
|
|
761
|
+
/**
|
|
762
|
+
* Updates the description of a specified model. Other model configurations cannot be modified through this operation.
|
|
571
763
|
*
|
|
572
764
|
* @param tmpReq - UpdateModelRequest
|
|
573
765
|
* @param headers - map
|
|
@@ -578,7 +770,7 @@ export default class Client extends OpenApi {
|
|
|
578
770
|
[key: string]: string;
|
|
579
771
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateModelResponse>;
|
|
580
772
|
/**
|
|
581
|
-
*
|
|
773
|
+
* Updates the description of a specified model. Other model configurations cannot be modified through this operation.
|
|
582
774
|
*
|
|
583
775
|
* @param request - UpdateModelRequest
|
|
584
776
|
* @returns UpdateModelResponse
|
|
@@ -638,4 +830,28 @@ export default class Client extends OpenApi {
|
|
|
638
830
|
* @returns UpdateUserResponse
|
|
639
831
|
*/
|
|
640
832
|
updateUser(workspaceId: string, agentCoreUserId: string, request: $_model.UpdateUserRequest): Promise<$_model.UpdateUserResponse>;
|
|
833
|
+
/**
|
|
834
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
|
|
835
|
+
*
|
|
836
|
+
* @remarks
|
|
837
|
+
* ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
838
|
+
*
|
|
839
|
+
* @param tmpReq - UpdateWorkspaceRequest
|
|
840
|
+
* @param headers - map
|
|
841
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
842
|
+
* @returns UpdateWorkspaceResponse
|
|
843
|
+
*/
|
|
844
|
+
updateWorkspaceWithOptions(workspaceId: string, tmpReq: $_model.UpdateWorkspaceRequest, headers: {
|
|
845
|
+
[key: string]: string;
|
|
846
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkspaceResponse>;
|
|
847
|
+
/**
|
|
848
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized status can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this operation.
|
|
849
|
+
*
|
|
850
|
+
* @remarks
|
|
851
|
+
* ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` status can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
852
|
+
*
|
|
853
|
+
* @param request - UpdateWorkspaceRequest
|
|
854
|
+
* @returns UpdateWorkspaceResponse
|
|
855
|
+
*/
|
|
856
|
+
updateWorkspace(workspaceId: string, request: $_model.UpdateWorkspaceRequest): Promise<$_model.UpdateWorkspaceResponse>;
|
|
641
857
|
}
|