diff --git a/aliyun-python-sdk-ens/ChangeLog.txt b/aliyun-python-sdk-ens/ChangeLog.txt index 59c8139c27..5b225d6f16 100644 --- a/aliyun-python-sdk-ens/ChangeLog.txt +++ b/aliyun-python-sdk-ens/ChangeLog.txt @@ -1,3 +1,6 @@ +2023-11-27 Version: 3.0.14 +- Support AIC Instance. + 2023-07-20 Version: 3.0.13 - Support clouddisk API. diff --git a/aliyun-python-sdk-ens/aliyunsdkens/__init__.py b/aliyun-python-sdk-ens/aliyunsdkens/__init__.py index 05ab1982c6..4bd76240a8 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/__init__.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/__init__.py @@ -1 +1 @@ -__version__ = '3.0.13' \ No newline at end of file +__version__ = '3.0.14' \ No newline at end of file diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySDGRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySDGRequest.py new file mode 100644 index 0000000000..71984889ab --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySDGRequest.py @@ -0,0 +1,39 @@ +# 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 +import json + +class CopySDGRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CopySDG','ens') + self.set_protocol_type('https') + self.set_method('GET') + + def get_DestinationRegionIds(self): # Array + return self.get_query_params().get('DestinationRegionIds') + + def set_DestinationRegionIds(self, DestinationRegionIds): # Array + self.add_query_param("DestinationRegionIds", json.dumps(DestinationRegionIds)) + def get_SDGId(self): # String + return self.get_query_params().get('SDGId') + + def set_SDGId(self, SDGId): # String + self.add_query_param('SDGId', SDGId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySnapshotRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySnapshotRequest.py new file mode 100644 index 0000000000..d81b72221f --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CopySnapshotRequest.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 +import json + +class CopySnapshotRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CopySnapshot','ens') + self.set_method('POST') + + def get_SnapshotId(self): # String + return self.get_query_params().get('SnapshotId') + + def set_SnapshotId(self, SnapshotId): # String + self.add_query_param('SnapshotId', SnapshotId) + def get_DestinationRegionIds(self): # Array + return self.get_query_params().get('DestinationRegionIds') + + def set_DestinationRegionIds(self, DestinationRegionIds): # Array + self.add_query_param("DestinationRegionIds", json.dumps(DestinationRegionIds)) + def get_DestinationSnapshotName(self): # String + return self.get_query_params().get('DestinationSnapshotName') + + def set_DestinationSnapshotName(self, DestinationSnapshotName): # String + self.add_query_param('DestinationSnapshotName', DestinationSnapshotName) + def get_DestinationSnapshotDescription(self): # String + return self.get_query_params().get('DestinationSnapshotDescription') + + def set_DestinationSnapshotDescription(self, DestinationSnapshotDescription): # String + self.add_query_param('DestinationSnapshotDescription', DestinationSnapshotDescription) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateARMServerInstancesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateARMServerInstancesRequest.py index 63714329bd..1ef1d9c16e 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateARMServerInstancesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateARMServerInstancesRequest.py @@ -70,6 +70,11 @@ def get_ServerType(self): # String def set_ServerType(self, ServerType): # String self.add_query_param('ServerType', ServerType) + def get_AutoUseCoupon(self): # Boolean + return self.get_query_params().get('AutoUseCoupon') + + def set_AutoUseCoupon(self, AutoUseCoupon): # Boolean + self.add_query_param('AutoUseCoupon', AutoUseCoupon) def get_InstanceType(self): # String return self.get_query_params().get('InstanceType') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py index b546357916..7d3ad96897 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateDiskRequest.py @@ -25,28 +25,43 @@ def __init__(self): RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateDisk','ens') self.set_method('POST') - def get_SnapshotId(self): # String - return self.get_query_params().get('SnapshotId') + def get_DiskName(self): # String + return self.get_query_params().get('DiskName') - def set_SnapshotId(self, SnapshotId): # String - self.add_query_param('SnapshotId', SnapshotId) + def set_DiskName(self, DiskName): # String + self.add_query_param('DiskName', DiskName) 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_Size(self): # String + return self.get_query_params().get('Size') + + def set_Size(self, Size): # String + self.add_query_param('Size', Size) + def get_SnapshotId(self): # String + return self.get_query_params().get('SnapshotId') + + def set_SnapshotId(self, SnapshotId): # String + self.add_query_param('SnapshotId', SnapshotId) def get_InstanceChargeType(self): # String return self.get_query_params().get('InstanceChargeType') def set_InstanceChargeType(self, InstanceChargeType): # String self.add_query_param('InstanceChargeType', InstanceChargeType) - def get_Size(self): # String - return self.get_query_params().get('Size') + def get_Encrypted(self): # Boolean + return self.get_query_params().get('Encrypted') - def set_Size(self, Size): # String - self.add_query_param('Size', Size) + def set_Encrypted(self, Encrypted): # Boolean + self.add_query_param('Encrypted', Encrypted) def get_Category(self): # String return self.get_query_params().get('Category') def set_Category(self, Category): # String self.add_query_param('Category', Category) + def get_KMSKeyId(self): # String + return self.get_query_params().get('KMSKeyId') + + def set_KMSKeyId(self, KMSKeyId): # String + self.add_query_param('KMSKeyId', KMSKeyId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py index bfe1bd4163..476c4a0abe 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateEipInstanceRequest.py @@ -35,16 +35,6 @@ def get_EnsRegionId(self): # String def set_EnsRegionId(self, EnsRegionId): # String self.add_query_param('EnsRegionId', EnsRegionId) - def get_InstanceChargeType(self): # String - return self.get_query_params().get('InstanceChargeType') - - def set_InstanceChargeType(self, InstanceChargeType): # String - self.add_query_param('InstanceChargeType', InstanceChargeType) - def get_Bandwidth(self): # Long - return self.get_query_params().get('Bandwidth') - - def set_Bandwidth(self, Bandwidth): # Long - self.add_query_param('Bandwidth', Bandwidth) def get_InternetChargeType(self): # String return self.get_query_params().get('InternetChargeType') @@ -55,3 +45,18 @@ def get_Name(self): # String def set_Name(self, Name): # String self.add_query_param('Name', Name) + 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_InstanceChargeType(self): # String + return self.get_query_params().get('InstanceChargeType') + + def set_InstanceChargeType(self, InstanceChargeType): # String + self.add_query_param('InstanceChargeType', InstanceChargeType) + def get_Bandwidth(self): # Long + return self.get_query_params().get('Bandwidth') + + def set_Bandwidth(self, Bandwidth): # Long + self.add_query_param('Bandwidth', Bandwidth) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnapshotRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnapshotRequest.py new file mode 100644 index 0000000000..69258251cb --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/CreateSnapshotRequest.py @@ -0,0 +1,47 @@ +# 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 CreateSnapshotRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'CreateSnapshot','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_SnapshotName(self): # String + return self.get_query_params().get('SnapshotName') + + def set_SnapshotName(self, SnapshotName): # String + self.add_query_param('SnapshotName', SnapshotName) + 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_DiskId(self): # String + return self.get_query_params().get('DiskId') + + def set_DiskId(self, DiskId): # String + self.add_query_param('DiskId', DiskId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketLifecycleRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketLifecycleRequest.py new file mode 100644 index 0000000000..db4a9e165e --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketLifecycleRequest.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 DeleteBucketLifecycleRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteBucketLifecycle','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_RuleId(self): # String + return self.get_query_params().get('RuleId') + + def set_RuleId(self, RuleId): # String + self.add_query_param('RuleId', RuleId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketRequest.py new file mode 100644 index 0000000000..201c22a5e7 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteBucketRequest.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 DeleteBucketRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteBucket','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteObjectRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteObjectRequest.py new file mode 100644 index 0000000000..d0f3aad4a4 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteObjectRequest.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 DeleteObjectRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteObject','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_ObjectKey(self): # String + return self.get_query_params().get('ObjectKey') + + def set_ObjectKey(self, ObjectKey): # String + self.add_query_param('ObjectKey', ObjectKey) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteSnapshotRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteSnapshotRequest.py new file mode 100644 index 0000000000..f309ba68f2 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeleteSnapshotRequest.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 DeleteSnapshotRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeleteSnapshot','ens') + self.set_method('POST') + + def get_SnapshotId(self): # String + return self.get_query_params().get('SnapshotId') + + def set_SnapshotId(self, SnapshotId): # String + self.add_query_param('SnapshotId', SnapshotId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeploySDGRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeploySDGRequest.py new file mode 100644 index 0000000000..a64d6eceb4 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DeploySDGRequest.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 +import json + +class DeploySDGRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DeploySDG','ens') + self.set_method('GET') + + def get_DeploymentType(self): # String + return self.get_query_params().get('DeploymentType') + + def set_DeploymentType(self, DeploymentType): # String + self.add_query_param('DeploymentType', DeploymentType) + def get_SDGId(self): # String + return self.get_query_params().get('SDGId') + + def set_SDGId(self, SDGId): # String + self.add_query_param('SDGId', SDGId) + def get_InstanceIds(self): # Array + return self.get_query_params().get('InstanceIds') + + def set_InstanceIds(self, InstanceIds): # Array + self.add_query_param("InstanceIds", json.dumps(InstanceIds)) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeARMServerInstancesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeARMServerInstancesRequest.py index c27154fec2..6db1414ee1 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeARMServerInstancesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeARMServerInstancesRequest.py @@ -86,11 +86,6 @@ def get_MinDate(self): # String def set_MinDate(self, MinDate): # String self.add_query_param('MinDate', MinDate) - def get_LatestAction(self): # String - return self.get_query_params().get('LatestAction') - - def set_LatestAction(self, LatestAction): # String - self.add_query_param('LatestAction', LatestAction) def get_Namespace(self): # String return self.get_query_params().get('Namespace') diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py index 8acf37102e..893970845c 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeNetworkInterfacesRequest.py @@ -25,21 +25,21 @@ def __init__(self): RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeNetworkInterfaces','ens') self.set_method('POST') - def get_PageNumber(self): # String - return self.get_query_params().get('PageNumber') + def get_Type(self): # String + return self.get_query_params().get('Type') - def set_PageNumber(self, PageNumber): # String - self.add_query_param('PageNumber', PageNumber) + def set_Type(self, Type): # String + self.add_query_param('Type', Type) 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): # String - return self.get_query_params().get('PageSize') + def get_NetworkInterfaceName(self): # String + return self.get_query_params().get('NetworkInterfaceName') - def set_PageSize(self, PageSize): # String - self.add_query_param('PageSize', PageSize) + def set_NetworkInterfaceName(self, NetworkInterfaceName): # String + self.add_query_param('NetworkInterfaceName', NetworkInterfaceName) def get_VSwitchId(self): # String return self.get_query_params().get('VSwitchId') @@ -50,8 +50,38 @@ def get_InstanceId(self): # String def set_InstanceId(self, InstanceId): # String self.add_query_param('InstanceId', InstanceId) + 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_SecurityGroupId(self): # String + return self.get_query_params().get('SecurityGroupId') + + def set_SecurityGroupId(self, SecurityGroupId): # String + self.add_query_param('SecurityGroupId', SecurityGroupId) + 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) def get_PrimaryIpAddress(self): # String return self.get_query_params().get('PrimaryIpAddress') def set_PrimaryIpAddress(self, PrimaryIpAddress): # String self.add_query_param('PrimaryIpAddress', PrimaryIpAddress) + 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/DescribeSnapshotsRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeSnapshotsRequest.py new file mode 100644 index 0000000000..2f90144b1e --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeSnapshotsRequest.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 DescribeSnapshotsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeSnapshots','ens') + self.set_method('POST') + + def get_SnapshotId(self): # String + return self.get_query_params().get('SnapshotId') + + def set_SnapshotId(self, SnapshotId): # String + self.add_query_param('SnapshotId', SnapshotId) + 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_DiskId(self): # String + return self.get_query_params().get('DiskId') + + def set_DiskId(self, DiskId): # String + self.add_query_param('DiskId', DiskId) + 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/DescribeRegionBandwidthQuotaRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py similarity index 72% rename from aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeRegionBandwidthQuotaRequest.py rename to aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py index a493726cff..b76dcc7409 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/DescribeRegionBandwidthQuotaRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketAclRequest.py @@ -19,9 +19,15 @@ from aliyunsdkcore.request import RpcRequest -class DescribeRegionBandwidthQuotaRequest(RpcRequest): +class GetBucketAclRequest(RpcRequest): def __init__(self): - RpcRequest.__init__(self, 'Ens', '2017-11-10', 'DescribeRegionBandwidthQuota','ens') + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'GetBucketAcl','ens') + self.set_protocol_type('https') self.set_method('GET') + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketInfoRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketInfoRequest.py new file mode 100644 index 0000000000..a7f6e65b17 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketInfoRequest.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 GetBucketInfoRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'GetBucketInfo','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketLifecycleRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketLifecycleRequest.py new file mode 100644 index 0000000000..98be998b9c --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/GetBucketLifecycleRequest.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 GetBucketLifecycleRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'GetBucketLifecycle','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_RuleId(self): # String + return self.get_query_params().get('RuleId') + + def set_RuleId(self, RuleId): # String + self.add_query_param('RuleId', RuleId) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/JoinSecurityGroupRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/JoinSecurityGroupRequest.py index 1cf8497778..33959c46ae 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/JoinSecurityGroupRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/JoinSecurityGroupRequest.py @@ -35,3 +35,8 @@ def get_InstanceId(self): # String 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/LeaveSecurityGroupRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/LeaveSecurityGroupRequest.py index 292d09db94..897aea9f7f 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/LeaveSecurityGroupRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/LeaveSecurityGroupRequest.py @@ -35,3 +35,8 @@ def get_InstanceId(self): # String 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/ListBucketsRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ListBucketsRequest.py new file mode 100644 index 0000000000..e4da2822ad --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ListBucketsRequest.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 ListBucketsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ListBuckets','ens') + self.set_method('POST') + + def get_Prefix(self): # String + return self.get_query_params().get('Prefix') + + def set_Prefix(self, Prefix): # String + self.add_query_param('Prefix', Prefix) + 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/ListObjectsRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ListObjectsRequest.py new file mode 100644 index 0000000000..e3b8dbe26f --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ListObjectsRequest.py @@ -0,0 +1,62 @@ +# 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 ListObjectsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ListObjects','ens') + self.set_method('POST') + + def get_MaxKeys(self): # Long + return self.get_query_params().get('MaxKeys') + + def set_MaxKeys(self, MaxKeys): # Long + self.add_query_param('MaxKeys', MaxKeys) + def get_ContinuationToken(self): # String + return self.get_query_params().get('ContinuationToken') + + def set_ContinuationToken(self, ContinuationToken): # String + self.add_query_param('ContinuationToken', ContinuationToken) + def get_Prefix(self): # String + return self.get_query_params().get('Prefix') + + def set_Prefix(self, Prefix): # String + self.add_query_param('Prefix', Prefix) + def get_Marker(self): # String + return self.get_query_params().get('Marker') + + def set_Marker(self, Marker): # String + self.add_query_param('Marker', Marker) + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_EncodingType(self): # String + return self.get_query_params().get('EncodingType') + + def set_EncodingType(self, EncodingType): # String + self.add_query_param('EncodingType', EncodingType) + def get_StartAfter(self): # String + return self.get_query_params().get('StartAfter') + + def set_StartAfter(self, StartAfter): # String + self.add_query_param('StartAfter', StartAfter) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifySnapshotAttributeRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifySnapshotAttributeRequest.py new file mode 100644 index 0000000000..d50f3c6773 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/ModifySnapshotAttributeRequest.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 ModifySnapshotAttributeRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'ModifySnapshotAttribute','ens') + self.set_method('POST') + + def get_SnapshotId(self): # String + return self.get_query_params().get('SnapshotId') + + def set_SnapshotId(self, SnapshotId): # String + self.add_query_param('SnapshotId', SnapshotId) + 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_SnapshotName(self): # String + return self.get_query_params().get('SnapshotName') + + def set_SnapshotName(self, SnapshotName): # String + self.add_query_param('SnapshotName', SnapshotName) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketAclRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketAclRequest.py new file mode 100644 index 0000000000..cc939af001 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketAclRequest.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 PutBucketAclRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'PutBucketAcl','ens') + self.set_method('POST') + + def get_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_BucketAcl(self): # String + return self.get_query_params().get('BucketAcl') + + def set_BucketAcl(self, BucketAcl): # String + self.add_query_param('BucketAcl', BucketAcl) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketLifecycleRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketLifecycleRequest.py new file mode 100644 index 0000000000..42379944b8 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketLifecycleRequest.py @@ -0,0 +1,62 @@ +# 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 PutBucketLifecycleRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'PutBucketLifecycle','ens') + self.set_method('POST') + + def get_Prefix(self): # String + return self.get_query_params().get('Prefix') + + def set_Prefix(self, Prefix): # String + self.add_query_param('Prefix', Prefix) + def get_AllowSameActionOverlap(self): # String + return self.get_query_params().get('AllowSameActionOverlap') + + def set_AllowSameActionOverlap(self, AllowSameActionOverlap): # String + self.add_query_param('AllowSameActionOverlap', AllowSameActionOverlap) + def get_ExpirationDays(self): # Long + return self.get_query_params().get('ExpirationDays') + + def set_ExpirationDays(self, ExpirationDays): # Long + self.add_query_param('ExpirationDays', ExpirationDays) + def get_RuleId(self): # String + return self.get_query_params().get('RuleId') + + def set_RuleId(self, RuleId): # String + self.add_query_param('RuleId', RuleId) + 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_BucketName(self): # String + return self.get_query_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_query_param('BucketName', BucketName) + def get_CreatedBeforeDate(self): # String + return self.get_query_params().get('CreatedBeforeDate') + + def set_CreatedBeforeDate(self, CreatedBeforeDate): # String + self.add_query_param('CreatedBeforeDate', CreatedBeforeDate) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketRequest.py new file mode 100644 index 0000000000..1e93f9d690 --- /dev/null +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/PutBucketRequest.py @@ -0,0 +1,52 @@ +# 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 PutBucketRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'Ens', '2017-11-10', 'PutBucket','ens') + self.set_method('POST') + + def get_EnsRegionId(self): # String + return self.get_body_params().get('EnsRegionId') + + def set_EnsRegionId(self, EnsRegionId): # String + self.add_body_params('EnsRegionId', EnsRegionId) + def get_LogicalBucketType(self): # String + return self.get_body_params().get('LogicalBucketType') + + def set_LogicalBucketType(self, LogicalBucketType): # String + self.add_body_params('LogicalBucketType', LogicalBucketType) + def get_BucketName(self): # String + return self.get_body_params().get('BucketName') + + def set_BucketName(self, BucketName): # String + self.add_body_params('BucketName', BucketName) + def get_BucketAcl(self): # String + return self.get_body_params().get('BucketAcl') + + def set_BucketAcl(self, BucketAcl): # String + self.add_body_params('BucketAcl', BucketAcl) + def get_Comment(self): # String + return self.get_body_params().get('Comment') + + def set_Comment(self, Comment): # String + self.add_body_params('Comment', Comment) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RebootARMServerInstanceRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RebootARMServerInstanceRequest.py index 83811b1d61..38e5f7f078 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RebootARMServerInstanceRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RebootARMServerInstanceRequest.py @@ -18,7 +18,6 @@ # under the License. from aliyunsdkcore.request import RpcRequest -import json class RebootARMServerInstanceRequest(RpcRequest): @@ -31,8 +30,3 @@ def get_ServerId(self): # String def set_ServerId(self, ServerId): # String self.add_query_param('ServerId', ServerId) - def get_ServerIds(self): # Array - return self.get_query_params().get('ServerIds') - - def set_ServerIds(self, ServerIds): # Array - self.add_query_param("ServerIds", json.dumps(ServerIds)) diff --git a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py index 84d426716a..2926463a39 100644 --- a/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py +++ b/aliyun-python-sdk-ens/aliyunsdkens/request/v20171110/RunInstancesRequest.py @@ -86,6 +86,11 @@ def get_PublicIpIdentification(self): # Boolean def set_PublicIpIdentification(self, PublicIpIdentification): # Boolean self.add_query_param('PublicIpIdentification', PublicIpIdentification) + def get_BillingCycle(self): # String + return self.get_query_params().get('BillingCycle') + + def set_BillingCycle(self, BillingCycle): # String + self.add_query_param('BillingCycle', BillingCycle) def get_VSwitchId(self): # String return self.get_query_params().get('VSwitchId') @@ -136,6 +141,11 @@ def get_InternetMaxBandwidthOut(self): # Long def set_InternetMaxBandwidthOut(self, InternetMaxBandwidthOut): # Long self.add_query_param('InternetMaxBandwidthOut', InternetMaxBandwidthOut) + def get_AutoUseCoupon(self): # String + return self.get_query_params().get('AutoUseCoupon') + + def set_AutoUseCoupon(self, AutoUseCoupon): # String + self.add_query_param('AutoUseCoupon', AutoUseCoupon) def get_UserData(self): # String return self.get_query_params().get('UserData') @@ -161,6 +171,11 @@ def get_Amount(self): # Long def set_Amount(self, Amount): # Long self.add_query_param('Amount', Amount) + def get_IpType(self): # String + return self.get_query_params().get('IpType') + + def set_IpType(self, IpType): # String + self.add_query_param('IpType', IpType) def get_DataDisk(self): # Array return self.get_query_params().get('DataDisk')