alibabacloud-agentrun20250910 4.0.1__py3-none-any.whl → 4.0.2__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.
- alibabacloud_agentrun20250910/__init__.py +1 -1
- alibabacloud_agentrun20250910/models.py +22 -8
- {alibabacloud_agentrun20250910-4.0.1.dist-info → alibabacloud_agentrun20250910-4.0.2.dist-info}/METADATA +1 -1
- alibabacloud_agentrun20250910-4.0.2.dist-info/RECORD +8 -0
- alibabacloud_agentrun20250910-4.0.1.dist-info/RECORD +0 -8
- {alibabacloud_agentrun20250910-4.0.1.dist-info → alibabacloud_agentrun20250910-4.0.2.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-4.0.1.dist-info → alibabacloud_agentrun20250910-4.0.2.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-4.0.1.dist-info → alibabacloud_agentrun20250910-4.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '4.0.
|
|
1
|
+
__version__ = '4.0.2'
|
|
@@ -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,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
alibabacloud_agentrun20250910/__init__.py,sha256=X2FSVyXfKfCh487cbRC3bWEH0TAFIoyQIus2dzhKa3U,21
|
|
2
|
+
alibabacloud_agentrun20250910/client.py,sha256=Vv1grhdcqdrjMqB9TgpVgXf2rnqn2CYORo7wUp4Hb6c,241199
|
|
3
|
+
alibabacloud_agentrun20250910/models.py,sha256=3Pr_A8SFWWYqkYnD5UCFeSsKMMvrQe1GxbHGA_GwQJ0,492377
|
|
4
|
+
alibabacloud_agentrun20250910-4.0.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
+
alibabacloud_agentrun20250910-4.0.2.dist-info/METADATA,sha256=s8OVqayKqNEMcYAOgnF5O3i8WPlXeqOlV3tCzwsbms0,2347
|
|
6
|
+
alibabacloud_agentrun20250910-4.0.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
+
alibabacloud_agentrun20250910-4.0.2.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
|
|
8
|
+
alibabacloud_agentrun20250910-4.0.2.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
alibabacloud_agentrun20250910/__init__.py,sha256=EBi3Woxxoz9GwvhSOnwW7hQYSm6B8W0mjvampQQcixc,21
|
|
2
|
-
alibabacloud_agentrun20250910/client.py,sha256=Vv1grhdcqdrjMqB9TgpVgXf2rnqn2CYORo7wUp4Hb6c,241199
|
|
3
|
-
alibabacloud_agentrun20250910/models.py,sha256=pWCf9ZN2NqOiF3yHWpplYYj7V28JS8n4SxsqyIUCGJc,491488
|
|
4
|
-
alibabacloud_agentrun20250910-4.0.1.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
5
|
-
alibabacloud_agentrun20250910-4.0.1.dist-info/METADATA,sha256=9hNpLC4fiCPPDVOh3NWfSKRltAqphQq62FBYIFbnydQ,2347
|
|
6
|
-
alibabacloud_agentrun20250910-4.0.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
7
|
-
alibabacloud_agentrun20250910-4.0.1.dist-info/top_level.txt,sha256=52ubthzYJLT_H920wO8t0i9HV90alDqttDu0fv3l1aM,30
|
|
8
|
-
alibabacloud_agentrun20250910-4.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|