diff --git a/aliyun-python-sdk-ens/ChangeLog.txt b/aliyun-python-sdk-ens/ChangeLog.txt index dcfa9d56e1..4809a08ec7 100644 --- a/aliyun-python-sdk-ens/ChangeLog.txt +++ b/aliyun-python-sdk-ens/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-10-25 Version: 3.0.18 +- Generated 2017-11-10 for `Ens`. + 2024-08-23 Version: 3.0.17 - Generated 2017-11-10 for `Ens`. diff --git a/aliyun-python-sdk-ens/README.rst b/aliyun-python-sdk-ens/README.rst index d79095a3ea..4b47feabc1 100644 --- a/aliyun-python-sdk-ens/README.rst +++ b/aliyun-python-sdk-ens/README.rst @@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy This module works on Python versions: -2.6.5 and greater +3.7 and greater **Documentation:** diff --git a/aliyun-python-sdk-ens/aliyunsdkens/__init__.py b/aliyun-python-sdk-ens/aliyunsdkens/__init__.py index 946dd1feb1..3f31518a50 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/__init__.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/__init__.py @@ -1 +1 @@ -__version__ = '3.0.17' \ No newline at end of file +__version__ = '3.0.18' \ No newline at end of file diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AssociateHaVipRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AssociateHaVipRequest.py new file mode 100644 index 0000000000..f4d0ed0ff3 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AssociateHaVipRequest.py @@ -0,0 +1,42 @@ +# 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 AssociateHaVipRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'AssociateHaVip','ens') + self.set_method('POST') + + def get_InstanceType(self): # String + return self.get_query_params().get('InstanceType') + + def set_InstanceType(self, InstanceType): # String + self.add_query_param('InstanceType', InstanceType) + def get_HaVipId(self): # String + return self.get_query_params().get('HaVipId') + + def set_HaVipId(self, HaVipId): # String + self.add_query_param('HaVipId', HaVipId) + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AttachNetworkInterfaceRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AttachNetworkInterfaceRequest.py new file mode 100644 index 0000000000..cc4567b806 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/AttachNetworkInterfaceRequest.py @@ -0,0 +1,37 @@ +# 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 AttachNetworkInterfaceRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'AttachNetworkInterface','ens') + self.set_method('POST') + + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) + def get_NetworkInterfaceId(self): # String + return self.get_query_params().get('NetworkInterfaceId') + + def set_NetworkInterfaceId(self, NetworkInterfaceId): # String + self.add_query_param('NetworkInterfaceId', NetworkInterfaceId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeApplicationResourceSummaryRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateClusterRequest.py similarity index 63% rename from aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeApplicationResourceSummaryRequest.py rename to aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateClusterRequest.py index 5f2a81b28f..724f4c671e 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeApplicationResourceSummaryRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateClusterRequest.py @@ -19,19 +19,19 @@ from aliyunsdkcore.request import RpcRequest -class DescribeApplicationResourceSummaryRequest(RpcRequest): +class CreateClusterRequest(RpcRequest): def __init__(self): - RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeApplicationResourceSummary','ens') + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateCluster','ens') self.set_method('POST') - def get_Level(self): # String - return self.get_query_params().get('Level') + def get_ClusterVersion(self): # String + return self.get_query_params().get('ClusterVersion') - def set_Level(self, Level): # String - self.add_query_param('Level', Level) - def get_ResourceType(self): # String - return self.get_query_params().get('ResourceType') + def set_ClusterVersion(self, ClusterVersion): # String + self.add_query_param('ClusterVersion', ClusterVersion) + def get_Name(self): # String + return self.get_query_params().get('Name') - def set_ResourceType(self, ResourceType): # String - self.add_query_param('ResourceType', ResourceType) + def set_Name(self, Name): # String + self.add_query_param('Name', Name) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py index 7d3ad96897..8af74e21b2 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py @@ -35,6 +35,15 @@ def get_EnsRegionId(self): # String def set_EnsRegionId(self, EnsRegionId): # String self.add_query_param('EnsRegionId', EnsRegionId) + def get_Tags(self): # RepeatList + return self.get_query_params().get('Tag') + + def set_Tags(self, Tag): # RepeatList + for depth1 in range(len(Tag)): + if Tag[depth1].get('Value') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) + if Tag[depth1].get('Key') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) def get_Size(self): # String return self.get_query_params().get('Size') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py index 476c4a0abe..ea46a01e36 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py @@ -35,6 +35,15 @@ def get_EnsRegionId(self): # String def set_EnsRegionId(self, EnsRegionId): # String self.add_query_param('EnsRegionId', EnsRegionId) + def get_Tags(self): # RepeatList + return self.get_query_params().get('Tag') + + def set_Tags(self, Tag): # RepeatList + for depth1 in range(len(Tag)): + if Tag[depth1].get('Value') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) + if Tag[depth1].get('Key') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) def get_InternetChargeType(self): # String return self.get_query_params().get('InternetChargeType') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNatGatewayRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNatGatewayRequest.py index 1f1cc829f3..d72c24582b 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNatGatewayRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNatGatewayRequest.py @@ -35,6 +35,15 @@ def get_InstanceType(self): # String def set_InstanceType(self, InstanceType): # String self.add_query_param('InstanceType', InstanceType) + def get_Tags(self): # RepeatList + return self.get_query_params().get('Tag') + + def set_Tags(self, Tag): # RepeatList + for depth1 in range(len(Tag)): + if Tag[depth1].get('Value') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) + if Tag[depth1].get('Key') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) def get_VSwitchId(self): # String return self.get_query_params().get('VSwitchId') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNetworkRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNetworkRequest.py index 2c214cec62..eadcc19e26 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNetworkRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateNetworkRequest.py @@ -40,6 +40,15 @@ def get_NetworkName(self): # String def set_NetworkName(self, NetworkName): # String self.add_query_param('NetworkName', NetworkName) + def get_Tags(self): # RepeatList + return self.get_query_params().get('Tag') + + def set_Tags(self, Tag): # RepeatList + for depth1 in range(len(Tag)): + if Tag[depth1].get('Value') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) + if Tag[depth1].get('Key') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) def get_CidrBlock(self): # String return self.get_query_params().get('CidrBlock') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnatEntryRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnatEntryRequest.py index 1109569be7..102e7c612d 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnatEntryRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnatEntryRequest.py @@ -55,6 +55,11 @@ def get_NatGatewayId(self): # String def set_NatGatewayId(self, NatGatewayId): # String self.add_query_param('NatGatewayId', NatGatewayId) + def get_IdleTimeout(self): # Integer + return self.get_query_params().get('IdleTimeout') + + def set_IdleTimeout(self, IdleTimeout): # Integer + self.add_query_param('IdleTimeout', IdleTimeout) def get_SnatEntryName(self): # String return self.get_query_params().get('SnatEntryName') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateVSwitchRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateVSwitchRequest.py index fe86a25000..61c3fc4bd9 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateVSwitchRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateVSwitchRequest.py @@ -35,6 +35,15 @@ def get_EnsRegionId(self): # String def set_EnsRegionId(self, EnsRegionId): # String self.add_query_param('EnsRegionId', EnsRegionId) + def get_Tags(self): # RepeatList + return self.get_query_params().get('Tag') + + def set_Tags(self, Tag): # RepeatList + for depth1 in range(len(Tag)): + if Tag[depth1].get('Value') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) + if Tag[depth1].get('Key') is not None: + self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) def get_VSwitchName(self): # String return self.get_query_params().get('VSwitchName') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeCloudDiskTypesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeCloudDiskTypesRequest.py index 1ff074b242..fb9d69267b 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeCloudDiskTypesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeCloudDiskTypesRequest.py @@ -18,6 +18,7 @@ # under the License. from aliyunsdkcore.request import RpcRequest +import json class DescribeCloudDiskTypesRequest(RpcRequest): @@ -30,3 +31,8 @@ def get_EnsRegionId(self): # String def set_EnsRegionId(self, EnsRegionId): # String self.add_query_param('EnsRegionId', EnsRegionId) + def get_EnsRegionIds(self): # Array + return self.get_query_params().get('EnsRegionIds') + + def set_EnsRegionIds(self, EnsRegionIds): # Array + self.add_query_param("EnsRegionIds", json.dumps(EnsRegionIds)) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterKubeConfigRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterKubeConfigRequest.py new file mode 100644 index 0000000000..8e6634a5d6 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterKubeConfigRequest.py @@ -0,0 +1,32 @@ +# 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 DescribeClusterKubeConfigRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeClusterKubeConfig','ens') + self.set_method('POST') + + def get_ClusterId(self): # String + return self.get_query_params().get('ClusterId') + + def set_ClusterId(self, ClusterId): # String + self.add_query_param('ClusterId', ClusterId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterRequest.py new file mode 100644 index 0000000000..10d8dffafb --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeClusterRequest.py @@ -0,0 +1,32 @@ +# 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 DescribeClusterRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeCluster','ens') + self.set_method('POST') + + def get_ClusterId(self): # String + return self.get_query_params().get('ClusterId') + + def set_ClusterId(self, ClusterId): # String + self.add_query_param('ClusterId', ClusterId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeDiskIopsListRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeDiskIopsListRequest.py new file mode 100644 index 0000000000..ebf3564c65 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeDiskIopsListRequest.py @@ -0,0 +1,43 @@ +# 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 DescribeDiskIopsListRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeDiskIopsList','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_StartTime(self): # String + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_DiskId(self): # String + return self.get_query_params().get('DiskId') + + def set_DiskId(self, DiskId): # String + self.add_query_param('DiskId', DiskId) + def get_EndTime(self): # String + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeHaVipsRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeHaVipsRequest.py new file mode 100644 index 0000000000..392cfd7efd --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeHaVipsRequest.py @@ -0,0 +1,72 @@ +# 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 DescribeHaVipsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeHaVips','ens') + self.set_method('GET') + + def get_EnsRegionId(self): # String + return self.get_query_params().get('EnsRegionId') + + def set_EnsRegionId(self, EnsRegionId): # String + self.add_query_param('EnsRegionId', EnsRegionId) + def get_HaVipId(self): # String + return self.get_query_params().get('HaVipId') + + def set_HaVipId(self, HaVipId): # String + self.add_query_param('HaVipId', HaVipId) + def get_HaVipAddress(self): # String + return self.get_query_params().get('HaVipAddress') + + def set_HaVipAddress(self, HaVipAddress): # String + self.add_query_param('HaVipAddress', HaVipAddress) + def get_VSwitchId(self): # String + return self.get_query_params().get('VSwitchId') + + def set_VSwitchId(self, VSwitchId): # String + self.add_query_param('VSwitchId', VSwitchId) + def get_Name(self): # String + return self.get_query_params().get('Name') + + def set_Name(self, Name): # String + self.add_query_param('Name', Name) + def get_NetworkId(self): # String + return self.get_query_params().get('NetworkId') + + def set_NetworkId(self, NetworkId): # String + self.add_query_param('NetworkId', NetworkId) + def get_Status(self): # String + return self.get_query_params().get('Status') + + def set_Status(self, Status): # String + self.add_query_param('Status', Status) + def get_PageNumber(self): # String + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # String + self.add_query_param('PageNumber', PageNumber) + def get_PageSize(self): # String + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # String + self.add_query_param('PageSize', PageSize) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeInstanceBandwidthDetailRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeInstanceBandwidthDetailRequest.py new file mode 100644 index 0000000000..7831280206 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeInstanceBandwidthDetailRequest.py @@ -0,0 +1,67 @@ +# 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 DescribeInstanceBandwidthDetailRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeInstanceBandwidthDetail','ens') + self.set_method('GET') + + def get_StartTime(self): # String + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_EnsRegionId(self): # String + return self.get_query_params().get('EnsRegionId') + + def set_EnsRegionId(self, EnsRegionId): # String + self.add_query_param('EnsRegionId', EnsRegionId) + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) + def get_PageNumber(self): # Integer + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Integer + self.add_query_param('PageNumber', PageNumber) + def get_PageSize(self): # Integer + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Integer + self.add_query_param('PageSize', PageSize) + def get_InstanceType(self): # String + return self.get_query_params().get('InstanceType') + + def set_InstanceType(self, InstanceType): # String + self.add_query_param('InstanceType', InstanceType) + def get_EndTime(self): # String + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) + def get_ServiceType(self): # String + return self.get_query_params().get('ServiceType') + + def set_ServiceType(self, ServiceType): # String + self.add_query_param('ServiceType', ServiceType) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenMonitorRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenMonitorRequest.py new file mode 100644 index 0000000000..929d0d7d37 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenMonitorRequest.py @@ -0,0 +1,53 @@ +# 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 DescribeLoadBalancerListenMonitorRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeLoadBalancerListenMonitor','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_StartTime(self): # String + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_LoadBalancerId(self): # String + return self.get_query_params().get('LoadBalancerId') + + def set_LoadBalancerId(self, LoadBalancerId): # String + self.add_query_param('LoadBalancerId', LoadBalancerId) + def get_Proto(self): # String + return self.get_query_params().get('Proto') + + def set_Proto(self, Proto): # String + self.add_query_param('Proto', Proto) + def get_VPort(self): # String + return self.get_query_params().get('VPort') + + def set_VPort(self, VPort): # String + self.add_query_param('VPort', VPort) + def get_EndTime(self): # String + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenersRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenersRequest.py new file mode 100644 index 0000000000..755b07eb47 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeLoadBalancerListenersRequest.py @@ -0,0 +1,42 @@ +# 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 DescribeLoadBalancerListenersRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeLoadBalancerListeners','ens') + self.set_method('POST') + + def get_PageNumber(self): # Integer + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Integer + self.add_query_param('PageNumber', PageNumber) + def get_PageSize(self): # Integer + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Integer + self.add_query_param('PageSize', PageSize) + def get_LoadBalancerId(self): # String + return self.get_query_params().get('LoadBalancerId') + + def set_LoadBalancerId(self, LoadBalancerId): # String + self.add_query_param('LoadBalancerId', LoadBalancerId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py index 893970845c..ede4d777e6 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py @@ -55,6 +55,12 @@ def get_NetworkId(self): # String def set_NetworkId(self, NetworkId): # String self.add_query_param('NetworkId', NetworkId) + def get_Ipv6Address(self): # Array + return self.get_query_params().get('Ipv6Address') + + def set_Ipv6Address(self, Ipv6Address): # Array + for index1, value1 in enumerate(Ipv6Address): + self.add_query_param('Ipv6Address.' + str(index1 + 1), value1) def get_Status(self): # String return self.get_query_params().get('Status') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeSecondaryPublicIpAddressesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeSecondaryPublicIpAddressesRequest.py new file mode 100644 index 0000000000..e049c4ab34 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeSecondaryPublicIpAddressesRequest.py @@ -0,0 +1,57 @@ +# 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 DescribeSecondaryPublicIpAddressesRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeSecondaryPublicIpAddresses','ens') + self.set_method('POST') + + def get_SecondaryPublicIpId(self): # String + return self.get_query_params().get('SecondaryPublicIpId') + + def set_SecondaryPublicIpId(self, SecondaryPublicIpId): # String + self.add_query_param('SecondaryPublicIpId', SecondaryPublicIpId) + def get_Isp(self): # String + return self.get_query_params().get('Isp') + + def set_Isp(self, Isp): # String + self.add_query_param('Isp', Isp) + def get_PageNumber(self): # Integer + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Integer + self.add_query_param('PageNumber', PageNumber) + def get_EnsRegionId(self): # String + return self.get_query_params().get('EnsRegionId') + + def set_EnsRegionId(self, EnsRegionId): # String + self.add_query_param('EnsRegionId', EnsRegionId) + def get_PageSize(self): # Integer + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Integer + self.add_query_param('PageSize', PageSize) + def get_SecondaryPublicIpAddress(self): # String + return self.get_query_params().get('SecondaryPublicIpAddress') + + def set_SecondaryPublicIpAddress(self, SecondaryPublicIpAddress): # String + self.add_query_param('SecondaryPublicIpAddress', SecondaryPublicIpAddress) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerListenMonitorRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerListenMonitorRequest.py new file mode 100644 index 0000000000..94ae7d0949 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerListenMonitorRequest.py @@ -0,0 +1,53 @@ +# 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 DescribeServerLoadBalancerListenMonitorRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeServerLoadBalancerListenMonitor','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_StartTime(self): # String + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_LoadBalancerId(self): # String + return self.get_query_params().get('LoadBalancerId') + + def set_LoadBalancerId(self, LoadBalancerId): # String + self.add_query_param('LoadBalancerId', LoadBalancerId) + def get_Proto(self): # String + return self.get_query_params().get('Proto') + + def set_Proto(self, Proto): # String + self.add_query_param('Proto', Proto) + def get_VPort(self): # String + return self.get_query_params().get('VPort') + + def set_VPort(self, VPort): # String + self.add_query_param('VPort', VPort) + def get_EndTime(self): # String + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerMonitorRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerMonitorRequest.py new file mode 100644 index 0000000000..a46dc28620 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeServerLoadBalancerMonitorRequest.py @@ -0,0 +1,43 @@ +# 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 DescribeServerLoadBalancerMonitorRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeServerLoadBalancerMonitor','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_StartTime(self): # String + return self.get_query_params().get('StartTime') + + def set_StartTime(self, StartTime): # String + self.add_query_param('StartTime', StartTime) + def get_EndTime(self): # String + return self.get_query_params().get('EndTime') + + def set_EndTime(self, EndTime): # String + self.add_query_param('EndTime', EndTime) + def get_LoadBalancerId(self): # String + return self.get_query_params().get('LoadBalancerId') + + def set_LoadBalancerId(self, LoadBalancerId): # String + self.add_query_param('LoadBalancerId', LoadBalancerId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeEipAddressesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DetachNetworkInterfaceRequest.py similarity index 64% rename from aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeEipAddressesRequest.py rename to aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DetachNetworkInterfaceRequest.py index b386e9eba3..992b1b22ad 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeEipAddressesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DetachNetworkInterfaceRequest.py @@ -19,19 +19,14 @@ from aliyunsdkcore.request import RpcRequest -class DescribeEipAddressesRequest(RpcRequest): +class DetachNetworkInterfaceRequest(RpcRequest): def __init__(self): - RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeEipAddresses','ens') + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DetachNetworkInterface','ens') self.set_method('POST') - def get_Eips(self): # String - return self.get_query_params().get('Eips') + def get_NetworkInterfaceId(self): # String + return self.get_query_params().get('NetworkInterfaceId') - def set_Eips(self, Eips): # String - self.add_query_param('Eips', Eips) - def get_EnsRegionId(self): # String - return self.get_query_params().get('EnsRegionId') - - def set_EnsRegionId(self, EnsRegionId): # String - self.add_query_param('EnsRegionId', EnsRegionId) + def set_NetworkInterfaceId(self, NetworkInterfaceId): # String + self.add_query_param('NetworkInterfaceId', NetworkInterfaceId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py index b76dcc7409..2aa3c0fe93 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py @@ -24,7 +24,7 @@ class GetBucketAclRequest(RpcRequest): def __init__(self): RpcRequest.__init__(self, 'Ens', '2017-11-10', 'GetBucketAcl','ens') self.set_protocol_type('https') - self.set_method('GET') + self.set_method('POST') def get_BucketName(self): # String return self.get_query_params().get('BucketName') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyHaVipAttributeRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyHaVipAttributeRequest.py new file mode 100644 index 0000000000..3f85b259d3 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyHaVipAttributeRequest.py @@ -0,0 +1,37 @@ +# 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 ModifyHaVipAttributeRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ModifyHaVipAttribute','ens') + self.set_method('POST') + + def get_HaVipId(self): # String + return self.get_query_params().get('HaVipId') + + def set_HaVipId(self, HaVipId): # String + self.add_query_param('HaVipId', HaVipId) + def get_Name(self): # String + return self.get_query_params().get('Name') + + def set_Name(self, Name): # String + self.add_query_param('Name', Name) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyInstanceBootConfigurationRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyInstanceBootConfigurationRequest.py new file mode 100644 index 0000000000..0a0f56ed7c --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyInstanceBootConfigurationRequest.py @@ -0,0 +1,48 @@ +# 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 ModifyInstanceBootConfigurationRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ModifyInstanceBootConfiguration','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_DiskSet(self): # String + return self.get_query_params().get('DiskSet') + + def set_DiskSet(self, DiskSet): # String + self.add_query_param('DiskSet', DiskSet) + def get_BootType(self): # String + return self.get_query_params().get('BootType') + + def set_BootType(self, BootType): # String + self.add_query_param('BootType', BootType) + def get_BootSet(self): # String + return self.get_query_params().get('BootSet') + + def set_BootSet(self, BootSet): # String + self.add_query_param('BootSet', BootSet) + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyNetworkInterfaceAttributeRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyNetworkInterfaceAttributeRequest.py new file mode 100644 index 0000000000..843c91800c --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifyNetworkInterfaceAttributeRequest.py @@ -0,0 +1,42 @@ +# 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 ModifyNetworkInterfaceAttributeRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ModifyNetworkInterfaceAttribute','ens') + self.set_method('POST') + + def get_Description(self): # String + return self.get_query_params().get('Description') + + def set_Description(self, Description): # String + self.add_query_param('Description', Description) + def get_NetworkInterfaceName(self): # String + return self.get_query_params().get('NetworkInterfaceName') + + def set_NetworkInterfaceName(self, NetworkInterfaceName): # String + self.add_query_param('NetworkInterfaceName', NetworkInterfaceName) + def get_NetworkInterfaceId(self): # String + return self.get_query_params().get('NetworkInterfaceId') + + def set_NetworkInterfaceId(self, NetworkInterfaceId): # String + self.add_query_param('NetworkInterfaceId', NetworkInterfaceId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py index 8e7cd96b26..d731dc81fd 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py @@ -195,6 +195,11 @@ def get_IpType(self): # String def set_IpType(self, IpType): # String self.add_query_param('IpType', IpType) + def get_SpotDuration(self): # Integer + return self.get_query_params().get('SpotDuration') + + def set_SpotDuration(self, SpotDuration): # Integer + self.add_query_param('SpotDuration', SpotDuration) def get_DataDisk(self): # Array return self.get_query_params().get('DataDisk') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/UnassociateHaVipRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/UnassociateHaVipRequest.py new file mode 100644 index 0000000000..8b6e4d49ef --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/UnassociateHaVipRequest.py @@ -0,0 +1,37 @@ +# 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 UnassociateHaVipRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'UnassociateHaVip','ens') + self.set_method('POST') + + def get_HaVipId(self): # String + return self.get_query_params().get('HaVipId') + + def set_HaVipId(self, HaVipId): # String + self.add_query_param('HaVipId', HaVipId) + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) diff --git a/aliyun-python-sdk-ens/setup.py b/aliyun-python-sdk-ens/setup.py index e6a897c0e1..05b11f3b4a 100644 --- a/aliyun-python-sdk-ens/setup.py +++ b/aliyun-python-sdk-ens/setup.py @@ -65,13 +65,13 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 2.6", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development", )