Skip to content

Commit 1b28a13

Browse files
wb549296yndu13
wb549296
authored andcommitted
release version 1.3.3
1 parent 0d081b7 commit 1b28a13

11 files changed

+334
-40
lines changed

aliyun-python-sdk-eci/ChangeLog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-10 Version 1.3.3
2+
1、Improve the parameters of some APIs
3+
14
2024-03-26 Version 1.3.2
25
1、Add api: ResizeContainerGroupVolume
36

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.3.2"
1+
__version__ = "1.3.3"

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/CommitContainerRequest.py

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ def get_Image(self):
4848
def set_AcrRegistryInfo(self, AcrRegistryInfo):
4949
self.add_query_param("AcrRegistryInfo.InstanceId", AcrRegistryInfo.get("InstanceId"))
5050
self.add_query_param("AcrRegistryInfo.RegionId", AcrRegistryInfo.get("RegionId"))
51+
self.add_query_param("AcrRegistryInfo.ArnService", AcrRegistryInfo.get("ArnService"))
52+
self.add_query_param("AcrRegistryInfo.ArnUser", AcrRegistryInfo.get("ArnUser"))
5153

5254
def get_AcrRegistryInfo(self):
5355
return self.get_query_params().get("AcrRegistryInfo")

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/CreateImageCacheRequest.py

+37
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,41 @@ def set_Tags(self, Tags):
165165
if Tags[i].get('Value') is not None:
166166
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))
167167

168+
def get_PlainHttpRegistry(self):
169+
return self.get_query_params().get('PlainHttpRegistry')
170+
171+
def set_PlainHttpRegistry(self, PlainHttpRegistry):
172+
self.add_query_param('PlainHttpRegistry', PlainHttpRegistry)
173+
174+
def get_InsecureRegistry(self):
175+
return self.get_query_params().get('InsecureRegistry')
176+
177+
def set_InsecureRegistry(self, InsecureRegistry):
178+
self.add_query_param('InsecureRegistry', InsecureRegistry)
179+
180+
def get_StandardCopyCount(self):
181+
return self.get_query_params().get('StandardCopyCount')
182+
183+
def set_StandardCopyCount(self, StandardCopyCount):
184+
self.add_query_param('StandardCopyCount', StandardCopyCount)
185+
186+
def get_FlashCopyCount(self):
187+
return self.get_query_params().get('FlashCopyCount')
188+
189+
def set_FlashCopyCount(self, FlashCopyCount):
190+
self.add_query_param("FlashCopyCount", FlashCopyCount)
191+
192+
def get_EliminationStrategy(self):
193+
return self.get_query_params().get('EliminationStrategy')
194+
195+
def set_EliminationStrategy(self, EliminationStrategy):
196+
self.add_query_param('EliminationStrategy', EliminationStrategy)
197+
198+
def get_OsType(self):
199+
return self.get_query_params().get('OsType')
200+
201+
def set_OsType(self, OsType):
202+
self.add_query_param('OsType', OsType)
203+
204+
168205

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/DeleteContainerGroupRequest.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,10 @@ def get_ClientToken(self):
5757
return self.get_query_params().get('ClientToken')
5858

5959
def set_ClientToken(self, ClientToken):
60-
self.add_query_param('ClientToken', ClientToken)
60+
self.add_query_param('ClientToken', ClientToken)
61+
62+
def get_Force(self):
63+
return self.get_query_params().get('Force')
64+
65+
def set_Force(self, Force):
66+
self.add_query_param('Force', Force)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright (c) 2025 Aliyun.com All right reserved. This software is the
3+
# confidential and proprietary information of Aliyun.com ("Confidential
4+
# Information"). You shall not disclose such Confidential Information and shall
5+
# use it only in accordance with the terms of the license agreement you entered
6+
# into with Aliyun.com .
7+
# created by xiaohui at 2025/4/10 15:16
8+
# Licensed to the Apache Software Foundation (ASF) under one
9+
# or more contributor license agreements. See the NOTICE file
10+
# distributed with this work for additional information
11+
# regarding copyright ownership. The ASF licenses this file
12+
# to you under the Apache License, Version 2.0 (the
13+
# "License"); you may not use this file except in compliance
14+
# with the License. You may obtain a copy of the License at
15+
#
16+
# http://www.apache.org/licenses/LICENSE-2.0
17+
#
18+
#
19+
#
20+
# Unless required by applicable law or agreed to in writing,
21+
# software distributed under the License is distributed on an
22+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
23+
# KIND, either express or implied. See the License for the
24+
# specific language governing permissions and limitations
25+
# under the License.
26+
27+
from aliyunsdkcore.request import RpcRequest
28+
29+
30+
class DescribeContainerGroupEventsRequest(RpcRequest):
31+
def __init__(self):
32+
RpcRequest.__init__(self, 'Eci', '2018-08-08', 'DescribeContainerGroupEvents', 'eci')
33+
34+
def get_ResourceOwnerId(self):
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId):
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
40+
def get_RegionId(self):
41+
return self.get_query_params().get('RegionId')
42+
43+
def set_RegionId(self, RegionId):
44+
self.add_query_param('RegionId', RegionId)
45+
46+
def get_ZoneId(self):
47+
return self.get_query_params().get('ZoneId')
48+
49+
def set_ZoneId(self, ZoneId):
50+
self.add_query_param('ZoneId', ZoneId)
51+
52+
def get_VSwitchId(self):
53+
return self.get_query_params().get('VSwitchId')
54+
55+
def set_VSwitchId(self, VSwitchId):
56+
self.add_query_param('VSwitchId', VSwitchId)
57+
58+
def get_ResourceGroupId(self):
59+
return self.get_query_params().get('ResourceGroupId')
60+
61+
def set_ResourceGroupId(self, ResourceGroupId):
62+
self.add_query_param('ResourceGroupId', ResourceGroupId)
63+
64+
def get_ContainerGroupIds(self):
65+
return self.get_query_params().get('ContainerGroupIds')
66+
67+
def set_ContainerGroupIds(self, ContainerGroupIds):
68+
self.add_query_param('ContainerGroupIds', ContainerGroupIds)
69+
70+
def get_Tags(self):
71+
return self.get_query_params().get('Tags')
72+
73+
def set_Tags(self, Tags):
74+
for i in range(len(Tags)):
75+
if Tags[i].get('Key') is not None:
76+
self.add_query_param('Tag.' + str(i + 1) + '.Key', Tags[i].get('Key'))
77+
if Tags[i].get('Value') is not None:
78+
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))
79+
80+
def get_Condition(self):
81+
return self.get_query_params().get('Condition')
82+
83+
def set_Condition(self, Condition):
84+
for i in range(len(Condition)):
85+
if Condition[i].get('Type') is not None:
86+
self.add_query_param('Condition.' + str(i + 1) + '.Type', Condition[i].get('Type'))
87+
if Condition[i].get('Status') is not None:
88+
self.add_query_param('Condition.' + str(i + 1) + '.Status', Condition[i].get('Status'))
89+
90+
def get_NextToken(self):
91+
return self.get_query_params().get('NextToken')
92+
93+
def set_NextToken(self, NextToken):
94+
self.add_query_param('NextToken', NextToken)
95+
96+
def get_EventSource(self):
97+
return self.get_query_params().get('EventSource')
98+
99+
def set_EventSource(self, EventSource):
100+
self.add_query_param('EventSource', EventSource)
101+
102+
def get_SinceSecond(self):
103+
return self.get_query_params().get('SinceSecond')
104+
105+
def set_SinceSecond(self, SinceSecond):
106+
self.add_query_param('SinceSecond', SinceSecond)

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/DescribeContainerGroupStatusRequest.py

-10
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ def set_Tags(self, Tags):
5353
if Tags[i].get('Value') is not None:
5454
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))
5555

56-
def get_Condition(self):
57-
return self.get_query_params().get('Condition')
58-
59-
def set_Condition(self, Condition):
60-
for con in range(len(Condition)):
61-
if Condition[con].get('Type') is not None:
62-
self.add_query_param(f'Condition.{str(con + 1)}.Type', Condition[con].get('Type'))
63-
if Condition[con].get('Status') is not None:
64-
self.add_query_param(f'Condition.{str(con + 1)}.Status', Condition[con].get('Status'))
65-
6656
def get_ContainerGroupIds(self):
6757
return self.get_query_params().get('ContainerGroupIds')
6858

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/DescribeContainerLogRequest.py

+47-23
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
# Licensed to the Apache Software Foundation (ASF) under one
2-
# or more contributor license agreements. See the NOTICE file
3-
# distributed with this work for additional information
4-
# regarding copyright ownership. The ASF licenses this file
5-
# to you under the Apache License, Version 2.0 (the
6-
# "License"); you may not use this file except in compliance
7-
# with the License. You may obtain a copy of the License at
8-
#
9-
# http://www.apache.org/licenses/LICENSE-2.0
10-
#
11-
#
12-
#
13-
# Unless required by applicable law or agreed to in writing,
14-
# software distributed under the License is distributed on an
15-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16-
# KIND, either express or implied. See the License for the
17-
# specific language governing permissions and limitations
18-
# under the License.
19-
20-
from aliyunsdkcore.request import RpcRequest
21-
class DescribeContainerLogRequest(RpcRequest):
22-
23-
def __init__(self):
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DescribeContainerLogRequest(RpcRequest):
22+
23+
def __init__(self):
2424
RpcRequest.__init__(self, 'Eci', '2018-08-08', 'DescribeContainerLog','eci')
2525

2626
def get_ResourceOwnerId(self):
@@ -59,6 +59,30 @@ def get_Tail(self):
5959
def set_Tail(self,Tail):
6060
self.add_query_param('Tail',Tail)
6161

62+
def get_LastTime(self):
63+
return self.get_query_params().get('LastTime')
64+
65+
def set_LastTime(self,LastTime):
66+
self.add_query_param('LastTime',LastTime)
67+
68+
def get_SinceSeconds(self):
69+
return self.get_query_params().get('SinceSeconds')
70+
71+
def set_SinceSeconds(self,SinceSeconds):
72+
self.add_query_param('SinceSeconds',SinceSeconds)
73+
74+
def get_LimitBytes(self):
75+
return self.get_query_params().get('LimitBytes')
76+
77+
def set_LimitBytes(self,LimitBytes):
78+
self.add_query_param('LimitBytes',LimitBytes)
79+
80+
def get_Timestamps(self):
81+
return self.get_query_params().get('Timestamps')
82+
83+
def set_Timestamps(self,Timestamps):
84+
self.add_query_param('Timestamps',Timestamps)
85+
6286
def get_OwnerAccount(self):
6387
return self.get_query_params().get('OwnerAccount')
6488

aliyun-python-sdk-eci/aliyunsdkeci/request/v20180808/DescribeImageCachesRequest.py

+38-1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ def set_Tags(self, Tags):
7070
if Tags[i].get('Value') is not None:
7171
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))
7272

73+
def get_MatchImage(self):
74+
return self.get_query_params().get('MatchImage')
75+
76+
def set_MatchImage(self, MatchImage):
77+
for i in range(len(MatchImage)):
78+
if MatchImage[i] is not None:
79+
self.add_query_param('MatchImage.' + str(i + 1), MatchImage[i])
80+
7381
def get_ResourceOwnerAccount(self):
7482
return self.get_query_params().get('ResourceOwnerAccount')
7583

@@ -86,4 +94,33 @@ def get_OwnerId(self):
8694
return self.get_query_params().get('OwnerId')
8795

8896
def set_OwnerId(self,OwnerId):
89-
self.add_query_param('OwnerId',OwnerId)
97+
self.add_query_param('OwnerId',OwnerId)
98+
99+
def get_Limit(self):
100+
return self.get_query_params().get('Limit')
101+
102+
def set_Limit(self, Limit):
103+
self.add_query_param('Limit', Limit)
104+
105+
def get_NextToken(self):
106+
return self.get_query_params().get('NextToken')
107+
108+
def set_NextToken(self, NextToken):
109+
self.add_query_param('NextToken', NextToken)
110+
111+
def get_ImageFullMatch(self):
112+
return self.get_query_params().get('ImageFullMatch')
113+
114+
def set_ImageFullMatch(self, ImageFullMatch):
115+
self.add_query_param('ImageFullMatch', ImageFullMatch)
116+
117+
def get_ImageMatchCountRequest(self):
118+
return self.get_query_params().get('ImageMatchCountRequest')
119+
120+
def set_ImageMatchCountRequest(self, ImageMatchCountRequest):
121+
self.add_query_param('ImageMatchCountRequest', ImageMatchCountRequest)
122+
123+
124+
125+
126+

0 commit comments

Comments
 (0)