Skip to content

Commit f0479d9

Browse files
committed
Generated 2015-12-01 for Dds.
1 parent 85a948f commit f0479d9

11 files changed

+105
-3
lines changed

aliyun-python-sdk-dds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-31 Version: 3.7.23
2+
- Generated 2015-12-01 for `Dds`.
3+
14
2025-04-08 Version: 3.7.22
25
- Generated 2015-12-01 for `Dds`.
36

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

aliyun-python-sdk-dds/aliyunsdkdds/endpoint.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def __init__(self):
3030
"cn-yushanfang": "mongodb.aliyuncs.com",
3131
"cn-qingdao-nebula": "mongodb.aliyuncs.com",
3232
"cn-heyuan": "mongodb.aliyuncs.com",
33+
"na-south-1": "mongodb.na-south-1.aliyuncs.com",
3334
"cn-beijing-finance-pop": "mongodb.aliyuncs.com",
3435
"cn-wuhan": "mongodb.aliyuncs.com",
3536
"cn-zhangjiakou": "mongodb.cn-zhangjiakou.aliyuncs.com",
@@ -67,12 +68,12 @@ def __init__(self):
6768
"eu-west-1-oxs": "mongodb.aliyuncs.com",
6869
"cn-beijing-finance-1": "mongodb.aliyuncs.com",
6970
"cn-hangzhou-internal-test-3": "mongodb.aliyuncs.com",
70-
"cn-shenzhen-finance-1": "mongodb.aliyuncs.com",
71+
"cn-shenzhen-finance-1": "mongodb.cn-shenzhen-finance-1.aliyuncs.com",
7172
"cn-hangzhou-internal-test-2": "mongodb.aliyuncs.com",
7273
"me-east-1": "mongodb.me-east-1.aliyuncs.com",
7374
"cn-chengdu": "mongodb.cn-chengdu.aliyuncs.com",
7475
"cn-hangzhou-test-306": "mongodb.aliyuncs.com",
75-
"cn-guangzhou": "mongodb.aliyuncs.com",
76+
"cn-guangzhou": "mongodb.cn-guangzhou.aliyuncs.com",
7677
"cn-hangzhou-finance": "mongodb.aliyuncs.com",
7778
"cn-beijing-nu16-b01": "mongodb.aliyuncs.com",
7879
"cn-edge-1": "mongodb.aliyuncs.com",

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateBackupRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@ def get_BackupMethod(self): # String
6161

6262
def set_BackupMethod(self, BackupMethod): # String
6363
self.add_query_param('BackupMethod', BackupMethod)
64+
def get_BackupRetentionPeriod(self): # Long
65+
return self.get_query_params().get('BackupRetentionPeriod')
66+
67+
def set_BackupRetentionPeriod(self, BackupRetentionPeriod): # Long
68+
self.add_query_param('BackupRetentionPeriod', BackupRetentionPeriod)

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/ModifyBackupPolicyRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,8 @@ def get_LogBackupRetentionPeriod(self): # Long
151151

152152
def set_LogBackupRetentionPeriod(self, LogBackupRetentionPeriod): # Long
153153
self.add_query_param('LogBackupRetentionPeriod', LogBackupRetentionPeriod)
154+
def get_PreserveOneEachHour(self): # Boolean
155+
return self.get_query_params().get('PreserveOneEachHour')
156+
157+
def set_PreserveOneEachHour(self, PreserveOneEachHour): # Boolean
158+
self.add_query_param('PreserveOneEachHour', PreserveOneEachHour)
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 aliyunsdkdds.endpoint import endpoint_data
22+
23+
class ModifyDBInstanceAttributeRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'ModifyDBInstanceAttribute','dds')
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_DBInstanceReleaseProtection(self): # Boolean
35+
return self.get_query_params().get('DBInstanceReleaseProtection')
36+
37+
def set_DBInstanceReleaseProtection(self, DBInstanceReleaseProtection): # Boolean
38+
self.add_query_param('DBInstanceReleaseProtection', DBInstanceReleaseProtection)
39+
def get_ResourceOwnerId(self): # Long
40+
return self.get_query_params().get('ResourceOwnerId')
41+
42+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
43+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
44+
def get_DBInstanceId(self): # String
45+
return self.get_query_params().get('DBInstanceId')
46+
47+
def set_DBInstanceId(self, DBInstanceId): # String
48+
self.add_query_param('DBInstanceId', DBInstanceId)
49+
def get_ResourceOwnerAccount(self): # String
50+
return self.get_query_params().get('ResourceOwnerAccount')
51+
52+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
53+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
54+
def get_OwnerAccount(self): # String
55+
return self.get_query_params().get('OwnerAccount')
56+
57+
def set_OwnerAccount(self, OwnerAccount): # String
58+
self.add_query_param('OwnerAccount', OwnerAccount)
59+
def get_OwnerId(self): # Long
60+
return self.get_query_params().get('OwnerId')
61+
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/ModifyDBInstanceSSLRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_SwitchMode(self): # String
40+
return self.get_query_params().get('SwitchMode')
41+
42+
def set_SwitchMode(self, SwitchMode): # String
43+
self.add_query_param('SwitchMode', SwitchMode)
3944
def get_DBInstanceId(self): # String
4045
return self.get_query_params().get('DBInstanceId')
4146

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/ModifyDBInstanceTDERequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_SwitchMode(self): # String
40+
return self.get_query_params().get('SwitchMode')
41+
42+
def set_SwitchMode(self, SwitchMode): # String
43+
self.add_query_param('SwitchMode', SwitchMode)
3944
def get_DBInstanceId(self): # String
4045
return self.get_query_params().get('DBInstanceId')
4146

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/ModifyParametersRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_SwitchMode(self): # String
40+
return self.get_query_params().get('SwitchMode')
41+
42+
def set_SwitchMode(self, SwitchMode): # String
43+
self.add_query_param('SwitchMode', SwitchMode)
3944
def get_DBInstanceId(self): # String
4045
return self.get_query_params().get('DBInstanceId')
4146

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/RestartDBInstanceRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_SwitchMode(self): # String
40+
return self.get_query_params().get('SwitchMode')
41+
42+
def set_SwitchMode(self, SwitchMode): # String
43+
self.add_query_param('SwitchMode', SwitchMode)
3944
def get_DBInstanceId(self): # String
4045
return self.get_query_params().get('DBInstanceId')
4146

0 commit comments

Comments
 (0)