diff --git a/aliyun-python-sdk-polardb/ChangeLog.txt b/aliyun-python-sdk-polardb/ChangeLog.txt index f7e7b9a627..5b20e383ca 100644 --- a/aliyun-python-sdk-polardb/ChangeLog.txt +++ b/aliyun-python-sdk-polardb/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-18 Version: 1.8.49 +- Generated 2017-08-01 for `polardb`. + 2024-04-24 Version: 1.8.48 - Support new feature. diff --git a/aliyun-python-sdk-polardb/README.rst b/aliyun-python-sdk-polardb/README.rst index 642b27c74c..190ab2fcf6 100644 --- a/aliyun-python-sdk-polardb/README.rst +++ b/aliyun-python-sdk-polardb/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-polardb/aliyunsdkpolardb/__init__.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py index 8f88d08a01..ecaa257e5c 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py @@ -1 +1 @@ -__version__ = '1.8.48' \ No newline at end of file +__version__ = '1.8.49' \ No newline at end of file diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/endpoint.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/endpoint.py index b935f104ca..84ccc7d99d 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/endpoint.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/endpoint.py @@ -40,7 +40,6 @@ def __init__(self): "cn-hongkong": "polardb.aliyuncs.com", "cn-beijing-finance-pop": "polardb.aliyuncs.com", "cn-wuhan": "polardb.aliyuncs.com", - "us-west-1": "polardb.aliyuncs.com", "cn-zhangbei": "polardb.aliyuncs.com", "cn-shenzhen": "polardb.aliyuncs.com", "cn-zhengzhou-nebula-1": "polardb.aliyuncs.com", @@ -57,11 +56,10 @@ def __init__(self): "cn-hangzhou-test-306": "polardb.aliyuncs.com", "cn-huhehaote-nebula-1": "polardb.aliyuncs.com", "cn-shanghai-et2-b01": "polardb.aliyuncs.com", + "cn-guangzhou": "polardb.aliyuncs.com", "cn-hangzhou-finance": "polardb.aliyuncs.com", - "ap-southeast-1": "polardb.aliyuncs.com", "cn-beijing-nu16-b01": "polardb.aliyuncs.com", "cn-edge-1": "polardb.aliyuncs.com", - "us-east-1": "polardb.aliyuncs.com", "cn-fujian": "polardb.aliyuncs.com", "ap-northeast-2-pop": "polardb.aliyuncs.com", "cn-shenzhen-inner": "polardb.aliyuncs.com", diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateActivationCodeRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateActivationCodeRequest.py new file mode 100644 index 0000000000..3032906421 --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateActivationCodeRequest.py @@ -0,0 +1,79 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class CreateActivationCodeRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CreateActivationCode','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + 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_AliyunOrderId(self): # String + return self.get_query_params().get('AliyunOrderId') + + def set_AliyunOrderId(self, AliyunOrderId): # String + self.add_query_param('AliyunOrderId', AliyunOrderId) + def get_MacAddress(self): # String + return self.get_query_params().get('MacAddress') + + def set_MacAddress(self, MacAddress): # String + self.add_query_param('MacAddress', MacAddress) + def get_SystemIdentifier(self): # String + return self.get_query_params().get('SystemIdentifier') + + def set_SystemIdentifier(self, SystemIdentifier): # String + self.add_query_param('SystemIdentifier', SystemIdentifier) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) + 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-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterEndpointRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterEndpointRequest.py index b21629bc1f..8dbce4e398 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterEndpointRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterEndpointRequest.py @@ -46,6 +46,11 @@ def get_ClientToken(self): # String def set_ClientToken(self, ClientToken): # String self.add_query_param('ClientToken', ClientToken) + def get_PolarSccWaitTimeout(self): # String + return self.get_query_params().get('PolarSccWaitTimeout') + + def set_PolarSccWaitTimeout(self, PolarSccWaitTimeout): # String + self.add_query_param('PolarSccWaitTimeout', PolarSccWaitTimeout) def get_ReadWriteMode(self): # String return self.get_query_params().get('ReadWriteMode') @@ -56,6 +61,11 @@ def get_EndpointType(self): # String def set_EndpointType(self, EndpointType): # String self.add_query_param('EndpointType', EndpointType) + def get_PolarSccTimeoutAction(self): # String + return self.get_query_params().get('PolarSccTimeoutAction') + + def set_PolarSccTimeoutAction(self, PolarSccTimeoutAction): # String + self.add_query_param('PolarSccTimeoutAction', PolarSccTimeoutAction) def get_ResourceOwnerAccount(self): # String return self.get_query_params().get('ResourceOwnerAccount') @@ -91,3 +101,8 @@ def get_Nodes(self): # String def set_Nodes(self, Nodes): # String self.add_query_param('Nodes', Nodes) + def get_SccMode(self): # String + return self.get_query_params().get('SccMode') + + def set_SccMode(self, SccMode): # String + self.add_query_param('SccMode', SccMode) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterRequest.py index 5d035731ac..6cd006f3bb 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterRequest.py @@ -245,6 +245,11 @@ def get_UsedTime(self): # String def set_UsedTime(self, UsedTime): # String self.add_query_param('UsedTime', UsedTime) + def get_BurstingEnabled(self): # String + return self.get_query_params().get('BurstingEnabled') + + def set_BurstingEnabled(self, BurstingEnabled): # String + self.add_query_param('BurstingEnabled', BurstingEnabled) def get_DBNodeNum(self): # Integer return self.get_query_params().get('DBNodeNum') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateGlobalDatabaseNetworkRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateGlobalDatabaseNetworkRequest.py index 5168d559c5..11ba4f2b2c 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateGlobalDatabaseNetworkRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateGlobalDatabaseNetworkRequest.py @@ -66,6 +66,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_EnableGlobalDomainName(self): # Boolean + return self.get_query_params().get('EnableGlobalDomainName') + + def set_EnableGlobalDomainName(self, EnableGlobalDomainName): # Boolean + self.add_query_param('EnableGlobalDomainName', EnableGlobalDomainName) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateOrGetVirtualLicenseOrderRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateOrGetVirtualLicenseOrderRequest.py new file mode 100644 index 0000000000..b5a6287490 --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateOrGetVirtualLicenseOrderRequest.py @@ -0,0 +1,59 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class CreateOrGetVirtualLicenseOrderRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CreateOrGetVirtualLicenseOrder','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + def get_Engine(self): # String + return self.get_query_params().get('Engine') + + def set_Engine(self, Engine): # String + self.add_query_param('Engine', Engine) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodeDetailsRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodeDetailsRequest.py new file mode 100644 index 0000000000..d7f3a41f42 --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodeDetailsRequest.py @@ -0,0 +1,64 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class DescribeActivationCodeDetailsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActivationCodeDetails','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + def get_ActivationCodeId(self): # Integer + return self.get_query_params().get('ActivationCodeId') + + def set_ActivationCodeId(self, ActivationCodeId): # Integer + self.add_query_param('ActivationCodeId', ActivationCodeId) + def get_AliyunOrderId(self): # String + return self.get_query_params().get('AliyunOrderId') + + def set_AliyunOrderId(self, AliyunOrderId): # String + self.add_query_param('AliyunOrderId', AliyunOrderId) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodesRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodesRequest.py new file mode 100644 index 0000000000..0e257a7fba --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActivationCodesRequest.py @@ -0,0 +1,69 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class DescribeActivationCodesRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActivationCodes','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + 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_AliyunOrderId(self): # String + return self.get_query_params().get('AliyunOrderId') + + def set_AliyunOrderId(self, AliyunOrderId): # String + self.add_query_param('AliyunOrderId', AliyunOrderId) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBClusterPerformanceRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBClusterPerformanceRequest.py index 78f62a6a44..b35b5d35c2 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBClusterPerformanceRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBClusterPerformanceRequest.py @@ -36,6 +36,11 @@ def get_StartTime(self): # String def set_StartTime(self, StartTime): # String self.add_query_param('StartTime', StartTime) + def get_Type(self): # String + return self.get_query_params().get('Type') + + def set_Type(self, Type): # String + self.add_query_param('Type', Type) def get_Key(self): # String return self.get_query_params().get('Key') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBProxyPerformanceRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBProxyPerformanceRequest.py index 729c83fa75..47a44ba353 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBProxyPerformanceRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeDBProxyPerformanceRequest.py @@ -31,6 +31,11 @@ def __init__(self): if hasattr(self, "endpoint_regional"): setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + def get_DBNodeId(self): # String + return self.get_query_params().get('DBNodeId') + + def set_DBNodeId(self, DBNodeId): # String + self.add_query_param('DBNodeId', DBNodeId) def get_DBEndpointId(self): # String return self.get_query_params().get('DBEndpointId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrderDetailsRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrderDetailsRequest.py new file mode 100644 index 0000000000..cefd2a7d0c --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrderDetailsRequest.py @@ -0,0 +1,59 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class DescribeLicenseOrderDetailsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeLicenseOrderDetails','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + def get_AliyunOrderId(self): # String + return self.get_query_params().get('AliyunOrderId') + + def set_AliyunOrderId(self, AliyunOrderId): # String + self.add_query_param('AliyunOrderId', AliyunOrderId) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrdersRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrdersRequest.py new file mode 100644 index 0000000000..66e67111cc --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeLicenseOrdersRequest.py @@ -0,0 +1,84 @@ +# 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 +from aliyunsdkpolardb.endpoint import endpoint_data + +class DescribeLicenseOrdersRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeLicenseOrders','polardb') + self.set_protocol_type('https') + self.set_method('POST') + + if hasattr(self, "endpoint_map"): + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) + if hasattr(self, "endpoint_regional"): + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) + + def get_ResourceOwnerId(self): # Long + return self.get_query_params().get('ResourceOwnerId') + + def set_ResourceOwnerId(self, ResourceOwnerId): # Long + self.add_query_param('ResourceOwnerId', ResourceOwnerId) + def get_VirtualOrder(self): # Boolean + return self.get_query_params().get('VirtualOrder') + + def set_VirtualOrder(self, VirtualOrder): # Boolean + self.add_query_param('VirtualOrder', VirtualOrder) + 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_AliyunOrderId(self): # String + return self.get_query_params().get('AliyunOrderId') + + def set_AliyunOrderId(self, AliyunOrderId): # String + self.add_query_param('AliyunOrderId', AliyunOrderId) + def get_ResourceOwnerAccount(self): # String + return self.get_query_params().get('ResourceOwnerAccount') + + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) + def get_PurchaseChannel(self): # String + return self.get_query_params().get('PurchaseChannel') + + def set_PurchaseChannel(self, PurchaseChannel): # String + self.add_query_param('PurchaseChannel', PurchaseChannel) + def get_OwnerAccount(self): # String + return self.get_query_params().get('OwnerAccount') + + def set_OwnerAccount(self, OwnerAccount): # String + self.add_query_param('OwnerAccount', OwnerAccount) + def get_OwnerId(self): # Long + return self.get_query_params().get('OwnerId') + + def set_OwnerId(self, OwnerId): # Long + self.add_query_param('OwnerId', OwnerId) + def get_PackageType(self): # String + return self.get_query_params().get('PackageType') + + def set_PackageType(self, PackageType): # String + self.add_query_param('PackageType', PackageType) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeSlowLogRecordsRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeSlowLogRecordsRequest.py index 462af23e86..2f43cb84b8 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeSlowLogRecordsRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeSlowLogRecordsRequest.py @@ -51,6 +51,11 @@ def get_PageSize(self): # Integer def set_PageSize(self, PageSize): # Integer self.add_query_param('PageSize', PageSize) + def get_NodeId(self): # String + return self.get_query_params().get('NodeId') + + def set_NodeId(self, NodeId): # String + self.add_query_param('NodeId', NodeId) def get_ResourceOwnerAccount(self): # String return self.get_query_params().get('ResourceOwnerAccount') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/FailoverDBClusterRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/FailoverDBClusterRequest.py index 078a1d0530..e0d74dc36d 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/FailoverDBClusterRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/FailoverDBClusterRequest.py @@ -61,6 +61,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_TargetZoneType(self): # String + return self.get_query_params().get('TargetZoneType') + + def set_TargetZoneType(self, TargetZoneType): # String + self.add_query_param('TargetZoneType', TargetZoneType) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterEndpointRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterEndpointRequest.py index a41d416b61..2f00ee31b6 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterEndpointRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterEndpointRequest.py @@ -46,11 +46,21 @@ def get_DBEndpointId(self): # String def set_DBEndpointId(self, DBEndpointId): # String self.add_query_param('DBEndpointId', DBEndpointId) + def get_PolarSccWaitTimeout(self): # String + return self.get_query_params().get('PolarSccWaitTimeout') + + def set_PolarSccWaitTimeout(self, PolarSccWaitTimeout): # String + self.add_query_param('PolarSccWaitTimeout', PolarSccWaitTimeout) def get_ReadWriteMode(self): # String return self.get_query_params().get('ReadWriteMode') def set_ReadWriteMode(self, ReadWriteMode): # String self.add_query_param('ReadWriteMode', ReadWriteMode) + def get_PolarSccTimeoutAction(self): # String + return self.get_query_params().get('PolarSccTimeoutAction') + + def set_PolarSccTimeoutAction(self, PolarSccTimeoutAction): # String + self.add_query_param('PolarSccTimeoutAction', PolarSccTimeoutAction) def get_ResourceOwnerAccount(self): # String return self.get_query_params().get('ResourceOwnerAccount') @@ -86,3 +96,8 @@ def get_Nodes(self): # String def set_Nodes(self, Nodes): # String self.add_query_param('Nodes', Nodes) + def get_SccMode(self): # String + return self.get_query_params().get('SccMode') + + def set_SccMode(self, SccMode): # String + self.add_query_param('SccMode', SccMode) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterRequest.py index 29c20ceedd..22b1fa50d5 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterRequest.py @@ -56,6 +56,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_DBNodeCrashList(self): # String + return self.get_query_params().get('DBNodeCrashList') + + def set_DBNodeCrashList(self, DBNodeCrashList): # String + self.add_query_param('DBNodeCrashList', DBNodeCrashList) def get_FaultSimulateMode(self): # String return self.get_query_params().get('FaultSimulateMode') @@ -76,11 +81,21 @@ def get_StorageUpperBound(self): # Long def set_StorageUpperBound(self, StorageUpperBound): # Long self.add_query_param('StorageUpperBound', StorageUpperBound) + def get_ImciAutoIndex(self): # String + return self.get_query_params().get('ImciAutoIndex') + + def set_ImciAutoIndex(self, ImciAutoIndex): # String + self.add_query_param('ImciAutoIndex', ImciAutoIndex) def get_StorageAutoScale(self): # String return self.get_query_params().get('StorageAutoScale') def set_StorageAutoScale(self, StorageAutoScale): # String self.add_query_param('StorageAutoScale', StorageAutoScale) + def get_FaultInjectionType(self): # String + return self.get_query_params().get('FaultInjectionType') + + def set_FaultInjectionType(self, FaultInjectionType): # String + self.add_query_param('FaultInjectionType', FaultInjectionType) def get_DataSyncMode(self): # String return self.get_query_params().get('DataSyncMode') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterServerlessConfRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterServerlessConfRequest.py index 08e9ad808b..ce35db946e 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterServerlessConfRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterServerlessConfRequest.py @@ -41,6 +41,11 @@ def get_ResourceOwnerId(self): # Long def set_ResourceOwnerId(self, ResourceOwnerId): # Long self.add_query_param('ResourceOwnerId', ResourceOwnerId) + def get_ServerlessRuleMode(self): # String + return self.get_query_params().get('ServerlessRuleMode') + + def set_ServerlessRuleMode(self, ServerlessRuleMode): # String + self.add_query_param('ServerlessRuleMode', ServerlessRuleMode) def get_ScaleApRoNumMax(self): # String return self.get_query_params().get('ScaleApRoNumMax') @@ -56,6 +61,11 @@ def get_PlannedEndTime(self): # String def set_PlannedEndTime(self, PlannedEndTime): # String self.add_query_param('PlannedEndTime', PlannedEndTime) + def get_ServerlessRuleCpuEnlargeThreshold(self): # String + return self.get_query_params().get('ServerlessRuleCpuEnlargeThreshold') + + def set_ServerlessRuleCpuEnlargeThreshold(self, ServerlessRuleCpuEnlargeThreshold): # String + self.add_query_param('ServerlessRuleCpuEnlargeThreshold', ServerlessRuleCpuEnlargeThreshold) def get_SecondsUntilAutoPause(self): # String return self.get_query_params().get('SecondsUntilAutoPause') @@ -66,11 +76,21 @@ def get_ScaleApRoNumMin(self): # String def set_ScaleApRoNumMin(self, ScaleApRoNumMin): # String self.add_query_param('ScaleApRoNumMin', ScaleApRoNumMin) + def get_TaskId(self): # String + return self.get_query_params().get('TaskId') + + def set_TaskId(self, TaskId): # String + self.add_query_param('TaskId', TaskId) def get_ScaleMin(self): # String return self.get_query_params().get('ScaleMin') def set_ScaleMin(self, ScaleMin): # String self.add_query_param('ScaleMin', ScaleMin) + def get_CrontabJobId(self): # String + return self.get_query_params().get('CrontabJobId') + + def set_CrontabJobId(self, CrontabJobId): # String + self.add_query_param('CrontabJobId', CrontabJobId) def get_ResourceOwnerAccount(self): # String return self.get_query_params().get('ResourceOwnerAccount') @@ -86,6 +106,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_ServerlessRuleCpuShrinkThreshold(self): # String + return self.get_query_params().get('ServerlessRuleCpuShrinkThreshold') + + def set_ServerlessRuleCpuShrinkThreshold(self, ServerlessRuleCpuShrinkThreshold): # String + self.add_query_param('ServerlessRuleCpuShrinkThreshold', ServerlessRuleCpuShrinkThreshold) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterTDERequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterTDERequest.py index 6333614279..abb88fd03a 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterTDERequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterTDERequest.py @@ -61,6 +61,11 @@ def get_OwnerId(self): # Long def set_OwnerId(self, OwnerId): # Long self.add_query_param('OwnerId', OwnerId) + def get_EnableAutomaticRotation(self): # String + return self.get_query_params().get('EnableAutomaticRotation') + + def set_EnableAutomaticRotation(self, EnableAutomaticRotation): # String + self.add_query_param('EnableAutomaticRotation', EnableAutomaticRotation) def get_RoleArn(self): # String return self.get_query_params().get('RoleArn') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodeClassRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodeClassRequest.py index b4a12027bc..b163bf34fe 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodeClassRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodeClassRequest.py @@ -71,6 +71,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_PlannedFlashingOffTime(self): # String + return self.get_query_params().get('PlannedFlashingOffTime') + + def set_PlannedFlashingOffTime(self, PlannedFlashingOffTime): # String + self.add_query_param('PlannedFlashingOffTime', PlannedFlashingOffTime) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodesClassRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodesClassRequest.py index c1c8a64f0c..0485e9f2e1 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodesClassRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBNodesClassRequest.py @@ -61,6 +61,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_PlannedFlashingOffTime(self): # String + return self.get_query_params().get('PlannedFlashingOffTime') + + def set_PlannedFlashingOffTime(self, PlannedFlashingOffTime): # String + self.add_query_param('PlannedFlashingOffTime', PlannedFlashingOffTime) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyGlobalDatabaseNetworkRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyGlobalDatabaseNetworkRequest.py index 5da657e104..0ea79de15b 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyGlobalDatabaseNetworkRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyGlobalDatabaseNetworkRequest.py @@ -66,6 +66,11 @@ def get_OwnerAccount(self): # String def set_OwnerAccount(self, OwnerAccount): # String self.add_query_param('OwnerAccount', OwnerAccount) + def get_EnableGlobalDomainName(self): # Boolean + return self.get_query_params().get('EnableGlobalDomainName') + + def set_EnableGlobalDomainName(self, EnableGlobalDomainName): # Boolean + self.add_query_param('EnableGlobalDomainName', EnableGlobalDomainName) def get_OwnerId(self): # Long return self.get_query_params().get('OwnerId') diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/UpgradeDBClusterVersionRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/UpgradeDBClusterVersionRequest.py index d7fd86a696..c44bd20f0b 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/UpgradeDBClusterVersionRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/UpgradeDBClusterVersionRequest.py @@ -81,6 +81,11 @@ def get_TargetDBRevisionVersionCode(self): # String def set_TargetDBRevisionVersionCode(self, TargetDBRevisionVersionCode): # String self.add_query_param('TargetDBRevisionVersionCode', TargetDBRevisionVersionCode) + def get_TargetProxyRevisionVersionCode(self): # String + return self.get_query_params().get('TargetProxyRevisionVersionCode') + + def set_TargetProxyRevisionVersionCode(self, TargetProxyRevisionVersionCode): # String + self.add_query_param('TargetProxyRevisionVersionCode', TargetProxyRevisionVersionCode) def get_UpgradePolicy(self): # String return self.get_query_params().get('UpgradePolicy') diff --git a/aliyun-python-sdk-polardb/setup.py b/aliyun-python-sdk-polardb/setup.py index eaed41740f..716bd78e01 100644 --- a/aliyun-python-sdk-polardb/setup.py +++ b/aliyun-python-sdk-polardb/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", )