alibabacloud-agentrun20250910 5.3.1__py3-none-any.whl → 5.3.3__py3-none-any.whl

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.
@@ -1 +1 @@
1
- __version__ = '5.3.1'
1
+ __version__ = '5.3.3'
@@ -2845,10 +2845,14 @@ class Client(OpenApiClient):
2845
2845
  query = {}
2846
2846
  if not DaraCore.is_null(request.agent_runtime_name):
2847
2847
  query['agentRuntimeName'] = request.agent_runtime_name
2848
+ if not DaraCore.is_null(request.discovery_resource_group_id):
2849
+ query['discoveryResourceGroupId'] = request.discovery_resource_group_id
2848
2850
  if not DaraCore.is_null(request.page_number):
2849
2851
  query['pageNumber'] = request.page_number
2850
2852
  if not DaraCore.is_null(request.page_size):
2851
2853
  query['pageSize'] = request.page_size
2854
+ if not DaraCore.is_null(request.resource_group_id):
2855
+ query['resourceGroupId'] = request.resource_group_id
2852
2856
  if not DaraCore.is_null(request.search_mode):
2853
2857
  query['searchMode'] = request.search_mode
2854
2858
  if not DaraCore.is_null(request.status):
@@ -2883,10 +2887,14 @@ class Client(OpenApiClient):
2883
2887
  query = {}
2884
2888
  if not DaraCore.is_null(request.agent_runtime_name):
2885
2889
  query['agentRuntimeName'] = request.agent_runtime_name
2890
+ if not DaraCore.is_null(request.discovery_resource_group_id):
2891
+ query['discoveryResourceGroupId'] = request.discovery_resource_group_id
2886
2892
  if not DaraCore.is_null(request.page_number):
2887
2893
  query['pageNumber'] = request.page_number
2888
2894
  if not DaraCore.is_null(request.page_size):
2889
2895
  query['pageSize'] = request.page_size
2896
+ if not DaraCore.is_null(request.resource_group_id):
2897
+ query['resourceGroupId'] = request.resource_group_id
2890
2898
  if not DaraCore.is_null(request.search_mode):
2891
2899
  query['searchMode'] = request.search_mode
2892
2900
  if not DaraCore.is_null(request.status):
@@ -27,6 +27,8 @@ from ._browser_streams import BrowserStreams
27
27
  from ._browser_view_port import BrowserViewPort
28
28
  from ._capconfig import CAPConfig
29
29
  from ._cert_config import CertConfig
30
+ from ._change_resource_group_input import ChangeResourceGroupInput
31
+ from ._change_resource_group_output import ChangeResourceGroupOutput
30
32
  from ._code_configuration import CodeConfiguration
31
33
  from ._code_info import CodeInfo
32
34
  from ._code_interpreter import CodeInterpreter
@@ -359,6 +361,8 @@ __all__ = [
359
361
  BrowserViewPort,
360
362
  CAPConfig,
361
363
  CertConfig,
364
+ ChangeResourceGroupInput,
365
+ ChangeResourceGroupOutput,
362
366
  CodeConfiguration,
363
367
  CodeInfo,
364
368
  CodeInterpreter,
@@ -23,13 +23,17 @@ class AgentRuntime(DaraModel):
23
23
  description: str = None,
24
24
  environment_variables: Dict[str, str] = None,
25
25
  execution_role_arn: str = None,
26
+ external_agent_endpoint_url: str = None,
26
27
  health_check_configuration: main_models.HealthCheckConfiguration = None,
27
28
  last_updated_at: str = None,
28
29
  log_configuration: main_models.LogConfiguration = None,
29
30
  memory: int = None,
31
+ nas_config: main_models.NASConfig = None,
30
32
  network_configuration: main_models.NetworkConfiguration = None,
33
+ oss_mount_config: main_models.OSSMountConfig = None,
31
34
  port: int = None,
32
35
  protocol_configuration: main_models.ProtocolConfiguration = None,
36
+ resource_group_id: str = None,
33
37
  session_concurrency_limit_per_instance: int = None,
34
38
  session_idle_timeout_seconds: int = None,
35
39
  status: str = None,
@@ -61,6 +65,8 @@ class AgentRuntime(DaraModel):
61
65
  self.environment_variables = environment_variables
62
66
  # 为智能体运行时提供访问云服务权限的执行角色ARN
63
67
  self.execution_role_arn = execution_role_arn
68
+ # 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
69
+ self.external_agent_endpoint_url = external_agent_endpoint_url
64
70
  # 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
65
71
  self.health_check_configuration = health_check_configuration
66
72
  # 智能体运行时最后一次更新的时间,采用ISO 8601格式
@@ -69,12 +75,17 @@ class AgentRuntime(DaraModel):
69
75
  self.log_configuration = log_configuration
70
76
  # 智能体运行时分配的内存资源,单位为MB
71
77
  self.memory = memory
78
+ # 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
79
+ self.nas_config = nas_config
72
80
  # 智能体运行时的网络配置信息
73
81
  self.network_configuration = network_configuration
82
+ # 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
83
+ self.oss_mount_config = oss_mount_config
74
84
  # 智能体运行时监听的端口号
75
85
  self.port = port
76
86
  # 智能体运行时的通信协议配置
77
87
  self.protocol_configuration = protocol_configuration
88
+ self.resource_group_id = resource_group_id
78
89
  # 每个运行时实例允许的最大并发会话数
79
90
  self.session_concurrency_limit_per_instance = session_concurrency_limit_per_instance
80
91
  # 会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用
@@ -93,8 +104,12 @@ class AgentRuntime(DaraModel):
93
104
  self.health_check_configuration.validate()
94
105
  if self.log_configuration:
95
106
  self.log_configuration.validate()
107
+ if self.nas_config:
108
+ self.nas_config.validate()
96
109
  if self.network_configuration:
97
110
  self.network_configuration.validate()
111
+ if self.oss_mount_config:
112
+ self.oss_mount_config.validate()
98
113
  if self.protocol_configuration:
99
114
  self.protocol_configuration.validate()
100
115
 
@@ -142,6 +157,9 @@ class AgentRuntime(DaraModel):
142
157
  if self.execution_role_arn is not None:
143
158
  result['executionRoleArn'] = self.execution_role_arn
144
159
 
160
+ if self.external_agent_endpoint_url is not None:
161
+ result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
162
+
145
163
  if self.health_check_configuration is not None:
146
164
  result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
147
165
 
@@ -154,15 +172,24 @@ class AgentRuntime(DaraModel):
154
172
  if self.memory is not None:
155
173
  result['memory'] = self.memory
156
174
 
175
+ if self.nas_config is not None:
176
+ result['nasConfig'] = self.nas_config.to_map()
177
+
157
178
  if self.network_configuration is not None:
158
179
  result['networkConfiguration'] = self.network_configuration.to_map()
159
180
 
181
+ if self.oss_mount_config is not None:
182
+ result['ossMountConfig'] = self.oss_mount_config.to_map()
183
+
160
184
  if self.port is not None:
161
185
  result['port'] = self.port
162
186
 
163
187
  if self.protocol_configuration is not None:
164
188
  result['protocolConfiguration'] = self.protocol_configuration.to_map()
165
189
 
190
+ if self.resource_group_id is not None:
191
+ result['resourceGroupId'] = self.resource_group_id
192
+
166
193
  if self.session_concurrency_limit_per_instance is not None:
167
194
  result['sessionConcurrencyLimitPerInstance'] = self.session_concurrency_limit_per_instance
168
195
 
@@ -220,6 +247,9 @@ class AgentRuntime(DaraModel):
220
247
  if m.get('executionRoleArn') is not None:
221
248
  self.execution_role_arn = m.get('executionRoleArn')
222
249
 
250
+ if m.get('externalAgentEndpointUrl') is not None:
251
+ self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
252
+
223
253
  if m.get('healthCheckConfiguration') is not None:
224
254
  temp_model = main_models.HealthCheckConfiguration()
225
255
  self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
@@ -234,10 +264,18 @@ class AgentRuntime(DaraModel):
234
264
  if m.get('memory') is not None:
235
265
  self.memory = m.get('memory')
236
266
 
267
+ if m.get('nasConfig') is not None:
268
+ temp_model = main_models.NASConfig()
269
+ self.nas_config = temp_model.from_map(m.get('nasConfig'))
270
+
237
271
  if m.get('networkConfiguration') is not None:
238
272
  temp_model = main_models.NetworkConfiguration()
239
273
  self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
240
274
 
275
+ if m.get('ossMountConfig') is not None:
276
+ temp_model = main_models.OSSMountConfig()
277
+ self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
278
+
241
279
  if m.get('port') is not None:
242
280
  self.port = m.get('port')
243
281
 
@@ -245,6 +283,9 @@ class AgentRuntime(DaraModel):
245
283
  temp_model = main_models.ProtocolConfiguration()
246
284
  self.protocol_configuration = temp_model.from_map(m.get('protocolConfiguration'))
247
285
 
286
+ if m.get('resourceGroupId') is not None:
287
+ self.resource_group_id = m.get('resourceGroupId')
288
+
248
289
  if m.get('sessionConcurrencyLimitPerInstance') is not None:
249
290
  self.session_concurrency_limit_per_instance = m.get('sessionConcurrencyLimitPerInstance')
250
291
 
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from __future__ import annotations
4
+
5
+ from darabonba.model import DaraModel
6
+
7
+ class ChangeResourceGroupInput(DaraModel):
8
+ def __init__(
9
+ self,
10
+ new_resource_group_id: str = None,
11
+ resource_id: str = None,
12
+ resource_type: str = None,
13
+ ):
14
+ self.new_resource_group_id = new_resource_group_id
15
+ self.resource_id = resource_id
16
+ self.resource_type = resource_type
17
+
18
+ def validate(self):
19
+ pass
20
+
21
+ def to_map(self):
22
+ result = dict()
23
+ _map = super().to_map()
24
+ if _map is not None:
25
+ result = _map
26
+ if self.new_resource_group_id is not None:
27
+ result['newResourceGroupId'] = self.new_resource_group_id
28
+
29
+ if self.resource_id is not None:
30
+ result['resourceId'] = self.resource_id
31
+
32
+ if self.resource_type is not None:
33
+ result['resourceType'] = self.resource_type
34
+
35
+ return result
36
+
37
+ def from_map(self, m: dict = None):
38
+ m = m or dict()
39
+ if m.get('newResourceGroupId') is not None:
40
+ self.new_resource_group_id = m.get('newResourceGroupId')
41
+
42
+ if m.get('resourceId') is not None:
43
+ self.resource_id = m.get('resourceId')
44
+
45
+ if m.get('resourceType') is not None:
46
+ self.resource_type = m.get('resourceType')
47
+
48
+ return self
49
+
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # This file is auto-generated, don't edit it. Thanks.
3
+ from __future__ import annotations
4
+
5
+ from darabonba.model import DaraModel
6
+
7
+ class ChangeResourceGroupOutput(DaraModel):
8
+ def __init__(
9
+ self,
10
+ new_resource_group_id: str = None,
11
+ old_resource_group_id: str = None,
12
+ resource_id: str = None,
13
+ ):
14
+ self.new_resource_group_id = new_resource_group_id
15
+ self.old_resource_group_id = old_resource_group_id
16
+ self.resource_id = resource_id
17
+
18
+ def validate(self):
19
+ pass
20
+
21
+ def to_map(self):
22
+ result = dict()
23
+ _map = super().to_map()
24
+ if _map is not None:
25
+ result = _map
26
+ if self.new_resource_group_id is not None:
27
+ result['newResourceGroupId'] = self.new_resource_group_id
28
+
29
+ if self.old_resource_group_id is not None:
30
+ result['oldResourceGroupId'] = self.old_resource_group_id
31
+
32
+ if self.resource_id is not None:
33
+ result['resourceId'] = self.resource_id
34
+
35
+ return result
36
+
37
+ def from_map(self, m: dict = None):
38
+ m = m or dict()
39
+ if m.get('newResourceGroupId') is not None:
40
+ self.new_resource_group_id = m.get('newResourceGroupId')
41
+
42
+ if m.get('oldResourceGroupId') is not None:
43
+ self.old_resource_group_id = m.get('oldResourceGroupId')
44
+
45
+ if m.get('resourceId') is not None:
46
+ self.resource_id = m.get('resourceId')
47
+
48
+ return self
49
+
@@ -20,12 +20,16 @@ class CreateAgentRuntimeInput(DaraModel):
20
20
  description: str = None,
21
21
  environment_variables: Dict[str, str] = None,
22
22
  execution_role_arn: str = None,
23
+ external_agent_endpoint_url: str = None,
23
24
  health_check_configuration: main_models.HealthCheckConfiguration = None,
24
25
  log_configuration: main_models.LogConfiguration = None,
25
26
  memory: int = None,
27
+ nas_config: main_models.NASConfig = None,
26
28
  network_configuration: main_models.NetworkConfiguration = None,
29
+ oss_mount_config: main_models.OSSMountConfig = None,
27
30
  port: int = None,
28
31
  protocol_configuration: main_models.ProtocolConfiguration = None,
32
+ resource_group_id: str = None,
29
33
  session_concurrency_limit_per_instance: int = None,
30
34
  session_idle_timeout_seconds: int = None,
31
35
  ):
@@ -55,6 +59,8 @@ class CreateAgentRuntimeInput(DaraModel):
55
59
  self.environment_variables = environment_variables
56
60
  # 为智能体运行时提供访问云服务权限的执行角色ARN
57
61
  self.execution_role_arn = execution_role_arn
62
+ # 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
63
+ self.external_agent_endpoint_url = external_agent_endpoint_url
58
64
  # 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
59
65
  self.health_check_configuration = health_check_configuration
60
66
  # SLS(简单日志服务)配置
@@ -63,16 +69,21 @@ class CreateAgentRuntimeInput(DaraModel):
63
69
  #
64
70
  # This parameter is required.
65
71
  self.memory = memory
72
+ # 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
73
+ self.nas_config = nas_config
66
74
  # 智能体运行时的网络配置,包括VPC、安全组等网络访问设置
67
75
  #
68
76
  # This parameter is required.
69
77
  self.network_configuration = network_configuration
78
+ # 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
79
+ self.oss_mount_config = oss_mount_config
70
80
  # 智能体运行时监听的端口号,用于接收外部请求
71
81
  #
72
82
  # This parameter is required.
73
83
  self.port = port
74
84
  # 智能体运行时的通信协议配置,定义运行时如何与外部系统交互
75
85
  self.protocol_configuration = protocol_configuration
86
+ self.resource_group_id = resource_group_id
76
87
  # 每个运行时实例允许的最大并发会话数
77
88
  self.session_concurrency_limit_per_instance = session_concurrency_limit_per_instance
78
89
  # 会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用
@@ -87,8 +98,12 @@ class CreateAgentRuntimeInput(DaraModel):
87
98
  self.health_check_configuration.validate()
88
99
  if self.log_configuration:
89
100
  self.log_configuration.validate()
101
+ if self.nas_config:
102
+ self.nas_config.validate()
90
103
  if self.network_configuration:
91
104
  self.network_configuration.validate()
105
+ if self.oss_mount_config:
106
+ self.oss_mount_config.validate()
92
107
  if self.protocol_configuration:
93
108
  self.protocol_configuration.validate()
94
109
 
@@ -127,6 +142,9 @@ class CreateAgentRuntimeInput(DaraModel):
127
142
  if self.execution_role_arn is not None:
128
143
  result['executionRoleArn'] = self.execution_role_arn
129
144
 
145
+ if self.external_agent_endpoint_url is not None:
146
+ result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
147
+
130
148
  if self.health_check_configuration is not None:
131
149
  result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
132
150
 
@@ -136,15 +154,24 @@ class CreateAgentRuntimeInput(DaraModel):
136
154
  if self.memory is not None:
137
155
  result['memory'] = self.memory
138
156
 
157
+ if self.nas_config is not None:
158
+ result['nasConfig'] = self.nas_config.to_map()
159
+
139
160
  if self.network_configuration is not None:
140
161
  result['networkConfiguration'] = self.network_configuration.to_map()
141
162
 
163
+ if self.oss_mount_config is not None:
164
+ result['ossMountConfig'] = self.oss_mount_config.to_map()
165
+
142
166
  if self.port is not None:
143
167
  result['port'] = self.port
144
168
 
145
169
  if self.protocol_configuration is not None:
146
170
  result['protocolConfiguration'] = self.protocol_configuration.to_map()
147
171
 
172
+ if self.resource_group_id is not None:
173
+ result['resourceGroupId'] = self.resource_group_id
174
+
148
175
  if self.session_concurrency_limit_per_instance is not None:
149
176
  result['sessionConcurrencyLimitPerInstance'] = self.session_concurrency_limit_per_instance
150
177
 
@@ -187,6 +214,9 @@ class CreateAgentRuntimeInput(DaraModel):
187
214
  if m.get('executionRoleArn') is not None:
188
215
  self.execution_role_arn = m.get('executionRoleArn')
189
216
 
217
+ if m.get('externalAgentEndpointUrl') is not None:
218
+ self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
219
+
190
220
  if m.get('healthCheckConfiguration') is not None:
191
221
  temp_model = main_models.HealthCheckConfiguration()
192
222
  self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
@@ -198,10 +228,18 @@ class CreateAgentRuntimeInput(DaraModel):
198
228
  if m.get('memory') is not None:
199
229
  self.memory = m.get('memory')
200
230
 
231
+ if m.get('nasConfig') is not None:
232
+ temp_model = main_models.NASConfig()
233
+ self.nas_config = temp_model.from_map(m.get('nasConfig'))
234
+
201
235
  if m.get('networkConfiguration') is not None:
202
236
  temp_model = main_models.NetworkConfiguration()
203
237
  self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
204
238
 
239
+ if m.get('ossMountConfig') is not None:
240
+ temp_model = main_models.OSSMountConfig()
241
+ self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
242
+
205
243
  if m.get('port') is not None:
206
244
  self.port = m.get('port')
207
245
 
@@ -209,6 +247,9 @@ class CreateAgentRuntimeInput(DaraModel):
209
247
  temp_model = main_models.ProtocolConfiguration()
210
248
  self.protocol_configuration = temp_model.from_map(m.get('protocolConfiguration'))
211
249
 
250
+ if m.get('resourceGroupId') is not None:
251
+ self.resource_group_id = m.get('resourceGroupId')
252
+
212
253
  if m.get('sessionConcurrencyLimitPerInstance') is not None:
213
254
  self.session_concurrency_limit_per_instance = m.get('sessionConcurrencyLimitPerInstance')
214
255
 
@@ -8,17 +8,22 @@ class ListAgentRuntimesRequest(DaraModel):
8
8
  def __init__(
9
9
  self,
10
10
  agent_runtime_name: str = None,
11
+ discovery_resource_group_id: str = None,
11
12
  page_number: int = None,
12
13
  page_size: int = None,
14
+ resource_group_id: str = None,
13
15
  search_mode: str = None,
14
16
  status: str = None,
15
17
  ):
16
18
  # 根据智能体运行时名称进行模糊匹配过滤
17
19
  self.agent_runtime_name = agent_runtime_name
20
+ # 用于服务发现的资源组标识符
21
+ self.discovery_resource_group_id = discovery_resource_group_id
18
22
  # 当前页码,从1开始计数
19
23
  self.page_number = page_number
20
24
  # 每页返回的记录数量
21
25
  self.page_size = page_size
26
+ self.resource_group_id = resource_group_id
22
27
  # 查询模式,支持精确查询和模糊查询
23
28
  self.search_mode = search_mode
24
29
  # 根据状态进行过滤,多个状态用逗号分隔,支持精确匹配
@@ -35,12 +40,18 @@ class ListAgentRuntimesRequest(DaraModel):
35
40
  if self.agent_runtime_name is not None:
36
41
  result['agentRuntimeName'] = self.agent_runtime_name
37
42
 
43
+ if self.discovery_resource_group_id is not None:
44
+ result['discoveryResourceGroupId'] = self.discovery_resource_group_id
45
+
38
46
  if self.page_number is not None:
39
47
  result['pageNumber'] = self.page_number
40
48
 
41
49
  if self.page_size is not None:
42
50
  result['pageSize'] = self.page_size
43
51
 
52
+ if self.resource_group_id is not None:
53
+ result['resourceGroupId'] = self.resource_group_id
54
+
44
55
  if self.search_mode is not None:
45
56
  result['searchMode'] = self.search_mode
46
57
 
@@ -54,12 +65,18 @@ class ListAgentRuntimesRequest(DaraModel):
54
65
  if m.get('agentRuntimeName') is not None:
55
66
  self.agent_runtime_name = m.get('agentRuntimeName')
56
67
 
68
+ if m.get('discoveryResourceGroupId') is not None:
69
+ self.discovery_resource_group_id = m.get('discoveryResourceGroupId')
70
+
57
71
  if m.get('pageNumber') is not None:
58
72
  self.page_number = m.get('pageNumber')
59
73
 
60
74
  if m.get('pageSize') is not None:
61
75
  self.page_size = m.get('pageSize')
62
76
 
77
+ if m.get('resourceGroupId') is not None:
78
+ self.resource_group_id = m.get('resourceGroupId')
79
+
63
80
  if m.get('searchMode') is not None:
64
81
  self.search_mode = m.get('searchMode')
65
82
 
@@ -19,10 +19,13 @@ class UpdateAgentRuntimeInput(DaraModel):
19
19
  description: str = None,
20
20
  environment_variables: Dict[str, str] = None,
21
21
  execution_role_arn: str = None,
22
+ external_agent_endpoint_url: str = None,
22
23
  health_check_configuration: main_models.HealthCheckConfiguration = None,
23
24
  log_configuration: main_models.LogConfiguration = None,
24
25
  memory: int = None,
26
+ nas_config: main_models.NASConfig = None,
25
27
  network_configuration: main_models.NetworkConfiguration = None,
28
+ oss_mount_config: main_models.OSSMountConfig = None,
26
29
  port: int = None,
27
30
  protocol_configuration: main_models.ProtocolConfiguration = None,
28
31
  session_concurrency_limit_per_instance: int = None,
@@ -43,13 +46,19 @@ class UpdateAgentRuntimeInput(DaraModel):
43
46
  self.environment_variables = environment_variables
44
47
  # 为智能体运行时提供访问云服务权限的执行角色ARN
45
48
  self.execution_role_arn = execution_role_arn
49
+ # 外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务
50
+ self.external_agent_endpoint_url = external_agent_endpoint_url
46
51
  # 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
47
52
  self.health_check_configuration = health_check_configuration
48
53
  # SLS(简单日志服务)配置
49
54
  self.log_configuration = log_configuration
50
55
  self.memory = memory
56
+ # 文件存储NAS的配置信息,用于挂载NAS文件系统到智能体运行时
57
+ self.nas_config = nas_config
51
58
  # 智能体运行时的网络配置,包括VPC、安全组等网络访问设置
52
59
  self.network_configuration = network_configuration
60
+ # 对象存储OSS的挂载配置信息,用于挂载OSS存储桶到智能体运行时
61
+ self.oss_mount_config = oss_mount_config
53
62
  self.port = port
54
63
  # 智能体运行时的通信协议配置,定义运行时如何与外部系统交互
55
64
  self.protocol_configuration = protocol_configuration
@@ -67,8 +76,12 @@ class UpdateAgentRuntimeInput(DaraModel):
67
76
  self.health_check_configuration.validate()
68
77
  if self.log_configuration:
69
78
  self.log_configuration.validate()
79
+ if self.nas_config:
80
+ self.nas_config.validate()
70
81
  if self.network_configuration:
71
82
  self.network_configuration.validate()
83
+ if self.oss_mount_config:
84
+ self.oss_mount_config.validate()
72
85
  if self.protocol_configuration:
73
86
  self.protocol_configuration.validate()
74
87
 
@@ -104,6 +117,9 @@ class UpdateAgentRuntimeInput(DaraModel):
104
117
  if self.execution_role_arn is not None:
105
118
  result['executionRoleArn'] = self.execution_role_arn
106
119
 
120
+ if self.external_agent_endpoint_url is not None:
121
+ result['externalAgentEndpointUrl'] = self.external_agent_endpoint_url
122
+
107
123
  if self.health_check_configuration is not None:
108
124
  result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
109
125
 
@@ -113,9 +129,15 @@ class UpdateAgentRuntimeInput(DaraModel):
113
129
  if self.memory is not None:
114
130
  result['memory'] = self.memory
115
131
 
132
+ if self.nas_config is not None:
133
+ result['nasConfig'] = self.nas_config.to_map()
134
+
116
135
  if self.network_configuration is not None:
117
136
  result['networkConfiguration'] = self.network_configuration.to_map()
118
137
 
138
+ if self.oss_mount_config is not None:
139
+ result['ossMountConfig'] = self.oss_mount_config.to_map()
140
+
119
141
  if self.port is not None:
120
142
  result['port'] = self.port
121
143
 
@@ -161,6 +183,9 @@ class UpdateAgentRuntimeInput(DaraModel):
161
183
  if m.get('executionRoleArn') is not None:
162
184
  self.execution_role_arn = m.get('executionRoleArn')
163
185
 
186
+ if m.get('externalAgentEndpointUrl') is not None:
187
+ self.external_agent_endpoint_url = m.get('externalAgentEndpointUrl')
188
+
164
189
  if m.get('healthCheckConfiguration') is not None:
165
190
  temp_model = main_models.HealthCheckConfiguration()
166
191
  self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
@@ -172,10 +197,18 @@ class UpdateAgentRuntimeInput(DaraModel):
172
197
  if m.get('memory') is not None:
173
198
  self.memory = m.get('memory')
174
199
 
200
+ if m.get('nasConfig') is not None:
201
+ temp_model = main_models.NASConfig()
202
+ self.nas_config = temp_model.from_map(m.get('nasConfig'))
203
+
175
204
  if m.get('networkConfiguration') is not None:
176
205
  temp_model = main_models.NetworkConfiguration()
177
206
  self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
178
207
 
208
+ if m.get('ossMountConfig') is not None:
209
+ temp_model = main_models.OSSMountConfig()
210
+ self.oss_mount_config = temp_model.from_map(m.get('ossMountConfig'))
211
+
179
212
  if m.get('port') is not None:
180
213
  self.port = m.get('port')
181
214
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-agentrun20250910
3
- Version: 5.3.1
3
+ Version: 5.3.3
4
4
  Summary: Alibaba Cloud AgentRun (20250910) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -23,7 +23,7 @@ Classifier: Topic :: Software Development
23
23
  Requires-Python: >=3.7
24
24
  Description-Content-Type: text/markdown
25
25
  License-File: LICENSE
26
- Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.1)
26
+ Requires-Dist: alibabacloud-tea-openapi (<1.0.0,>=0.4.3)
27
27
  Requires-Dist: darabonba-core (<2.0.0,>=1.0.0)
28
28
 
29
29
  English | [简体中文](README-CN.md)
@@ -1,9 +1,9 @@
1
- alibabacloud_agentrun20250910/__init__.py,sha256=ExSTYyoZ6YgD3cSI2nNDYj3HSYxssF1rFiDvGxxLXW8,21
2
- alibabacloud_agentrun20250910/client.py,sha256=e7eiJnwVihky1ytfIk-XCVZRo5KXCOrzFJaArTHkAuA,174573
3
- alibabacloud_agentrun20250910/models/__init__.py,sha256=fRnzXzkQRg3PmLFQPVlMtUyKkwFxK8DPwVaSS3f1b5I,28980
1
+ alibabacloud_agentrun20250910/__init__.py,sha256=w9GKnmXTdMdY3QPiLphMV2G0FCnp9iRtjvaOyCHOCXU,21
2
+ alibabacloud_agentrun20250910/client.py,sha256=vkZUSK88pi0o40L-GxtZQvbHgw8tRxWgjyO4aZNAcrE,175131
3
+ alibabacloud_agentrun20250910/models/__init__.py,sha256=Q6IJmsofNIHPwz2Qu_VZ0QZDO4OKl4yuecbhjY61jdY,29177
4
4
  alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py,sha256=ERcrdYR0QD2PcPL84J75TlMAWVy9GHWKZoEiM0vXUPU,1075
5
5
  alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py,sha256=d9dd1zzMWbrKqWNPbRBFSpVm-f3nzR_f5x5hp9oFI0I,1460
6
- alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=moHXc30FAsgeCrHyFYAHbW-IRjzul3TDPNuupLT_tUg,11130
6
+ alibabacloud_agentrun20250910/models/_agent_runtime.py,sha256=DfMFD092Dx_QKfLuwTeJLATMntK527KVPbmUPwLDDSA,13047
7
7
  alibabacloud_agentrun20250910/models/_agent_runtime_endpoint.py,sha256=VlxB16htiN_48WPcEQi807nTDxAzmVpOco3i7llyy_E,4120
8
8
  alibabacloud_agentrun20250910/models/_agent_runtime_endpoint_result.py,sha256=5q6NuKbTswBCuVfFhF0aZjaUe0Hrkvs7AE7qGqSaQ0A,1645
9
9
  alibabacloud_agentrun20250910/models/_agent_runtime_result.py,sha256=-lVQV0KnoWJEmVyWO7QnlsFWpgnLzTmvEf9asdL7l7w,1615
@@ -28,6 +28,8 @@ alibabacloud_agentrun20250910/models/_browser_streams.py,sha256=G0GqzDFW09eQACf7
28
28
  alibabacloud_agentrun20250910/models/_browser_view_port.py,sha256=RHrZdDpuND3UTLIBlXNG3BysmT4E--WnwlTpyPbQvCs,941
29
29
  alibabacloud_agentrun20250910/models/_capconfig.py,sha256=fZRMu3R5KvRtFKJS_WaWMH8zZMBBuXje_Gnk3iVBsAw,1244
30
30
  alibabacloud_agentrun20250910/models/_cert_config.py,sha256=WXG1h7MOADvn8OqvtxrM0Yiksw0UCho_vfZ_LmZaPZA,1537
31
+ alibabacloud_agentrun20250910/models/_change_resource_group_input.py,sha256=bHlpl8dVyn_rb5ZTYM5Q5nBAoym4Tq2TM8g1KPAD_EE,1403
32
+ alibabacloud_agentrun20250910/models/_change_resource_group_output.py,sha256=xj8fUdXmzV1YcHzosWqtfY0heW_5CpkHxaFH7ZPgZqQ,1470
31
33
  alibabacloud_agentrun20250910/models/_code_configuration.py,sha256=gfqrLlNmhP10zYRcR-dCtMUW_kXXf3x-9p-h2kIR3fE,2387
32
34
  alibabacloud_agentrun20250910/models/_code_info.py,sha256=lbjwlXg65H1LNJEWgEHOvHnjPi9qaU9QqnMUu9odVS0,1089
33
35
  alibabacloud_agentrun20250910/models/_code_interpreter.py,sha256=0eNDihIudKYqdVnFnB6bRYf5H2aOW04BxgMP2uLjjNE,4723
@@ -40,7 +42,7 @@ alibabacloud_agentrun20250910/models/_container_configuration.py,sha256=zbERBSh5
40
42
  alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_input.py,sha256=dEyw_HeSPunKarZxqPao1QzZhtjLJkLrlP_UVu7GyjY,2211
41
43
  alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_request.py,sha256=6AAgJhnhdqrB0mCuLWYT62N-YWuoRO5ZqtUm194iC_A,1099
42
44
  alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_response.py,sha256=XDwGoTaBCBgPV3uojhpmPSJekLdew_8wwHcV6IyENjA,1491
43
- alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py,sha256=s05H4WlioLdt1YUYoYV6wW0O9HLMHRuQndlfZIcbJ3I,9569
45
+ alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py,sha256=tMtEdIu0veiZ2xg1EVgIHh9BTrTGtB0on_YW-cdmCX4,11486
44
46
  alibabacloud_agentrun20250910/models/_create_agent_runtime_request.py,sha256=AdHJk1-TbCjFQ6T-Qtsn7sQoBWLNeE9VlCi71pZQj5g,1132
45
47
  alibabacloud_agentrun20250910/models/_create_agent_runtime_response.py,sha256=OFurOl3H-aBZiOXdY2wBQlw7asOJKTlugcVtoRmR_6I,1467
46
48
  alibabacloud_agentrun20250910/models/_create_agent_runtime_version_input.py,sha256=q7iyH2DyzF6t7ce1F9cBohneKdf-a3CFu_r24LnmOKM,809
@@ -156,7 +158,7 @@ alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_response.py,sh
156
158
  alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_result.py,sha256=CFQezgZX5JTCNi-Jd08vzJ6uB3aU6q8ME3BKPbfK9d4,1675
157
159
  alibabacloud_agentrun20250910/models/_list_agent_runtimes_input.py,sha256=C4WA6FPKRsxICp1c8VdFgwWzUPyPFk3DZgEzegS0unI,1705
158
160
  alibabacloud_agentrun20250910/models/_list_agent_runtimes_output.py,sha256=_bK7LIV0axsM1FenWwpM0DFh89cSjUAMwYs6-JgJggw,1887
159
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py,sha256=TiSD9mCSAau3CHGD8HY1xF6MhbULW461xYgVGRKwJQc,2115
161
+ alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py,sha256=smWKF9ipgaunwqVCq1b1VkmBcTI6_5F_VXFVkBfJliY,2878
160
162
  alibabacloud_agentrun20250910/models/_list_agent_runtimes_response.py,sha256=6FAsVFFp1To-XUgKPTxcQjdjJ4UTRGf4Nvsjb5p3GGk,1476
161
163
  alibabacloud_agentrun20250910/models/_list_agent_runtimes_result.py,sha256=gpgqqxd8EcaxQU_8Rcbkf41_CsLsMotXmx9kEQWSYIo,1648
162
164
  alibabacloud_agentrun20250910/models/_list_browser_session_result.py,sha256=l9H1ej5_orsuaScpF8EjinhEyMv3kSFeKYuM6H9gsRU,1539
@@ -281,7 +283,7 @@ alibabacloud_agentrun20250910/models/_trigger_config.py,sha256=CMX6Yl5x-HLobnqP4
281
283
  alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_input.py,sha256=HPR8R2axqxw6GAB1mSMey1OAdhbBKnU8y9zeXHZARUs,2211
282
284
  alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_request.py,sha256=ZSy86DcU33dh67ti8JW817VrGpO7qzhxAdgL-gXa29o,1099
283
285
  alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_response.py,sha256=Sj9rTANIf3JpfNfgZnpBAJnf5lWkSTSs2h4xJ7KtO3g,1491
284
- alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py,sha256=9amKt4ucwFdlEIgLn5Mkcl5oUeEoE12lzHqGYzhaqDc,8423
286
+ alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py,sha256=bb-FBfu8tGRGkbkCOnwhCi7nRrBpdDcalsudN7BuJM4,10027
285
287
  alibabacloud_agentrun20250910/models/_update_agent_runtime_request.py,sha256=91Qx2INQdOCo5zQuFP98r8VSqaf1c34CseJqpummkeY,1069
286
288
  alibabacloud_agentrun20250910/models/_update_agent_runtime_response.py,sha256=5wvKzFxRYMU39g-mz3m3tcBIrBtSjoxlIiZYRKZ0aco,1467
287
289
  alibabacloud_agentrun20250910/models/_update_apig_llmmodel_input.py,sha256=YM6sJMj71vwch1MSfM-tWMNknJ3IEu90vAOoA_ceeM8,2064
@@ -316,8 +318,8 @@ alibabacloud_agentrun20250910/models/_update_tool_output.py,sha256=8Qy6IF4Tv61KC
316
318
  alibabacloud_agentrun20250910/models/_vector_store_config.py,sha256=rvEBQNPeVcXQmBfJHVo2vpQbTR4u9-xerWNUEa2HLMg,2685
317
319
  alibabacloud_agentrun20250910/models/_version_weight.py,sha256=b8Q6LkLBbwREUz5u4gksWiZJOR3KnwvQnmGKZmBRhfE,1035
318
320
  alibabacloud_agentrun20250910/models/_view_port_configuration.py,sha256=9OJd_njOHJISm9XTCXbpPTw78eKbcn0h8NPI_51KqgI,1115
319
- alibabacloud_agentrun20250910-5.3.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
320
- alibabacloud_agentrun20250910-5.3.1.dist-info/METADATA,sha256=PqAYQpB-hgMobKV03psS2BhFPV3WIjx015iEz4a4nTs,2324
321
- alibabacloud_agentrun20250910-5.3.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
322
- alibabacloud_agentrun20250910-5.3.1.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
323
- alibabacloud_agentrun20250910-5.3.1.dist-info/RECORD,,
321
+ alibabacloud_agentrun20250910-5.3.3.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
322
+ alibabacloud_agentrun20250910-5.3.3.dist-info/METADATA,sha256=6i3yRJTRBkUzxOZLb0kCo6AXJwwtPoCkBpfG7spGRRk,2324
323
+ alibabacloud_agentrun20250910-5.3.3.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
324
+ alibabacloud_agentrun20250910-5.3.3.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
325
+ alibabacloud_agentrun20250910-5.3.3.dist-info/RECORD,,