@alicloud/agentcore20260804 2.0.0 → 2.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.
Files changed (206) hide show
  1. package/dist/client.d.ts +118 -70
  2. package/dist/client.js +178 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
  5. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  6. package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
  7. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  8. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  9. package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
  10. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
  11. package/dist/models/CreateExternalAgentRequest.d.ts +53 -6
  12. package/dist/models/CreateExternalAgentRequest.js +31 -1
  13. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  14. package/dist/models/CreateExternalAgentResponseBody.d.ts +79 -12
  15. package/dist/models/CreateExternalAgentResponseBody.js +37 -1
  16. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  17. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  18. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
  19. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  20. package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
  21. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  22. package/dist/models/CreateManagedAgentRequest.d.ts +89 -17
  23. package/dist/models/CreateManagedAgentRequest.js +31 -1
  24. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  25. package/dist/models/CreateManagedAgentResponseBody.d.ts +116 -24
  26. package/dist/models/CreateManagedAgentResponseBody.js +37 -1
  27. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  28. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  29. package/dist/models/CreateUserRequest.d.ts +4 -4
  30. package/dist/models/CreateUserResponseBody.d.ts +7 -7
  31. package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
  32. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  33. package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
  34. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  35. package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
  36. package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
  37. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  38. package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
  39. package/dist/models/EnableConnectorRequest.d.ts +1 -1
  40. package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
  41. package/dist/models/GetExternalAgentResponseBody.d.ts +79 -10
  42. package/dist/models/GetExternalAgentResponseBody.js +37 -1
  43. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetManagedAgentResponseBody.d.ts +112 -20
  45. package/dist/models/GetManagedAgentResponseBody.js +37 -1
  46. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  47. package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
  48. package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
  49. package/dist/models/GetUserResponseBody.d.ts +15 -9
  50. package/dist/models/GetUserResponseBody.js.map +1 -1
  51. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
  52. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
  54. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
  55. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
  56. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
  57. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
  58. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
  59. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
  60. package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
  61. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  62. package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
  63. package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
  64. package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
  65. package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
  66. package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
  67. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
  68. package/dist/models/ListConnectorsRequest.d.ts +2 -2
  69. package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
  70. package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
  71. package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
  72. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  73. package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
  74. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  75. package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
  76. package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
  77. package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
  78. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
  79. package/dist/models/ListSandboxesRequest.d.ts +6 -3
  80. package/dist/models/ListSandboxesRequest.js.map +1 -1
  81. package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
  82. package/dist/models/ListSandboxesResponseBody.js.map +1 -1
  83. package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
  84. package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
  85. package/dist/models/ListTeamsRequest.d.ts +2 -2
  86. package/dist/models/ListTeamsResponseBody.d.ts +5 -5
  87. package/dist/models/ListUsersRequest.d.ts +12 -0
  88. package/dist/models/ListUsersRequest.js.map +1 -1
  89. package/dist/models/ListUsersResponseBody.d.ts +64 -2
  90. package/dist/models/ListUsersResponseBody.js.map +1 -1
  91. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  92. package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
  93. package/dist/models/UpdateConnectorRequest.d.ts +1 -1
  94. package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
  95. package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
  96. package/dist/models/UpdateExternalAgentRequest.d.ts +53 -4
  97. package/dist/models/UpdateExternalAgentRequest.js +31 -1
  98. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  99. package/dist/models/UpdateExternalAgentResponseBody.d.ts +77 -8
  100. package/dist/models/UpdateExternalAgentResponseBody.js +37 -1
  101. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  102. package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
  103. package/dist/models/UpdateManagedAgentRequest.d.ts +92 -20
  104. package/dist/models/UpdateManagedAgentRequest.js +31 -1
  105. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  106. package/dist/models/UpdateManagedAgentResponseBody.d.ts +121 -29
  107. package/dist/models/UpdateManagedAgentResponseBody.js +37 -1
  108. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  109. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  110. package/dist/models/UpdateUserResponseBody.d.ts +1 -1
  111. package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
  112. package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
  113. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  114. package/dist/models/VerifyConnectorRequest.d.ts +1 -1
  115. package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
  116. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
  117. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
  118. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
  119. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
  120. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
  121. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
  122. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
  123. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
  124. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
  125. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
  126. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
  127. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
  128. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
  129. package/dist/models/model.d.ts +18 -0
  130. package/dist/models/model.js +181 -145
  131. package/dist/models/model.js.map +1 -1
  132. package/package.json +1 -1
  133. package/src/client.ts +188 -70
  134. package/src/models/CreateAgentImchannelRequest.ts +4 -5
  135. package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
  136. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  137. package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
  138. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
  139. package/src/models/CreateExternalAgentRequest.ts +74 -6
  140. package/src/models/CreateExternalAgentResponseBody.ts +106 -12
  141. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  142. package/src/models/CreateIdentityProviderRequest.ts +7 -5
  143. package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
  144. package/src/models/CreateManagedAgentRequest.ts +110 -17
  145. package/src/models/CreateManagedAgentResponseBody.ts +143 -24
  146. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  147. package/src/models/CreateUserRequest.ts +4 -4
  148. package/src/models/CreateUserResponseBody.ts +7 -7
  149. package/src/models/CreateWorkspaceRequest.ts +9 -0
  150. package/src/models/CreateWorkspaceResponseBody.ts +13 -4
  151. package/src/models/DeleteAgentImchannelRequest.ts +1 -1
  152. package/src/models/DisableConnectorResponseBody.ts +2 -2
  153. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  154. package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
  155. package/src/models/EnableConnectorRequest.ts +1 -1
  156. package/src/models/EnableConnectorResponseBody.ts +4 -4
  157. package/src/models/GetExternalAgentResponseBody.ts +106 -10
  158. package/src/models/GetManagedAgentResponseBody.ts +139 -20
  159. package/src/models/GetServiceEndpointResponseBody.ts +8 -12
  160. package/src/models/GetUserResponseBody.ts +15 -9
  161. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
  162. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
  163. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
  164. package/src/models/GetWorkspaceResponseBody.ts +16 -12
  165. package/src/models/ListAgentImchannelsRequest.ts +6 -6
  166. package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
  167. package/src/models/ListAgentTeamsResponseBody.ts +3 -3
  168. package/src/models/ListConnectorModelsRequest.ts +3 -3
  169. package/src/models/ListConnectorModelsResponseBody.ts +7 -9
  170. package/src/models/ListConnectorsRequest.ts +2 -2
  171. package/src/models/ListConnectorsResponseBody.ts +6 -6
  172. package/src/models/ListCredentialsResponseBody.ts +2 -2
  173. package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
  174. package/src/models/ListManagedAgentsResponseBody.ts +3 -9
  175. package/src/models/ListSandboxSessionsRequest.ts +4 -1
  176. package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
  177. package/src/models/ListSandboxesRequest.ts +6 -3
  178. package/src/models/ListSandboxesResponseBody.ts +108 -0
  179. package/src/models/ListServiceEndpointsRequest.ts +1 -1
  180. package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
  181. package/src/models/ListTeamsRequest.ts +2 -2
  182. package/src/models/ListTeamsResponseBody.ts +5 -5
  183. package/src/models/ListUsersRequest.ts +12 -0
  184. package/src/models/ListUsersResponseBody.ts +64 -2
  185. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  186. package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
  187. package/src/models/UpdateConnectorRequest.ts +1 -1
  188. package/src/models/UpdateConnectorResponseBody.ts +3 -3
  189. package/src/models/UpdateCredentialResponseBody.ts +1 -1
  190. package/src/models/UpdateExternalAgentRequest.ts +74 -4
  191. package/src/models/UpdateExternalAgentResponseBody.ts +104 -8
  192. package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
  193. package/src/models/UpdateManagedAgentRequest.ts +113 -20
  194. package/src/models/UpdateManagedAgentResponseBody.ts +148 -29
  195. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  196. package/src/models/UpdateUserResponseBody.ts +1 -1
  197. package/src/models/UpdateWorkspaceRequest.ts +2 -2
  198. package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
  199. package/src/models/VerifyConnectorRequest.ts +1 -1
  200. package/src/models/VerifyConnectorResponseBody.ts +2 -2
  201. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
  202. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
  203. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
  204. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
  205. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
  206. package/src/models/model.ts +18 -0
@@ -21,7 +21,7 @@ export class GetServiceEndpointResponseBodyDataAccessUrls extends $dara.Model {
21
21
  status?: string;
22
22
  /**
23
23
  * @remarks
24
- * The reason for the access URL status. A specific reason is returned when the status is degraded.
24
+ * The reason for the access URL status. A specific reason is returned when the status is abnormal.
25
25
  *
26
26
  * @example
27
27
  * ServiceEndpoint.Provider.Unavailable: no provider for the target type
@@ -65,9 +65,7 @@ export class GetServiceEndpointResponseBodyDataAccessUrls extends $dara.Model {
65
65
  export class GetServiceEndpointResponseBodyDataAuthentication extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The authentication method. Valid values:
69
- * - NONE: no authentication required.
70
- * - API_KEY: authentication by passing an API key through the x-api-key request header.
68
+ * The authentication method. NONE indicates that no authentication is required. API_KEY indicates that an API key is passed through the x-api-key request header for authentication.
71
69
  *
72
70
  * @example
73
71
  * API_KEY
@@ -167,7 +165,7 @@ export class GetServiceEndpointResponseBodyDataTarget extends $dara.Model {
167
165
  export class GetServiceEndpointResponseBodyData extends $dara.Model {
168
166
  /**
169
167
  * @remarks
170
- * The access URL list of the service endpoint.
168
+ * The list of access URLs for the service endpoint.
171
169
  */
172
170
  accessUrls?: GetServiceEndpointResponseBodyDataAccessUrls[];
173
171
  /**
@@ -185,9 +183,7 @@ export class GetServiceEndpointResponseBodyData extends $dara.Model {
185
183
  createdAt?: string;
186
184
  /**
187
185
  * @remarks
188
- * The service endpoint type. Valid values:
189
- * - DEFAULT: a default endpoint created and maintained by the platform.
190
- * - NAMED: a named endpoint explicitly created by the user.
186
+ * The service endpoint type. DEFAULT indicates a default endpoint created and maintained by the platform. NAMED indicates a named endpoint explicitly created by the user.
191
187
  *
192
188
  * @example
193
189
  * NAMED
@@ -195,7 +191,7 @@ export class GetServiceEndpointResponseBodyData extends $dara.Model {
195
191
  endpointType?: string;
196
192
  /**
197
193
  * @remarks
198
- * The service endpoint name. The name is unique within the workspace and is 1 to 128 characters in length.
194
+ * The service endpoint name. The name must be unique within the workspace and can be 1 to 128 characters in length.
199
195
  *
200
196
  * @example
201
197
  * my-agent-endpoint
@@ -203,7 +199,7 @@ export class GetServiceEndpointResponseBodyData extends $dara.Model {
203
199
  name?: string;
204
200
  /**
205
201
  * @remarks
206
- * The region ID where the service endpoint resides.
202
+ * The region ID of the service endpoint.
207
203
  *
208
204
  * @example
209
205
  * cn-hangzhou
@@ -240,7 +236,7 @@ export class GetServiceEndpointResponseBodyData extends $dara.Model {
240
236
  target?: GetServiceEndpointResponseBodyDataTarget;
241
237
  /**
242
238
  * @remarks
243
- * The last modification time in UTC, formatted in RFC 3339.
239
+ * The time of the last modification in UTC, formatted in RFC 3339.
244
240
  *
245
241
  * @example
246
242
  * 2026-08-12T03:04:05Z
@@ -330,7 +326,7 @@ export class GetServiceEndpointResponseBody extends $dara.Model {
330
326
  httpStatusCode?: number;
331
327
  /**
332
328
  * @remarks
333
- * The response message. An error description is returned if the request fails.
329
+ * The response message. An error description is returned when the request fails.
334
330
  *
335
331
  * @example
336
332
  * success
@@ -13,7 +13,7 @@ export class GetUserResponseBodyData extends $dara.Model {
13
13
  agentCoreUserId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The authentication method of the user. password indicates local password authentication in the workspace. dingtalk and feishu indicate that the user is synchronized and authenticated by the corresponding external identity provider.
16
+ * The authentication method of the user. password indicates local password authentication of the workspace. dingtalk and feishu indicate that the user is synchronized and authenticated by the corresponding external identity provider.
17
17
  *
18
18
  * @example
19
19
  * password
@@ -29,15 +29,15 @@ export class GetUserResponseBodyData extends $dara.Model {
29
29
  createdAt?: string;
30
30
  /**
31
31
  * @remarks
32
- * The display name of the user. The display name must be 1 to 32 characters in length.
32
+ * The display name of the user. The name is 1 to 32 characters in length.
33
33
  *
34
34
  * @example
35
- * John Smith
35
+ * John Doe
36
36
  */
37
37
  displayName?: string;
38
38
  /**
39
39
  * @remarks
40
- * The email address of the user. The email address can be up to 256 characters in length.
40
+ * The email address of the user. The address can be up to 256 characters in length.
41
41
  *
42
42
  * @example
43
43
  * user-01@example.com
@@ -45,7 +45,7 @@ export class GetUserResponseBodyData extends $dara.Model {
45
45
  email?: string;
46
46
  /**
47
47
  * @remarks
48
- * The username. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The username must be 1 to 32 characters in length.
48
+ * The username. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens (-). It must start and end with a lowercase letter or digit. The username is 1 to 32 characters in length.
49
49
  *
50
50
  * @example
51
51
  * user-01
@@ -53,10 +53,10 @@ export class GetUserResponseBodyData extends $dara.Model {
53
53
  name?: string;
54
54
  /**
55
55
  * @remarks
56
- * The remarks of the user. The remarks can be up to 1024 characters in length.
56
+ * The remarks of the user. The remarks can be up to 1,024 characters in length.
57
57
  *
58
58
  * @example
59
- * Agent operations team member
59
+ * Member of the agent operations team
60
60
  */
61
61
  note?: string;
62
62
  /**
@@ -69,7 +69,13 @@ export class GetUserResponseBodyData extends $dara.Model {
69
69
  regionId?: string;
70
70
  /**
71
71
  * @remarks
72
- * The user status. Valid values: Creating, Active, Updating, Deleting, Failed, DeleteFailed.
72
+ * The user status. Valid values:
73
+ * - Creating
74
+ * - Active
75
+ * - Updating
76
+ * - Deleting
77
+ * - Failed
78
+ * - DeleteFailed
73
79
  *
74
80
  * @example
75
81
  * Active
@@ -77,7 +83,7 @@ export class GetUserResponseBodyData extends $dara.Model {
77
83
  status?: string;
78
84
  /**
79
85
  * @remarks
80
- * The last modification time in UTC, formatted in RFC 3339.
86
+ * The time of the last modification in UTC, formatted in RFC 3339.
81
87
  *
82
88
  * @example
83
89
  * 2026-08-12T03:04:05Z
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetWorkspaceAcrRamAuthorizeUrlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ACR Enterprise instance ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * cri-1234567890abcdef
14
+ */
15
+ acrInstanceId?: string;
16
+ /**
17
+ * @remarks
18
+ * The target ACR namespace, which corresponds to Agent artifact.container.namespace. This is not a Kubernetes namespace. Together with the instance and repository, this parameter determines the authorization scope.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * example
24
+ */
25
+ namespace?: string;
26
+ /**
27
+ * @remarks
28
+ * The target repository name, which corresponds to Agent artifact.container.repo. Do not include a tag, namespace, or path separator. Wildcards are not accepted.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * agent-image
34
+ */
35
+ repository?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ acrInstanceId: 'acrInstanceId',
39
+ namespace: 'namespace',
40
+ repository: 'repository',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ acrInstanceId: 'string',
47
+ namespace: 'string',
48
+ repository: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetWorkspaceAcrRamAuthorizeUrlResponseBody } from "./GetWorkspaceAcrRamAuthorizeUrlResponseBody";
4
+
5
+
6
+ export class GetWorkspaceAcrRamAuthorizeUrlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetWorkspaceAcrRamAuthorizeUrlResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetWorkspaceAcrRamAuthorizeUrlResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,154 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetWorkspaceAcrRamAuthorizeUrlResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ACR Enterprise instance ID.
9
+ *
10
+ * @example
11
+ * cri-1234567890abcdef
12
+ */
13
+ acrInstanceId?: string;
14
+ /**
15
+ * @remarks
16
+ * The RAM authorization URL used to create or append ACR permissions for the shared role on the target repository.
17
+ *
18
+ * @example
19
+ * https://ram.console.aliyun.com/authorize?request=%7B%22referrer%22%3A%22AgentCore%22%2C%22payloads%22%3A%5B%7B%22missionId%22%3A%22AgentCore.CustomRoleForOSSObjectRestore%22%2C%22roleName%22%3A%22AliyunAgentCoreWorkspace-ws-1234567890abcdef12345%22%2C%22rolePolicies%22%3A%5B%7B%22policyName%22%3A%22AgentCoreAcrPull-63373f3802583663d49465d8061e410a899d8f2936b8fc0cb9ec905b71f273c6%22%2C%22policyType%22%3A%22Custom%22%2C%22templateId%22%3A%22CrPullInstanceImage%22%2C%22templateValue%22%3A%7B%22crInstance%22%3A%22acs%3Acr%3Acn-hangzhou%3A1234567890123456%3Ainstance%2Fcri-1234567890abcdef%22%2C%22crRepository%22%3A%22acs%3Acr%3Acn-hangzhou%3A1234567890123456%3Arepository%2Fcri-1234567890abcdef%2Fexample%2Fagent-image%22%7D%7D%5D%7D%5D%7D
20
+ */
21
+ authorizeUrl?: string;
22
+ /**
23
+ * @remarks
24
+ * The shared role name selected by the backend. This value is not editable on the frontend.
25
+ *
26
+ * @example
27
+ * AliyunAgentCoreWorkspace-ws-1234567890abcdef12345
28
+ */
29
+ roleName?: string;
30
+ /**
31
+ * @remarks
32
+ * The source of the shared role. This value does not indicate that authorization is complete.
33
+ *
34
+ * @example
35
+ * WORKSPACE_SHARED
36
+ */
37
+ roleSource?: string;
38
+ /**
39
+ * @remarks
40
+ * The workspace ID.
41
+ *
42
+ * @example
43
+ * ws-1234567890abcdef12345
44
+ */
45
+ workspaceId?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ acrInstanceId: 'acrInstanceId',
49
+ authorizeUrl: 'authorizeUrl',
50
+ roleName: 'roleName',
51
+ roleSource: 'roleSource',
52
+ workspaceId: 'workspaceId',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ acrInstanceId: 'string',
59
+ authorizeUrl: 'string',
60
+ roleName: 'string',
61
+ roleSource: 'string',
62
+ workspaceId: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
75
+ export class GetWorkspaceAcrRamAuthorizeUrlResponseBody extends $dara.Model {
76
+ /**
77
+ * @remarks
78
+ * The business status code.
79
+ *
80
+ * @example
81
+ * SUCCESS
82
+ */
83
+ code?: string;
84
+ /**
85
+ * @remarks
86
+ * The response data.
87
+ */
88
+ data?: GetWorkspaceAcrRamAuthorizeUrlResponseBodyData;
89
+ /**
90
+ * @remarks
91
+ * The HTTP status code.
92
+ *
93
+ * @example
94
+ * 200
95
+ */
96
+ httpStatusCode?: number;
97
+ /**
98
+ * @remarks
99
+ * The response message.
100
+ *
101
+ * @example
102
+ * success
103
+ */
104
+ message?: string;
105
+ /**
106
+ * @remarks
107
+ * The request ID.
108
+ *
109
+ * @example
110
+ * 12345678-1234-1234-1234-123456789012
111
+ */
112
+ requestId?: string;
113
+ /**
114
+ * @remarks
115
+ * Indicates whether the request was successful.
116
+ *
117
+ * @example
118
+ * true
119
+ */
120
+ success?: boolean;
121
+ static names(): { [key: string]: string } {
122
+ return {
123
+ code: 'code',
124
+ data: 'data',
125
+ httpStatusCode: 'httpStatusCode',
126
+ message: 'message',
127
+ requestId: 'requestId',
128
+ success: 'success',
129
+ };
130
+ }
131
+
132
+ static types(): { [key: string]: any } {
133
+ return {
134
+ code: 'string',
135
+ data: GetWorkspaceAcrRamAuthorizeUrlResponseBodyData,
136
+ httpStatusCode: 'number',
137
+ message: 'string',
138
+ requestId: 'string',
139
+ success: 'boolean',
140
+ };
141
+ }
142
+
143
+ validate() {
144
+ if(this.data && typeof (this.data as any).validate === 'function') {
145
+ (this.data as any).validate();
146
+ }
147
+ super.validate();
148
+ }
149
+
150
+ constructor(map?: { [key: string]: any }) {
151
+ super(map);
152
+ }
153
+ }
154
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Indicates whether VPC networking is enabled.
8
+ * Indicates whether the VPC network is enabled.
9
9
  *
10
10
  * @example
11
11
  * true
@@ -18,7 +18,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.M
18
18
  vSwitchIds?: string[];
19
19
  /**
20
20
  * @remarks
21
- * The ID of the user VPC.
21
+ * The user VPC ID.
22
22
  *
23
23
  * @example
24
24
  * vpc-bp1234567890
@@ -55,7 +55,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfigurationVpc extends $dara.M
55
55
  export class GetWorkspaceResponseBodyDataNetworkConfiguration extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The public egress IP address allocated to the workspace. You can use this IP address to configure IP address whitelists for external services. This field is returned only when the public egress resource is attached and an address is allocated. The field is empty if no address is allocated, the attachment is failed, or the address is being released. This address is independent of whether VPC networking is active.
58
+ * The public egress IP address of the workspace.
59
59
  *
60
60
  * @example
61
61
  * 203.0.113.10
@@ -63,7 +63,7 @@ export class GetWorkspaceResponseBodyDataNetworkConfiguration extends $dara.Mode
63
63
  publicEgressIp?: string;
64
64
  /**
65
65
  * @remarks
66
- * The VPC network configuration of the user.
66
+ * The user VPC network configuration.
67
67
  */
68
68
  vpc?: GetWorkspaceResponseBodyDataNetworkConfigurationVpc;
69
69
  static names(): { [key: string]: string } {
@@ -96,11 +96,17 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
98
  * The OSS storage authorization status.
99
+ *
100
+ * @example
101
+ * AUTHORIZED
99
102
  */
100
103
  authorizationStatus?: string;
101
104
  /**
102
105
  * @remarks
103
106
  * The name of the private OSS bucket.
107
+ *
108
+ * @example
109
+ * bucket-001
104
110
  */
105
111
  bucketName?: string;
106
112
  /**
@@ -121,7 +127,7 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
121
127
  name?: string;
122
128
  /**
123
129
  * @remarks
124
- * The network configuration of the workspace.
130
+ * The workspace network configuration.
125
131
  */
126
132
  networkConfiguration?: GetWorkspaceResponseBodyDataNetworkConfiguration;
127
133
  /**
@@ -134,12 +140,7 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
134
140
  regionId?: string;
135
141
  /**
136
142
  * @remarks
137
- * The workspace status. Valid values:
138
- * - Initializing
139
- * - InitializationFailed
140
- * - Initialized
141
- * - Deleting
142
- * - Deleted
143
+ * The workspace status. Valid values: Initializing, InitializationFailed, Initialized, Deleting, and Deleted.
143
144
  *
144
145
  * @example
145
146
  * Initialized
@@ -155,7 +156,10 @@ export class GetWorkspaceResponseBodyData extends $dara.Model {
155
156
  statusReason?: string;
156
157
  /**
157
158
  * @remarks
158
- * The storage type of the workspace.
159
+ * The workspace storage type.
160
+ *
161
+ * @example
162
+ * PRIVATE
159
163
  */
160
164
  storageType?: string;
161
165
  /**
@@ -33,12 +33,12 @@ export class ListAgentIMChannelsRequest extends $dara.Model {
33
33
  /**
34
34
  * @remarks
35
35
  * The IM channel status. Valid values:
36
- * - CREATING: being created.
37
- * - READY: ready.
38
- * - UPDATING: being updated.
39
- * - FAILED: failed.
40
- * - DELETING: being deleted.
41
- * - DELETE_FAILED: deletion failed.
36
+ * - CREATING: The channel is being created.
37
+ * - READY: The channel is ready.
38
+ * - UPDATING: The channel is being updated.
39
+ * - FAILED: The channel creation or update failed.
40
+ * - DELETING: The channel is being deleted.
41
+ * - DELETE_FAILED: The channel deletion failed.
42
42
  *
43
43
  * @example
44
44
  * READY
@@ -111,7 +111,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
111
111
  createTime?: string;
112
112
  /**
113
113
  * @remarks
114
- * The channel credential summary. Only non-sensitive fields and configured secret field names are returned. Secret values are not returned.
114
+ * The channel credential summary. Only non-sensitive fields and the names of configured secret fields are returned. Secret values are not returned.
115
115
  */
116
116
  credentialSummary?: ListAgentIMChannelsResponseBodyItemsCredentialSummary;
117
117
  /**
@@ -137,7 +137,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
137
137
  imChannelId?: string;
138
138
  /**
139
139
  * @remarks
140
- * The ID of the bound ServiceEndpoint. The endpoint must belong to the specified agent and its current version, be in the ready state, and have a public network address.
140
+ * The ID of the bound ServiceEndpoint. The endpoint must belong to the specified agent and its current version, be in the ready state, and have a public access URL.
141
141
  *
142
142
  * @example
143
143
  * se-1
@@ -146,12 +146,12 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
146
146
  /**
147
147
  * @remarks
148
148
  * The IM channel status. Valid values:
149
- * - CREATING: being created.
150
- * - READY: ready.
151
- * - UPDATING: being updated.
152
- * - FAILED: failed.
153
- * - DELETING: being deleted.
154
- * - DELETE_FAILED: deletion failed.
149
+ * - CREATING: The channel is being created.
150
+ * - READY: The channel is ready.
151
+ * - UPDATING: The channel is being updated.
152
+ * - FAILED: The channel creation or update failed.
153
+ * - DELETING: The channel is being deleted.
154
+ * - DELETE_FAILED: The channel deletion failed.
155
155
  *
156
156
  * @example
157
157
  * READY
@@ -235,7 +235,7 @@ export class ListAgentIMChannelsResponseBodyItems extends $dara.Model {
235
235
  export class ListAgentIMChannelsResponseBody extends $dara.Model {
236
236
  /**
237
237
  * @remarks
238
- * The business status code. A value of SUCCESS indicates success.
238
+ * The business status code. The value SUCCESS indicates a successful request.
239
239
  *
240
240
  * @example
241
241
  * SUCCESS
@@ -243,7 +243,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
243
243
  code?: string;
244
244
  /**
245
245
  * @remarks
246
- * The HTTP status code. A value of 200 indicates success.
246
+ * The HTTP status code. The value 200 indicates a successful request.
247
247
  *
248
248
  * @example
249
249
  * 200
@@ -251,7 +251,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
251
251
  httpStatusCode?: number;
252
252
  /**
253
253
  * @remarks
254
- * The IM channel list.
254
+ * The list of IM channels.
255
255
  */
256
256
  items?: ListAgentIMChannelsResponseBodyItems[];
257
257
  /**
@@ -264,7 +264,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
264
264
  maxResults?: number;
265
265
  /**
266
266
  * @remarks
267
- * The message returned for the request.
267
+ * The request processing result message.
268
268
  *
269
269
  * @example
270
270
  * success
@@ -293,7 +293,7 @@ export class ListAgentIMChannelsResponseBody extends $dara.Model {
293
293
  success?: boolean;
294
294
  /**
295
295
  * @remarks
296
- * The total number of records that match the query conditions.
296
+ * The total number of records that match the specified conditions.
297
297
  *
298
298
  * @example
299
299
  * 100
@@ -94,7 +94,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
94
94
  maxResults?: number;
95
95
  /**
96
96
  * @remarks
97
- * The response message. An error description is returned if the request fails.
97
+ * The response message. An error description is returned if the request failed.
98
98
  *
99
99
  * @example
100
100
  * success
@@ -102,7 +102,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
102
102
  message?: string;
103
103
  /**
104
104
  * @remarks
105
- * The cursor used to retrieve the next page. An empty value indicates that no more data is available.
105
+ * The cursor used to retrieve the next page. An empty value indicates that no more data exists.
106
106
  *
107
107
  * @example
108
108
  * dXNlci1vZmZzZXQ6MTA
@@ -123,7 +123,7 @@ export class ListAgentTeamsResponseBody extends $dara.Model {
123
123
  success?: boolean;
124
124
  /**
125
125
  * @remarks
126
- * The total number of records that match the conditions.
126
+ * The total number of records that match the specified conditions.
127
127
  *
128
128
  * @example
129
129
  * 5
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListConnectorModelsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of a service account key. This parameter is required when multiple keys exist. You can leave this parameter empty if only one key exists.
8
+ * The Connector Key ID. This parameter is not supported in the current version.
9
9
  *
10
10
  * @example
11
11
  * ckey-xxxx
@@ -13,7 +13,7 @@ export class ListConnectorModelsRequest extends $dara.Model {
13
13
  connectorKeyId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The number of entries per page.
16
+ * The page size. This parameter is not supported in the current version.
17
17
  *
18
18
  * @example
19
19
  * 10
@@ -21,7 +21,7 @@ export class ListConnectorModelsRequest extends $dara.Model {
21
21
  maxResults?: number;
22
22
  /**
23
23
  * @remarks
24
- * The pagination token for the next page.
24
+ * The next page token. This parameter is not supported in the current version.
25
25
  *
26
26
  * @example
27
27
  * dGVzdA==