Skip to content

release version 1.3.3 #545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions aliyun-python-sdk-eci/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2025-04-10 Version 1.3.3
1、Improve the parameters of some APIs

2024-03-26 Version 1.3.2
1、Add api: ResizeContainerGroupVolume

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-eci/aliyunsdkeci/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.3.2"
__version__ = "1.3.3"
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def get_Image(self):
def set_AcrRegistryInfo(self, AcrRegistryInfo):
self.add_query_param("AcrRegistryInfo.InstanceId", AcrRegistryInfo.get("InstanceId"))
self.add_query_param("AcrRegistryInfo.RegionId", AcrRegistryInfo.get("RegionId"))
self.add_query_param("AcrRegistryInfo.ArnService", AcrRegistryInfo.get("ArnService"))
self.add_query_param("AcrRegistryInfo.ArnUser", AcrRegistryInfo.get("ArnUser"))

def get_AcrRegistryInfo(self):
return self.get_query_params().get("AcrRegistryInfo")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,41 @@ def set_Tags(self, Tags):
if Tags[i].get('Value') is not None:
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))

def get_PlainHttpRegistry(self):
return self.get_query_params().get('PlainHttpRegistry')

def set_PlainHttpRegistry(self, PlainHttpRegistry):
self.add_query_param('PlainHttpRegistry', PlainHttpRegistry)

def get_InsecureRegistry(self):
return self.get_query_params().get('InsecureRegistry')

def set_InsecureRegistry(self, InsecureRegistry):
self.add_query_param('InsecureRegistry', InsecureRegistry)

def get_StandardCopyCount(self):
return self.get_query_params().get('StandardCopyCount')

def set_StandardCopyCount(self, StandardCopyCount):
self.add_query_param('StandardCopyCount', StandardCopyCount)

def get_FlashCopyCount(self):
return self.get_query_params().get('FlashCopyCount')

def set_FlashCopyCount(self, FlashCopyCount):
self.add_query_param("FlashCopyCount", FlashCopyCount)

def get_EliminationStrategy(self):
return self.get_query_params().get('EliminationStrategy')

def set_EliminationStrategy(self, EliminationStrategy):
self.add_query_param('EliminationStrategy', EliminationStrategy)

def get_OsType(self):
return self.get_query_params().get('OsType')

def set_OsType(self, OsType):
self.add_query_param('OsType', OsType)



Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ def get_ClientToken(self):
return self.get_query_params().get('ClientToken')

def set_ClientToken(self, ClientToken):
self.add_query_param('ClientToken', ClientToken)
self.add_query_param('ClientToken', ClientToken)

def get_Force(self):
return self.get_query_params().get('Force')

def set_Force(self, Force):
self.add_query_param('Force', Force)
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
# -*- coding: utf-8 -*-
# Copyright (c) 2025 Aliyun.com All right reserved. This software is the
# confidential and proprietary information of Aliyun.com ("Confidential
# Information"). You shall not disclose such Confidential Information and shall
# use it only in accordance with the terms of the license agreement you entered
# into with Aliyun.com .
# created by xiaohui at 2025/4/10 15:16
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest


class DescribeContainerGroupEventsRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'Eci', '2018-08-08', 'DescribeContainerGroupEvents', 'eci')

def get_ResourceOwnerId(self):
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId):
self.add_query_param('ResourceOwnerId', ResourceOwnerId)

def get_RegionId(self):
return self.get_query_params().get('RegionId')

def set_RegionId(self, RegionId):
self.add_query_param('RegionId', RegionId)

def get_ZoneId(self):
return self.get_query_params().get('ZoneId')

def set_ZoneId(self, ZoneId):
self.add_query_param('ZoneId', ZoneId)

def get_VSwitchId(self):
return self.get_query_params().get('VSwitchId')

def set_VSwitchId(self, VSwitchId):
self.add_query_param('VSwitchId', VSwitchId)

def get_ResourceGroupId(self):
return self.get_query_params().get('ResourceGroupId')

def set_ResourceGroupId(self, ResourceGroupId):
self.add_query_param('ResourceGroupId', ResourceGroupId)

def get_ContainerGroupIds(self):
return self.get_query_params().get('ContainerGroupIds')

def set_ContainerGroupIds(self, ContainerGroupIds):
self.add_query_param('ContainerGroupIds', ContainerGroupIds)

def get_Tags(self):
return self.get_query_params().get('Tags')

def set_Tags(self, Tags):
for i in range(len(Tags)):
if Tags[i].get('Key') is not None:
self.add_query_param('Tag.' + str(i + 1) + '.Key', Tags[i].get('Key'))
if Tags[i].get('Value') is not None:
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))

def get_Condition(self):
return self.get_query_params().get('Condition')

def set_Condition(self, Condition):
for i in range(len(Condition)):
if Condition[i].get('Type') is not None:
self.add_query_param('Condition.' + str(i + 1) + '.Type', Condition[i].get('Type'))
if Condition[i].get('Status') is not None:
self.add_query_param('Condition.' + str(i + 1) + '.Status', Condition[i].get('Status'))

def get_NextToken(self):
return self.get_query_params().get('NextToken')

def set_NextToken(self, NextToken):
self.add_query_param('NextToken', NextToken)

def get_EventSource(self):
return self.get_query_params().get('EventSource')

def set_EventSource(self, EventSource):
self.add_query_param('EventSource', EventSource)

def get_SinceSecond(self):
return self.get_query_params().get('SinceSecond')

def set_SinceSecond(self, SinceSecond):
self.add_query_param('SinceSecond', SinceSecond)
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,6 @@ def set_Tags(self, Tags):
if Tags[i].get('Value') is not None:
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))

def get_Condition(self):
return self.get_query_params().get('Condition')

def set_Condition(self, Condition):
for con in range(len(Condition)):
if Condition[con].get('Type') is not None:
self.add_query_param(f'Condition.{str(con + 1)}.Type', Condition[con].get('Type'))
if Condition[con].get('Status') is not None:
self.add_query_param(f'Condition.{str(con + 1)}.Status', Condition[con].get('Status'))

def get_ContainerGroupIds(self):
return self.get_query_params().get('ContainerGroupIds')

Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
class DescribeContainerLogRequest(RpcRequest):

def __init__(self):
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from aliyunsdkcore.request import RpcRequest
class DescribeContainerLogRequest(RpcRequest):
def __init__(self):
RpcRequest.__init__(self, 'Eci', '2018-08-08', 'DescribeContainerLog','eci')

def get_ResourceOwnerId(self):
Expand Down Expand Up @@ -59,6 +59,30 @@ def get_Tail(self):
def set_Tail(self,Tail):
self.add_query_param('Tail',Tail)

def get_LastTime(self):
return self.get_query_params().get('LastTime')

def set_LastTime(self,LastTime):
self.add_query_param('LastTime',LastTime)

def get_SinceSeconds(self):
return self.get_query_params().get('SinceSeconds')

def set_SinceSeconds(self,SinceSeconds):
self.add_query_param('SinceSeconds',SinceSeconds)

def get_LimitBytes(self):
return self.get_query_params().get('LimitBytes')

def set_LimitBytes(self,LimitBytes):
self.add_query_param('LimitBytes',LimitBytes)

def get_Timestamps(self):
return self.get_query_params().get('Timestamps')

def set_Timestamps(self,Timestamps):
self.add_query_param('Timestamps',Timestamps)

def get_OwnerAccount(self):
return self.get_query_params().get('OwnerAccount')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ def set_Tags(self, Tags):
if Tags[i].get('Value') is not None:
self.add_query_param('Tag.' + str(i + 1) + '.Value', Tags[i].get('Value'))

def get_MatchImage(self):
return self.get_query_params().get('MatchImage')

def set_MatchImage(self, MatchImage):
for i in range(len(MatchImage)):
if MatchImage[i] is not None:
self.add_query_param('MatchImage.' + str(i + 1), MatchImage[i])

def get_ResourceOwnerAccount(self):
return self.get_query_params().get('ResourceOwnerAccount')

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

def set_OwnerId(self,OwnerId):
self.add_query_param('OwnerId',OwnerId)
self.add_query_param('OwnerId',OwnerId)

def get_Limit(self):
return self.get_query_params().get('Limit')

def set_Limit(self, Limit):
self.add_query_param('Limit', Limit)

def get_NextToken(self):
return self.get_query_params().get('NextToken')

def set_NextToken(self, NextToken):
self.add_query_param('NextToken', NextToken)

def get_ImageFullMatch(self):
return self.get_query_params().get('ImageFullMatch')

def set_ImageFullMatch(self, ImageFullMatch):
self.add_query_param('ImageFullMatch', ImageFullMatch)

def get_ImageMatchCountRequest(self):
return self.get_query_params().get('ImageMatchCountRequest')

def set_ImageMatchCountRequest(self, ImageMatchCountRequest):
self.add_query_param('ImageMatchCountRequest', ImageMatchCountRequest)





Loading