alibabacloud-agentrun20250910 4.0.1__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.1 → alibabacloud_agentrun20250910-4.0.2}/ChangeLog.md +4 -0
  2. {alibabacloud_agentrun20250910-4.0.1 → 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.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910/models.py +22 -8
  5. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/PKG-INFO +1 -1
  6. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/setup.py +1 -1
  7. alibabacloud_agentrun20250910-4.0.1/alibabacloud_agentrun20250910/__init__.py +0 -1
  8. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/LICENSE +0 -0
  9. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/MANIFEST.in +0 -0
  10. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/README-CN.md +0 -0
  11. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/README.md +0 -0
  12. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910/client.py +0 -0
  13. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/requires.txt +0 -0
  16. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/alibabacloud_agentrun20250910.egg-info/top_level.txt +0 -0
  17. {alibabacloud_agentrun20250910-4.0.1 → alibabacloud_agentrun20250910-4.0.2}/setup.cfg +0 -0
@@ -1,3 +1,7 @@
1
+ 2025-11-27 Version: 4.0.1
2
+ - Update API ListAgentRuntimes: add request parameters status.
3
+
4
+
1
5
  2025-11-24 Version: 4.0.0
2
6
  - Support API DeleteSandbox.
3
7
  - Update API ListTemplates: add request parameters status.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_agentrun20250910
3
- Version: 4.0.1
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
@@ -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
 
@@ -5171,8 +5185,8 @@ class ModelService(TeaModel):
5171
5185
  credential_name: str = None,
5172
5186
  description: str = None,
5173
5187
  last_updated_at: str = None,
5174
- mode_service_id: str = None,
5175
5188
  model_info_configs: List[ModelInfoConfig] = None,
5189
+ model_service_id: str = None,
5176
5190
  model_service_name: str = None,
5177
5191
  model_type: str = None,
5178
5192
  network_configuration: NetworkConfiguration = None,
@@ -5185,8 +5199,8 @@ class ModelService(TeaModel):
5185
5199
  self.credential_name = credential_name
5186
5200
  self.description = description
5187
5201
  self.last_updated_at = last_updated_at
5188
- self.mode_service_id = mode_service_id
5189
5202
  self.model_info_configs = model_info_configs
5203
+ self.model_service_id = model_service_id
5190
5204
  self.model_service_name = model_service_name
5191
5205
  self.model_type = model_type
5192
5206
  self.network_configuration = network_configuration
@@ -5219,12 +5233,12 @@ class ModelService(TeaModel):
5219
5233
  result['description'] = self.description
5220
5234
  if self.last_updated_at is not None:
5221
5235
  result['lastUpdatedAt'] = self.last_updated_at
5222
- if self.mode_service_id is not None:
5223
- result['modeServiceId'] = self.mode_service_id
5224
5236
  result['modelInfoConfigs'] = []
5225
5237
  if self.model_info_configs is not None:
5226
5238
  for k in self.model_info_configs:
5227
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
5228
5242
  if self.model_service_name is not None:
5229
5243
  result['modelServiceName'] = self.model_service_name
5230
5244
  if self.model_type is not None:
@@ -5251,13 +5265,13 @@ class ModelService(TeaModel):
5251
5265
  self.description = m.get('description')
5252
5266
  if m.get('lastUpdatedAt') is not None:
5253
5267
  self.last_updated_at = m.get('lastUpdatedAt')
5254
- if m.get('modeServiceId') is not None:
5255
- self.mode_service_id = m.get('modeServiceId')
5256
5268
  self.model_info_configs = []
5257
5269
  if m.get('modelInfoConfigs') is not None:
5258
5270
  for k in m.get('modelInfoConfigs'):
5259
5271
  temp_model = ModelInfoConfig()
5260
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')
5261
5275
  if m.get('modelServiceName') is not None:
5262
5276
  self.model_service_name = m.get('modelServiceName')
5263
5277
  if m.get('modelType') is not None:
@@ -5537,7 +5551,7 @@ class Template(TeaModel):
5537
5551
  credential_configuration: CredentialConfiguration = None,
5538
5552
  description: str = None,
5539
5553
  disk_size: int = None,
5540
- environment_variables: str = None,
5554
+ environment_variables: Dict[str, str] = None,
5541
5555
  execution_role_arn: str = None,
5542
5556
  last_updated_at: str = None,
5543
5557
  log_configuration: LogConfiguration = None,
@@ -5552,7 +5566,7 @@ class Template(TeaModel):
5552
5566
  status: str = None,
5553
5567
  status_reason: str = None,
5554
5568
  template_arn: str = None,
5555
- template_configuration: str = None,
5569
+ template_configuration: Dict[str, Any] = None,
5556
5570
  template_id: str = None,
5557
5571
  template_name: str = None,
5558
5572
  template_type: str = None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-agentrun20250910
3
- Version: 4.0.1
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 27/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.1'