Skip to content

Commit 1d4f63a

Browse files
committed
Generated 2014-08-15 for Rds.
1 parent 4cf76c2 commit 1d4f63a

10 files changed

+251
-28
lines changed

aliyun-python-sdk-rds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-08-11 Version: 2.7.52
2+
- Generated 2014-08-15 for `Rds`.
3+
14
2025-07-04 Version: 2.7.51
25
- Supported param and error code.
36

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

aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/CreateReadOnlyDBInstanceRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ def get_VPCId(self): # String
201201

202202
def set_VPCId(self, VPCId): # String
203203
self.add_query_param('VPCId', VPCId)
204+
def get_IsAnalyticReadOnlyIns(self): # Boolean
205+
return self.get_query_params().get('IsAnalyticReadOnlyIns')
206+
207+
def set_IsAnalyticReadOnlyIns(self, IsAnalyticReadOnlyIns): # Boolean
208+
self.add_query_param('IsAnalyticReadOnlyIns', IsAnalyticReadOnlyIns)
204209
def get_Category(self): # String
205210
return self.get_query_params().get('Category')
206211

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,19 @@
2020
from aliyunsdkcore.request import RpcRequest
2121
from aliyunsdkrds.endpoint import endpoint_data
2222

23-
class DescribeDiagnosticReportListRequest(RpcRequest):
23+
class DeleteRCVClusterRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DescribeDiagnosticReportList','rds')
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DeleteRCVCluster','rds')
2727
self.set_method('POST')
2828

2929
if hasattr(self, "endpoint_map"):
3030
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3131
if hasattr(self, "endpoint_regional"):
3232
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3333

34-
def get_ResourceGroupId(self): # String
35-
return self.get_query_params().get('ResourceGroupId')
34+
def get_ClusterId(self): # String
35+
return self.get_query_params().get('ClusterId')
3636

37-
def set_ResourceGroupId(self, ResourceGroupId): # String
38-
self.add_query_param('ResourceGroupId', ResourceGroupId)
39-
def get_DBInstanceId(self): # String
40-
return self.get_query_params().get('DBInstanceId')
41-
42-
def set_DBInstanceId(self, DBInstanceId): # String
43-
self.add_query_param('DBInstanceId', DBInstanceId)
37+
def set_ClusterId(self, ClusterId): # String
38+
self.add_query_param('ClusterId', ClusterId)
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class DescribeRCAvailableResourceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DescribeRCAvailableResource','rds')
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_Memory(self): # Float
35+
return self.get_query_params().get('Memory')
36+
37+
def set_Memory(self, Memory): # Float
38+
self.add_query_param('Memory', Memory)
39+
def get_IoOptimized(self): # String
40+
return self.get_query_params().get('IoOptimized')
41+
42+
def set_IoOptimized(self, IoOptimized): # String
43+
self.add_query_param('IoOptimized', IoOptimized)
44+
def get_DataDiskCategory(self): # String
45+
return self.get_query_params().get('DataDiskCategory')
46+
47+
def set_DataDiskCategory(self, DataDiskCategory): # String
48+
self.add_query_param('DataDiskCategory', DataDiskCategory)
49+
def get_Cores(self): # Integer
50+
return self.get_query_params().get('Cores')
51+
52+
def set_Cores(self, Cores): # Integer
53+
self.add_query_param('Cores', Cores)
54+
def get_SystemDiskCategory(self): # String
55+
return self.get_query_params().get('SystemDiskCategory')
56+
57+
def set_SystemDiskCategory(self, SystemDiskCategory): # String
58+
self.add_query_param('SystemDiskCategory', SystemDiskCategory)
59+
def get_Scope(self): # String
60+
return self.get_query_params().get('Scope')
61+
62+
def set_Scope(self, Scope): # String
63+
self.add_query_param('Scope', Scope)
64+
def get_InstanceType(self): # String
65+
return self.get_query_params().get('InstanceType')
66+
67+
def set_InstanceType(self, InstanceType): # String
68+
self.add_query_param('InstanceType', InstanceType)
69+
def get_NetworkCategory(self): # String
70+
return self.get_query_params().get('NetworkCategory')
71+
72+
def set_NetworkCategory(self, NetworkCategory): # String
73+
self.add_query_param('NetworkCategory', NetworkCategory)
74+
def get_InstanceChargeType(self): # String
75+
return self.get_query_params().get('InstanceChargeType')
76+
77+
def set_InstanceChargeType(self, InstanceChargeType): # String
78+
self.add_query_param('InstanceChargeType', InstanceChargeType)
79+
def get_DedicatedHostId(self): # String
80+
return self.get_query_params().get('DedicatedHostId')
81+
82+
def set_DedicatedHostId(self, DedicatedHostId): # String
83+
self.add_query_param('DedicatedHostId', DedicatedHostId)
84+
def get_SpotDuration(self): # Integer
85+
return self.get_query_params().get('SpotDuration')
86+
87+
def set_SpotDuration(self, SpotDuration): # Integer
88+
self.add_query_param('SpotDuration', SpotDuration)
89+
def get_ResourceType(self): # String
90+
return self.get_query_params().get('ResourceType')
91+
92+
def set_ResourceType(self, ResourceType): # String
93+
self.add_query_param('ResourceType', ResourceType)
94+
def get_SpotStrategy(self): # String
95+
return self.get_query_params().get('SpotStrategy')
96+
97+
def set_SpotStrategy(self, SpotStrategy): # String
98+
self.add_query_param('SpotStrategy', SpotStrategy)
99+
def get_DestinationResource(self): # String
100+
return self.get_query_params().get('DestinationResource')
101+
102+
def set_DestinationResource(self, DestinationResource): # String
103+
self.add_query_param('DestinationResource', DestinationResource)
104+
def get_ZoneId(self): # String
105+
return self.get_query_params().get('ZoneId')
106+
107+
def set_ZoneId(self, ZoneId): # String
108+
self.add_query_param('ZoneId', ZoneId)
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
import json
23+
24+
class DescribeRCResourcesModificationRequest(RpcRequest):
25+
26+
def __init__(self):
27+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DescribeRCResourcesModification','rds')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_Memory(self): # Float
36+
return self.get_query_params().get('Memory')
37+
38+
def set_Memory(self, Memory): # Float
39+
self.add_query_param('Memory', Memory)
40+
def get_Cores(self): # Integer
41+
return self.get_query_params().get('Cores')
42+
43+
def set_Cores(self, Cores): # Integer
44+
self.add_query_param('Cores', Cores)
45+
def get_InstanceType(self): # String
46+
return self.get_query_params().get('InstanceType')
47+
48+
def set_InstanceType(self, InstanceType): # String
49+
self.add_query_param('InstanceType', InstanceType)
50+
def get_OperationType(self): # String
51+
return self.get_query_params().get('OperationType')
52+
53+
def set_OperationType(self, OperationType): # String
54+
self.add_query_param('OperationType', OperationType)
55+
def get_DestinationResource(self): # String
56+
return self.get_query_params().get('DestinationResource')
57+
58+
def set_DestinationResource(self, DestinationResource): # String
59+
self.add_query_param('DestinationResource', DestinationResource)
60+
def get_InstanceId(self): # String
61+
return self.get_query_params().get('InstanceId')
62+
63+
def set_InstanceId(self, InstanceId): # String
64+
self.add_query_param('InstanceId', InstanceId)
65+
def get_ZoneId(self): # String
66+
return self.get_query_params().get('ZoneId')
67+
68+
def set_ZoneId(self, ZoneId): # String
69+
self.add_query_param('ZoneId', ZoneId)
70+
def get_Conditionss(self): # Array
71+
return self.get_query_params().get('Conditionss')
72+
73+
def set_Conditionss(self, Conditionss): # Array
74+
self.add_query_param("Conditionss", json.dumps(Conditionss))
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class ListRCVClustersRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'ListRCVClusters','rds')
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+

aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/MigrateDBNodesRequest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class MigrateDBNodesRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'MigrateDBNodes','rds')
27-
self.set_protocol_type('https')
2827
self.set_method('POST')
2928

3029
if hasattr(self, "endpoint_map"):

aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/ModifyDBInstanceConnectionStringRequest.py

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

5757
def set_DBInstanceId(self, DBInstanceId): # String
5858
self.add_query_param('DBInstanceId', DBInstanceId)
59+
def get_RetainVip(self): # Boolean
60+
return self.get_query_params().get('RetainVip')
61+
62+
def set_RetainVip(self, RetainVip): # Boolean
63+
self.add_query_param('RetainVip', RetainVip)
5964
def get_ResourceOwnerAccount(self): # String
6065
return self.get_query_params().get('ResourceOwnerAccount')
6166

@@ -86,3 +91,8 @@ def get_Port(self): # String
8691

8792
def set_Port(self, Port): # String
8893
self.add_query_param('Port', Port)
94+
def get_TargetDBInstanceId(self): # String
95+
return self.get_query_params().get('TargetDBInstanceId')
96+
97+
def set_TargetDBInstanceId(self, TargetDBInstanceId): # String
98+
self.add_query_param('TargetDBInstanceId', TargetDBInstanceId)

aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/CreateDiagnosticReportRequest.py renamed to aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/ModifyRCVClusterRequest.py

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,26 @@
1919

2020
from aliyunsdkcore.request import RpcRequest
2121
from aliyunsdkrds.endpoint import endpoint_data
22+
import json
2223

23-
class CreateDiagnosticReportRequest(RpcRequest):
24+
class ModifyRCVClusterRequest(RpcRequest):
2425

2526
def __init__(self):
26-
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'CreateDiagnosticReport','rds')
27+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'ModifyRCVCluster','rds')
2728
self.set_method('POST')
2829

2930
if hasattr(self, "endpoint_map"):
3031
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3132
if hasattr(self, "endpoint_regional"):
3233
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3334

34-
def get_EndTime(self): # String
35-
return self.get_query_params().get('EndTime')
35+
def get_ClusterId(self): # String
36+
return self.get_query_params().get('ClusterId')
3637

37-
def set_EndTime(self, EndTime): # String
38-
self.add_query_param('EndTime', EndTime)
39-
def get_StartTime(self): # String
40-
return self.get_query_params().get('StartTime')
38+
def set_ClusterId(self, ClusterId): # String
39+
self.add_query_param('ClusterId', ClusterId)
40+
def get_SupportDiskPerformanceLevel(self): # Array
41+
return self.get_query_params().get('SupportDiskPerformanceLevel')
4142

42-
def set_StartTime(self, StartTime): # String
43-
self.add_query_param('StartTime', StartTime)
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)
43+
def set_SupportDiskPerformanceLevel(self, SupportDiskPerformanceLevel): # Array
44+
self.add_query_param("SupportDiskPerformanceLevel", json.dumps(SupportDiskPerformanceLevel))

0 commit comments

Comments
 (0)