Skip to content

Commit 6c3d46c

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent ed99c68 commit 6c3d46c

File tree

5 files changed

+92
-1
lines changed

5 files changed

+92
-1
lines changed

aliyun-python-sdk-polardb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-01-20 Version: 1.8.52
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2024-12-19 Version: 1.8.51
25
- Generated 2017-08-01 for `polardb`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.51'
1+
__version__ = '1.8.52'

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateDBClusterRequest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,11 @@ def get_LowerCaseTableNames(self): # String
175175

176176
def set_LowerCaseTableNames(self, LowerCaseTableNames): # String
177177
self.add_query_param('LowerCaseTableNames', LowerCaseTableNames)
178+
def get_StorageEncryption(self): # Boolean
179+
return self.get_query_params().get('StorageEncryption')
180+
181+
def set_StorageEncryption(self, StorageEncryption): # Boolean
182+
self.add_query_param('StorageEncryption', StorageEncryption)
178183
def get_ScaleRoNumMax(self): # String
179184
return self.get_query_params().get('ScaleRoNumMax')
180185

@@ -200,6 +205,11 @@ def get_ClusterNetworkType(self): # String
200205

201206
def set_ClusterNetworkType(self, ClusterNetworkType): # String
202207
self.add_query_param('ClusterNetworkType', ClusterNetworkType)
208+
def get_StorageEncryptionKey(self): # String
209+
return self.get_query_params().get('StorageEncryptionKey')
210+
211+
def set_StorageEncryptionKey(self, StorageEncryptionKey): # String
212+
self.add_query_param('StorageEncryptionKey', StorageEncryptionKey)
203213
def get_ParameterGroupId(self): # String
204214
return self.get_query_params().get('ParameterGroupId')
205215

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/ModifyDBClusterRequest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,21 @@ def __init__(self):
3131
if hasattr(self, "endpoint_regional"):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

34+
def get_ModifyRowCompression(self): # String
35+
return self.get_query_params().get('ModifyRowCompression')
36+
37+
def set_ModifyRowCompression(self, ModifyRowCompression): # String
38+
self.add_query_param('ModifyRowCompression', ModifyRowCompression)
3439
def get_ResourceOwnerId(self): # Long
3540
return self.get_query_params().get('ResourceOwnerId')
3641

3742
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3843
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
44+
def get_TableMeta(self): # String
45+
return self.get_query_params().get('TableMeta')
46+
47+
def set_TableMeta(self, TableMeta): # String
48+
self.add_query_param('TableMeta', TableMeta)
3949
def get_StandbyHAMode(self): # String
4050
return self.get_query_params().get('StandbyHAMode')
4151

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class ModifyDBClusterStoragePerformanceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'ModifyDBClusterStoragePerformance','polardb')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ClientToken(self): # String
40+
return self.get_query_params().get('ClientToken')
41+
42+
def set_ClientToken(self, ClientToken): # String
43+
self.add_query_param('ClientToken', ClientToken)
44+
def get_StorageType(self): # String
45+
return self.get_query_params().get('StorageType')
46+
47+
def set_StorageType(self, StorageType): # String
48+
self.add_query_param('StorageType', StorageType)
49+
def get_DBClusterId(self): # String
50+
return self.get_query_params().get('DBClusterId')
51+
52+
def set_DBClusterId(self, DBClusterId): # String
53+
self.add_query_param('DBClusterId', DBClusterId)
54+
def get_BurstingEnabled(self): # String
55+
return self.get_query_params().get('BurstingEnabled')
56+
57+
def set_BurstingEnabled(self, BurstingEnabled): # String
58+
self.add_query_param('BurstingEnabled', BurstingEnabled)
59+
def get_ProvisionedIops(self): # Integer
60+
return self.get_query_params().get('ProvisionedIops')
61+
62+
def set_ProvisionedIops(self, ProvisionedIops): # Integer
63+
self.add_query_param('ProvisionedIops', ProvisionedIops)
64+
def get_ModifyType(self): # String
65+
return self.get_query_params().get('ModifyType')
66+
67+
def set_ModifyType(self, ModifyType): # String
68+
self.add_query_param('ModifyType', ModifyType)

0 commit comments

Comments
 (0)