diff --git a/aliyun-python-sdk-polardb/ChangeLog.txt b/aliyun-python-sdk-polardb/ChangeLog.txt index 94c82d5ca..e116a772c 100644 --- a/aliyun-python-sdk-polardb/ChangeLog.txt +++ b/aliyun-python-sdk-polardb/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-12-19 Version: 1.8.51 +- Generated 2017-08-01 for `polardb`. + 2024-12-13 Version: 1.8.50 - Generated 2017-08-01 for `polardb`. diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py index db25e3536..99a73e8d4 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py @@ -1 +1 @@ -__version__ = '1.8.50' \ No newline at end of file +__version__ = '1.8.51' \ No newline at end of file diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CancelActiveOperationTasksRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CancelActiveOperationTasksRequest.py new file mode 100644 index 000000000..cd832990f --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CancelActiveOperationTasksRequest.py @@ -0,0 +1,63 @@ +# 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 CancelActiveOperationTasksRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CancelActiveOperationTasks','polardb') + 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_TaskIds(self): # String + return self.get_query_params().get('TaskIds') + + def set_TaskIds(self, TaskIds): # String + self.add_query_param('TaskIds', TaskIds) + def get_SecurityToken(self): # String + return self.get_query_params().get('SecurityToken') + + def set_SecurityToken(self, SecurityToken): # String + self.add_query_param('SecurityToken', SecurityToken) + 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/CreateAccountRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateAccountRequest.py index 58b36ccd4..79645b862 100644 --- a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateAccountRequest.py +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateAccountRequest.py @@ -91,3 +91,8 @@ def get_DBName(self): # String def set_DBName(self, DBName): # String self.add_query_param('DBName', DBName) + def get_PrivForAllDB(self): # String + return self.get_query_params().get('PrivForAllDB') + + def set_PrivForAllDB(self, PrivForAllDB): # String + self.add_query_param('PrivForAllDB', PrivForAllDB) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActiveOperationTasksRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActiveOperationTasksRequest.py new file mode 100644 index 000000000..554a87ea3 --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/DescribeActiveOperationTasksRequest.py @@ -0,0 +1,103 @@ +# 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 DescribeActiveOperationTasksRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActiveOperationTasks','polardb') + 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_ChangeLevel(self): # String + return self.get_query_params().get('ChangeLevel') + + def set_ChangeLevel(self, ChangeLevel): # String + self.add_query_param('ChangeLevel', ChangeLevel) + 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_SecurityToken(self): # String + return self.get_query_params().get('SecurityToken') + + def set_SecurityToken(self, SecurityToken): # String + self.add_query_param('SecurityToken', SecurityToken) + 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_TaskType(self): # String + return self.get_query_params().get('TaskType') + + def set_TaskType(self, TaskType): # String + self.add_query_param('TaskType', TaskType) + 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_DBClusterId(self): # String + return self.get_query_params().get('DBClusterId') + + def set_DBClusterId(self, DBClusterId): # String + self.add_query_param('DBClusterId', DBClusterId) + 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_AllowCancel(self): # Long + return self.get_query_params().get('AllowCancel') + + def set_AllowCancel(self, AllowCancel): # Long + self.add_query_param('AllowCancel', AllowCancel) + 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_DBType(self): # String + return self.get_query_params().get('DBType') + + def set_DBType(self, DBType): # String + self.add_query_param('DBType', DBType) + def get_AllowChange(self): # Long + return self.get_query_params().get('AllowChange') + + def set_AllowChange(self, AllowChange): # Long + self.add_query_param('AllowChange', AllowChange) + def get_Status(self): # Long + return self.get_query_params().get('Status') + + def set_Status(self, Status): # Long + self.add_query_param('Status', Status) diff --git a/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyActiveOperationTasksRequest.py b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyActiveOperationTasksRequest.py new file mode 100644 index 000000000..6c22d3ca8 --- /dev/null +++ b/aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyActiveOperationTasksRequest.py @@ -0,0 +1,73 @@ +# 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 ModifyActiveOperationTasksRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'polardb', '2017-08-01', 'ModifyActiveOperationTasks','polardb') + 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_TaskIds(self): # String + return self.get_query_params().get('TaskIds') + + def set_TaskIds(self, TaskIds): # String + self.add_query_param('TaskIds', TaskIds) + def get_SecurityToken(self): # String + return self.get_query_params().get('SecurityToken') + + def set_SecurityToken(self, SecurityToken): # String + self.add_query_param('SecurityToken', SecurityToken) + def get_SwitchTime(self): # String + return self.get_query_params().get('SwitchTime') + + def set_SwitchTime(self, SwitchTime): # String + self.add_query_param('SwitchTime', SwitchTime) + 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_ImmediateStart(self): # Integer + return self.get_query_params().get('ImmediateStart') + + def set_ImmediateStart(self, ImmediateStart): # Integer + self.add_query_param('ImmediateStart', ImmediateStart)