alibabacloud-agentrun20250910 4.0.0__tar.gz → 4.0.2__tar.gz

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 (17) hide show
  1. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/ChangeLog.md +11 -0
  2. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/PKG-INFO +1 -1
  3. alibabacloud_agentrun20250910-4.0.2/alibabacloud_agentrun20250910/__init__.py +1 -0
  4. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910/client.py +4 -0
  5. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910/models.py +41 -8
  6. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/setup.py +1 -1
  8. alibabacloud_agentrun20250910-4.0.0/alibabacloud_agentrun20250910/__init__.py +0 -1
  9. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/LICENSE +0 -0
  10. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/MANIFEST.in +0 -0
  11. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/README-CN.md +0 -0
  12. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/README.md +0 -0
  13. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/requires.txt +0 -0
  16. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/top_level.txt +0 -0
  17. {alibabacloud_agentrun20250910-4.0.0 → alibabacloud_agentrun20250910-4.0.2}/setup.cfg +0 -0
@@ -1,3 +1,14 @@
1
+ 2025-11-27 Version: 4.0.1
2
+ - Update API ListAgentRuntimes: add request parameters status.
3
+
4
+
5
+ 2025-11-24 Version: 4.0.0
6
+ - Support API DeleteSandbox.
7
+ - Update API ListTemplates: add request parameters status.
8
+ - Update API ListTemplates: add request parameters templateName.
9
+ - Update API StopSandbox: update response parameters Body' ref has changed.
10
+
11
+
1
12
  2025-11-20 Version: 3.1.0
2
13
  - Support API ActivateTemplateMCP.
3
14
  - Support API CreateCredential.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_agentrun20250910
3
- Version: 4.0.0
3
+ Version: 4.0.2
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
@@ -3835,6 +3835,8 @@ class Client(OpenApiClient):
3835
3835
  query['pageSize'] = request.page_size
3836
3836
  if not UtilClient.is_unset(request.search_mode):
3837
3837
  query['searchMode'] = request.search_mode
3838
+ if not UtilClient.is_unset(request.status):
3839
+ query['status'] = request.status
3838
3840
  req = open_api_models.OpenApiRequest(
3839
3841
  headers=headers,
3840
3842
  query=OpenApiUtilClient.query(query)
@@ -3881,6 +3883,8 @@ class Client(OpenApiClient):
3881
3883
  query['pageSize'] = request.page_size
3882
3884
  if not UtilClient.is_unset(request.search_mode):
3883
3885
  query['searchMode'] = request.search_mode
3886
+ if not UtilClient.is_unset(request.status):
3887
+ query['status'] = request.status
3884
3888
  req = open_api_models.OpenApiRequest(
3885
3889
  headers=headers,
3886
3890
  query=OpenApiUtilClient.query(query)
@@ -68,12 +68,18 @@ class CodeConfiguration(TeaModel):
68
68
  class ContainerConfiguration(TeaModel):
69
69
  def __init__(
70
70
  self,
71
+ acr_instance_id: str = None,
71
72
  command: List[str] = None,
72
73
  image: str = None,
74
+ image_registry_type: str = None,
73
75
  ):
76
+ # 阿里云容器镜像服务(ACR)的实例ID或名称
77
+ self.acr_instance_id = acr_instance_id
74
78
  # 在容器中运行的命令(例如:[\"python3\", \"app.py\"])
75
79
  self.command = command
76
80
  self.image = image
81
+ # 容器镜像的来源类型,支持ACR(阿里云容器镜像服务)、ACREE(阿里云容器镜像服务企业版)、CUSTOM(自定义镜像仓库)
82
+ self.image_registry_type = image_registry_type
77
83
 
78
84
  def validate(self):
79
85
  pass
@@ -84,18 +90,26 @@ class ContainerConfiguration(TeaModel):
84
90
  return _map
85
91
 
86
92
  result = dict()
93
+ if self.acr_instance_id is not None:
94
+ result['acrInstanceId'] = self.acr_instance_id
87
95
  if self.command is not None:
88
96
  result['command'] = self.command
89
97
  if self.image is not None:
90
98
  result['image'] = self.image
99
+ if self.image_registry_type is not None:
100
+ result['imageRegistryType'] = self.image_registry_type
91
101
  return result
92
102
 
93
103
  def from_map(self, m: dict = None):
94
104
  m = m or dict()
105
+ if m.get('acrInstanceId') is not None:
106
+ self.acr_instance_id = m.get('acrInstanceId')
95
107
  if m.get('command') is not None:
96
108
  self.command = m.get('command')
97
109
  if m.get('image') is not None:
98
110
  self.image = m.get('image')
111
+ if m.get('imageRegistryType') is not None:
112
+ self.image_registry_type = m.get('imageRegistryType')
99
113
  return self
100
114
 
101
115
 
@@ -4207,6 +4221,7 @@ class OssConfiguration(TeaModel):
4207
4221
  mount_point: str = None,
4208
4222
  permission: str = None,
4209
4223
  prefix: str = None,
4224
+ region: str = None,
4210
4225
  ):
4211
4226
  # This parameter is required.
4212
4227
  self.bucket_name = bucket_name
@@ -4215,6 +4230,7 @@ class OssConfiguration(TeaModel):
4215
4230
  self.permission = permission
4216
4231
  # This parameter is required.
4217
4232
  self.prefix = prefix
4233
+ self.region = region
4218
4234
 
4219
4235
  def validate(self):
4220
4236
  pass
@@ -4233,6 +4249,8 @@ class OssConfiguration(TeaModel):
4233
4249
  result['permission'] = self.permission
4234
4250
  if self.prefix is not None:
4235
4251
  result['prefix'] = self.prefix
4252
+ if self.region is not None:
4253
+ result['region'] = self.region
4236
4254
  return result
4237
4255
 
4238
4256
  def from_map(self, m: dict = None):
@@ -4245,6 +4263,8 @@ class OssConfiguration(TeaModel):
4245
4263
  self.permission = m.get('permission')
4246
4264
  if m.get('prefix') is not None:
4247
4265
  self.prefix = m.get('prefix')
4266
+ if m.get('region') is not None:
4267
+ self.region = m.get('region')
4248
4268
  return self
4249
4269
 
4250
4270
 
@@ -5165,8 +5185,8 @@ class ModelService(TeaModel):
5165
5185
  credential_name: str = None,
5166
5186
  description: str = None,
5167
5187
  last_updated_at: str = None,
5168
- mode_service_id: str = None,
5169
5188
  model_info_configs: List[ModelInfoConfig] = None,
5189
+ model_service_id: str = None,
5170
5190
  model_service_name: str = None,
5171
5191
  model_type: str = None,
5172
5192
  network_configuration: NetworkConfiguration = None,
@@ -5179,8 +5199,8 @@ class ModelService(TeaModel):
5179
5199
  self.credential_name = credential_name
5180
5200
  self.description = description
5181
5201
  self.last_updated_at = last_updated_at
5182
- self.mode_service_id = mode_service_id
5183
5202
  self.model_info_configs = model_info_configs
5203
+ self.model_service_id = model_service_id
5184
5204
  self.model_service_name = model_service_name
5185
5205
  self.model_type = model_type
5186
5206
  self.network_configuration = network_configuration
@@ -5213,12 +5233,12 @@ class ModelService(TeaModel):
5213
5233
  result['description'] = self.description
5214
5234
  if self.last_updated_at is not None:
5215
5235
  result['lastUpdatedAt'] = self.last_updated_at
5216
- if self.mode_service_id is not None:
5217
- result['modeServiceId'] = self.mode_service_id
5218
5236
  result['modelInfoConfigs'] = []
5219
5237
  if self.model_info_configs is not None:
5220
5238
  for k in self.model_info_configs:
5221
5239
  result['modelInfoConfigs'].append(k.to_map() if k else None)
5240
+ if self.model_service_id is not None:
5241
+ result['modelServiceId'] = self.model_service_id
5222
5242
  if self.model_service_name is not None:
5223
5243
  result['modelServiceName'] = self.model_service_name
5224
5244
  if self.model_type is not None:
@@ -5245,13 +5265,13 @@ class ModelService(TeaModel):
5245
5265
  self.description = m.get('description')
5246
5266
  if m.get('lastUpdatedAt') is not None:
5247
5267
  self.last_updated_at = m.get('lastUpdatedAt')
5248
- if m.get('modeServiceId') is not None:
5249
- self.mode_service_id = m.get('modeServiceId')
5250
5268
  self.model_info_configs = []
5251
5269
  if m.get('modelInfoConfigs') is not None:
5252
5270
  for k in m.get('modelInfoConfigs'):
5253
5271
  temp_model = ModelInfoConfig()
5254
5272
  self.model_info_configs.append(temp_model.from_map(k))
5273
+ if m.get('modelServiceId') is not None:
5274
+ self.model_service_id = m.get('modelServiceId')
5255
5275
  if m.get('modelServiceName') is not None:
5256
5276
  self.model_service_name = m.get('modelServiceName')
5257
5277
  if m.get('modelType') is not None:
@@ -5529,8 +5549,9 @@ class Template(TeaModel):
5529
5549
  cpu: float = None,
5530
5550
  created_at: str = None,
5531
5551
  credential_configuration: CredentialConfiguration = None,
5552
+ description: str = None,
5532
5553
  disk_size: int = None,
5533
- environment_variables: str = None,
5554
+ environment_variables: Dict[str, str] = None,
5534
5555
  execution_role_arn: str = None,
5535
5556
  last_updated_at: str = None,
5536
5557
  log_configuration: LogConfiguration = None,
@@ -5545,7 +5566,7 @@ class Template(TeaModel):
5545
5566
  status: str = None,
5546
5567
  status_reason: str = None,
5547
5568
  template_arn: str = None,
5548
- template_configuration: str = None,
5569
+ template_configuration: Dict[str, Any] = None,
5549
5570
  template_id: str = None,
5550
5571
  template_name: str = None,
5551
5572
  template_type: str = None,
@@ -5556,6 +5577,7 @@ class Template(TeaModel):
5556
5577
  self.cpu = cpu
5557
5578
  self.created_at = created_at
5558
5579
  self.credential_configuration = credential_configuration
5580
+ self.description = description
5559
5581
  self.disk_size = disk_size
5560
5582
  self.environment_variables = environment_variables
5561
5583
  self.execution_role_arn = execution_role_arn
@@ -5613,6 +5635,8 @@ class Template(TeaModel):
5613
5635
  result['createdAt'] = self.created_at
5614
5636
  if self.credential_configuration is not None:
5615
5637
  result['credentialConfiguration'] = self.credential_configuration.to_map()
5638
+ if self.description is not None:
5639
+ result['description'] = self.description
5616
5640
  if self.disk_size is not None:
5617
5641
  result['diskSize'] = self.disk_size
5618
5642
  if self.environment_variables is not None:
@@ -5671,6 +5695,8 @@ class Template(TeaModel):
5671
5695
  if m.get('credentialConfiguration') is not None:
5672
5696
  temp_model = CredentialConfiguration()
5673
5697
  self.credential_configuration = temp_model.from_map(m['credentialConfiguration'])
5698
+ if m.get('description') is not None:
5699
+ self.description = m.get('description')
5674
5700
  if m.get('diskSize') is not None:
5675
5701
  self.disk_size = m.get('diskSize')
5676
5702
  if m.get('environmentVariables') is not None:
@@ -12631,6 +12657,7 @@ class ListAgentRuntimesRequest(TeaModel):
12631
12657
  page_number: int = None,
12632
12658
  page_size: int = None,
12633
12659
  search_mode: str = None,
12660
+ status: str = None,
12634
12661
  ):
12635
12662
  # 根据智能体运行时名称进行模糊匹配过滤
12636
12663
  self.agent_runtime_name = agent_runtime_name
@@ -12640,6 +12667,8 @@ class ListAgentRuntimesRequest(TeaModel):
12640
12667
  self.page_size = page_size
12641
12668
  # 查询模式,支持精确查询和模糊查询
12642
12669
  self.search_mode = search_mode
12670
+ # 根据状态进行过滤,多个状态用逗号分隔,支持精确匹配
12671
+ self.status = status
12643
12672
 
12644
12673
  def validate(self):
12645
12674
  pass
@@ -12658,6 +12687,8 @@ class ListAgentRuntimesRequest(TeaModel):
12658
12687
  result['pageSize'] = self.page_size
12659
12688
  if self.search_mode is not None:
12660
12689
  result['searchMode'] = self.search_mode
12690
+ if self.status is not None:
12691
+ result['status'] = self.status
12661
12692
  return result
12662
12693
 
12663
12694
  def from_map(self, m: dict = None):
@@ -12670,6 +12701,8 @@ class ListAgentRuntimesRequest(TeaModel):
12670
12701
  self.page_size = m.get('pageSize')
12671
12702
  if m.get('searchMode') is not None:
12672
12703
  self.search_mode = m.get('searchMode')
12704
+ if m.get('status') is not None:
12705
+ self.status = m.get('status')
12673
12706
  return self
12674
12707
 
12675
12708
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-agentrun20250910
3
- Version: 4.0.0
3
+ Version: 4.0.2
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
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_agentrun20250910.
26
26
 
27
- Created on 24/11/2025
27
+ Created on 09/12/2025
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '4.0.0'