alibabacloud-rds20140815 7.3.1__py3-none-any.whl → 8.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alibabacloud_rds20140815/__init__.py +1 -1
- alibabacloud_rds20140815/client.py +2360 -336
- alibabacloud_rds20140815/models.py +4574 -926
- {alibabacloud_rds20140815-7.3.1.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/METADATA +2 -2
- alibabacloud_rds20140815-8.0.1.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-7.3.1.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-7.3.1.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-7.3.1.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-7.3.1.dist-info → alibabacloud_rds20140815-8.0.1.dist-info}/top_level.txt +0 -0
|
@@ -788,6 +788,234 @@ class Client(OpenApiClient):
|
|
|
788
788
|
runtime = util_models.RuntimeOptions()
|
|
789
789
|
return await self.allocate_read_write_splitting_connection_with_options_async(request, runtime)
|
|
790
790
|
|
|
791
|
+
def attach_rcdisk_with_options(
|
|
792
|
+
self,
|
|
793
|
+
request: rds_20140815_models.AttachRCDiskRequest,
|
|
794
|
+
runtime: util_models.RuntimeOptions,
|
|
795
|
+
) -> rds_20140815_models.AttachRCDiskResponse:
|
|
796
|
+
"""
|
|
797
|
+
@summary 挂载RC云盘
|
|
798
|
+
|
|
799
|
+
@param request: AttachRCDiskRequest
|
|
800
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
801
|
+
@return: AttachRCDiskResponse
|
|
802
|
+
"""
|
|
803
|
+
UtilClient.validate_model(request)
|
|
804
|
+
query = {}
|
|
805
|
+
if not UtilClient.is_unset(request.delete_with_instance):
|
|
806
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
807
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
808
|
+
query['DiskId'] = request.disk_id
|
|
809
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
810
|
+
query['InstanceId'] = request.instance_id
|
|
811
|
+
if not UtilClient.is_unset(request.region_id):
|
|
812
|
+
query['RegionId'] = request.region_id
|
|
813
|
+
req = open_api_models.OpenApiRequest(
|
|
814
|
+
query=OpenApiUtilClient.query(query)
|
|
815
|
+
)
|
|
816
|
+
params = open_api_models.Params(
|
|
817
|
+
action='AttachRCDisk',
|
|
818
|
+
version='2014-08-15',
|
|
819
|
+
protocol='HTTPS',
|
|
820
|
+
pathname='/',
|
|
821
|
+
method='POST',
|
|
822
|
+
auth_type='AK',
|
|
823
|
+
style='RPC',
|
|
824
|
+
req_body_type='formData',
|
|
825
|
+
body_type='json'
|
|
826
|
+
)
|
|
827
|
+
return TeaCore.from_map(
|
|
828
|
+
rds_20140815_models.AttachRCDiskResponse(),
|
|
829
|
+
self.call_api(params, req, runtime)
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
async def attach_rcdisk_with_options_async(
|
|
833
|
+
self,
|
|
834
|
+
request: rds_20140815_models.AttachRCDiskRequest,
|
|
835
|
+
runtime: util_models.RuntimeOptions,
|
|
836
|
+
) -> rds_20140815_models.AttachRCDiskResponse:
|
|
837
|
+
"""
|
|
838
|
+
@summary 挂载RC云盘
|
|
839
|
+
|
|
840
|
+
@param request: AttachRCDiskRequest
|
|
841
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
842
|
+
@return: AttachRCDiskResponse
|
|
843
|
+
"""
|
|
844
|
+
UtilClient.validate_model(request)
|
|
845
|
+
query = {}
|
|
846
|
+
if not UtilClient.is_unset(request.delete_with_instance):
|
|
847
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
848
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
849
|
+
query['DiskId'] = request.disk_id
|
|
850
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
851
|
+
query['InstanceId'] = request.instance_id
|
|
852
|
+
if not UtilClient.is_unset(request.region_id):
|
|
853
|
+
query['RegionId'] = request.region_id
|
|
854
|
+
req = open_api_models.OpenApiRequest(
|
|
855
|
+
query=OpenApiUtilClient.query(query)
|
|
856
|
+
)
|
|
857
|
+
params = open_api_models.Params(
|
|
858
|
+
action='AttachRCDisk',
|
|
859
|
+
version='2014-08-15',
|
|
860
|
+
protocol='HTTPS',
|
|
861
|
+
pathname='/',
|
|
862
|
+
method='POST',
|
|
863
|
+
auth_type='AK',
|
|
864
|
+
style='RPC',
|
|
865
|
+
req_body_type='formData',
|
|
866
|
+
body_type='json'
|
|
867
|
+
)
|
|
868
|
+
return TeaCore.from_map(
|
|
869
|
+
rds_20140815_models.AttachRCDiskResponse(),
|
|
870
|
+
await self.call_api_async(params, req, runtime)
|
|
871
|
+
)
|
|
872
|
+
|
|
873
|
+
def attach_rcdisk(
|
|
874
|
+
self,
|
|
875
|
+
request: rds_20140815_models.AttachRCDiskRequest,
|
|
876
|
+
) -> rds_20140815_models.AttachRCDiskResponse:
|
|
877
|
+
"""
|
|
878
|
+
@summary 挂载RC云盘
|
|
879
|
+
|
|
880
|
+
@param request: AttachRCDiskRequest
|
|
881
|
+
@return: AttachRCDiskResponse
|
|
882
|
+
"""
|
|
883
|
+
runtime = util_models.RuntimeOptions()
|
|
884
|
+
return self.attach_rcdisk_with_options(request, runtime)
|
|
885
|
+
|
|
886
|
+
async def attach_rcdisk_async(
|
|
887
|
+
self,
|
|
888
|
+
request: rds_20140815_models.AttachRCDiskRequest,
|
|
889
|
+
) -> rds_20140815_models.AttachRCDiskResponse:
|
|
890
|
+
"""
|
|
891
|
+
@summary 挂载RC云盘
|
|
892
|
+
|
|
893
|
+
@param request: AttachRCDiskRequest
|
|
894
|
+
@return: AttachRCDiskResponse
|
|
895
|
+
"""
|
|
896
|
+
runtime = util_models.RuntimeOptions()
|
|
897
|
+
return await self.attach_rcdisk_with_options_async(request, runtime)
|
|
898
|
+
|
|
899
|
+
def attach_rcinstances_with_options(
|
|
900
|
+
self,
|
|
901
|
+
tmp_req: rds_20140815_models.AttachRCInstancesRequest,
|
|
902
|
+
runtime: util_models.RuntimeOptions,
|
|
903
|
+
) -> rds_20140815_models.AttachRCInstancesResponse:
|
|
904
|
+
"""
|
|
905
|
+
@summary Adds RDS Custom nodes to a Container Service for Kubernetes (ACK) cluster.
|
|
906
|
+
|
|
907
|
+
@param tmp_req: AttachRCInstancesRequest
|
|
908
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
909
|
+
@return: AttachRCInstancesResponse
|
|
910
|
+
"""
|
|
911
|
+
UtilClient.validate_model(tmp_req)
|
|
912
|
+
request = rds_20140815_models.AttachRCInstancesShrinkRequest()
|
|
913
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
914
|
+
if not UtilClient.is_unset(tmp_req.instance_ids):
|
|
915
|
+
request.instance_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_ids, 'InstanceIds', 'simple')
|
|
916
|
+
query = {}
|
|
917
|
+
if not UtilClient.is_unset(request.instance_ids_shrink):
|
|
918
|
+
query['InstanceIds'] = request.instance_ids_shrink
|
|
919
|
+
if not UtilClient.is_unset(request.key_pair):
|
|
920
|
+
query['KeyPair'] = request.key_pair
|
|
921
|
+
if not UtilClient.is_unset(request.password):
|
|
922
|
+
query['Password'] = request.password
|
|
923
|
+
if not UtilClient.is_unset(request.region_id):
|
|
924
|
+
query['RegionId'] = request.region_id
|
|
925
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
926
|
+
query['VpcId'] = request.vpc_id
|
|
927
|
+
req = open_api_models.OpenApiRequest(
|
|
928
|
+
query=OpenApiUtilClient.query(query)
|
|
929
|
+
)
|
|
930
|
+
params = open_api_models.Params(
|
|
931
|
+
action='AttachRCInstances',
|
|
932
|
+
version='2014-08-15',
|
|
933
|
+
protocol='HTTPS',
|
|
934
|
+
pathname='/',
|
|
935
|
+
method='POST',
|
|
936
|
+
auth_type='AK',
|
|
937
|
+
style='RPC',
|
|
938
|
+
req_body_type='formData',
|
|
939
|
+
body_type='json'
|
|
940
|
+
)
|
|
941
|
+
return TeaCore.from_map(
|
|
942
|
+
rds_20140815_models.AttachRCInstancesResponse(),
|
|
943
|
+
self.call_api(params, req, runtime)
|
|
944
|
+
)
|
|
945
|
+
|
|
946
|
+
async def attach_rcinstances_with_options_async(
|
|
947
|
+
self,
|
|
948
|
+
tmp_req: rds_20140815_models.AttachRCInstancesRequest,
|
|
949
|
+
runtime: util_models.RuntimeOptions,
|
|
950
|
+
) -> rds_20140815_models.AttachRCInstancesResponse:
|
|
951
|
+
"""
|
|
952
|
+
@summary Adds RDS Custom nodes to a Container Service for Kubernetes (ACK) cluster.
|
|
953
|
+
|
|
954
|
+
@param tmp_req: AttachRCInstancesRequest
|
|
955
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
956
|
+
@return: AttachRCInstancesResponse
|
|
957
|
+
"""
|
|
958
|
+
UtilClient.validate_model(tmp_req)
|
|
959
|
+
request = rds_20140815_models.AttachRCInstancesShrinkRequest()
|
|
960
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
961
|
+
if not UtilClient.is_unset(tmp_req.instance_ids):
|
|
962
|
+
request.instance_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_ids, 'InstanceIds', 'simple')
|
|
963
|
+
query = {}
|
|
964
|
+
if not UtilClient.is_unset(request.instance_ids_shrink):
|
|
965
|
+
query['InstanceIds'] = request.instance_ids_shrink
|
|
966
|
+
if not UtilClient.is_unset(request.key_pair):
|
|
967
|
+
query['KeyPair'] = request.key_pair
|
|
968
|
+
if not UtilClient.is_unset(request.password):
|
|
969
|
+
query['Password'] = request.password
|
|
970
|
+
if not UtilClient.is_unset(request.region_id):
|
|
971
|
+
query['RegionId'] = request.region_id
|
|
972
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
973
|
+
query['VpcId'] = request.vpc_id
|
|
974
|
+
req = open_api_models.OpenApiRequest(
|
|
975
|
+
query=OpenApiUtilClient.query(query)
|
|
976
|
+
)
|
|
977
|
+
params = open_api_models.Params(
|
|
978
|
+
action='AttachRCInstances',
|
|
979
|
+
version='2014-08-15',
|
|
980
|
+
protocol='HTTPS',
|
|
981
|
+
pathname='/',
|
|
982
|
+
method='POST',
|
|
983
|
+
auth_type='AK',
|
|
984
|
+
style='RPC',
|
|
985
|
+
req_body_type='formData',
|
|
986
|
+
body_type='json'
|
|
987
|
+
)
|
|
988
|
+
return TeaCore.from_map(
|
|
989
|
+
rds_20140815_models.AttachRCInstancesResponse(),
|
|
990
|
+
await self.call_api_async(params, req, runtime)
|
|
991
|
+
)
|
|
992
|
+
|
|
993
|
+
def attach_rcinstances(
|
|
994
|
+
self,
|
|
995
|
+
request: rds_20140815_models.AttachRCInstancesRequest,
|
|
996
|
+
) -> rds_20140815_models.AttachRCInstancesResponse:
|
|
997
|
+
"""
|
|
998
|
+
@summary Adds RDS Custom nodes to a Container Service for Kubernetes (ACK) cluster.
|
|
999
|
+
|
|
1000
|
+
@param request: AttachRCInstancesRequest
|
|
1001
|
+
@return: AttachRCInstancesResponse
|
|
1002
|
+
"""
|
|
1003
|
+
runtime = util_models.RuntimeOptions()
|
|
1004
|
+
return self.attach_rcinstances_with_options(request, runtime)
|
|
1005
|
+
|
|
1006
|
+
async def attach_rcinstances_async(
|
|
1007
|
+
self,
|
|
1008
|
+
request: rds_20140815_models.AttachRCInstancesRequest,
|
|
1009
|
+
) -> rds_20140815_models.AttachRCInstancesResponse:
|
|
1010
|
+
"""
|
|
1011
|
+
@summary Adds RDS Custom nodes to a Container Service for Kubernetes (ACK) cluster.
|
|
1012
|
+
|
|
1013
|
+
@param request: AttachRCInstancesRequest
|
|
1014
|
+
@return: AttachRCInstancesResponse
|
|
1015
|
+
"""
|
|
1016
|
+
runtime = util_models.RuntimeOptions()
|
|
1017
|
+
return await self.attach_rcinstances_with_options_async(request, runtime)
|
|
1018
|
+
|
|
791
1019
|
def attach_whitelist_template_to_instance_with_options(
|
|
792
1020
|
self,
|
|
793
1021
|
request: rds_20140815_models.AttachWhitelistTemplateToInstanceRequest,
|
|
@@ -1082,24 +1310,24 @@ class Client(OpenApiClient):
|
|
|
1082
1310
|
runtime: util_models.RuntimeOptions,
|
|
1083
1311
|
) -> rds_20140815_models.CancelActiveOperationTasksResponse:
|
|
1084
1312
|
"""
|
|
1085
|
-
@summary
|
|
1086
|
-
|
|
1087
|
-
@description ### Supported
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
###
|
|
1093
|
-
>
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
### Usage
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1313
|
+
@summary Cancels O\\&M tasks that are not started.
|
|
1314
|
+
|
|
1315
|
+
@description ### [](#)Supported database engines
|
|
1316
|
+
MySQL
|
|
1317
|
+
PostgreSQL
|
|
1318
|
+
SQL Server
|
|
1319
|
+
MariaDB
|
|
1320
|
+
### [](#)References
|
|
1321
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
1322
|
+
[Scheduled events for ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/104183.html)
|
|
1323
|
+
[Scheduled events for ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/104452.html)
|
|
1324
|
+
[Scheduled events for ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/104451.html)
|
|
1325
|
+
[Scheduled events for ApsaraDB RDS for MariaDB instances](https://help.aliyun.com/document_detail/104454.html)
|
|
1326
|
+
### [](#)Usage notes
|
|
1327
|
+
Tasks cannot be canceled in the following situations:
|
|
1328
|
+
The allowCancel parameter is set to 0.
|
|
1329
|
+
The current time is later than the task start time.
|
|
1330
|
+
The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.
|
|
1103
1331
|
|
|
1104
1332
|
@param request: CancelActiveOperationTasksRequest
|
|
1105
1333
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -1144,24 +1372,24 @@ class Client(OpenApiClient):
|
|
|
1144
1372
|
runtime: util_models.RuntimeOptions,
|
|
1145
1373
|
) -> rds_20140815_models.CancelActiveOperationTasksResponse:
|
|
1146
1374
|
"""
|
|
1147
|
-
@summary
|
|
1148
|
-
|
|
1149
|
-
@description ### Supported
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
###
|
|
1155
|
-
>
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
### Usage
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1375
|
+
@summary Cancels O\\&M tasks that are not started.
|
|
1376
|
+
|
|
1377
|
+
@description ### [](#)Supported database engines
|
|
1378
|
+
MySQL
|
|
1379
|
+
PostgreSQL
|
|
1380
|
+
SQL Server
|
|
1381
|
+
MariaDB
|
|
1382
|
+
### [](#)References
|
|
1383
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
1384
|
+
[Scheduled events for ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/104183.html)
|
|
1385
|
+
[Scheduled events for ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/104452.html)
|
|
1386
|
+
[Scheduled events for ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/104451.html)
|
|
1387
|
+
[Scheduled events for ApsaraDB RDS for MariaDB instances](https://help.aliyun.com/document_detail/104454.html)
|
|
1388
|
+
### [](#)Usage notes
|
|
1389
|
+
Tasks cannot be canceled in the following situations:
|
|
1390
|
+
The allowCancel parameter is set to 0.
|
|
1391
|
+
The current time is later than the task start time.
|
|
1392
|
+
The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.
|
|
1165
1393
|
|
|
1166
1394
|
@param request: CancelActiveOperationTasksRequest
|
|
1167
1395
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -1205,24 +1433,24 @@ class Client(OpenApiClient):
|
|
|
1205
1433
|
request: rds_20140815_models.CancelActiveOperationTasksRequest,
|
|
1206
1434
|
) -> rds_20140815_models.CancelActiveOperationTasksResponse:
|
|
1207
1435
|
"""
|
|
1208
|
-
@summary
|
|
1209
|
-
|
|
1210
|
-
@description ### Supported
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
###
|
|
1216
|
-
>
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
### Usage
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1436
|
+
@summary Cancels O\\&M tasks that are not started.
|
|
1437
|
+
|
|
1438
|
+
@description ### [](#)Supported database engines
|
|
1439
|
+
MySQL
|
|
1440
|
+
PostgreSQL
|
|
1441
|
+
SQL Server
|
|
1442
|
+
MariaDB
|
|
1443
|
+
### [](#)References
|
|
1444
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
1445
|
+
[Scheduled events for ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/104183.html)
|
|
1446
|
+
[Scheduled events for ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/104452.html)
|
|
1447
|
+
[Scheduled events for ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/104451.html)
|
|
1448
|
+
[Scheduled events for ApsaraDB RDS for MariaDB instances](https://help.aliyun.com/document_detail/104454.html)
|
|
1449
|
+
### [](#)Usage notes
|
|
1450
|
+
Tasks cannot be canceled in the following situations:
|
|
1451
|
+
The allowCancel parameter is set to 0.
|
|
1452
|
+
The current time is later than the task start time.
|
|
1453
|
+
The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.
|
|
1226
1454
|
|
|
1227
1455
|
@param request: CancelActiveOperationTasksRequest
|
|
1228
1456
|
@return: CancelActiveOperationTasksResponse
|
|
@@ -1235,24 +1463,24 @@ class Client(OpenApiClient):
|
|
|
1235
1463
|
request: rds_20140815_models.CancelActiveOperationTasksRequest,
|
|
1236
1464
|
) -> rds_20140815_models.CancelActiveOperationTasksResponse:
|
|
1237
1465
|
"""
|
|
1238
|
-
@summary
|
|
1239
|
-
|
|
1240
|
-
@description ### Supported
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
###
|
|
1246
|
-
>
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
### Usage
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1466
|
+
@summary Cancels O\\&M tasks that are not started.
|
|
1467
|
+
|
|
1468
|
+
@description ### [](#)Supported database engines
|
|
1469
|
+
MySQL
|
|
1470
|
+
PostgreSQL
|
|
1471
|
+
SQL Server
|
|
1472
|
+
MariaDB
|
|
1473
|
+
### [](#)References
|
|
1474
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
1475
|
+
[Scheduled events for ApsaraDB RDS for MySQL instances](https://help.aliyun.com/document_detail/104183.html)
|
|
1476
|
+
[Scheduled events for ApsaraDB RDS for PostgreSQL instances](https://help.aliyun.com/document_detail/104452.html)
|
|
1477
|
+
[Scheduled events for ApsaraDB RDS for SQL Server instances](https://help.aliyun.com/document_detail/104451.html)
|
|
1478
|
+
[Scheduled events for ApsaraDB RDS for MariaDB instances](https://help.aliyun.com/document_detail/104454.html)
|
|
1479
|
+
### [](#)Usage notes
|
|
1480
|
+
Tasks cannot be canceled in the following situations:
|
|
1481
|
+
The allowCancel parameter is set to 0.
|
|
1482
|
+
The current time is later than the task start time.
|
|
1483
|
+
The status of the task is not set to 3. The value 3 specifies that the task is waiting to be executed.
|
|
1256
1484
|
|
|
1257
1485
|
@param request: CancelActiveOperationTasksRequest
|
|
1258
1486
|
@return: CancelActiveOperationTasksResponse
|
|
@@ -3682,6 +3910,8 @@ class Client(OpenApiClient):
|
|
|
3682
3910
|
query['AutoPay'] = request.auto_pay
|
|
3683
3911
|
if not UtilClient.is_unset(request.auto_renew):
|
|
3684
3912
|
query['AutoRenew'] = request.auto_renew
|
|
3913
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
3914
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
3685
3915
|
if not UtilClient.is_unset(request.babelfish_config):
|
|
3686
3916
|
query['BabelfishConfig'] = request.babelfish_config
|
|
3687
3917
|
if not UtilClient.is_unset(request.bpe_enabled):
|
|
@@ -3742,6 +3972,8 @@ class Client(OpenApiClient):
|
|
|
3742
3972
|
query['Port'] = request.port
|
|
3743
3973
|
if not UtilClient.is_unset(request.private_ip_address):
|
|
3744
3974
|
query['PrivateIpAddress'] = request.private_ip_address
|
|
3975
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
3976
|
+
query['PromotionCode'] = request.promotion_code
|
|
3745
3977
|
if not UtilClient.is_unset(request.region_id):
|
|
3746
3978
|
query['RegionId'] = request.region_id
|
|
3747
3979
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -3849,6 +4081,8 @@ class Client(OpenApiClient):
|
|
|
3849
4081
|
query['AutoPay'] = request.auto_pay
|
|
3850
4082
|
if not UtilClient.is_unset(request.auto_renew):
|
|
3851
4083
|
query['AutoRenew'] = request.auto_renew
|
|
4084
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
4085
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
3852
4086
|
if not UtilClient.is_unset(request.babelfish_config):
|
|
3853
4087
|
query['BabelfishConfig'] = request.babelfish_config
|
|
3854
4088
|
if not UtilClient.is_unset(request.bpe_enabled):
|
|
@@ -3909,6 +4143,8 @@ class Client(OpenApiClient):
|
|
|
3909
4143
|
query['Port'] = request.port
|
|
3910
4144
|
if not UtilClient.is_unset(request.private_ip_address):
|
|
3911
4145
|
query['PrivateIpAddress'] = request.private_ip_address
|
|
4146
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
4147
|
+
query['PromotionCode'] = request.promotion_code
|
|
3912
4148
|
if not UtilClient.is_unset(request.region_id):
|
|
3913
4149
|
query['RegionId'] = request.region_id
|
|
3914
4150
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -5484,122 +5720,6 @@ class Client(OpenApiClient):
|
|
|
5484
5720
|
runtime = util_models.RuntimeOptions()
|
|
5485
5721
|
return await self.create_ddr_instance_with_options_async(request, runtime)
|
|
5486
5722
|
|
|
5487
|
-
def create_diagnostic_report_with_options(
|
|
5488
|
-
self,
|
|
5489
|
-
request: rds_20140815_models.CreateDiagnosticReportRequest,
|
|
5490
|
-
runtime: util_models.RuntimeOptions,
|
|
5491
|
-
) -> rds_20140815_models.CreateDiagnosticReportResponse:
|
|
5492
|
-
"""
|
|
5493
|
-
@summary Creates a diagnostic report.
|
|
5494
|
-
|
|
5495
|
-
@description > This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
|
|
5496
|
-
After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.
|
|
5497
|
-
|
|
5498
|
-
@param request: CreateDiagnosticReportRequest
|
|
5499
|
-
@param runtime: runtime options for this request RuntimeOptions
|
|
5500
|
-
@return: CreateDiagnosticReportResponse
|
|
5501
|
-
"""
|
|
5502
|
-
UtilClient.validate_model(request)
|
|
5503
|
-
query = {}
|
|
5504
|
-
if not UtilClient.is_unset(request.dbinstance_id):
|
|
5505
|
-
query['DBInstanceId'] = request.dbinstance_id
|
|
5506
|
-
if not UtilClient.is_unset(request.end_time):
|
|
5507
|
-
query['EndTime'] = request.end_time
|
|
5508
|
-
if not UtilClient.is_unset(request.start_time):
|
|
5509
|
-
query['StartTime'] = request.start_time
|
|
5510
|
-
req = open_api_models.OpenApiRequest(
|
|
5511
|
-
query=OpenApiUtilClient.query(query)
|
|
5512
|
-
)
|
|
5513
|
-
params = open_api_models.Params(
|
|
5514
|
-
action='CreateDiagnosticReport',
|
|
5515
|
-
version='2014-08-15',
|
|
5516
|
-
protocol='HTTPS',
|
|
5517
|
-
pathname='/',
|
|
5518
|
-
method='POST',
|
|
5519
|
-
auth_type='AK',
|
|
5520
|
-
style='RPC',
|
|
5521
|
-
req_body_type='formData',
|
|
5522
|
-
body_type='json'
|
|
5523
|
-
)
|
|
5524
|
-
return TeaCore.from_map(
|
|
5525
|
-
rds_20140815_models.CreateDiagnosticReportResponse(),
|
|
5526
|
-
self.call_api(params, req, runtime)
|
|
5527
|
-
)
|
|
5528
|
-
|
|
5529
|
-
async def create_diagnostic_report_with_options_async(
|
|
5530
|
-
self,
|
|
5531
|
-
request: rds_20140815_models.CreateDiagnosticReportRequest,
|
|
5532
|
-
runtime: util_models.RuntimeOptions,
|
|
5533
|
-
) -> rds_20140815_models.CreateDiagnosticReportResponse:
|
|
5534
|
-
"""
|
|
5535
|
-
@summary Creates a diagnostic report.
|
|
5536
|
-
|
|
5537
|
-
@description > This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
|
|
5538
|
-
After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.
|
|
5539
|
-
|
|
5540
|
-
@param request: CreateDiagnosticReportRequest
|
|
5541
|
-
@param runtime: runtime options for this request RuntimeOptions
|
|
5542
|
-
@return: CreateDiagnosticReportResponse
|
|
5543
|
-
"""
|
|
5544
|
-
UtilClient.validate_model(request)
|
|
5545
|
-
query = {}
|
|
5546
|
-
if not UtilClient.is_unset(request.dbinstance_id):
|
|
5547
|
-
query['DBInstanceId'] = request.dbinstance_id
|
|
5548
|
-
if not UtilClient.is_unset(request.end_time):
|
|
5549
|
-
query['EndTime'] = request.end_time
|
|
5550
|
-
if not UtilClient.is_unset(request.start_time):
|
|
5551
|
-
query['StartTime'] = request.start_time
|
|
5552
|
-
req = open_api_models.OpenApiRequest(
|
|
5553
|
-
query=OpenApiUtilClient.query(query)
|
|
5554
|
-
)
|
|
5555
|
-
params = open_api_models.Params(
|
|
5556
|
-
action='CreateDiagnosticReport',
|
|
5557
|
-
version='2014-08-15',
|
|
5558
|
-
protocol='HTTPS',
|
|
5559
|
-
pathname='/',
|
|
5560
|
-
method='POST',
|
|
5561
|
-
auth_type='AK',
|
|
5562
|
-
style='RPC',
|
|
5563
|
-
req_body_type='formData',
|
|
5564
|
-
body_type='json'
|
|
5565
|
-
)
|
|
5566
|
-
return TeaCore.from_map(
|
|
5567
|
-
rds_20140815_models.CreateDiagnosticReportResponse(),
|
|
5568
|
-
await self.call_api_async(params, req, runtime)
|
|
5569
|
-
)
|
|
5570
|
-
|
|
5571
|
-
def create_diagnostic_report(
|
|
5572
|
-
self,
|
|
5573
|
-
request: rds_20140815_models.CreateDiagnosticReportRequest,
|
|
5574
|
-
) -> rds_20140815_models.CreateDiagnosticReportResponse:
|
|
5575
|
-
"""
|
|
5576
|
-
@summary Creates a diagnostic report.
|
|
5577
|
-
|
|
5578
|
-
@description > This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
|
|
5579
|
-
After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.
|
|
5580
|
-
|
|
5581
|
-
@param request: CreateDiagnosticReportRequest
|
|
5582
|
-
@return: CreateDiagnosticReportResponse
|
|
5583
|
-
"""
|
|
5584
|
-
runtime = util_models.RuntimeOptions()
|
|
5585
|
-
return self.create_diagnostic_report_with_options(request, runtime)
|
|
5586
|
-
|
|
5587
|
-
async def create_diagnostic_report_async(
|
|
5588
|
-
self,
|
|
5589
|
-
request: rds_20140815_models.CreateDiagnosticReportRequest,
|
|
5590
|
-
) -> rds_20140815_models.CreateDiagnosticReportResponse:
|
|
5591
|
-
"""
|
|
5592
|
-
@summary Creates a diagnostic report.
|
|
5593
|
-
|
|
5594
|
-
@description > This operation is no longer maintained. You can call the CreateDiagnosticReport operation of Database Autonomy Service (DAS) to create a diagnostic report.
|
|
5595
|
-
After you call this operation to create a diagnostic report, you can call the DescribeDiagnosticReportList operation to download the diagnostic report.
|
|
5596
|
-
|
|
5597
|
-
@param request: CreateDiagnosticReportRequest
|
|
5598
|
-
@return: CreateDiagnosticReportResponse
|
|
5599
|
-
"""
|
|
5600
|
-
runtime = util_models.RuntimeOptions()
|
|
5601
|
-
return await self.create_diagnostic_report_with_options_async(request, runtime)
|
|
5602
|
-
|
|
5603
5723
|
def create_gadinstance_with_options(
|
|
5604
5724
|
self,
|
|
5605
5725
|
request: rds_20140815_models.CreateGADInstanceRequest,
|
|
@@ -6729,14 +6849,14 @@ class Client(OpenApiClient):
|
|
|
6729
6849
|
@summary Creates an extension for a database.
|
|
6730
6850
|
|
|
6731
6851
|
@description ### [](#)Supported database engines
|
|
6732
|
-
|
|
6852
|
+
PostgreSQL
|
|
6733
6853
|
### [](#)References
|
|
6734
|
-
>
|
|
6854
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
6735
6855
|
[Manage extensions](https://help.aliyun.com/document_detail/2402409.html)
|
|
6736
|
-
### [](#)
|
|
6737
|
-
Install only the
|
|
6738
|
-
For more information, see [
|
|
6739
|
-
You can call
|
|
6856
|
+
### [](#)Usage notes
|
|
6857
|
+
Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.
|
|
6858
|
+
For more information, see [Supported extensions](https://help.aliyun.com/document_detail/142340.html).
|
|
6859
|
+
You can call an API operation to query the major engine version of the instance. For more information, see [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/610394.html).
|
|
6740
6860
|
|
|
6741
6861
|
@param request: CreatePostgresExtensionsRequest
|
|
6742
6862
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6796,14 +6916,14 @@ class Client(OpenApiClient):
|
|
|
6796
6916
|
@summary Creates an extension for a database.
|
|
6797
6917
|
|
|
6798
6918
|
@description ### [](#)Supported database engines
|
|
6799
|
-
|
|
6919
|
+
PostgreSQL
|
|
6800
6920
|
### [](#)References
|
|
6801
|
-
>
|
|
6921
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
6802
6922
|
[Manage extensions](https://help.aliyun.com/document_detail/2402409.html)
|
|
6803
|
-
### [](#)
|
|
6804
|
-
Install only the
|
|
6805
|
-
For more information, see [
|
|
6806
|
-
You can call
|
|
6923
|
+
### [](#)Usage notes
|
|
6924
|
+
Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.
|
|
6925
|
+
For more information, see [Supported extensions](https://help.aliyun.com/document_detail/142340.html).
|
|
6926
|
+
You can call an API operation to query the major engine version of the instance. For more information, see [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/610394.html).
|
|
6807
6927
|
|
|
6808
6928
|
@param request: CreatePostgresExtensionsRequest
|
|
6809
6929
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6862,14 +6982,14 @@ class Client(OpenApiClient):
|
|
|
6862
6982
|
@summary Creates an extension for a database.
|
|
6863
6983
|
|
|
6864
6984
|
@description ### [](#)Supported database engines
|
|
6865
|
-
|
|
6985
|
+
PostgreSQL
|
|
6866
6986
|
### [](#)References
|
|
6867
|
-
>
|
|
6987
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
6868
6988
|
[Manage extensions](https://help.aliyun.com/document_detail/2402409.html)
|
|
6869
|
-
### [](#)
|
|
6870
|
-
Install only the
|
|
6871
|
-
For more information, see [
|
|
6872
|
-
You can call
|
|
6989
|
+
### [](#)Usage notes
|
|
6990
|
+
Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.
|
|
6991
|
+
For more information, see [Supported extensions](https://help.aliyun.com/document_detail/142340.html).
|
|
6992
|
+
You can call an API operation to query the major engine version of the instance. For more information, see [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/610394.html).
|
|
6873
6993
|
|
|
6874
6994
|
@param request: CreatePostgresExtensionsRequest
|
|
6875
6995
|
@return: CreatePostgresExtensionsResponse
|
|
@@ -6885,14 +7005,14 @@ class Client(OpenApiClient):
|
|
|
6885
7005
|
@summary Creates an extension for a database.
|
|
6886
7006
|
|
|
6887
7007
|
@description ### [](#)Supported database engines
|
|
6888
|
-
|
|
7008
|
+
PostgreSQL
|
|
6889
7009
|
### [](#)References
|
|
6890
|
-
>
|
|
7010
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
6891
7011
|
[Manage extensions](https://help.aliyun.com/document_detail/2402409.html)
|
|
6892
|
-
### [](#)
|
|
6893
|
-
Install only the
|
|
6894
|
-
For more information, see [
|
|
6895
|
-
You can call
|
|
7012
|
+
### [](#)Usage notes
|
|
7013
|
+
Install only the extensions that are supported by the major engine version of the instance. Otherwise, the installation fails.
|
|
7014
|
+
For more information, see [Supported extensions](https://help.aliyun.com/document_detail/142340.html).
|
|
7015
|
+
You can call an API operation to query the major engine version of the instance. For more information, see [DescribeDBInstanceAttribute](https://help.aliyun.com/document_detail/610394.html).
|
|
6896
7016
|
|
|
6897
7017
|
@param request: CreatePostgresExtensionsRequest
|
|
6898
7018
|
@return: CreatePostgresExtensionsResponse
|
|
@@ -6928,6 +7048,8 @@ class Client(OpenApiClient):
|
|
|
6928
7048
|
query['RegionId'] = request.region_id
|
|
6929
7049
|
if not UtilClient.is_unset(request.strategy):
|
|
6930
7050
|
query['Strategy'] = request.strategy
|
|
7051
|
+
if not UtilClient.is_unset(request.tag):
|
|
7052
|
+
query['Tag'] = request.tag
|
|
6931
7053
|
req = open_api_models.OpenApiRequest(
|
|
6932
7054
|
query=OpenApiUtilClient.query(query)
|
|
6933
7055
|
)
|
|
@@ -6975,6 +7097,8 @@ class Client(OpenApiClient):
|
|
|
6975
7097
|
query['RegionId'] = request.region_id
|
|
6976
7098
|
if not UtilClient.is_unset(request.strategy):
|
|
6977
7099
|
query['Strategy'] = request.strategy
|
|
7100
|
+
if not UtilClient.is_unset(request.tag):
|
|
7101
|
+
query['Tag'] = request.tag
|
|
6978
7102
|
req = open_api_models.OpenApiRequest(
|
|
6979
7103
|
query=OpenApiUtilClient.query(query)
|
|
6980
7104
|
)
|
|
@@ -7020,6 +7144,310 @@ class Client(OpenApiClient):
|
|
|
7020
7144
|
runtime = util_models.RuntimeOptions()
|
|
7021
7145
|
return await self.create_rcdeployment_set_with_options_async(request, runtime)
|
|
7022
7146
|
|
|
7147
|
+
def create_rcdisk_with_options(
|
|
7148
|
+
self,
|
|
7149
|
+
request: rds_20140815_models.CreateRCDiskRequest,
|
|
7150
|
+
runtime: util_models.RuntimeOptions,
|
|
7151
|
+
) -> rds_20140815_models.CreateRCDiskResponse:
|
|
7152
|
+
"""
|
|
7153
|
+
@summary Creates a data disk for an RDS Custom instance.
|
|
7154
|
+
|
|
7155
|
+
@param request: CreateRCDiskRequest
|
|
7156
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7157
|
+
@return: CreateRCDiskResponse
|
|
7158
|
+
"""
|
|
7159
|
+
UtilClient.validate_model(request)
|
|
7160
|
+
query = {}
|
|
7161
|
+
if not UtilClient.is_unset(request.auto_pay):
|
|
7162
|
+
query['AutoPay'] = request.auto_pay
|
|
7163
|
+
if not UtilClient.is_unset(request.auto_renew):
|
|
7164
|
+
query['AutoRenew'] = request.auto_renew
|
|
7165
|
+
if not UtilClient.is_unset(request.description):
|
|
7166
|
+
query['Description'] = request.description
|
|
7167
|
+
if not UtilClient.is_unset(request.disk_category):
|
|
7168
|
+
query['DiskCategory'] = request.disk_category
|
|
7169
|
+
if not UtilClient.is_unset(request.disk_name):
|
|
7170
|
+
query['DiskName'] = request.disk_name
|
|
7171
|
+
if not UtilClient.is_unset(request.instance_charge_type):
|
|
7172
|
+
query['InstanceChargeType'] = request.instance_charge_type
|
|
7173
|
+
if not UtilClient.is_unset(request.performance_level):
|
|
7174
|
+
query['PerformanceLevel'] = request.performance_level
|
|
7175
|
+
if not UtilClient.is_unset(request.period):
|
|
7176
|
+
query['Period'] = request.period
|
|
7177
|
+
if not UtilClient.is_unset(request.period_unit):
|
|
7178
|
+
query['PeriodUnit'] = request.period_unit
|
|
7179
|
+
if not UtilClient.is_unset(request.region_id):
|
|
7180
|
+
query['RegionId'] = request.region_id
|
|
7181
|
+
if not UtilClient.is_unset(request.size):
|
|
7182
|
+
query['Size'] = request.size
|
|
7183
|
+
if not UtilClient.is_unset(request.snapshot_id):
|
|
7184
|
+
query['SnapshotId'] = request.snapshot_id
|
|
7185
|
+
if not UtilClient.is_unset(request.zone_id):
|
|
7186
|
+
query['ZoneId'] = request.zone_id
|
|
7187
|
+
req = open_api_models.OpenApiRequest(
|
|
7188
|
+
query=OpenApiUtilClient.query(query)
|
|
7189
|
+
)
|
|
7190
|
+
params = open_api_models.Params(
|
|
7191
|
+
action='CreateRCDisk',
|
|
7192
|
+
version='2014-08-15',
|
|
7193
|
+
protocol='HTTPS',
|
|
7194
|
+
pathname='/',
|
|
7195
|
+
method='POST',
|
|
7196
|
+
auth_type='AK',
|
|
7197
|
+
style='RPC',
|
|
7198
|
+
req_body_type='formData',
|
|
7199
|
+
body_type='json'
|
|
7200
|
+
)
|
|
7201
|
+
return TeaCore.from_map(
|
|
7202
|
+
rds_20140815_models.CreateRCDiskResponse(),
|
|
7203
|
+
self.call_api(params, req, runtime)
|
|
7204
|
+
)
|
|
7205
|
+
|
|
7206
|
+
async def create_rcdisk_with_options_async(
|
|
7207
|
+
self,
|
|
7208
|
+
request: rds_20140815_models.CreateRCDiskRequest,
|
|
7209
|
+
runtime: util_models.RuntimeOptions,
|
|
7210
|
+
) -> rds_20140815_models.CreateRCDiskResponse:
|
|
7211
|
+
"""
|
|
7212
|
+
@summary Creates a data disk for an RDS Custom instance.
|
|
7213
|
+
|
|
7214
|
+
@param request: CreateRCDiskRequest
|
|
7215
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7216
|
+
@return: CreateRCDiskResponse
|
|
7217
|
+
"""
|
|
7218
|
+
UtilClient.validate_model(request)
|
|
7219
|
+
query = {}
|
|
7220
|
+
if not UtilClient.is_unset(request.auto_pay):
|
|
7221
|
+
query['AutoPay'] = request.auto_pay
|
|
7222
|
+
if not UtilClient.is_unset(request.auto_renew):
|
|
7223
|
+
query['AutoRenew'] = request.auto_renew
|
|
7224
|
+
if not UtilClient.is_unset(request.description):
|
|
7225
|
+
query['Description'] = request.description
|
|
7226
|
+
if not UtilClient.is_unset(request.disk_category):
|
|
7227
|
+
query['DiskCategory'] = request.disk_category
|
|
7228
|
+
if not UtilClient.is_unset(request.disk_name):
|
|
7229
|
+
query['DiskName'] = request.disk_name
|
|
7230
|
+
if not UtilClient.is_unset(request.instance_charge_type):
|
|
7231
|
+
query['InstanceChargeType'] = request.instance_charge_type
|
|
7232
|
+
if not UtilClient.is_unset(request.performance_level):
|
|
7233
|
+
query['PerformanceLevel'] = request.performance_level
|
|
7234
|
+
if not UtilClient.is_unset(request.period):
|
|
7235
|
+
query['Period'] = request.period
|
|
7236
|
+
if not UtilClient.is_unset(request.period_unit):
|
|
7237
|
+
query['PeriodUnit'] = request.period_unit
|
|
7238
|
+
if not UtilClient.is_unset(request.region_id):
|
|
7239
|
+
query['RegionId'] = request.region_id
|
|
7240
|
+
if not UtilClient.is_unset(request.size):
|
|
7241
|
+
query['Size'] = request.size
|
|
7242
|
+
if not UtilClient.is_unset(request.snapshot_id):
|
|
7243
|
+
query['SnapshotId'] = request.snapshot_id
|
|
7244
|
+
if not UtilClient.is_unset(request.zone_id):
|
|
7245
|
+
query['ZoneId'] = request.zone_id
|
|
7246
|
+
req = open_api_models.OpenApiRequest(
|
|
7247
|
+
query=OpenApiUtilClient.query(query)
|
|
7248
|
+
)
|
|
7249
|
+
params = open_api_models.Params(
|
|
7250
|
+
action='CreateRCDisk',
|
|
7251
|
+
version='2014-08-15',
|
|
7252
|
+
protocol='HTTPS',
|
|
7253
|
+
pathname='/',
|
|
7254
|
+
method='POST',
|
|
7255
|
+
auth_type='AK',
|
|
7256
|
+
style='RPC',
|
|
7257
|
+
req_body_type='formData',
|
|
7258
|
+
body_type='json'
|
|
7259
|
+
)
|
|
7260
|
+
return TeaCore.from_map(
|
|
7261
|
+
rds_20140815_models.CreateRCDiskResponse(),
|
|
7262
|
+
await self.call_api_async(params, req, runtime)
|
|
7263
|
+
)
|
|
7264
|
+
|
|
7265
|
+
def create_rcdisk(
|
|
7266
|
+
self,
|
|
7267
|
+
request: rds_20140815_models.CreateRCDiskRequest,
|
|
7268
|
+
) -> rds_20140815_models.CreateRCDiskResponse:
|
|
7269
|
+
"""
|
|
7270
|
+
@summary Creates a data disk for an RDS Custom instance.
|
|
7271
|
+
|
|
7272
|
+
@param request: CreateRCDiskRequest
|
|
7273
|
+
@return: CreateRCDiskResponse
|
|
7274
|
+
"""
|
|
7275
|
+
runtime = util_models.RuntimeOptions()
|
|
7276
|
+
return self.create_rcdisk_with_options(request, runtime)
|
|
7277
|
+
|
|
7278
|
+
async def create_rcdisk_async(
|
|
7279
|
+
self,
|
|
7280
|
+
request: rds_20140815_models.CreateRCDiskRequest,
|
|
7281
|
+
) -> rds_20140815_models.CreateRCDiskResponse:
|
|
7282
|
+
"""
|
|
7283
|
+
@summary Creates a data disk for an RDS Custom instance.
|
|
7284
|
+
|
|
7285
|
+
@param request: CreateRCDiskRequest
|
|
7286
|
+
@return: CreateRCDiskResponse
|
|
7287
|
+
"""
|
|
7288
|
+
runtime = util_models.RuntimeOptions()
|
|
7289
|
+
return await self.create_rcdisk_with_options_async(request, runtime)
|
|
7290
|
+
|
|
7291
|
+
def create_rcsnapshot_with_options(
|
|
7292
|
+
self,
|
|
7293
|
+
request: rds_20140815_models.CreateRCSnapshotRequest,
|
|
7294
|
+
runtime: util_models.RuntimeOptions,
|
|
7295
|
+
) -> rds_20140815_models.CreateRCSnapshotResponse:
|
|
7296
|
+
"""
|
|
7297
|
+
@summary Creates a snapshot for a cloud disk.
|
|
7298
|
+
|
|
7299
|
+
@description In the following scenarios, you cannot create snapshots for a specific disk:
|
|
7300
|
+
The number of manual snapshots of the disk has reached 256.
|
|
7301
|
+
A snapshot is being created for the disk.
|
|
7302
|
+
The instance to which the disk is attached has never been started.
|
|
7303
|
+
The instance to which the disk is attached is not in the **Stopped** or **Running** state.
|
|
7304
|
+
When you create a snapshot, take note of the following items:
|
|
7305
|
+
If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.
|
|
7306
|
+
When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.
|
|
7307
|
+
You can create snapshots for a disk that is in the **Expired** state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.
|
|
7308
|
+
|
|
7309
|
+
@param request: CreateRCSnapshotRequest
|
|
7310
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7311
|
+
@return: CreateRCSnapshotResponse
|
|
7312
|
+
"""
|
|
7313
|
+
UtilClient.validate_model(request)
|
|
7314
|
+
query = {}
|
|
7315
|
+
if not UtilClient.is_unset(request.description):
|
|
7316
|
+
query['Description'] = request.description
|
|
7317
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
7318
|
+
query['DiskId'] = request.disk_id
|
|
7319
|
+
if not UtilClient.is_unset(request.instant_access):
|
|
7320
|
+
query['InstantAccess'] = request.instant_access
|
|
7321
|
+
if not UtilClient.is_unset(request.instant_access_retention_days):
|
|
7322
|
+
query['InstantAccessRetentionDays'] = request.instant_access_retention_days
|
|
7323
|
+
if not UtilClient.is_unset(request.region_id):
|
|
7324
|
+
query['RegionId'] = request.region_id
|
|
7325
|
+
if not UtilClient.is_unset(request.retention_days):
|
|
7326
|
+
query['RetentionDays'] = request.retention_days
|
|
7327
|
+
if not UtilClient.is_unset(request.zone_id):
|
|
7328
|
+
query['ZoneId'] = request.zone_id
|
|
7329
|
+
req = open_api_models.OpenApiRequest(
|
|
7330
|
+
query=OpenApiUtilClient.query(query)
|
|
7331
|
+
)
|
|
7332
|
+
params = open_api_models.Params(
|
|
7333
|
+
action='CreateRCSnapshot',
|
|
7334
|
+
version='2014-08-15',
|
|
7335
|
+
protocol='HTTPS',
|
|
7336
|
+
pathname='/',
|
|
7337
|
+
method='POST',
|
|
7338
|
+
auth_type='AK',
|
|
7339
|
+
style='RPC',
|
|
7340
|
+
req_body_type='formData',
|
|
7341
|
+
body_type='json'
|
|
7342
|
+
)
|
|
7343
|
+
return TeaCore.from_map(
|
|
7344
|
+
rds_20140815_models.CreateRCSnapshotResponse(),
|
|
7345
|
+
self.call_api(params, req, runtime)
|
|
7346
|
+
)
|
|
7347
|
+
|
|
7348
|
+
async def create_rcsnapshot_with_options_async(
|
|
7349
|
+
self,
|
|
7350
|
+
request: rds_20140815_models.CreateRCSnapshotRequest,
|
|
7351
|
+
runtime: util_models.RuntimeOptions,
|
|
7352
|
+
) -> rds_20140815_models.CreateRCSnapshotResponse:
|
|
7353
|
+
"""
|
|
7354
|
+
@summary Creates a snapshot for a cloud disk.
|
|
7355
|
+
|
|
7356
|
+
@description In the following scenarios, you cannot create snapshots for a specific disk:
|
|
7357
|
+
The number of manual snapshots of the disk has reached 256.
|
|
7358
|
+
A snapshot is being created for the disk.
|
|
7359
|
+
The instance to which the disk is attached has never been started.
|
|
7360
|
+
The instance to which the disk is attached is not in the **Stopped** or **Running** state.
|
|
7361
|
+
When you create a snapshot, take note of the following items:
|
|
7362
|
+
If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.
|
|
7363
|
+
When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.
|
|
7364
|
+
You can create snapshots for a disk that is in the **Expired** state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.
|
|
7365
|
+
|
|
7366
|
+
@param request: CreateRCSnapshotRequest
|
|
7367
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
7368
|
+
@return: CreateRCSnapshotResponse
|
|
7369
|
+
"""
|
|
7370
|
+
UtilClient.validate_model(request)
|
|
7371
|
+
query = {}
|
|
7372
|
+
if not UtilClient.is_unset(request.description):
|
|
7373
|
+
query['Description'] = request.description
|
|
7374
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
7375
|
+
query['DiskId'] = request.disk_id
|
|
7376
|
+
if not UtilClient.is_unset(request.instant_access):
|
|
7377
|
+
query['InstantAccess'] = request.instant_access
|
|
7378
|
+
if not UtilClient.is_unset(request.instant_access_retention_days):
|
|
7379
|
+
query['InstantAccessRetentionDays'] = request.instant_access_retention_days
|
|
7380
|
+
if not UtilClient.is_unset(request.region_id):
|
|
7381
|
+
query['RegionId'] = request.region_id
|
|
7382
|
+
if not UtilClient.is_unset(request.retention_days):
|
|
7383
|
+
query['RetentionDays'] = request.retention_days
|
|
7384
|
+
if not UtilClient.is_unset(request.zone_id):
|
|
7385
|
+
query['ZoneId'] = request.zone_id
|
|
7386
|
+
req = open_api_models.OpenApiRequest(
|
|
7387
|
+
query=OpenApiUtilClient.query(query)
|
|
7388
|
+
)
|
|
7389
|
+
params = open_api_models.Params(
|
|
7390
|
+
action='CreateRCSnapshot',
|
|
7391
|
+
version='2014-08-15',
|
|
7392
|
+
protocol='HTTPS',
|
|
7393
|
+
pathname='/',
|
|
7394
|
+
method='POST',
|
|
7395
|
+
auth_type='AK',
|
|
7396
|
+
style='RPC',
|
|
7397
|
+
req_body_type='formData',
|
|
7398
|
+
body_type='json'
|
|
7399
|
+
)
|
|
7400
|
+
return TeaCore.from_map(
|
|
7401
|
+
rds_20140815_models.CreateRCSnapshotResponse(),
|
|
7402
|
+
await self.call_api_async(params, req, runtime)
|
|
7403
|
+
)
|
|
7404
|
+
|
|
7405
|
+
def create_rcsnapshot(
|
|
7406
|
+
self,
|
|
7407
|
+
request: rds_20140815_models.CreateRCSnapshotRequest,
|
|
7408
|
+
) -> rds_20140815_models.CreateRCSnapshotResponse:
|
|
7409
|
+
"""
|
|
7410
|
+
@summary Creates a snapshot for a cloud disk.
|
|
7411
|
+
|
|
7412
|
+
@description In the following scenarios, you cannot create snapshots for a specific disk:
|
|
7413
|
+
The number of manual snapshots of the disk has reached 256.
|
|
7414
|
+
A snapshot is being created for the disk.
|
|
7415
|
+
The instance to which the disk is attached has never been started.
|
|
7416
|
+
The instance to which the disk is attached is not in the **Stopped** or **Running** state.
|
|
7417
|
+
When you create a snapshot, take note of the following items:
|
|
7418
|
+
If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.
|
|
7419
|
+
When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.
|
|
7420
|
+
You can create snapshots for a disk that is in the **Expired** state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.
|
|
7421
|
+
|
|
7422
|
+
@param request: CreateRCSnapshotRequest
|
|
7423
|
+
@return: CreateRCSnapshotResponse
|
|
7424
|
+
"""
|
|
7425
|
+
runtime = util_models.RuntimeOptions()
|
|
7426
|
+
return self.create_rcsnapshot_with_options(request, runtime)
|
|
7427
|
+
|
|
7428
|
+
async def create_rcsnapshot_async(
|
|
7429
|
+
self,
|
|
7430
|
+
request: rds_20140815_models.CreateRCSnapshotRequest,
|
|
7431
|
+
) -> rds_20140815_models.CreateRCSnapshotResponse:
|
|
7432
|
+
"""
|
|
7433
|
+
@summary Creates a snapshot for a cloud disk.
|
|
7434
|
+
|
|
7435
|
+
@description In the following scenarios, you cannot create snapshots for a specific disk:
|
|
7436
|
+
The number of manual snapshots of the disk has reached 256.
|
|
7437
|
+
A snapshot is being created for the disk.
|
|
7438
|
+
The instance to which the disk is attached has never been started.
|
|
7439
|
+
The instance to which the disk is attached is not in the **Stopped** or **Running** state.
|
|
7440
|
+
When you create a snapshot, take note of the following items:
|
|
7441
|
+
If a snapshot is being created, the snapshot cannot be used to create a custom image by calling the CreateImage operation.
|
|
7442
|
+
When a snapshot is being created for a disk that is attached to an RDS Custom instance, do not change the instance state.
|
|
7443
|
+
You can create snapshots for a disk that is in the **Expired** state. If the release time scheduled for a disk arrives when a snapshot is being created for the disk, the snapshot in the Creating state is deleted when the disk is released.
|
|
7444
|
+
|
|
7445
|
+
@param request: CreateRCSnapshotRequest
|
|
7446
|
+
@return: CreateRCSnapshotResponse
|
|
7447
|
+
"""
|
|
7448
|
+
runtime = util_models.RuntimeOptions()
|
|
7449
|
+
return await self.create_rcsnapshot_with_options_async(request, runtime)
|
|
7450
|
+
|
|
7023
7451
|
def create_read_only_dbinstance_with_options(
|
|
7024
7452
|
self,
|
|
7025
7453
|
request: rds_20140815_models.CreateReadOnlyDBInstanceRequest,
|
|
@@ -7050,6 +7478,8 @@ class Client(OpenApiClient):
|
|
|
7050
7478
|
query['AutoPay'] = request.auto_pay
|
|
7051
7479
|
if not UtilClient.is_unset(request.auto_renew):
|
|
7052
7480
|
query['AutoRenew'] = request.auto_renew
|
|
7481
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
7482
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
7053
7483
|
if not UtilClient.is_unset(request.bpe_enabled):
|
|
7054
7484
|
query['BpeEnabled'] = request.bpe_enabled
|
|
7055
7485
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
@@ -7094,6 +7524,8 @@ class Client(OpenApiClient):
|
|
|
7094
7524
|
query['Port'] = request.port
|
|
7095
7525
|
if not UtilClient.is_unset(request.private_ip_address):
|
|
7096
7526
|
query['PrivateIpAddress'] = request.private_ip_address
|
|
7527
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
7528
|
+
query['PromotionCode'] = request.promotion_code
|
|
7097
7529
|
if not UtilClient.is_unset(request.region_id):
|
|
7098
7530
|
query['RegionId'] = request.region_id
|
|
7099
7531
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -7165,6 +7597,8 @@ class Client(OpenApiClient):
|
|
|
7165
7597
|
query['AutoPay'] = request.auto_pay
|
|
7166
7598
|
if not UtilClient.is_unset(request.auto_renew):
|
|
7167
7599
|
query['AutoRenew'] = request.auto_renew
|
|
7600
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
7601
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
7168
7602
|
if not UtilClient.is_unset(request.bpe_enabled):
|
|
7169
7603
|
query['BpeEnabled'] = request.bpe_enabled
|
|
7170
7604
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
@@ -7209,6 +7643,8 @@ class Client(OpenApiClient):
|
|
|
7209
7643
|
query['Port'] = request.port
|
|
7210
7644
|
if not UtilClient.is_unset(request.private_ip_address):
|
|
7211
7645
|
query['PrivateIpAddress'] = request.private_ip_address
|
|
7646
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
7647
|
+
query['PromotionCode'] = request.promotion_code
|
|
7212
7648
|
if not UtilClient.is_unset(request.region_id):
|
|
7213
7649
|
query['RegionId'] = request.region_id
|
|
7214
7650
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -10172,29 +10608,39 @@ class Client(OpenApiClient):
|
|
|
10172
10608
|
runtime = util_models.RuntimeOptions()
|
|
10173
10609
|
return await self.delete_postgres_extensions_with_options_async(request, runtime)
|
|
10174
10610
|
|
|
10175
|
-
def
|
|
10611
|
+
def delete_rccluster_nodes_with_options(
|
|
10176
10612
|
self,
|
|
10177
|
-
|
|
10613
|
+
tmp_req: rds_20140815_models.DeleteRCClusterNodesRequest,
|
|
10178
10614
|
runtime: util_models.RuntimeOptions,
|
|
10179
|
-
) -> rds_20140815_models.
|
|
10615
|
+
) -> rds_20140815_models.DeleteRCClusterNodesResponse:
|
|
10180
10616
|
"""
|
|
10181
|
-
@summary Deletes a
|
|
10617
|
+
@summary Deletes a RDS Custom node from a Container Service for Kubernetes (ACK) cluster.
|
|
10182
10618
|
|
|
10183
|
-
@param
|
|
10619
|
+
@param tmp_req: DeleteRCClusterNodesRequest
|
|
10184
10620
|
@param runtime: runtime options for this request RuntimeOptions
|
|
10185
|
-
@return:
|
|
10621
|
+
@return: DeleteRCClusterNodesResponse
|
|
10186
10622
|
"""
|
|
10187
|
-
UtilClient.validate_model(
|
|
10623
|
+
UtilClient.validate_model(tmp_req)
|
|
10624
|
+
request = rds_20140815_models.DeleteRCClusterNodesShrinkRequest()
|
|
10625
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
10626
|
+
if not UtilClient.is_unset(tmp_req.instance_ids):
|
|
10627
|
+
request.instance_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_ids, 'InstanceIds', 'simple')
|
|
10628
|
+
if not UtilClient.is_unset(tmp_req.nodes):
|
|
10629
|
+
request.nodes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.nodes, 'Nodes', 'simple')
|
|
10188
10630
|
query = {}
|
|
10189
|
-
if not UtilClient.is_unset(request.
|
|
10190
|
-
query['
|
|
10631
|
+
if not UtilClient.is_unset(request.instance_ids_shrink):
|
|
10632
|
+
query['InstanceIds'] = request.instance_ids_shrink
|
|
10633
|
+
if not UtilClient.is_unset(request.nodes_shrink):
|
|
10634
|
+
query['Nodes'] = request.nodes_shrink
|
|
10191
10635
|
if not UtilClient.is_unset(request.region_id):
|
|
10192
10636
|
query['RegionId'] = request.region_id
|
|
10637
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
10638
|
+
query['VpcId'] = request.vpc_id
|
|
10193
10639
|
req = open_api_models.OpenApiRequest(
|
|
10194
10640
|
query=OpenApiUtilClient.query(query)
|
|
10195
10641
|
)
|
|
10196
10642
|
params = open_api_models.Params(
|
|
10197
|
-
action='
|
|
10643
|
+
action='DeleteRCClusterNodes',
|
|
10198
10644
|
version='2014-08-15',
|
|
10199
10645
|
protocol='HTTPS',
|
|
10200
10646
|
pathname='/',
|
|
@@ -10205,11 +10651,121 @@ class Client(OpenApiClient):
|
|
|
10205
10651
|
body_type='json'
|
|
10206
10652
|
)
|
|
10207
10653
|
return TeaCore.from_map(
|
|
10208
|
-
rds_20140815_models.
|
|
10654
|
+
rds_20140815_models.DeleteRCClusterNodesResponse(),
|
|
10209
10655
|
self.call_api(params, req, runtime)
|
|
10210
10656
|
)
|
|
10211
10657
|
|
|
10212
|
-
async def
|
|
10658
|
+
async def delete_rccluster_nodes_with_options_async(
|
|
10659
|
+
self,
|
|
10660
|
+
tmp_req: rds_20140815_models.DeleteRCClusterNodesRequest,
|
|
10661
|
+
runtime: util_models.RuntimeOptions,
|
|
10662
|
+
) -> rds_20140815_models.DeleteRCClusterNodesResponse:
|
|
10663
|
+
"""
|
|
10664
|
+
@summary Deletes a RDS Custom node from a Container Service for Kubernetes (ACK) cluster.
|
|
10665
|
+
|
|
10666
|
+
@param tmp_req: DeleteRCClusterNodesRequest
|
|
10667
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10668
|
+
@return: DeleteRCClusterNodesResponse
|
|
10669
|
+
"""
|
|
10670
|
+
UtilClient.validate_model(tmp_req)
|
|
10671
|
+
request = rds_20140815_models.DeleteRCClusterNodesShrinkRequest()
|
|
10672
|
+
OpenApiUtilClient.convert(tmp_req, request)
|
|
10673
|
+
if not UtilClient.is_unset(tmp_req.instance_ids):
|
|
10674
|
+
request.instance_ids_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.instance_ids, 'InstanceIds', 'simple')
|
|
10675
|
+
if not UtilClient.is_unset(tmp_req.nodes):
|
|
10676
|
+
request.nodes_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.nodes, 'Nodes', 'simple')
|
|
10677
|
+
query = {}
|
|
10678
|
+
if not UtilClient.is_unset(request.instance_ids_shrink):
|
|
10679
|
+
query['InstanceIds'] = request.instance_ids_shrink
|
|
10680
|
+
if not UtilClient.is_unset(request.nodes_shrink):
|
|
10681
|
+
query['Nodes'] = request.nodes_shrink
|
|
10682
|
+
if not UtilClient.is_unset(request.region_id):
|
|
10683
|
+
query['RegionId'] = request.region_id
|
|
10684
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
10685
|
+
query['VpcId'] = request.vpc_id
|
|
10686
|
+
req = open_api_models.OpenApiRequest(
|
|
10687
|
+
query=OpenApiUtilClient.query(query)
|
|
10688
|
+
)
|
|
10689
|
+
params = open_api_models.Params(
|
|
10690
|
+
action='DeleteRCClusterNodes',
|
|
10691
|
+
version='2014-08-15',
|
|
10692
|
+
protocol='HTTPS',
|
|
10693
|
+
pathname='/',
|
|
10694
|
+
method='POST',
|
|
10695
|
+
auth_type='AK',
|
|
10696
|
+
style='RPC',
|
|
10697
|
+
req_body_type='formData',
|
|
10698
|
+
body_type='json'
|
|
10699
|
+
)
|
|
10700
|
+
return TeaCore.from_map(
|
|
10701
|
+
rds_20140815_models.DeleteRCClusterNodesResponse(),
|
|
10702
|
+
await self.call_api_async(params, req, runtime)
|
|
10703
|
+
)
|
|
10704
|
+
|
|
10705
|
+
def delete_rccluster_nodes(
|
|
10706
|
+
self,
|
|
10707
|
+
request: rds_20140815_models.DeleteRCClusterNodesRequest,
|
|
10708
|
+
) -> rds_20140815_models.DeleteRCClusterNodesResponse:
|
|
10709
|
+
"""
|
|
10710
|
+
@summary Deletes a RDS Custom node from a Container Service for Kubernetes (ACK) cluster.
|
|
10711
|
+
|
|
10712
|
+
@param request: DeleteRCClusterNodesRequest
|
|
10713
|
+
@return: DeleteRCClusterNodesResponse
|
|
10714
|
+
"""
|
|
10715
|
+
runtime = util_models.RuntimeOptions()
|
|
10716
|
+
return self.delete_rccluster_nodes_with_options(request, runtime)
|
|
10717
|
+
|
|
10718
|
+
async def delete_rccluster_nodes_async(
|
|
10719
|
+
self,
|
|
10720
|
+
request: rds_20140815_models.DeleteRCClusterNodesRequest,
|
|
10721
|
+
) -> rds_20140815_models.DeleteRCClusterNodesResponse:
|
|
10722
|
+
"""
|
|
10723
|
+
@summary Deletes a RDS Custom node from a Container Service for Kubernetes (ACK) cluster.
|
|
10724
|
+
|
|
10725
|
+
@param request: DeleteRCClusterNodesRequest
|
|
10726
|
+
@return: DeleteRCClusterNodesResponse
|
|
10727
|
+
"""
|
|
10728
|
+
runtime = util_models.RuntimeOptions()
|
|
10729
|
+
return await self.delete_rccluster_nodes_with_options_async(request, runtime)
|
|
10730
|
+
|
|
10731
|
+
def delete_rcdeployment_set_with_options(
|
|
10732
|
+
self,
|
|
10733
|
+
request: rds_20140815_models.DeleteRCDeploymentSetRequest,
|
|
10734
|
+
runtime: util_models.RuntimeOptions,
|
|
10735
|
+
) -> rds_20140815_models.DeleteRCDeploymentSetResponse:
|
|
10736
|
+
"""
|
|
10737
|
+
@summary Deletes a deployment set for an RDS Custom instance. Before you call this operation, you must specify parameters such as RegionId and DeploymentSetId.
|
|
10738
|
+
|
|
10739
|
+
@param request: DeleteRCDeploymentSetRequest
|
|
10740
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10741
|
+
@return: DeleteRCDeploymentSetResponse
|
|
10742
|
+
"""
|
|
10743
|
+
UtilClient.validate_model(request)
|
|
10744
|
+
query = {}
|
|
10745
|
+
if not UtilClient.is_unset(request.deployment_set_id):
|
|
10746
|
+
query['DeploymentSetId'] = request.deployment_set_id
|
|
10747
|
+
if not UtilClient.is_unset(request.region_id):
|
|
10748
|
+
query['RegionId'] = request.region_id
|
|
10749
|
+
req = open_api_models.OpenApiRequest(
|
|
10750
|
+
query=OpenApiUtilClient.query(query)
|
|
10751
|
+
)
|
|
10752
|
+
params = open_api_models.Params(
|
|
10753
|
+
action='DeleteRCDeploymentSet',
|
|
10754
|
+
version='2014-08-15',
|
|
10755
|
+
protocol='HTTPS',
|
|
10756
|
+
pathname='/',
|
|
10757
|
+
method='POST',
|
|
10758
|
+
auth_type='AK',
|
|
10759
|
+
style='RPC',
|
|
10760
|
+
req_body_type='formData',
|
|
10761
|
+
body_type='json'
|
|
10762
|
+
)
|
|
10763
|
+
return TeaCore.from_map(
|
|
10764
|
+
rds_20140815_models.DeleteRCDeploymentSetResponse(),
|
|
10765
|
+
self.call_api(params, req, runtime)
|
|
10766
|
+
)
|
|
10767
|
+
|
|
10768
|
+
async def delete_rcdeployment_set_with_options_async(
|
|
10213
10769
|
self,
|
|
10214
10770
|
request: rds_20140815_models.DeleteRCDeploymentSetRequest,
|
|
10215
10771
|
runtime: util_models.RuntimeOptions,
|
|
@@ -10272,6 +10828,126 @@ class Client(OpenApiClient):
|
|
|
10272
10828
|
runtime = util_models.RuntimeOptions()
|
|
10273
10829
|
return await self.delete_rcdeployment_set_with_options_async(request, runtime)
|
|
10274
10830
|
|
|
10831
|
+
def delete_rcdisk_with_options(
|
|
10832
|
+
self,
|
|
10833
|
+
request: rds_20140815_models.DeleteRCDiskRequest,
|
|
10834
|
+
runtime: util_models.RuntimeOptions,
|
|
10835
|
+
) -> rds_20140815_models.DeleteRCDiskResponse:
|
|
10836
|
+
"""
|
|
10837
|
+
@summary Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an Enterprise SSD (ESSD).
|
|
10838
|
+
|
|
10839
|
+
@description Before you call this operation, take note of the following items:
|
|
10840
|
+
Manual snapshots of the disk are retained.
|
|
10841
|
+
The disk must be in the Unattached (Available) state.
|
|
10842
|
+
If no disk with the specified disk ID exists, the request will be ignored.
|
|
10843
|
+
|
|
10844
|
+
@param request: DeleteRCDiskRequest
|
|
10845
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10846
|
+
@return: DeleteRCDiskResponse
|
|
10847
|
+
"""
|
|
10848
|
+
UtilClient.validate_model(request)
|
|
10849
|
+
query = {}
|
|
10850
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
10851
|
+
query['DiskId'] = request.disk_id
|
|
10852
|
+
if not UtilClient.is_unset(request.region_id):
|
|
10853
|
+
query['RegionId'] = request.region_id
|
|
10854
|
+
req = open_api_models.OpenApiRequest(
|
|
10855
|
+
query=OpenApiUtilClient.query(query)
|
|
10856
|
+
)
|
|
10857
|
+
params = open_api_models.Params(
|
|
10858
|
+
action='DeleteRCDisk',
|
|
10859
|
+
version='2014-08-15',
|
|
10860
|
+
protocol='HTTPS',
|
|
10861
|
+
pathname='/',
|
|
10862
|
+
method='POST',
|
|
10863
|
+
auth_type='AK',
|
|
10864
|
+
style='RPC',
|
|
10865
|
+
req_body_type='formData',
|
|
10866
|
+
body_type='json'
|
|
10867
|
+
)
|
|
10868
|
+
return TeaCore.from_map(
|
|
10869
|
+
rds_20140815_models.DeleteRCDiskResponse(),
|
|
10870
|
+
self.call_api(params, req, runtime)
|
|
10871
|
+
)
|
|
10872
|
+
|
|
10873
|
+
async def delete_rcdisk_with_options_async(
|
|
10874
|
+
self,
|
|
10875
|
+
request: rds_20140815_models.DeleteRCDiskRequest,
|
|
10876
|
+
runtime: util_models.RuntimeOptions,
|
|
10877
|
+
) -> rds_20140815_models.DeleteRCDiskResponse:
|
|
10878
|
+
"""
|
|
10879
|
+
@summary Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an Enterprise SSD (ESSD).
|
|
10880
|
+
|
|
10881
|
+
@description Before you call this operation, take note of the following items:
|
|
10882
|
+
Manual snapshots of the disk are retained.
|
|
10883
|
+
The disk must be in the Unattached (Available) state.
|
|
10884
|
+
If no disk with the specified disk ID exists, the request will be ignored.
|
|
10885
|
+
|
|
10886
|
+
@param request: DeleteRCDiskRequest
|
|
10887
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
10888
|
+
@return: DeleteRCDiskResponse
|
|
10889
|
+
"""
|
|
10890
|
+
UtilClient.validate_model(request)
|
|
10891
|
+
query = {}
|
|
10892
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
10893
|
+
query['DiskId'] = request.disk_id
|
|
10894
|
+
if not UtilClient.is_unset(request.region_id):
|
|
10895
|
+
query['RegionId'] = request.region_id
|
|
10896
|
+
req = open_api_models.OpenApiRequest(
|
|
10897
|
+
query=OpenApiUtilClient.query(query)
|
|
10898
|
+
)
|
|
10899
|
+
params = open_api_models.Params(
|
|
10900
|
+
action='DeleteRCDisk',
|
|
10901
|
+
version='2014-08-15',
|
|
10902
|
+
protocol='HTTPS',
|
|
10903
|
+
pathname='/',
|
|
10904
|
+
method='POST',
|
|
10905
|
+
auth_type='AK',
|
|
10906
|
+
style='RPC',
|
|
10907
|
+
req_body_type='formData',
|
|
10908
|
+
body_type='json'
|
|
10909
|
+
)
|
|
10910
|
+
return TeaCore.from_map(
|
|
10911
|
+
rds_20140815_models.DeleteRCDiskResponse(),
|
|
10912
|
+
await self.call_api_async(params, req, runtime)
|
|
10913
|
+
)
|
|
10914
|
+
|
|
10915
|
+
def delete_rcdisk(
|
|
10916
|
+
self,
|
|
10917
|
+
request: rds_20140815_models.DeleteRCDiskRequest,
|
|
10918
|
+
) -> rds_20140815_models.DeleteRCDiskResponse:
|
|
10919
|
+
"""
|
|
10920
|
+
@summary Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an Enterprise SSD (ESSD).
|
|
10921
|
+
|
|
10922
|
+
@description Before you call this operation, take note of the following items:
|
|
10923
|
+
Manual snapshots of the disk are retained.
|
|
10924
|
+
The disk must be in the Unattached (Available) state.
|
|
10925
|
+
If no disk with the specified disk ID exists, the request will be ignored.
|
|
10926
|
+
|
|
10927
|
+
@param request: DeleteRCDiskRequest
|
|
10928
|
+
@return: DeleteRCDiskResponse
|
|
10929
|
+
"""
|
|
10930
|
+
runtime = util_models.RuntimeOptions()
|
|
10931
|
+
return self.delete_rcdisk_with_options(request, runtime)
|
|
10932
|
+
|
|
10933
|
+
async def delete_rcdisk_async(
|
|
10934
|
+
self,
|
|
10935
|
+
request: rds_20140815_models.DeleteRCDiskRequest,
|
|
10936
|
+
) -> rds_20140815_models.DeleteRCDiskResponse:
|
|
10937
|
+
"""
|
|
10938
|
+
@summary Releases a pay-as-you-go data disk. The data disk can be a basic disk, an ultra disk, a standard SSD, or an Enterprise SSD (ESSD).
|
|
10939
|
+
|
|
10940
|
+
@description Before you call this operation, take note of the following items:
|
|
10941
|
+
Manual snapshots of the disk are retained.
|
|
10942
|
+
The disk must be in the Unattached (Available) state.
|
|
10943
|
+
If no disk with the specified disk ID exists, the request will be ignored.
|
|
10944
|
+
|
|
10945
|
+
@param request: DeleteRCDiskRequest
|
|
10946
|
+
@return: DeleteRCDiskResponse
|
|
10947
|
+
"""
|
|
10948
|
+
runtime = util_models.RuntimeOptions()
|
|
10949
|
+
return await self.delete_rcdisk_with_options_async(request, runtime)
|
|
10950
|
+
|
|
10275
10951
|
def delete_rcinstance_with_options(
|
|
10276
10952
|
self,
|
|
10277
10953
|
request: rds_20140815_models.DeleteRCInstanceRequest,
|
|
@@ -10504,6 +11180,130 @@ class Client(OpenApiClient):
|
|
|
10504
11180
|
runtime = util_models.RuntimeOptions()
|
|
10505
11181
|
return await self.delete_rcinstances_with_options_async(request, runtime)
|
|
10506
11182
|
|
|
11183
|
+
def delete_rcsnapshot_with_options(
|
|
11184
|
+
self,
|
|
11185
|
+
request: rds_20140815_models.DeleteRCSnapshotRequest,
|
|
11186
|
+
runtime: util_models.RuntimeOptions,
|
|
11187
|
+
) -> rds_20140815_models.DeleteRCSnapshotResponse:
|
|
11188
|
+
"""
|
|
11189
|
+
@summary Deletes a cloud disk snapshot.
|
|
11190
|
+
|
|
11191
|
+
@description Before you call this operation, take note of the following items:
|
|
11192
|
+
If the specified snapshot ID does not exist, the request will be ignored.
|
|
11193
|
+
If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.
|
|
11194
|
+
If the snapshot is used to create cloud disks and `Force` is not specified or is set to `false`, the snapshot cannot be directly deleted. If you want to delete the snapshot, set `Force` to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
11195
|
+
|
|
11196
|
+
@param request: DeleteRCSnapshotRequest
|
|
11197
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11198
|
+
@return: DeleteRCSnapshotResponse
|
|
11199
|
+
"""
|
|
11200
|
+
UtilClient.validate_model(request)
|
|
11201
|
+
query = {}
|
|
11202
|
+
if not UtilClient.is_unset(request.force):
|
|
11203
|
+
query['Force'] = request.force
|
|
11204
|
+
if not UtilClient.is_unset(request.region_id):
|
|
11205
|
+
query['RegionId'] = request.region_id
|
|
11206
|
+
if not UtilClient.is_unset(request.snapshot_id):
|
|
11207
|
+
query['SnapshotId'] = request.snapshot_id
|
|
11208
|
+
req = open_api_models.OpenApiRequest(
|
|
11209
|
+
query=OpenApiUtilClient.query(query)
|
|
11210
|
+
)
|
|
11211
|
+
params = open_api_models.Params(
|
|
11212
|
+
action='DeleteRCSnapshot',
|
|
11213
|
+
version='2014-08-15',
|
|
11214
|
+
protocol='HTTPS',
|
|
11215
|
+
pathname='/',
|
|
11216
|
+
method='POST',
|
|
11217
|
+
auth_type='AK',
|
|
11218
|
+
style='RPC',
|
|
11219
|
+
req_body_type='formData',
|
|
11220
|
+
body_type='json'
|
|
11221
|
+
)
|
|
11222
|
+
return TeaCore.from_map(
|
|
11223
|
+
rds_20140815_models.DeleteRCSnapshotResponse(),
|
|
11224
|
+
self.call_api(params, req, runtime)
|
|
11225
|
+
)
|
|
11226
|
+
|
|
11227
|
+
async def delete_rcsnapshot_with_options_async(
|
|
11228
|
+
self,
|
|
11229
|
+
request: rds_20140815_models.DeleteRCSnapshotRequest,
|
|
11230
|
+
runtime: util_models.RuntimeOptions,
|
|
11231
|
+
) -> rds_20140815_models.DeleteRCSnapshotResponse:
|
|
11232
|
+
"""
|
|
11233
|
+
@summary Deletes a cloud disk snapshot.
|
|
11234
|
+
|
|
11235
|
+
@description Before you call this operation, take note of the following items:
|
|
11236
|
+
If the specified snapshot ID does not exist, the request will be ignored.
|
|
11237
|
+
If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.
|
|
11238
|
+
If the snapshot is used to create cloud disks and `Force` is not specified or is set to `false`, the snapshot cannot be directly deleted. If you want to delete the snapshot, set `Force` to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
11239
|
+
|
|
11240
|
+
@param request: DeleteRCSnapshotRequest
|
|
11241
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
11242
|
+
@return: DeleteRCSnapshotResponse
|
|
11243
|
+
"""
|
|
11244
|
+
UtilClient.validate_model(request)
|
|
11245
|
+
query = {}
|
|
11246
|
+
if not UtilClient.is_unset(request.force):
|
|
11247
|
+
query['Force'] = request.force
|
|
11248
|
+
if not UtilClient.is_unset(request.region_id):
|
|
11249
|
+
query['RegionId'] = request.region_id
|
|
11250
|
+
if not UtilClient.is_unset(request.snapshot_id):
|
|
11251
|
+
query['SnapshotId'] = request.snapshot_id
|
|
11252
|
+
req = open_api_models.OpenApiRequest(
|
|
11253
|
+
query=OpenApiUtilClient.query(query)
|
|
11254
|
+
)
|
|
11255
|
+
params = open_api_models.Params(
|
|
11256
|
+
action='DeleteRCSnapshot',
|
|
11257
|
+
version='2014-08-15',
|
|
11258
|
+
protocol='HTTPS',
|
|
11259
|
+
pathname='/',
|
|
11260
|
+
method='POST',
|
|
11261
|
+
auth_type='AK',
|
|
11262
|
+
style='RPC',
|
|
11263
|
+
req_body_type='formData',
|
|
11264
|
+
body_type='json'
|
|
11265
|
+
)
|
|
11266
|
+
return TeaCore.from_map(
|
|
11267
|
+
rds_20140815_models.DeleteRCSnapshotResponse(),
|
|
11268
|
+
await self.call_api_async(params, req, runtime)
|
|
11269
|
+
)
|
|
11270
|
+
|
|
11271
|
+
def delete_rcsnapshot(
|
|
11272
|
+
self,
|
|
11273
|
+
request: rds_20140815_models.DeleteRCSnapshotRequest,
|
|
11274
|
+
) -> rds_20140815_models.DeleteRCSnapshotResponse:
|
|
11275
|
+
"""
|
|
11276
|
+
@summary Deletes a cloud disk snapshot.
|
|
11277
|
+
|
|
11278
|
+
@description Before you call this operation, take note of the following items:
|
|
11279
|
+
If the specified snapshot ID does not exist, the request will be ignored.
|
|
11280
|
+
If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.
|
|
11281
|
+
If the snapshot is used to create cloud disks and `Force` is not specified or is set to `false`, the snapshot cannot be directly deleted. If you want to delete the snapshot, set `Force` to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
11282
|
+
|
|
11283
|
+
@param request: DeleteRCSnapshotRequest
|
|
11284
|
+
@return: DeleteRCSnapshotResponse
|
|
11285
|
+
"""
|
|
11286
|
+
runtime = util_models.RuntimeOptions()
|
|
11287
|
+
return self.delete_rcsnapshot_with_options(request, runtime)
|
|
11288
|
+
|
|
11289
|
+
async def delete_rcsnapshot_async(
|
|
11290
|
+
self,
|
|
11291
|
+
request: rds_20140815_models.DeleteRCSnapshotRequest,
|
|
11292
|
+
) -> rds_20140815_models.DeleteRCSnapshotResponse:
|
|
11293
|
+
"""
|
|
11294
|
+
@summary Deletes a cloud disk snapshot.
|
|
11295
|
+
|
|
11296
|
+
@description Before you call this operation, take note of the following items:
|
|
11297
|
+
If the specified snapshot ID does not exist, the request will be ignored.
|
|
11298
|
+
If the snapshot is used to create custom images, the snapshot cannot be deleted. You must delete the created custom images before you can delete the snapshot.
|
|
11299
|
+
If the snapshot is used to create cloud disks and `Force` is not specified or is set to `false`, the snapshot cannot be directly deleted. If you want to delete the snapshot, set `Force` to true to forcefully delete the snapshot. The cloud disks created from the snapshot cannot be re-initialized after the snapshot is forcefully deleted.
|
|
11300
|
+
|
|
11301
|
+
@param request: DeleteRCSnapshotRequest
|
|
11302
|
+
@return: DeleteRCSnapshotResponse
|
|
11303
|
+
"""
|
|
11304
|
+
runtime = util_models.RuntimeOptions()
|
|
11305
|
+
return await self.delete_rcsnapshot_with_options_async(request, runtime)
|
|
11306
|
+
|
|
10507
11307
|
def delete_replication_link_with_options(
|
|
10508
11308
|
self,
|
|
10509
11309
|
request: rds_20140815_models.DeleteReplicationLinkRequest,
|
|
@@ -15154,6 +15954,8 @@ class Client(OpenApiClient):
|
|
|
15154
15954
|
runtime: util_models.RuntimeOptions,
|
|
15155
15955
|
) -> rds_20140815_models.DescribeCustinsResourceInfoResponse:
|
|
15156
15956
|
"""
|
|
15957
|
+
@summary 查询实例资源使用情况
|
|
15958
|
+
|
|
15157
15959
|
@param request: DescribeCustinsResourceInfoRequest
|
|
15158
15960
|
@param runtime: runtime options for this request RuntimeOptions
|
|
15159
15961
|
@return: DescribeCustinsResourceInfoResponse
|
|
@@ -15195,6 +15997,8 @@ class Client(OpenApiClient):
|
|
|
15195
15997
|
runtime: util_models.RuntimeOptions,
|
|
15196
15998
|
) -> rds_20140815_models.DescribeCustinsResourceInfoResponse:
|
|
15197
15999
|
"""
|
|
16000
|
+
@summary 查询实例资源使用情况
|
|
16001
|
+
|
|
15198
16002
|
@param request: DescribeCustinsResourceInfoRequest
|
|
15199
16003
|
@param runtime: runtime options for this request RuntimeOptions
|
|
15200
16004
|
@return: DescribeCustinsResourceInfoResponse
|
|
@@ -15235,6 +16039,8 @@ class Client(OpenApiClient):
|
|
|
15235
16039
|
request: rds_20140815_models.DescribeCustinsResourceInfoRequest,
|
|
15236
16040
|
) -> rds_20140815_models.DescribeCustinsResourceInfoResponse:
|
|
15237
16041
|
"""
|
|
16042
|
+
@summary 查询实例资源使用情况
|
|
16043
|
+
|
|
15238
16044
|
@param request: DescribeCustinsResourceInfoRequest
|
|
15239
16045
|
@return: DescribeCustinsResourceInfoResponse
|
|
15240
16046
|
"""
|
|
@@ -15246,6 +16052,8 @@ class Client(OpenApiClient):
|
|
|
15246
16052
|
request: rds_20140815_models.DescribeCustinsResourceInfoRequest,
|
|
15247
16053
|
) -> rds_20140815_models.DescribeCustinsResourceInfoResponse:
|
|
15248
16054
|
"""
|
|
16055
|
+
@summary 查询实例资源使用情况
|
|
16056
|
+
|
|
15249
16057
|
@param request: DescribeCustinsResourceInfoRequest
|
|
15250
16058
|
@return: DescribeCustinsResourceInfoResponse
|
|
15251
16059
|
"""
|
|
@@ -18906,7 +19714,7 @@ class Client(OpenApiClient):
|
|
|
18906
19714
|
runtime: util_models.RuntimeOptions,
|
|
18907
19715
|
) -> rds_20140815_models.DescribeDBProxyResponse:
|
|
18908
19716
|
"""
|
|
18909
|
-
@summary Queries the settings of the
|
|
19717
|
+
@summary Queries the settings of the database proxy feature for an instance.
|
|
18910
19718
|
|
|
18911
19719
|
@description ### [](#)Supported database engines
|
|
18912
19720
|
RDS MySQL
|
|
@@ -18959,7 +19767,7 @@ class Client(OpenApiClient):
|
|
|
18959
19767
|
runtime: util_models.RuntimeOptions,
|
|
18960
19768
|
) -> rds_20140815_models.DescribeDBProxyResponse:
|
|
18961
19769
|
"""
|
|
18962
|
-
@summary Queries the settings of the
|
|
19770
|
+
@summary Queries the settings of the database proxy feature for an instance.
|
|
18963
19771
|
|
|
18964
19772
|
@description ### [](#)Supported database engines
|
|
18965
19773
|
RDS MySQL
|
|
@@ -19011,7 +19819,7 @@ class Client(OpenApiClient):
|
|
|
19011
19819
|
request: rds_20140815_models.DescribeDBProxyRequest,
|
|
19012
19820
|
) -> rds_20140815_models.DescribeDBProxyResponse:
|
|
19013
19821
|
"""
|
|
19014
|
-
@summary Queries the settings of the
|
|
19822
|
+
@summary Queries the settings of the database proxy feature for an instance.
|
|
19015
19823
|
|
|
19016
19824
|
@description ### [](#)Supported database engines
|
|
19017
19825
|
RDS MySQL
|
|
@@ -19028,7 +19836,7 @@ class Client(OpenApiClient):
|
|
|
19028
19836
|
request: rds_20140815_models.DescribeDBProxyRequest,
|
|
19029
19837
|
) -> rds_20140815_models.DescribeDBProxyResponse:
|
|
19030
19838
|
"""
|
|
19031
|
-
@summary Queries the settings of the
|
|
19839
|
+
@summary Queries the settings of the database proxy feature for an instance.
|
|
19032
19840
|
|
|
19033
19841
|
@description ### [](#)Supported database engines
|
|
19034
19842
|
RDS MySQL
|
|
@@ -19215,6 +20023,8 @@ class Client(OpenApiClient):
|
|
|
19215
20023
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
19216
20024
|
if not UtilClient.is_unset(request.dbproxy_instance_type):
|
|
19217
20025
|
query['DBProxyInstanceType'] = request.dbproxy_instance_type
|
|
20026
|
+
if not UtilClient.is_unset(request.dimension):
|
|
20027
|
+
query['Dimension'] = request.dimension
|
|
19218
20028
|
if not UtilClient.is_unset(request.end_time):
|
|
19219
20029
|
query['EndTime'] = request.end_time
|
|
19220
20030
|
if not UtilClient.is_unset(request.metrics_name):
|
|
@@ -19279,6 +20089,8 @@ class Client(OpenApiClient):
|
|
|
19279
20089
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
19280
20090
|
if not UtilClient.is_unset(request.dbproxy_instance_type):
|
|
19281
20091
|
query['DBProxyInstanceType'] = request.dbproxy_instance_type
|
|
20092
|
+
if not UtilClient.is_unset(request.dimension):
|
|
20093
|
+
query['Dimension'] = request.dimension
|
|
19282
20094
|
if not UtilClient.is_unset(request.end_time):
|
|
19283
20095
|
query['EndTime'] = request.end_time
|
|
19284
20096
|
if not UtilClient.is_unset(request.metrics_name):
|
|
@@ -21550,6 +22362,8 @@ class Client(OpenApiClient):
|
|
|
21550
22362
|
runtime: util_models.RuntimeOptions,
|
|
21551
22363
|
) -> rds_20140815_models.DescribeHostGroupElasticStrategyParametersResponse:
|
|
21552
22364
|
"""
|
|
22365
|
+
@summary 查询主机组弹性策略参数
|
|
22366
|
+
|
|
21553
22367
|
@param request: DescribeHostGroupElasticStrategyParametersRequest
|
|
21554
22368
|
@param runtime: runtime options for this request RuntimeOptions
|
|
21555
22369
|
@return: DescribeHostGroupElasticStrategyParametersResponse
|
|
@@ -21589,6 +22403,8 @@ class Client(OpenApiClient):
|
|
|
21589
22403
|
runtime: util_models.RuntimeOptions,
|
|
21590
22404
|
) -> rds_20140815_models.DescribeHostGroupElasticStrategyParametersResponse:
|
|
21591
22405
|
"""
|
|
22406
|
+
@summary 查询主机组弹性策略参数
|
|
22407
|
+
|
|
21592
22408
|
@param request: DescribeHostGroupElasticStrategyParametersRequest
|
|
21593
22409
|
@param runtime: runtime options for this request RuntimeOptions
|
|
21594
22410
|
@return: DescribeHostGroupElasticStrategyParametersResponse
|
|
@@ -21627,6 +22443,8 @@ class Client(OpenApiClient):
|
|
|
21627
22443
|
request: rds_20140815_models.DescribeHostGroupElasticStrategyParametersRequest,
|
|
21628
22444
|
) -> rds_20140815_models.DescribeHostGroupElasticStrategyParametersResponse:
|
|
21629
22445
|
"""
|
|
22446
|
+
@summary 查询主机组弹性策略参数
|
|
22447
|
+
|
|
21630
22448
|
@param request: DescribeHostGroupElasticStrategyParametersRequest
|
|
21631
22449
|
@return: DescribeHostGroupElasticStrategyParametersResponse
|
|
21632
22450
|
"""
|
|
@@ -21638,6 +22456,8 @@ class Client(OpenApiClient):
|
|
|
21638
22456
|
request: rds_20140815_models.DescribeHostGroupElasticStrategyParametersRequest,
|
|
21639
22457
|
) -> rds_20140815_models.DescribeHostGroupElasticStrategyParametersResponse:
|
|
21640
22458
|
"""
|
|
22459
|
+
@summary 查询主机组弹性策略参数
|
|
22460
|
+
|
|
21641
22461
|
@param request: DescribeHostGroupElasticStrategyParametersRequest
|
|
21642
22462
|
@return: DescribeHostGroupElasticStrategyParametersResponse
|
|
21643
22463
|
"""
|
|
@@ -25152,6 +25972,326 @@ class Client(OpenApiClient):
|
|
|
25152
25972
|
runtime = util_models.RuntimeOptions()
|
|
25153
25973
|
return await self.describe_quick_sale_config_with_options_async(request, runtime)
|
|
25154
25974
|
|
|
25975
|
+
def describe_rccluster_config_with_options(
|
|
25976
|
+
self,
|
|
25977
|
+
request: rds_20140815_models.DescribeRCClusterConfigRequest,
|
|
25978
|
+
runtime: util_models.RuntimeOptions,
|
|
25979
|
+
) -> rds_20140815_models.DescribeRCClusterConfigResponse:
|
|
25980
|
+
"""
|
|
25981
|
+
@summary Queries the kubeconfig file of a Container Service for Kubernetes (ACK) cluster in which an RDS Custom instance resides.
|
|
25982
|
+
|
|
25983
|
+
@description Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
25984
|
+
|
|
25985
|
+
@param request: DescribeRCClusterConfigRequest
|
|
25986
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
25987
|
+
@return: DescribeRCClusterConfigResponse
|
|
25988
|
+
"""
|
|
25989
|
+
UtilClient.validate_model(request)
|
|
25990
|
+
query = {}
|
|
25991
|
+
if not UtilClient.is_unset(request.region_id):
|
|
25992
|
+
query['RegionId'] = request.region_id
|
|
25993
|
+
if not UtilClient.is_unset(request.temporary_duration_minutes):
|
|
25994
|
+
query['TemporaryDurationMinutes'] = request.temporary_duration_minutes
|
|
25995
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
25996
|
+
query['VpcId'] = request.vpc_id
|
|
25997
|
+
req = open_api_models.OpenApiRequest(
|
|
25998
|
+
query=OpenApiUtilClient.query(query)
|
|
25999
|
+
)
|
|
26000
|
+
params = open_api_models.Params(
|
|
26001
|
+
action='DescribeRCClusterConfig',
|
|
26002
|
+
version='2014-08-15',
|
|
26003
|
+
protocol='HTTPS',
|
|
26004
|
+
pathname='/',
|
|
26005
|
+
method='POST',
|
|
26006
|
+
auth_type='AK',
|
|
26007
|
+
style='RPC',
|
|
26008
|
+
req_body_type='formData',
|
|
26009
|
+
body_type='json'
|
|
26010
|
+
)
|
|
26011
|
+
return TeaCore.from_map(
|
|
26012
|
+
rds_20140815_models.DescribeRCClusterConfigResponse(),
|
|
26013
|
+
self.call_api(params, req, runtime)
|
|
26014
|
+
)
|
|
26015
|
+
|
|
26016
|
+
async def describe_rccluster_config_with_options_async(
|
|
26017
|
+
self,
|
|
26018
|
+
request: rds_20140815_models.DescribeRCClusterConfigRequest,
|
|
26019
|
+
runtime: util_models.RuntimeOptions,
|
|
26020
|
+
) -> rds_20140815_models.DescribeRCClusterConfigResponse:
|
|
26021
|
+
"""
|
|
26022
|
+
@summary Queries the kubeconfig file of a Container Service for Kubernetes (ACK) cluster in which an RDS Custom instance resides.
|
|
26023
|
+
|
|
26024
|
+
@description Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
26025
|
+
|
|
26026
|
+
@param request: DescribeRCClusterConfigRequest
|
|
26027
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26028
|
+
@return: DescribeRCClusterConfigResponse
|
|
26029
|
+
"""
|
|
26030
|
+
UtilClient.validate_model(request)
|
|
26031
|
+
query = {}
|
|
26032
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26033
|
+
query['RegionId'] = request.region_id
|
|
26034
|
+
if not UtilClient.is_unset(request.temporary_duration_minutes):
|
|
26035
|
+
query['TemporaryDurationMinutes'] = request.temporary_duration_minutes
|
|
26036
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26037
|
+
query['VpcId'] = request.vpc_id
|
|
26038
|
+
req = open_api_models.OpenApiRequest(
|
|
26039
|
+
query=OpenApiUtilClient.query(query)
|
|
26040
|
+
)
|
|
26041
|
+
params = open_api_models.Params(
|
|
26042
|
+
action='DescribeRCClusterConfig',
|
|
26043
|
+
version='2014-08-15',
|
|
26044
|
+
protocol='HTTPS',
|
|
26045
|
+
pathname='/',
|
|
26046
|
+
method='POST',
|
|
26047
|
+
auth_type='AK',
|
|
26048
|
+
style='RPC',
|
|
26049
|
+
req_body_type='formData',
|
|
26050
|
+
body_type='json'
|
|
26051
|
+
)
|
|
26052
|
+
return TeaCore.from_map(
|
|
26053
|
+
rds_20140815_models.DescribeRCClusterConfigResponse(),
|
|
26054
|
+
await self.call_api_async(params, req, runtime)
|
|
26055
|
+
)
|
|
26056
|
+
|
|
26057
|
+
def describe_rccluster_config(
|
|
26058
|
+
self,
|
|
26059
|
+
request: rds_20140815_models.DescribeRCClusterConfigRequest,
|
|
26060
|
+
) -> rds_20140815_models.DescribeRCClusterConfigResponse:
|
|
26061
|
+
"""
|
|
26062
|
+
@summary Queries the kubeconfig file of a Container Service for Kubernetes (ACK) cluster in which an RDS Custom instance resides.
|
|
26063
|
+
|
|
26064
|
+
@description Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
26065
|
+
|
|
26066
|
+
@param request: DescribeRCClusterConfigRequest
|
|
26067
|
+
@return: DescribeRCClusterConfigResponse
|
|
26068
|
+
"""
|
|
26069
|
+
runtime = util_models.RuntimeOptions()
|
|
26070
|
+
return self.describe_rccluster_config_with_options(request, runtime)
|
|
26071
|
+
|
|
26072
|
+
async def describe_rccluster_config_async(
|
|
26073
|
+
self,
|
|
26074
|
+
request: rds_20140815_models.DescribeRCClusterConfigRequest,
|
|
26075
|
+
) -> rds_20140815_models.DescribeRCClusterConfigResponse:
|
|
26076
|
+
"""
|
|
26077
|
+
@summary Queries the kubeconfig file of a Container Service for Kubernetes (ACK) cluster in which an RDS Custom instance resides.
|
|
26078
|
+
|
|
26079
|
+
@description Kubeconfig files store identity and authentication information that is used by clients to access ACK clusters. To use kubectl to manage an ACK cluster, you must use the kubeconfig file to connect to the ACK cluster. We recommend that you keep kubeconfig files confidential and revoke kubeconfig files that are not in use. This helps prevent data leaks caused by the disclosure of kubeconfig files.
|
|
26080
|
+
|
|
26081
|
+
@param request: DescribeRCClusterConfigRequest
|
|
26082
|
+
@return: DescribeRCClusterConfigResponse
|
|
26083
|
+
"""
|
|
26084
|
+
runtime = util_models.RuntimeOptions()
|
|
26085
|
+
return await self.describe_rccluster_config_with_options_async(request, runtime)
|
|
26086
|
+
|
|
26087
|
+
def describe_rccluster_nodes_with_options(
|
|
26088
|
+
self,
|
|
26089
|
+
request: rds_20140815_models.DescribeRCClusterNodesRequest,
|
|
26090
|
+
runtime: util_models.RuntimeOptions,
|
|
26091
|
+
) -> rds_20140815_models.DescribeRCClusterNodesResponse:
|
|
26092
|
+
"""
|
|
26093
|
+
@summary Queries the RDS custom nodes in a Container Service for Kubernetes (ACK) cluster.
|
|
26094
|
+
|
|
26095
|
+
@param request: DescribeRCClusterNodesRequest
|
|
26096
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26097
|
+
@return: DescribeRCClusterNodesResponse
|
|
26098
|
+
"""
|
|
26099
|
+
UtilClient.validate_model(request)
|
|
26100
|
+
query = {}
|
|
26101
|
+
if not UtilClient.is_unset(request.page_number):
|
|
26102
|
+
query['PageNumber'] = request.page_number
|
|
26103
|
+
if not UtilClient.is_unset(request.page_size):
|
|
26104
|
+
query['PageSize'] = request.page_size
|
|
26105
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26106
|
+
query['RegionId'] = request.region_id
|
|
26107
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26108
|
+
query['VpcId'] = request.vpc_id
|
|
26109
|
+
req = open_api_models.OpenApiRequest(
|
|
26110
|
+
query=OpenApiUtilClient.query(query)
|
|
26111
|
+
)
|
|
26112
|
+
params = open_api_models.Params(
|
|
26113
|
+
action='DescribeRCClusterNodes',
|
|
26114
|
+
version='2014-08-15',
|
|
26115
|
+
protocol='HTTPS',
|
|
26116
|
+
pathname='/',
|
|
26117
|
+
method='POST',
|
|
26118
|
+
auth_type='AK',
|
|
26119
|
+
style='RPC',
|
|
26120
|
+
req_body_type='formData',
|
|
26121
|
+
body_type='json'
|
|
26122
|
+
)
|
|
26123
|
+
return TeaCore.from_map(
|
|
26124
|
+
rds_20140815_models.DescribeRCClusterNodesResponse(),
|
|
26125
|
+
self.call_api(params, req, runtime)
|
|
26126
|
+
)
|
|
26127
|
+
|
|
26128
|
+
async def describe_rccluster_nodes_with_options_async(
|
|
26129
|
+
self,
|
|
26130
|
+
request: rds_20140815_models.DescribeRCClusterNodesRequest,
|
|
26131
|
+
runtime: util_models.RuntimeOptions,
|
|
26132
|
+
) -> rds_20140815_models.DescribeRCClusterNodesResponse:
|
|
26133
|
+
"""
|
|
26134
|
+
@summary Queries the RDS custom nodes in a Container Service for Kubernetes (ACK) cluster.
|
|
26135
|
+
|
|
26136
|
+
@param request: DescribeRCClusterNodesRequest
|
|
26137
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26138
|
+
@return: DescribeRCClusterNodesResponse
|
|
26139
|
+
"""
|
|
26140
|
+
UtilClient.validate_model(request)
|
|
26141
|
+
query = {}
|
|
26142
|
+
if not UtilClient.is_unset(request.page_number):
|
|
26143
|
+
query['PageNumber'] = request.page_number
|
|
26144
|
+
if not UtilClient.is_unset(request.page_size):
|
|
26145
|
+
query['PageSize'] = request.page_size
|
|
26146
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26147
|
+
query['RegionId'] = request.region_id
|
|
26148
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26149
|
+
query['VpcId'] = request.vpc_id
|
|
26150
|
+
req = open_api_models.OpenApiRequest(
|
|
26151
|
+
query=OpenApiUtilClient.query(query)
|
|
26152
|
+
)
|
|
26153
|
+
params = open_api_models.Params(
|
|
26154
|
+
action='DescribeRCClusterNodes',
|
|
26155
|
+
version='2014-08-15',
|
|
26156
|
+
protocol='HTTPS',
|
|
26157
|
+
pathname='/',
|
|
26158
|
+
method='POST',
|
|
26159
|
+
auth_type='AK',
|
|
26160
|
+
style='RPC',
|
|
26161
|
+
req_body_type='formData',
|
|
26162
|
+
body_type='json'
|
|
26163
|
+
)
|
|
26164
|
+
return TeaCore.from_map(
|
|
26165
|
+
rds_20140815_models.DescribeRCClusterNodesResponse(),
|
|
26166
|
+
await self.call_api_async(params, req, runtime)
|
|
26167
|
+
)
|
|
26168
|
+
|
|
26169
|
+
def describe_rccluster_nodes(
|
|
26170
|
+
self,
|
|
26171
|
+
request: rds_20140815_models.DescribeRCClusterNodesRequest,
|
|
26172
|
+
) -> rds_20140815_models.DescribeRCClusterNodesResponse:
|
|
26173
|
+
"""
|
|
26174
|
+
@summary Queries the RDS custom nodes in a Container Service for Kubernetes (ACK) cluster.
|
|
26175
|
+
|
|
26176
|
+
@param request: DescribeRCClusterNodesRequest
|
|
26177
|
+
@return: DescribeRCClusterNodesResponse
|
|
26178
|
+
"""
|
|
26179
|
+
runtime = util_models.RuntimeOptions()
|
|
26180
|
+
return self.describe_rccluster_nodes_with_options(request, runtime)
|
|
26181
|
+
|
|
26182
|
+
async def describe_rccluster_nodes_async(
|
|
26183
|
+
self,
|
|
26184
|
+
request: rds_20140815_models.DescribeRCClusterNodesRequest,
|
|
26185
|
+
) -> rds_20140815_models.DescribeRCClusterNodesResponse:
|
|
26186
|
+
"""
|
|
26187
|
+
@summary Queries the RDS custom nodes in a Container Service for Kubernetes (ACK) cluster.
|
|
26188
|
+
|
|
26189
|
+
@param request: DescribeRCClusterNodesRequest
|
|
26190
|
+
@return: DescribeRCClusterNodesResponse
|
|
26191
|
+
"""
|
|
26192
|
+
runtime = util_models.RuntimeOptions()
|
|
26193
|
+
return await self.describe_rccluster_nodes_with_options_async(request, runtime)
|
|
26194
|
+
|
|
26195
|
+
def describe_rcclusters_with_options(
|
|
26196
|
+
self,
|
|
26197
|
+
request: rds_20140815_models.DescribeRCClustersRequest,
|
|
26198
|
+
runtime: util_models.RuntimeOptions,
|
|
26199
|
+
) -> rds_20140815_models.DescribeRCClustersResponse:
|
|
26200
|
+
"""
|
|
26201
|
+
@summary Queries Container Service for Kubernetes (ACK) clusters to which RDS Custom nodes reside in a specific region.
|
|
26202
|
+
|
|
26203
|
+
@param request: DescribeRCClustersRequest
|
|
26204
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26205
|
+
@return: DescribeRCClustersResponse
|
|
26206
|
+
"""
|
|
26207
|
+
UtilClient.validate_model(request)
|
|
26208
|
+
query = {}
|
|
26209
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26210
|
+
query['RegionId'] = request.region_id
|
|
26211
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26212
|
+
query['VpcId'] = request.vpc_id
|
|
26213
|
+
req = open_api_models.OpenApiRequest(
|
|
26214
|
+
query=OpenApiUtilClient.query(query)
|
|
26215
|
+
)
|
|
26216
|
+
params = open_api_models.Params(
|
|
26217
|
+
action='DescribeRCClusters',
|
|
26218
|
+
version='2014-08-15',
|
|
26219
|
+
protocol='HTTPS',
|
|
26220
|
+
pathname='/',
|
|
26221
|
+
method='POST',
|
|
26222
|
+
auth_type='AK',
|
|
26223
|
+
style='RPC',
|
|
26224
|
+
req_body_type='formData',
|
|
26225
|
+
body_type='json'
|
|
26226
|
+
)
|
|
26227
|
+
return TeaCore.from_map(
|
|
26228
|
+
rds_20140815_models.DescribeRCClustersResponse(),
|
|
26229
|
+
self.call_api(params, req, runtime)
|
|
26230
|
+
)
|
|
26231
|
+
|
|
26232
|
+
async def describe_rcclusters_with_options_async(
|
|
26233
|
+
self,
|
|
26234
|
+
request: rds_20140815_models.DescribeRCClustersRequest,
|
|
26235
|
+
runtime: util_models.RuntimeOptions,
|
|
26236
|
+
) -> rds_20140815_models.DescribeRCClustersResponse:
|
|
26237
|
+
"""
|
|
26238
|
+
@summary Queries Container Service for Kubernetes (ACK) clusters to which RDS Custom nodes reside in a specific region.
|
|
26239
|
+
|
|
26240
|
+
@param request: DescribeRCClustersRequest
|
|
26241
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26242
|
+
@return: DescribeRCClustersResponse
|
|
26243
|
+
"""
|
|
26244
|
+
UtilClient.validate_model(request)
|
|
26245
|
+
query = {}
|
|
26246
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26247
|
+
query['RegionId'] = request.region_id
|
|
26248
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26249
|
+
query['VpcId'] = request.vpc_id
|
|
26250
|
+
req = open_api_models.OpenApiRequest(
|
|
26251
|
+
query=OpenApiUtilClient.query(query)
|
|
26252
|
+
)
|
|
26253
|
+
params = open_api_models.Params(
|
|
26254
|
+
action='DescribeRCClusters',
|
|
26255
|
+
version='2014-08-15',
|
|
26256
|
+
protocol='HTTPS',
|
|
26257
|
+
pathname='/',
|
|
26258
|
+
method='POST',
|
|
26259
|
+
auth_type='AK',
|
|
26260
|
+
style='RPC',
|
|
26261
|
+
req_body_type='formData',
|
|
26262
|
+
body_type='json'
|
|
26263
|
+
)
|
|
26264
|
+
return TeaCore.from_map(
|
|
26265
|
+
rds_20140815_models.DescribeRCClustersResponse(),
|
|
26266
|
+
await self.call_api_async(params, req, runtime)
|
|
26267
|
+
)
|
|
26268
|
+
|
|
26269
|
+
def describe_rcclusters(
|
|
26270
|
+
self,
|
|
26271
|
+
request: rds_20140815_models.DescribeRCClustersRequest,
|
|
26272
|
+
) -> rds_20140815_models.DescribeRCClustersResponse:
|
|
26273
|
+
"""
|
|
26274
|
+
@summary Queries Container Service for Kubernetes (ACK) clusters to which RDS Custom nodes reside in a specific region.
|
|
26275
|
+
|
|
26276
|
+
@param request: DescribeRCClustersRequest
|
|
26277
|
+
@return: DescribeRCClustersResponse
|
|
26278
|
+
"""
|
|
26279
|
+
runtime = util_models.RuntimeOptions()
|
|
26280
|
+
return self.describe_rcclusters_with_options(request, runtime)
|
|
26281
|
+
|
|
26282
|
+
async def describe_rcclusters_async(
|
|
26283
|
+
self,
|
|
26284
|
+
request: rds_20140815_models.DescribeRCClustersRequest,
|
|
26285
|
+
) -> rds_20140815_models.DescribeRCClustersResponse:
|
|
26286
|
+
"""
|
|
26287
|
+
@summary Queries Container Service for Kubernetes (ACK) clusters to which RDS Custom nodes reside in a specific region.
|
|
26288
|
+
|
|
26289
|
+
@param request: DescribeRCClustersRequest
|
|
26290
|
+
@return: DescribeRCClustersResponse
|
|
26291
|
+
"""
|
|
26292
|
+
runtime = util_models.RuntimeOptions()
|
|
26293
|
+
return await self.describe_rcclusters_with_options_async(request, runtime)
|
|
26294
|
+
|
|
25155
26295
|
def describe_rcdeployment_sets_with_options(
|
|
25156
26296
|
self,
|
|
25157
26297
|
request: rds_20140815_models.DescribeRCDeploymentSetsRequest,
|
|
@@ -25244,6 +26384,98 @@ class Client(OpenApiClient):
|
|
|
25244
26384
|
runtime = util_models.RuntimeOptions()
|
|
25245
26385
|
return await self.describe_rcdeployment_sets_with_options_async(request, runtime)
|
|
25246
26386
|
|
|
26387
|
+
def describe_rcdisks_with_options(
|
|
26388
|
+
self,
|
|
26389
|
+
request: rds_20140815_models.DescribeRCDisksRequest,
|
|
26390
|
+
runtime: util_models.RuntimeOptions,
|
|
26391
|
+
) -> rds_20140815_models.DescribeRCDisksResponse:
|
|
26392
|
+
"""
|
|
26393
|
+
@summary Queries the disk information about an RDS Custom instance.
|
|
26394
|
+
|
|
26395
|
+
@param request: DescribeRCDisksRequest
|
|
26396
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26397
|
+
@return: DescribeRCDisksResponse
|
|
26398
|
+
"""
|
|
26399
|
+
UtilClient.validate_model(request)
|
|
26400
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
26401
|
+
req = open_api_models.OpenApiRequest(
|
|
26402
|
+
query=OpenApiUtilClient.query(query)
|
|
26403
|
+
)
|
|
26404
|
+
params = open_api_models.Params(
|
|
26405
|
+
action='DescribeRCDisks',
|
|
26406
|
+
version='2014-08-15',
|
|
26407
|
+
protocol='HTTPS',
|
|
26408
|
+
pathname='/',
|
|
26409
|
+
method='GET',
|
|
26410
|
+
auth_type='AK',
|
|
26411
|
+
style='RPC',
|
|
26412
|
+
req_body_type='formData',
|
|
26413
|
+
body_type='json'
|
|
26414
|
+
)
|
|
26415
|
+
return TeaCore.from_map(
|
|
26416
|
+
rds_20140815_models.DescribeRCDisksResponse(),
|
|
26417
|
+
self.call_api(params, req, runtime)
|
|
26418
|
+
)
|
|
26419
|
+
|
|
26420
|
+
async def describe_rcdisks_with_options_async(
|
|
26421
|
+
self,
|
|
26422
|
+
request: rds_20140815_models.DescribeRCDisksRequest,
|
|
26423
|
+
runtime: util_models.RuntimeOptions,
|
|
26424
|
+
) -> rds_20140815_models.DescribeRCDisksResponse:
|
|
26425
|
+
"""
|
|
26426
|
+
@summary Queries the disk information about an RDS Custom instance.
|
|
26427
|
+
|
|
26428
|
+
@param request: DescribeRCDisksRequest
|
|
26429
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26430
|
+
@return: DescribeRCDisksResponse
|
|
26431
|
+
"""
|
|
26432
|
+
UtilClient.validate_model(request)
|
|
26433
|
+
query = OpenApiUtilClient.query(UtilClient.to_map(request))
|
|
26434
|
+
req = open_api_models.OpenApiRequest(
|
|
26435
|
+
query=OpenApiUtilClient.query(query)
|
|
26436
|
+
)
|
|
26437
|
+
params = open_api_models.Params(
|
|
26438
|
+
action='DescribeRCDisks',
|
|
26439
|
+
version='2014-08-15',
|
|
26440
|
+
protocol='HTTPS',
|
|
26441
|
+
pathname='/',
|
|
26442
|
+
method='GET',
|
|
26443
|
+
auth_type='AK',
|
|
26444
|
+
style='RPC',
|
|
26445
|
+
req_body_type='formData',
|
|
26446
|
+
body_type='json'
|
|
26447
|
+
)
|
|
26448
|
+
return TeaCore.from_map(
|
|
26449
|
+
rds_20140815_models.DescribeRCDisksResponse(),
|
|
26450
|
+
await self.call_api_async(params, req, runtime)
|
|
26451
|
+
)
|
|
26452
|
+
|
|
26453
|
+
def describe_rcdisks(
|
|
26454
|
+
self,
|
|
26455
|
+
request: rds_20140815_models.DescribeRCDisksRequest,
|
|
26456
|
+
) -> rds_20140815_models.DescribeRCDisksResponse:
|
|
26457
|
+
"""
|
|
26458
|
+
@summary Queries the disk information about an RDS Custom instance.
|
|
26459
|
+
|
|
26460
|
+
@param request: DescribeRCDisksRequest
|
|
26461
|
+
@return: DescribeRCDisksResponse
|
|
26462
|
+
"""
|
|
26463
|
+
runtime = util_models.RuntimeOptions()
|
|
26464
|
+
return self.describe_rcdisks_with_options(request, runtime)
|
|
26465
|
+
|
|
26466
|
+
async def describe_rcdisks_async(
|
|
26467
|
+
self,
|
|
26468
|
+
request: rds_20140815_models.DescribeRCDisksRequest,
|
|
26469
|
+
) -> rds_20140815_models.DescribeRCDisksResponse:
|
|
26470
|
+
"""
|
|
26471
|
+
@summary Queries the disk information about an RDS Custom instance.
|
|
26472
|
+
|
|
26473
|
+
@param request: DescribeRCDisksRequest
|
|
26474
|
+
@return: DescribeRCDisksResponse
|
|
26475
|
+
"""
|
|
26476
|
+
runtime = util_models.RuntimeOptions()
|
|
26477
|
+
return await self.describe_rcdisks_with_options_async(request, runtime)
|
|
26478
|
+
|
|
25247
26479
|
def describe_rcimage_list_with_options(
|
|
25248
26480
|
self,
|
|
25249
26481
|
request: rds_20140815_models.DescribeRCImageListRequest,
|
|
@@ -25349,7 +26581,11 @@ class Client(OpenApiClient):
|
|
|
25349
26581
|
@return: DescribeRCInstanceAttributeResponse
|
|
25350
26582
|
"""
|
|
25351
26583
|
UtilClient.validate_model(request)
|
|
25352
|
-
query =
|
|
26584
|
+
query = {}
|
|
26585
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
26586
|
+
query['InstanceId'] = request.instance_id
|
|
26587
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26588
|
+
query['RegionId'] = request.region_id
|
|
25353
26589
|
req = open_api_models.OpenApiRequest(
|
|
25354
26590
|
query=OpenApiUtilClient.query(query)
|
|
25355
26591
|
)
|
|
@@ -25358,7 +26594,7 @@ class Client(OpenApiClient):
|
|
|
25358
26594
|
version='2014-08-15',
|
|
25359
26595
|
protocol='HTTPS',
|
|
25360
26596
|
pathname='/',
|
|
25361
|
-
method='
|
|
26597
|
+
method='POST',
|
|
25362
26598
|
auth_type='AK',
|
|
25363
26599
|
style='RPC',
|
|
25364
26600
|
req_body_type='formData',
|
|
@@ -25382,7 +26618,11 @@ class Client(OpenApiClient):
|
|
|
25382
26618
|
@return: DescribeRCInstanceAttributeResponse
|
|
25383
26619
|
"""
|
|
25384
26620
|
UtilClient.validate_model(request)
|
|
25385
|
-
query =
|
|
26621
|
+
query = {}
|
|
26622
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
26623
|
+
query['InstanceId'] = request.instance_id
|
|
26624
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26625
|
+
query['RegionId'] = request.region_id
|
|
25386
26626
|
req = open_api_models.OpenApiRequest(
|
|
25387
26627
|
query=OpenApiUtilClient.query(query)
|
|
25388
26628
|
)
|
|
@@ -25391,7 +26631,7 @@ class Client(OpenApiClient):
|
|
|
25391
26631
|
version='2014-08-15',
|
|
25392
26632
|
protocol='HTTPS',
|
|
25393
26633
|
pathname='/',
|
|
25394
|
-
method='
|
|
26634
|
+
method='POST',
|
|
25395
26635
|
auth_type='AK',
|
|
25396
26636
|
style='RPC',
|
|
25397
26637
|
req_body_type='formData',
|
|
@@ -25428,6 +26668,118 @@ class Client(OpenApiClient):
|
|
|
25428
26668
|
runtime = util_models.RuntimeOptions()
|
|
25429
26669
|
return await self.describe_rcinstance_attribute_with_options_async(request, runtime)
|
|
25430
26670
|
|
|
26671
|
+
def describe_rcinstance_vnc_url_with_options(
|
|
26672
|
+
self,
|
|
26673
|
+
request: rds_20140815_models.DescribeRCInstanceVncUrlRequest,
|
|
26674
|
+
runtime: util_models.RuntimeOptions,
|
|
26675
|
+
) -> rds_20140815_models.DescribeRCInstanceVncUrlResponse:
|
|
26676
|
+
"""
|
|
26677
|
+
@summary Queries the Virtual Network Computing (VNC) logon address of an RDS Custom instance.
|
|
26678
|
+
|
|
26679
|
+
@description The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.
|
|
26680
|
+
|
|
26681
|
+
@param request: DescribeRCInstanceVncUrlRequest
|
|
26682
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26683
|
+
@return: DescribeRCInstanceVncUrlResponse
|
|
26684
|
+
"""
|
|
26685
|
+
UtilClient.validate_model(request)
|
|
26686
|
+
query = {}
|
|
26687
|
+
if not UtilClient.is_unset(request.db_type):
|
|
26688
|
+
query['DbType'] = request.db_type
|
|
26689
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
26690
|
+
query['InstanceId'] = request.instance_id
|
|
26691
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26692
|
+
query['RegionId'] = request.region_id
|
|
26693
|
+
req = open_api_models.OpenApiRequest(
|
|
26694
|
+
query=OpenApiUtilClient.query(query)
|
|
26695
|
+
)
|
|
26696
|
+
params = open_api_models.Params(
|
|
26697
|
+
action='DescribeRCInstanceVncUrl',
|
|
26698
|
+
version='2014-08-15',
|
|
26699
|
+
protocol='HTTPS',
|
|
26700
|
+
pathname='/',
|
|
26701
|
+
method='POST',
|
|
26702
|
+
auth_type='AK',
|
|
26703
|
+
style='RPC',
|
|
26704
|
+
req_body_type='formData',
|
|
26705
|
+
body_type='json'
|
|
26706
|
+
)
|
|
26707
|
+
return TeaCore.from_map(
|
|
26708
|
+
rds_20140815_models.DescribeRCInstanceVncUrlResponse(),
|
|
26709
|
+
self.call_api(params, req, runtime)
|
|
26710
|
+
)
|
|
26711
|
+
|
|
26712
|
+
async def describe_rcinstance_vnc_url_with_options_async(
|
|
26713
|
+
self,
|
|
26714
|
+
request: rds_20140815_models.DescribeRCInstanceVncUrlRequest,
|
|
26715
|
+
runtime: util_models.RuntimeOptions,
|
|
26716
|
+
) -> rds_20140815_models.DescribeRCInstanceVncUrlResponse:
|
|
26717
|
+
"""
|
|
26718
|
+
@summary Queries the Virtual Network Computing (VNC) logon address of an RDS Custom instance.
|
|
26719
|
+
|
|
26720
|
+
@description The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.
|
|
26721
|
+
|
|
26722
|
+
@param request: DescribeRCInstanceVncUrlRequest
|
|
26723
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
26724
|
+
@return: DescribeRCInstanceVncUrlResponse
|
|
26725
|
+
"""
|
|
26726
|
+
UtilClient.validate_model(request)
|
|
26727
|
+
query = {}
|
|
26728
|
+
if not UtilClient.is_unset(request.db_type):
|
|
26729
|
+
query['DbType'] = request.db_type
|
|
26730
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
26731
|
+
query['InstanceId'] = request.instance_id
|
|
26732
|
+
if not UtilClient.is_unset(request.region_id):
|
|
26733
|
+
query['RegionId'] = request.region_id
|
|
26734
|
+
req = open_api_models.OpenApiRequest(
|
|
26735
|
+
query=OpenApiUtilClient.query(query)
|
|
26736
|
+
)
|
|
26737
|
+
params = open_api_models.Params(
|
|
26738
|
+
action='DescribeRCInstanceVncUrl',
|
|
26739
|
+
version='2014-08-15',
|
|
26740
|
+
protocol='HTTPS',
|
|
26741
|
+
pathname='/',
|
|
26742
|
+
method='POST',
|
|
26743
|
+
auth_type='AK',
|
|
26744
|
+
style='RPC',
|
|
26745
|
+
req_body_type='formData',
|
|
26746
|
+
body_type='json'
|
|
26747
|
+
)
|
|
26748
|
+
return TeaCore.from_map(
|
|
26749
|
+
rds_20140815_models.DescribeRCInstanceVncUrlResponse(),
|
|
26750
|
+
await self.call_api_async(params, req, runtime)
|
|
26751
|
+
)
|
|
26752
|
+
|
|
26753
|
+
def describe_rcinstance_vnc_url(
|
|
26754
|
+
self,
|
|
26755
|
+
request: rds_20140815_models.DescribeRCInstanceVncUrlRequest,
|
|
26756
|
+
) -> rds_20140815_models.DescribeRCInstanceVncUrlResponse:
|
|
26757
|
+
"""
|
|
26758
|
+
@summary Queries the Virtual Network Computing (VNC) logon address of an RDS Custom instance.
|
|
26759
|
+
|
|
26760
|
+
@description The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.
|
|
26761
|
+
|
|
26762
|
+
@param request: DescribeRCInstanceVncUrlRequest
|
|
26763
|
+
@return: DescribeRCInstanceVncUrlResponse
|
|
26764
|
+
"""
|
|
26765
|
+
runtime = util_models.RuntimeOptions()
|
|
26766
|
+
return self.describe_rcinstance_vnc_url_with_options(request, runtime)
|
|
26767
|
+
|
|
26768
|
+
async def describe_rcinstance_vnc_url_async(
|
|
26769
|
+
self,
|
|
26770
|
+
request: rds_20140815_models.DescribeRCInstanceVncUrlRequest,
|
|
26771
|
+
) -> rds_20140815_models.DescribeRCInstanceVncUrlResponse:
|
|
26772
|
+
"""
|
|
26773
|
+
@summary Queries the Virtual Network Computing (VNC) logon address of an RDS Custom instance.
|
|
26774
|
+
|
|
26775
|
+
@description The address returned is valid only for 15 seconds. If you do not use the returned address to establish a connection within 15 seconds, the address expires and you must call the operation again to obtain a new address.
|
|
26776
|
+
|
|
26777
|
+
@param request: DescribeRCInstanceVncUrlRequest
|
|
26778
|
+
@return: DescribeRCInstanceVncUrlResponse
|
|
26779
|
+
"""
|
|
26780
|
+
runtime = util_models.RuntimeOptions()
|
|
26781
|
+
return await self.describe_rcinstance_vnc_url_with_options_async(request, runtime)
|
|
26782
|
+
|
|
25431
26783
|
def describe_rcinstances_with_options(
|
|
25432
26784
|
self,
|
|
25433
26785
|
request: rds_20140815_models.DescribeRCInstancesRequest,
|
|
@@ -25636,6 +26988,118 @@ class Client(OpenApiClient):
|
|
|
25636
26988
|
runtime = util_models.RuntimeOptions()
|
|
25637
26989
|
return await self.describe_rcmetric_list_with_options_async(request, runtime)
|
|
25638
26990
|
|
|
26991
|
+
def describe_rcsnapshots_with_options(
|
|
26992
|
+
self,
|
|
26993
|
+
request: rds_20140815_models.DescribeRCSnapshotsRequest,
|
|
26994
|
+
runtime: util_models.RuntimeOptions,
|
|
26995
|
+
) -> rds_20140815_models.DescribeRCSnapshotsResponse:
|
|
26996
|
+
"""
|
|
26997
|
+
@summary Queries the details of snapshots. The details include the status of the snapshots, the amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
26998
|
+
|
|
26999
|
+
@param request: DescribeRCSnapshotsRequest
|
|
27000
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27001
|
+
@return: DescribeRCSnapshotsResponse
|
|
27002
|
+
"""
|
|
27003
|
+
UtilClient.validate_model(request)
|
|
27004
|
+
query = {}
|
|
27005
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
27006
|
+
query['DiskId'] = request.disk_id
|
|
27007
|
+
if not UtilClient.is_unset(request.page_number):
|
|
27008
|
+
query['PageNumber'] = request.page_number
|
|
27009
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27010
|
+
query['PageSize'] = request.page_size
|
|
27011
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27012
|
+
query['RegionId'] = request.region_id
|
|
27013
|
+
if not UtilClient.is_unset(request.snapshot_ids):
|
|
27014
|
+
query['SnapshotIds'] = request.snapshot_ids
|
|
27015
|
+
req = open_api_models.OpenApiRequest(
|
|
27016
|
+
query=OpenApiUtilClient.query(query)
|
|
27017
|
+
)
|
|
27018
|
+
params = open_api_models.Params(
|
|
27019
|
+
action='DescribeRCSnapshots',
|
|
27020
|
+
version='2014-08-15',
|
|
27021
|
+
protocol='HTTPS',
|
|
27022
|
+
pathname='/',
|
|
27023
|
+
method='POST',
|
|
27024
|
+
auth_type='AK',
|
|
27025
|
+
style='RPC',
|
|
27026
|
+
req_body_type='formData',
|
|
27027
|
+
body_type='json'
|
|
27028
|
+
)
|
|
27029
|
+
return TeaCore.from_map(
|
|
27030
|
+
rds_20140815_models.DescribeRCSnapshotsResponse(),
|
|
27031
|
+
self.call_api(params, req, runtime)
|
|
27032
|
+
)
|
|
27033
|
+
|
|
27034
|
+
async def describe_rcsnapshots_with_options_async(
|
|
27035
|
+
self,
|
|
27036
|
+
request: rds_20140815_models.DescribeRCSnapshotsRequest,
|
|
27037
|
+
runtime: util_models.RuntimeOptions,
|
|
27038
|
+
) -> rds_20140815_models.DescribeRCSnapshotsResponse:
|
|
27039
|
+
"""
|
|
27040
|
+
@summary Queries the details of snapshots. The details include the status of the snapshots, the amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
27041
|
+
|
|
27042
|
+
@param request: DescribeRCSnapshotsRequest
|
|
27043
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27044
|
+
@return: DescribeRCSnapshotsResponse
|
|
27045
|
+
"""
|
|
27046
|
+
UtilClient.validate_model(request)
|
|
27047
|
+
query = {}
|
|
27048
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
27049
|
+
query['DiskId'] = request.disk_id
|
|
27050
|
+
if not UtilClient.is_unset(request.page_number):
|
|
27051
|
+
query['PageNumber'] = request.page_number
|
|
27052
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27053
|
+
query['PageSize'] = request.page_size
|
|
27054
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27055
|
+
query['RegionId'] = request.region_id
|
|
27056
|
+
if not UtilClient.is_unset(request.snapshot_ids):
|
|
27057
|
+
query['SnapshotIds'] = request.snapshot_ids
|
|
27058
|
+
req = open_api_models.OpenApiRequest(
|
|
27059
|
+
query=OpenApiUtilClient.query(query)
|
|
27060
|
+
)
|
|
27061
|
+
params = open_api_models.Params(
|
|
27062
|
+
action='DescribeRCSnapshots',
|
|
27063
|
+
version='2014-08-15',
|
|
27064
|
+
protocol='HTTPS',
|
|
27065
|
+
pathname='/',
|
|
27066
|
+
method='POST',
|
|
27067
|
+
auth_type='AK',
|
|
27068
|
+
style='RPC',
|
|
27069
|
+
req_body_type='formData',
|
|
27070
|
+
body_type='json'
|
|
27071
|
+
)
|
|
27072
|
+
return TeaCore.from_map(
|
|
27073
|
+
rds_20140815_models.DescribeRCSnapshotsResponse(),
|
|
27074
|
+
await self.call_api_async(params, req, runtime)
|
|
27075
|
+
)
|
|
27076
|
+
|
|
27077
|
+
def describe_rcsnapshots(
|
|
27078
|
+
self,
|
|
27079
|
+
request: rds_20140815_models.DescribeRCSnapshotsRequest,
|
|
27080
|
+
) -> rds_20140815_models.DescribeRCSnapshotsResponse:
|
|
27081
|
+
"""
|
|
27082
|
+
@summary Queries the details of snapshots. The details include the status of the snapshots, the amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
27083
|
+
|
|
27084
|
+
@param request: DescribeRCSnapshotsRequest
|
|
27085
|
+
@return: DescribeRCSnapshotsResponse
|
|
27086
|
+
"""
|
|
27087
|
+
runtime = util_models.RuntimeOptions()
|
|
27088
|
+
return self.describe_rcsnapshots_with_options(request, runtime)
|
|
27089
|
+
|
|
27090
|
+
async def describe_rcsnapshots_async(
|
|
27091
|
+
self,
|
|
27092
|
+
request: rds_20140815_models.DescribeRCSnapshotsRequest,
|
|
27093
|
+
) -> rds_20140815_models.DescribeRCSnapshotsResponse:
|
|
27094
|
+
"""
|
|
27095
|
+
@summary Queries the details of snapshots. The details include the status of the snapshots, the amount of remaining time required to create the snapshots, and the retention period of the automatic snapshots in days.
|
|
27096
|
+
|
|
27097
|
+
@param request: DescribeRCSnapshotsRequest
|
|
27098
|
+
@return: DescribeRCSnapshotsResponse
|
|
27099
|
+
"""
|
|
27100
|
+
runtime = util_models.RuntimeOptions()
|
|
27101
|
+
return await self.describe_rcsnapshots_with_options_async(request, runtime)
|
|
27102
|
+
|
|
25639
27103
|
def describe_rds_resource_settings_with_options(
|
|
25640
27104
|
self,
|
|
25641
27105
|
request: rds_20140815_models.DescribeRdsResourceSettingsRequest,
|
|
@@ -29720,6 +31184,114 @@ class Client(OpenApiClient):
|
|
|
29720
31184
|
runtime = util_models.RuntimeOptions()
|
|
29721
31185
|
return await self.detach_gad_instance_member_with_options_async(request, runtime)
|
|
29722
31186
|
|
|
31187
|
+
def detach_rcdisk_with_options(
|
|
31188
|
+
self,
|
|
31189
|
+
request: rds_20140815_models.DetachRCDiskRequest,
|
|
31190
|
+
runtime: util_models.RuntimeOptions,
|
|
31191
|
+
) -> rds_20140815_models.DetachRCDiskResponse:
|
|
31192
|
+
"""
|
|
31193
|
+
@summary Detaches a pay-as-you-go data disk or a system disk from an RDS Custom instance.
|
|
31194
|
+
|
|
31195
|
+
@param request: DetachRCDiskRequest
|
|
31196
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
31197
|
+
@return: DetachRCDiskResponse
|
|
31198
|
+
"""
|
|
31199
|
+
UtilClient.validate_model(request)
|
|
31200
|
+
query = {}
|
|
31201
|
+
if not UtilClient.is_unset(request.delete_with_instance):
|
|
31202
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
31203
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
31204
|
+
query['DiskId'] = request.disk_id
|
|
31205
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
31206
|
+
query['InstanceId'] = request.instance_id
|
|
31207
|
+
if not UtilClient.is_unset(request.region_id):
|
|
31208
|
+
query['RegionId'] = request.region_id
|
|
31209
|
+
req = open_api_models.OpenApiRequest(
|
|
31210
|
+
query=OpenApiUtilClient.query(query)
|
|
31211
|
+
)
|
|
31212
|
+
params = open_api_models.Params(
|
|
31213
|
+
action='DetachRCDisk',
|
|
31214
|
+
version='2014-08-15',
|
|
31215
|
+
protocol='HTTPS',
|
|
31216
|
+
pathname='/',
|
|
31217
|
+
method='POST',
|
|
31218
|
+
auth_type='AK',
|
|
31219
|
+
style='RPC',
|
|
31220
|
+
req_body_type='formData',
|
|
31221
|
+
body_type='json'
|
|
31222
|
+
)
|
|
31223
|
+
return TeaCore.from_map(
|
|
31224
|
+
rds_20140815_models.DetachRCDiskResponse(),
|
|
31225
|
+
self.call_api(params, req, runtime)
|
|
31226
|
+
)
|
|
31227
|
+
|
|
31228
|
+
async def detach_rcdisk_with_options_async(
|
|
31229
|
+
self,
|
|
31230
|
+
request: rds_20140815_models.DetachRCDiskRequest,
|
|
31231
|
+
runtime: util_models.RuntimeOptions,
|
|
31232
|
+
) -> rds_20140815_models.DetachRCDiskResponse:
|
|
31233
|
+
"""
|
|
31234
|
+
@summary Detaches a pay-as-you-go data disk or a system disk from an RDS Custom instance.
|
|
31235
|
+
|
|
31236
|
+
@param request: DetachRCDiskRequest
|
|
31237
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
31238
|
+
@return: DetachRCDiskResponse
|
|
31239
|
+
"""
|
|
31240
|
+
UtilClient.validate_model(request)
|
|
31241
|
+
query = {}
|
|
31242
|
+
if not UtilClient.is_unset(request.delete_with_instance):
|
|
31243
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
31244
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
31245
|
+
query['DiskId'] = request.disk_id
|
|
31246
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
31247
|
+
query['InstanceId'] = request.instance_id
|
|
31248
|
+
if not UtilClient.is_unset(request.region_id):
|
|
31249
|
+
query['RegionId'] = request.region_id
|
|
31250
|
+
req = open_api_models.OpenApiRequest(
|
|
31251
|
+
query=OpenApiUtilClient.query(query)
|
|
31252
|
+
)
|
|
31253
|
+
params = open_api_models.Params(
|
|
31254
|
+
action='DetachRCDisk',
|
|
31255
|
+
version='2014-08-15',
|
|
31256
|
+
protocol='HTTPS',
|
|
31257
|
+
pathname='/',
|
|
31258
|
+
method='POST',
|
|
31259
|
+
auth_type='AK',
|
|
31260
|
+
style='RPC',
|
|
31261
|
+
req_body_type='formData',
|
|
31262
|
+
body_type='json'
|
|
31263
|
+
)
|
|
31264
|
+
return TeaCore.from_map(
|
|
31265
|
+
rds_20140815_models.DetachRCDiskResponse(),
|
|
31266
|
+
await self.call_api_async(params, req, runtime)
|
|
31267
|
+
)
|
|
31268
|
+
|
|
31269
|
+
def detach_rcdisk(
|
|
31270
|
+
self,
|
|
31271
|
+
request: rds_20140815_models.DetachRCDiskRequest,
|
|
31272
|
+
) -> rds_20140815_models.DetachRCDiskResponse:
|
|
31273
|
+
"""
|
|
31274
|
+
@summary Detaches a pay-as-you-go data disk or a system disk from an RDS Custom instance.
|
|
31275
|
+
|
|
31276
|
+
@param request: DetachRCDiskRequest
|
|
31277
|
+
@return: DetachRCDiskResponse
|
|
31278
|
+
"""
|
|
31279
|
+
runtime = util_models.RuntimeOptions()
|
|
31280
|
+
return self.detach_rcdisk_with_options(request, runtime)
|
|
31281
|
+
|
|
31282
|
+
async def detach_rcdisk_async(
|
|
31283
|
+
self,
|
|
31284
|
+
request: rds_20140815_models.DetachRCDiskRequest,
|
|
31285
|
+
) -> rds_20140815_models.DetachRCDiskResponse:
|
|
31286
|
+
"""
|
|
31287
|
+
@summary Detaches a pay-as-you-go data disk or a system disk from an RDS Custom instance.
|
|
31288
|
+
|
|
31289
|
+
@param request: DetachRCDiskRequest
|
|
31290
|
+
@return: DetachRCDiskResponse
|
|
31291
|
+
"""
|
|
31292
|
+
runtime = util_models.RuntimeOptions()
|
|
31293
|
+
return await self.detach_rcdisk_with_options_async(request, runtime)
|
|
31294
|
+
|
|
29723
31295
|
def detach_whitelist_template_to_instance_with_options(
|
|
29724
31296
|
self,
|
|
29725
31297
|
request: rds_20140815_models.DetachWhitelistTemplateToInstanceRequest,
|
|
@@ -29986,9 +31558,6 @@ class Client(OpenApiClient):
|
|
|
29986
31558
|
|
|
29987
31559
|
@description ### Supported database engines
|
|
29988
31560
|
RDS MySQL
|
|
29989
|
-
RDS PostgreSQL
|
|
29990
|
-
RDS SQL Server
|
|
29991
|
-
RDS MariaDB
|
|
29992
31561
|
|
|
29993
31562
|
@param request: GetDBInstanceTopologyRequest
|
|
29994
31563
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -30031,9 +31600,6 @@ class Client(OpenApiClient):
|
|
|
30031
31600
|
|
|
30032
31601
|
@description ### Supported database engines
|
|
30033
31602
|
RDS MySQL
|
|
30034
|
-
RDS PostgreSQL
|
|
30035
|
-
RDS SQL Server
|
|
30036
|
-
RDS MariaDB
|
|
30037
31603
|
|
|
30038
31604
|
@param request: GetDBInstanceTopologyRequest
|
|
30039
31605
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -30075,9 +31641,6 @@ class Client(OpenApiClient):
|
|
|
30075
31641
|
|
|
30076
31642
|
@description ### Supported database engines
|
|
30077
31643
|
RDS MySQL
|
|
30078
|
-
RDS PostgreSQL
|
|
30079
|
-
RDS SQL Server
|
|
30080
|
-
RDS MariaDB
|
|
30081
31644
|
|
|
30082
31645
|
@param request: GetDBInstanceTopologyRequest
|
|
30083
31646
|
@return: GetDBInstanceTopologyResponse
|
|
@@ -30094,9 +31657,6 @@ class Client(OpenApiClient):
|
|
|
30094
31657
|
|
|
30095
31658
|
@description ### Supported database engines
|
|
30096
31659
|
RDS MySQL
|
|
30097
|
-
RDS PostgreSQL
|
|
30098
|
-
RDS SQL Server
|
|
30099
|
-
RDS MariaDB
|
|
30100
31660
|
|
|
30101
31661
|
@param request: GetDBInstanceTopologyRequest
|
|
30102
31662
|
@return: GetDBInstanceTopologyResponse
|
|
@@ -30530,6 +32090,8 @@ class Client(OpenApiClient):
|
|
|
30530
32090
|
query['BucketRegion'] = request.bucket_region
|
|
30531
32091
|
if not UtilClient.is_unset(request.comment):
|
|
30532
32092
|
query['Comment'] = request.comment
|
|
32093
|
+
if not UtilClient.is_unset(request.dbinstance_id):
|
|
32094
|
+
query['DBInstanceId'] = request.dbinstance_id
|
|
30533
32095
|
if not UtilClient.is_unset(request.engine_version):
|
|
30534
32096
|
query['EngineVersion'] = request.engine_version
|
|
30535
32097
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -30597,6 +32159,8 @@ class Client(OpenApiClient):
|
|
|
30597
32159
|
query['BucketRegion'] = request.bucket_region
|
|
30598
32160
|
if not UtilClient.is_unset(request.comment):
|
|
30599
32161
|
query['Comment'] = request.comment
|
|
32162
|
+
if not UtilClient.is_unset(request.dbinstance_id):
|
|
32163
|
+
query['DBInstanceId'] = request.dbinstance_id
|
|
30600
32164
|
if not UtilClient.is_unset(request.engine_version):
|
|
30601
32165
|
query['EngineVersion'] = request.engine_version
|
|
30602
32166
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -36304,6 +37868,8 @@ class Client(OpenApiClient):
|
|
|
36304
37868
|
query['OwnerId'] = request.owner_id
|
|
36305
37869
|
if not UtilClient.is_unset(request.pay_type):
|
|
36306
37870
|
query['PayType'] = request.pay_type
|
|
37871
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
37872
|
+
query['PromotionCode'] = request.promotion_code
|
|
36307
37873
|
if not UtilClient.is_unset(request.read_only_dbinstance_class):
|
|
36308
37874
|
query['ReadOnlyDBInstanceClass'] = request.read_only_dbinstance_class
|
|
36309
37875
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -36411,6 +37977,8 @@ class Client(OpenApiClient):
|
|
|
36411
37977
|
query['OwnerId'] = request.owner_id
|
|
36412
37978
|
if not UtilClient.is_unset(request.pay_type):
|
|
36413
37979
|
query['PayType'] = request.pay_type
|
|
37980
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
37981
|
+
query['PromotionCode'] = request.promotion_code
|
|
36414
37982
|
if not UtilClient.is_unset(request.read_only_dbinstance_class):
|
|
36415
37983
|
query['ReadOnlyDBInstanceClass'] = request.read_only_dbinstance_class
|
|
36416
37984
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -36870,16 +38438,16 @@ class Client(OpenApiClient):
|
|
|
36870
38438
|
runtime: util_models.RuntimeOptions,
|
|
36871
38439
|
) -> rds_20140815_models.ModifyDBProxyResponse:
|
|
36872
38440
|
"""
|
|
36873
|
-
@summary Enables or
|
|
38441
|
+
@summary Enables or modifies the database proxy feature for an instance.
|
|
36874
38442
|
|
|
36875
38443
|
@description ### [](#)Supported database engines
|
|
36876
38444
|
MySQL
|
|
36877
38445
|
PostgreSQL
|
|
36878
|
-
> Starting October 17, 2023, ApsaraDB RDS
|
|
38446
|
+
> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see [[Special offers/Price changes\\] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
|
|
36879
38447
|
### [](#)References
|
|
36880
|
-
>
|
|
36881
|
-
[Enable
|
|
36882
|
-
[Enable
|
|
38448
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38449
|
+
[Enable the database proxy feature of ApsaraDB RDS for MySQL](https://help.aliyun.com/document_detail/197456.html)
|
|
38450
|
+
[Enable the database proxy feature of ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/418272.html)
|
|
36883
38451
|
|
|
36884
38452
|
@param tmp_req: ModifyDBProxyRequest
|
|
36885
38453
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -36948,16 +38516,16 @@ class Client(OpenApiClient):
|
|
|
36948
38516
|
runtime: util_models.RuntimeOptions,
|
|
36949
38517
|
) -> rds_20140815_models.ModifyDBProxyResponse:
|
|
36950
38518
|
"""
|
|
36951
|
-
@summary Enables or
|
|
38519
|
+
@summary Enables or modifies the database proxy feature for an instance.
|
|
36952
38520
|
|
|
36953
38521
|
@description ### [](#)Supported database engines
|
|
36954
38522
|
MySQL
|
|
36955
38523
|
PostgreSQL
|
|
36956
|
-
> Starting October 17, 2023, ApsaraDB RDS
|
|
38524
|
+
> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see [[Special offers/Price changes\\] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
|
|
36957
38525
|
### [](#)References
|
|
36958
|
-
>
|
|
36959
|
-
[Enable
|
|
36960
|
-
[Enable
|
|
38526
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38527
|
+
[Enable the database proxy feature of ApsaraDB RDS for MySQL](https://help.aliyun.com/document_detail/197456.html)
|
|
38528
|
+
[Enable the database proxy feature of ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/418272.html)
|
|
36961
38529
|
|
|
36962
38530
|
@param tmp_req: ModifyDBProxyRequest
|
|
36963
38531
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37025,16 +38593,16 @@ class Client(OpenApiClient):
|
|
|
37025
38593
|
request: rds_20140815_models.ModifyDBProxyRequest,
|
|
37026
38594
|
) -> rds_20140815_models.ModifyDBProxyResponse:
|
|
37027
38595
|
"""
|
|
37028
|
-
@summary Enables or
|
|
38596
|
+
@summary Enables or modifies the database proxy feature for an instance.
|
|
37029
38597
|
|
|
37030
38598
|
@description ### [](#)Supported database engines
|
|
37031
38599
|
MySQL
|
|
37032
38600
|
PostgreSQL
|
|
37033
|
-
> Starting October 17, 2023, ApsaraDB RDS
|
|
38601
|
+
> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see [[Special offers/Price changes\\] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
|
|
37034
38602
|
### [](#)References
|
|
37035
|
-
>
|
|
37036
|
-
[Enable
|
|
37037
|
-
[Enable
|
|
38603
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38604
|
+
[Enable the database proxy feature of ApsaraDB RDS for MySQL](https://help.aliyun.com/document_detail/197456.html)
|
|
38605
|
+
[Enable the database proxy feature of ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/418272.html)
|
|
37038
38606
|
|
|
37039
38607
|
@param request: ModifyDBProxyRequest
|
|
37040
38608
|
@return: ModifyDBProxyResponse
|
|
@@ -37047,16 +38615,16 @@ class Client(OpenApiClient):
|
|
|
37047
38615
|
request: rds_20140815_models.ModifyDBProxyRequest,
|
|
37048
38616
|
) -> rds_20140815_models.ModifyDBProxyResponse:
|
|
37049
38617
|
"""
|
|
37050
|
-
@summary Enables or
|
|
38618
|
+
@summary Enables or modifies the database proxy feature for an instance.
|
|
37051
38619
|
|
|
37052
38620
|
@description ### [](#)Supported database engines
|
|
37053
38621
|
MySQL
|
|
37054
38622
|
PostgreSQL
|
|
37055
|
-
> Starting October 17, 2023, ApsaraDB RDS
|
|
38623
|
+
> Starting October 17, 2023, ApsaraDB RDS for MySQL instances that run RDS Cluster Edition offer one free-of-charge dedicated database proxy for each unit in phases. For more information, see [[Special offers/Price changes\\] One dedicated proxy is provided free of charge for ApsaraDB RDS for MySQL instances on RDS Cluster Edition](~~2555466~~).
|
|
37056
38624
|
### [](#)References
|
|
37057
|
-
>
|
|
37058
|
-
[Enable
|
|
37059
|
-
[Enable
|
|
38625
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38626
|
+
[Enable the database proxy feature of ApsaraDB RDS for MySQL](https://help.aliyun.com/document_detail/197456.html)
|
|
38627
|
+
[Enable the database proxy feature of ApsaraDB RDS for PostgreSQL](https://help.aliyun.com/document_detail/418272.html)
|
|
37060
38628
|
|
|
37061
38629
|
@param request: ModifyDBProxyRequest
|
|
37062
38630
|
@return: ModifyDBProxyResponse
|
|
@@ -37098,6 +38666,8 @@ class Client(OpenApiClient):
|
|
|
37098
38666
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
37099
38667
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
37100
38668
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38669
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38670
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
37101
38671
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
37102
38672
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
37103
38673
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -37177,6 +38747,8 @@ class Client(OpenApiClient):
|
|
|
37177
38747
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
37178
38748
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
37179
38749
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38750
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38751
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
37180
38752
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
37181
38753
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
37182
38754
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -37270,15 +38842,15 @@ class Client(OpenApiClient):
|
|
|
37270
38842
|
runtime: util_models.RuntimeOptions,
|
|
37271
38843
|
) -> rds_20140815_models.ModifyDBProxyEndpointAddressResponse:
|
|
37272
38844
|
"""
|
|
37273
|
-
@summary
|
|
38845
|
+
@summary Modifies the database proxy endpoint of an instance.
|
|
37274
38846
|
|
|
37275
|
-
@description ### Supported database engines
|
|
38847
|
+
@description ### [](#)Supported database engines
|
|
37276
38848
|
MySQL
|
|
37277
38849
|
PostgreSQL
|
|
37278
|
-
### References
|
|
37279
|
-
>
|
|
37280
|
-
[Configure the
|
|
37281
|
-
[Configure the
|
|
38850
|
+
### [](#)References
|
|
38851
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38852
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/184921.html)
|
|
38853
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/418274.html)
|
|
37282
38854
|
|
|
37283
38855
|
@param request: ModifyDBProxyEndpointAddressRequest
|
|
37284
38856
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37331,15 +38903,15 @@ class Client(OpenApiClient):
|
|
|
37331
38903
|
runtime: util_models.RuntimeOptions,
|
|
37332
38904
|
) -> rds_20140815_models.ModifyDBProxyEndpointAddressResponse:
|
|
37333
38905
|
"""
|
|
37334
|
-
@summary
|
|
38906
|
+
@summary Modifies the database proxy endpoint of an instance.
|
|
37335
38907
|
|
|
37336
|
-
@description ### Supported database engines
|
|
38908
|
+
@description ### [](#)Supported database engines
|
|
37337
38909
|
MySQL
|
|
37338
38910
|
PostgreSQL
|
|
37339
|
-
### References
|
|
37340
|
-
>
|
|
37341
|
-
[Configure the
|
|
37342
|
-
[Configure the
|
|
38911
|
+
### [](#)References
|
|
38912
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38913
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/184921.html)
|
|
38914
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/418274.html)
|
|
37343
38915
|
|
|
37344
38916
|
@param request: ModifyDBProxyEndpointAddressRequest
|
|
37345
38917
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37391,15 +38963,15 @@ class Client(OpenApiClient):
|
|
|
37391
38963
|
request: rds_20140815_models.ModifyDBProxyEndpointAddressRequest,
|
|
37392
38964
|
) -> rds_20140815_models.ModifyDBProxyEndpointAddressResponse:
|
|
37393
38965
|
"""
|
|
37394
|
-
@summary
|
|
38966
|
+
@summary Modifies the database proxy endpoint of an instance.
|
|
37395
38967
|
|
|
37396
|
-
@description ### Supported database engines
|
|
38968
|
+
@description ### [](#)Supported database engines
|
|
37397
38969
|
MySQL
|
|
37398
38970
|
PostgreSQL
|
|
37399
|
-
### References
|
|
37400
|
-
>
|
|
37401
|
-
[Configure the
|
|
37402
|
-
[Configure the
|
|
38971
|
+
### [](#)References
|
|
38972
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38973
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/184921.html)
|
|
38974
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/418274.html)
|
|
37403
38975
|
|
|
37404
38976
|
@param request: ModifyDBProxyEndpointAddressRequest
|
|
37405
38977
|
@return: ModifyDBProxyEndpointAddressResponse
|
|
@@ -37412,15 +38984,15 @@ class Client(OpenApiClient):
|
|
|
37412
38984
|
request: rds_20140815_models.ModifyDBProxyEndpointAddressRequest,
|
|
37413
38985
|
) -> rds_20140815_models.ModifyDBProxyEndpointAddressResponse:
|
|
37414
38986
|
"""
|
|
37415
|
-
@summary
|
|
38987
|
+
@summary Modifies the database proxy endpoint of an instance.
|
|
37416
38988
|
|
|
37417
|
-
@description ### Supported database engines
|
|
38989
|
+
@description ### [](#)Supported database engines
|
|
37418
38990
|
MySQL
|
|
37419
38991
|
PostgreSQL
|
|
37420
|
-
### References
|
|
37421
|
-
>
|
|
37422
|
-
[Configure the
|
|
37423
|
-
[Configure the
|
|
38992
|
+
### [](#)References
|
|
38993
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38994
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/184921.html)
|
|
38995
|
+
[Configure the database proxy endpoint of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/418274.html)
|
|
37424
38996
|
|
|
37425
38997
|
@param request: ModifyDBProxyEndpointAddressRequest
|
|
37426
38998
|
@return: ModifyDBProxyEndpointAddressResponse
|
|
@@ -37924,12 +39496,11 @@ class Client(OpenApiClient):
|
|
|
37924
39496
|
"""
|
|
37925
39497
|
@summary Modifies the property settings of an ApsaraDB RDS for SQL Server instance.
|
|
37926
39498
|
|
|
37927
|
-
@description ### [](#)Supported database
|
|
39499
|
+
@description ### [](#)Supported database engine
|
|
37928
39500
|
SQL Server
|
|
37929
39501
|
### [](#)References
|
|
37930
|
-
|
|
37931
|
-
|
|
37932
|
-
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
39502
|
+
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
39503
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
37933
39504
|
|
|
37934
39505
|
@param request: ModifyDatabaseConfigRequest
|
|
37935
39506
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -37980,12 +39551,11 @@ class Client(OpenApiClient):
|
|
|
37980
39551
|
"""
|
|
37981
39552
|
@summary Modifies the property settings of an ApsaraDB RDS for SQL Server instance.
|
|
37982
39553
|
|
|
37983
|
-
@description ### [](#)Supported database
|
|
39554
|
+
@description ### [](#)Supported database engine
|
|
37984
39555
|
SQL Server
|
|
37985
39556
|
### [](#)References
|
|
37986
|
-
|
|
37987
|
-
|
|
37988
|
-
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
39557
|
+
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
39558
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
37989
39559
|
|
|
37990
39560
|
@param request: ModifyDatabaseConfigRequest
|
|
37991
39561
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -38035,12 +39605,11 @@ class Client(OpenApiClient):
|
|
|
38035
39605
|
"""
|
|
38036
39606
|
@summary Modifies the property settings of an ApsaraDB RDS for SQL Server instance.
|
|
38037
39607
|
|
|
38038
|
-
@description ### [](#)Supported database
|
|
39608
|
+
@description ### [](#)Supported database engine
|
|
38039
39609
|
SQL Server
|
|
38040
39610
|
### [](#)References
|
|
38041
|
-
|
|
38042
|
-
|
|
38043
|
-
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
39611
|
+
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
39612
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38044
39613
|
|
|
38045
39614
|
@param request: ModifyDatabaseConfigRequest
|
|
38046
39615
|
@return: ModifyDatabaseConfigResponse
|
|
@@ -38055,12 +39624,11 @@ class Client(OpenApiClient):
|
|
|
38055
39624
|
"""
|
|
38056
39625
|
@summary Modifies the property settings of an ApsaraDB RDS for SQL Server instance.
|
|
38057
39626
|
|
|
38058
|
-
@description ### [](#)Supported database
|
|
39627
|
+
@description ### [](#)Supported database engine
|
|
38059
39628
|
SQL Server
|
|
38060
39629
|
### [](#)References
|
|
38061
|
-
|
|
38062
|
-
|
|
38063
|
-
> : Before you call this operation, read the preceding topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
39630
|
+
You can call this operation to modify the database properties of an ApsaraDB RDS for SQL Server instance and archive data from an instance that uses cloud disks to an Object Storage Service (OSS) bucket. Before you call this operation to archive data to an OSS bucket, you must enable the data archiving feature in the ApsaraDB RDS console. For more information, see [Modify database properties](https://help.aliyun.com/document_detail/2401398.html) and [Archive cloud disk data to an OSS bucket](https://help.aliyun.com/document_detail/2767189.html).
|
|
39631
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
38064
39632
|
|
|
38065
39633
|
@param request: ModifyDatabaseConfigRequest
|
|
38066
39634
|
@return: ModifyDatabaseConfigResponse
|
|
@@ -39784,6 +41352,118 @@ class Client(OpenApiClient):
|
|
|
39784
41352
|
runtime = util_models.RuntimeOptions()
|
|
39785
41353
|
return await self.modify_rcinstance_with_options_async(request, runtime)
|
|
39786
41354
|
|
|
41355
|
+
def modify_rcinstance_attribute_with_options(
|
|
41356
|
+
self,
|
|
41357
|
+
request: rds_20140815_models.ModifyRCInstanceAttributeRequest,
|
|
41358
|
+
runtime: util_models.RuntimeOptions,
|
|
41359
|
+
) -> rds_20140815_models.ModifyRCInstanceAttributeResponse:
|
|
41360
|
+
"""
|
|
41361
|
+
@summary Modifies specific attributes of an RDS Custom instance, such as the password or hostname.
|
|
41362
|
+
|
|
41363
|
+
@param request: ModifyRCInstanceAttributeRequest
|
|
41364
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41365
|
+
@return: ModifyRCInstanceAttributeResponse
|
|
41366
|
+
"""
|
|
41367
|
+
UtilClient.validate_model(request)
|
|
41368
|
+
query = {}
|
|
41369
|
+
if not UtilClient.is_unset(request.host_name):
|
|
41370
|
+
query['HostName'] = request.host_name
|
|
41371
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41372
|
+
query['InstanceId'] = request.instance_id
|
|
41373
|
+
if not UtilClient.is_unset(request.password):
|
|
41374
|
+
query['Password'] = request.password
|
|
41375
|
+
if not UtilClient.is_unset(request.reboot):
|
|
41376
|
+
query['Reboot'] = request.reboot
|
|
41377
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41378
|
+
query['RegionId'] = request.region_id
|
|
41379
|
+
req = open_api_models.OpenApiRequest(
|
|
41380
|
+
query=OpenApiUtilClient.query(query)
|
|
41381
|
+
)
|
|
41382
|
+
params = open_api_models.Params(
|
|
41383
|
+
action='ModifyRCInstanceAttribute',
|
|
41384
|
+
version='2014-08-15',
|
|
41385
|
+
protocol='HTTPS',
|
|
41386
|
+
pathname='/',
|
|
41387
|
+
method='POST',
|
|
41388
|
+
auth_type='AK',
|
|
41389
|
+
style='RPC',
|
|
41390
|
+
req_body_type='formData',
|
|
41391
|
+
body_type='json'
|
|
41392
|
+
)
|
|
41393
|
+
return TeaCore.from_map(
|
|
41394
|
+
rds_20140815_models.ModifyRCInstanceAttributeResponse(),
|
|
41395
|
+
self.call_api(params, req, runtime)
|
|
41396
|
+
)
|
|
41397
|
+
|
|
41398
|
+
async def modify_rcinstance_attribute_with_options_async(
|
|
41399
|
+
self,
|
|
41400
|
+
request: rds_20140815_models.ModifyRCInstanceAttributeRequest,
|
|
41401
|
+
runtime: util_models.RuntimeOptions,
|
|
41402
|
+
) -> rds_20140815_models.ModifyRCInstanceAttributeResponse:
|
|
41403
|
+
"""
|
|
41404
|
+
@summary Modifies specific attributes of an RDS Custom instance, such as the password or hostname.
|
|
41405
|
+
|
|
41406
|
+
@param request: ModifyRCInstanceAttributeRequest
|
|
41407
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41408
|
+
@return: ModifyRCInstanceAttributeResponse
|
|
41409
|
+
"""
|
|
41410
|
+
UtilClient.validate_model(request)
|
|
41411
|
+
query = {}
|
|
41412
|
+
if not UtilClient.is_unset(request.host_name):
|
|
41413
|
+
query['HostName'] = request.host_name
|
|
41414
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41415
|
+
query['InstanceId'] = request.instance_id
|
|
41416
|
+
if not UtilClient.is_unset(request.password):
|
|
41417
|
+
query['Password'] = request.password
|
|
41418
|
+
if not UtilClient.is_unset(request.reboot):
|
|
41419
|
+
query['Reboot'] = request.reboot
|
|
41420
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41421
|
+
query['RegionId'] = request.region_id
|
|
41422
|
+
req = open_api_models.OpenApiRequest(
|
|
41423
|
+
query=OpenApiUtilClient.query(query)
|
|
41424
|
+
)
|
|
41425
|
+
params = open_api_models.Params(
|
|
41426
|
+
action='ModifyRCInstanceAttribute',
|
|
41427
|
+
version='2014-08-15',
|
|
41428
|
+
protocol='HTTPS',
|
|
41429
|
+
pathname='/',
|
|
41430
|
+
method='POST',
|
|
41431
|
+
auth_type='AK',
|
|
41432
|
+
style='RPC',
|
|
41433
|
+
req_body_type='formData',
|
|
41434
|
+
body_type='json'
|
|
41435
|
+
)
|
|
41436
|
+
return TeaCore.from_map(
|
|
41437
|
+
rds_20140815_models.ModifyRCInstanceAttributeResponse(),
|
|
41438
|
+
await self.call_api_async(params, req, runtime)
|
|
41439
|
+
)
|
|
41440
|
+
|
|
41441
|
+
def modify_rcinstance_attribute(
|
|
41442
|
+
self,
|
|
41443
|
+
request: rds_20140815_models.ModifyRCInstanceAttributeRequest,
|
|
41444
|
+
) -> rds_20140815_models.ModifyRCInstanceAttributeResponse:
|
|
41445
|
+
"""
|
|
41446
|
+
@summary Modifies specific attributes of an RDS Custom instance, such as the password or hostname.
|
|
41447
|
+
|
|
41448
|
+
@param request: ModifyRCInstanceAttributeRequest
|
|
41449
|
+
@return: ModifyRCInstanceAttributeResponse
|
|
41450
|
+
"""
|
|
41451
|
+
runtime = util_models.RuntimeOptions()
|
|
41452
|
+
return self.modify_rcinstance_attribute_with_options(request, runtime)
|
|
41453
|
+
|
|
41454
|
+
async def modify_rcinstance_attribute_async(
|
|
41455
|
+
self,
|
|
41456
|
+
request: rds_20140815_models.ModifyRCInstanceAttributeRequest,
|
|
41457
|
+
) -> rds_20140815_models.ModifyRCInstanceAttributeResponse:
|
|
41458
|
+
"""
|
|
41459
|
+
@summary Modifies specific attributes of an RDS Custom instance, such as the password or hostname.
|
|
41460
|
+
|
|
41461
|
+
@param request: ModifyRCInstanceAttributeRequest
|
|
41462
|
+
@return: ModifyRCInstanceAttributeResponse
|
|
41463
|
+
"""
|
|
41464
|
+
runtime = util_models.RuntimeOptions()
|
|
41465
|
+
return await self.modify_rcinstance_attribute_with_options_async(request, runtime)
|
|
41466
|
+
|
|
39787
41467
|
def modify_rcinstance_charge_type_with_options(
|
|
39788
41468
|
self,
|
|
39789
41469
|
request: rds_20140815_models.ModifyRCInstanceChargeTypeRequest,
|
|
@@ -39900,6 +41580,218 @@ class Client(OpenApiClient):
|
|
|
39900
41580
|
runtime = util_models.RuntimeOptions()
|
|
39901
41581
|
return await self.modify_rcinstance_charge_type_with_options_async(request, runtime)
|
|
39902
41582
|
|
|
41583
|
+
def modify_rcinstance_description_with_options(
|
|
41584
|
+
self,
|
|
41585
|
+
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41586
|
+
runtime: util_models.RuntimeOptions,
|
|
41587
|
+
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41588
|
+
"""
|
|
41589
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41590
|
+
|
|
41591
|
+
@param request: ModifyRCInstanceDescriptionRequest
|
|
41592
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41593
|
+
@return: ModifyRCInstanceDescriptionResponse
|
|
41594
|
+
"""
|
|
41595
|
+
UtilClient.validate_model(request)
|
|
41596
|
+
query = {}
|
|
41597
|
+
if not UtilClient.is_unset(request.instance_description):
|
|
41598
|
+
query['InstanceDescription'] = request.instance_description
|
|
41599
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41600
|
+
query['InstanceId'] = request.instance_id
|
|
41601
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41602
|
+
query['RegionId'] = request.region_id
|
|
41603
|
+
req = open_api_models.OpenApiRequest(
|
|
41604
|
+
query=OpenApiUtilClient.query(query)
|
|
41605
|
+
)
|
|
41606
|
+
params = open_api_models.Params(
|
|
41607
|
+
action='ModifyRCInstanceDescription',
|
|
41608
|
+
version='2014-08-15',
|
|
41609
|
+
protocol='HTTPS',
|
|
41610
|
+
pathname='/',
|
|
41611
|
+
method='POST',
|
|
41612
|
+
auth_type='AK',
|
|
41613
|
+
style='RPC',
|
|
41614
|
+
req_body_type='formData',
|
|
41615
|
+
body_type='json'
|
|
41616
|
+
)
|
|
41617
|
+
return TeaCore.from_map(
|
|
41618
|
+
rds_20140815_models.ModifyRCInstanceDescriptionResponse(),
|
|
41619
|
+
self.call_api(params, req, runtime)
|
|
41620
|
+
)
|
|
41621
|
+
|
|
41622
|
+
async def modify_rcinstance_description_with_options_async(
|
|
41623
|
+
self,
|
|
41624
|
+
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41625
|
+
runtime: util_models.RuntimeOptions,
|
|
41626
|
+
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41627
|
+
"""
|
|
41628
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41629
|
+
|
|
41630
|
+
@param request: ModifyRCInstanceDescriptionRequest
|
|
41631
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41632
|
+
@return: ModifyRCInstanceDescriptionResponse
|
|
41633
|
+
"""
|
|
41634
|
+
UtilClient.validate_model(request)
|
|
41635
|
+
query = {}
|
|
41636
|
+
if not UtilClient.is_unset(request.instance_description):
|
|
41637
|
+
query['InstanceDescription'] = request.instance_description
|
|
41638
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41639
|
+
query['InstanceId'] = request.instance_id
|
|
41640
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41641
|
+
query['RegionId'] = request.region_id
|
|
41642
|
+
req = open_api_models.OpenApiRequest(
|
|
41643
|
+
query=OpenApiUtilClient.query(query)
|
|
41644
|
+
)
|
|
41645
|
+
params = open_api_models.Params(
|
|
41646
|
+
action='ModifyRCInstanceDescription',
|
|
41647
|
+
version='2014-08-15',
|
|
41648
|
+
protocol='HTTPS',
|
|
41649
|
+
pathname='/',
|
|
41650
|
+
method='POST',
|
|
41651
|
+
auth_type='AK',
|
|
41652
|
+
style='RPC',
|
|
41653
|
+
req_body_type='formData',
|
|
41654
|
+
body_type='json'
|
|
41655
|
+
)
|
|
41656
|
+
return TeaCore.from_map(
|
|
41657
|
+
rds_20140815_models.ModifyRCInstanceDescriptionResponse(),
|
|
41658
|
+
await self.call_api_async(params, req, runtime)
|
|
41659
|
+
)
|
|
41660
|
+
|
|
41661
|
+
def modify_rcinstance_description(
|
|
41662
|
+
self,
|
|
41663
|
+
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41664
|
+
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41665
|
+
"""
|
|
41666
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41667
|
+
|
|
41668
|
+
@param request: ModifyRCInstanceDescriptionRequest
|
|
41669
|
+
@return: ModifyRCInstanceDescriptionResponse
|
|
41670
|
+
"""
|
|
41671
|
+
runtime = util_models.RuntimeOptions()
|
|
41672
|
+
return self.modify_rcinstance_description_with_options(request, runtime)
|
|
41673
|
+
|
|
41674
|
+
async def modify_rcinstance_description_async(
|
|
41675
|
+
self,
|
|
41676
|
+
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41677
|
+
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41678
|
+
"""
|
|
41679
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41680
|
+
|
|
41681
|
+
@param request: ModifyRCInstanceDescriptionRequest
|
|
41682
|
+
@return: ModifyRCInstanceDescriptionResponse
|
|
41683
|
+
"""
|
|
41684
|
+
runtime = util_models.RuntimeOptions()
|
|
41685
|
+
return await self.modify_rcinstance_description_with_options_async(request, runtime)
|
|
41686
|
+
|
|
41687
|
+
def modify_rcinstance_key_pair_with_options(
|
|
41688
|
+
self,
|
|
41689
|
+
request: rds_20140815_models.ModifyRCInstanceKeyPairRequest,
|
|
41690
|
+
runtime: util_models.RuntimeOptions,
|
|
41691
|
+
) -> rds_20140815_models.ModifyRCInstanceKeyPairResponse:
|
|
41692
|
+
"""
|
|
41693
|
+
@summary Modifies the key pair of an RDS Custom instance.
|
|
41694
|
+
|
|
41695
|
+
@param request: ModifyRCInstanceKeyPairRequest
|
|
41696
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41697
|
+
@return: ModifyRCInstanceKeyPairResponse
|
|
41698
|
+
"""
|
|
41699
|
+
UtilClient.validate_model(request)
|
|
41700
|
+
query = {}
|
|
41701
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41702
|
+
query['InstanceId'] = request.instance_id
|
|
41703
|
+
if not UtilClient.is_unset(request.key_pair_name):
|
|
41704
|
+
query['KeyPairName'] = request.key_pair_name
|
|
41705
|
+
if not UtilClient.is_unset(request.reboot):
|
|
41706
|
+
query['Reboot'] = request.reboot
|
|
41707
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41708
|
+
query['RegionId'] = request.region_id
|
|
41709
|
+
req = open_api_models.OpenApiRequest(
|
|
41710
|
+
query=OpenApiUtilClient.query(query)
|
|
41711
|
+
)
|
|
41712
|
+
params = open_api_models.Params(
|
|
41713
|
+
action='ModifyRCInstanceKeyPair',
|
|
41714
|
+
version='2014-08-15',
|
|
41715
|
+
protocol='HTTPS',
|
|
41716
|
+
pathname='/',
|
|
41717
|
+
method='POST',
|
|
41718
|
+
auth_type='AK',
|
|
41719
|
+
style='RPC',
|
|
41720
|
+
req_body_type='formData',
|
|
41721
|
+
body_type='json'
|
|
41722
|
+
)
|
|
41723
|
+
return TeaCore.from_map(
|
|
41724
|
+
rds_20140815_models.ModifyRCInstanceKeyPairResponse(),
|
|
41725
|
+
self.call_api(params, req, runtime)
|
|
41726
|
+
)
|
|
41727
|
+
|
|
41728
|
+
async def modify_rcinstance_key_pair_with_options_async(
|
|
41729
|
+
self,
|
|
41730
|
+
request: rds_20140815_models.ModifyRCInstanceKeyPairRequest,
|
|
41731
|
+
runtime: util_models.RuntimeOptions,
|
|
41732
|
+
) -> rds_20140815_models.ModifyRCInstanceKeyPairResponse:
|
|
41733
|
+
"""
|
|
41734
|
+
@summary Modifies the key pair of an RDS Custom instance.
|
|
41735
|
+
|
|
41736
|
+
@param request: ModifyRCInstanceKeyPairRequest
|
|
41737
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
41738
|
+
@return: ModifyRCInstanceKeyPairResponse
|
|
41739
|
+
"""
|
|
41740
|
+
UtilClient.validate_model(request)
|
|
41741
|
+
query = {}
|
|
41742
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
41743
|
+
query['InstanceId'] = request.instance_id
|
|
41744
|
+
if not UtilClient.is_unset(request.key_pair_name):
|
|
41745
|
+
query['KeyPairName'] = request.key_pair_name
|
|
41746
|
+
if not UtilClient.is_unset(request.reboot):
|
|
41747
|
+
query['Reboot'] = request.reboot
|
|
41748
|
+
if not UtilClient.is_unset(request.region_id):
|
|
41749
|
+
query['RegionId'] = request.region_id
|
|
41750
|
+
req = open_api_models.OpenApiRequest(
|
|
41751
|
+
query=OpenApiUtilClient.query(query)
|
|
41752
|
+
)
|
|
41753
|
+
params = open_api_models.Params(
|
|
41754
|
+
action='ModifyRCInstanceKeyPair',
|
|
41755
|
+
version='2014-08-15',
|
|
41756
|
+
protocol='HTTPS',
|
|
41757
|
+
pathname='/',
|
|
41758
|
+
method='POST',
|
|
41759
|
+
auth_type='AK',
|
|
41760
|
+
style='RPC',
|
|
41761
|
+
req_body_type='formData',
|
|
41762
|
+
body_type='json'
|
|
41763
|
+
)
|
|
41764
|
+
return TeaCore.from_map(
|
|
41765
|
+
rds_20140815_models.ModifyRCInstanceKeyPairResponse(),
|
|
41766
|
+
await self.call_api_async(params, req, runtime)
|
|
41767
|
+
)
|
|
41768
|
+
|
|
41769
|
+
def modify_rcinstance_key_pair(
|
|
41770
|
+
self,
|
|
41771
|
+
request: rds_20140815_models.ModifyRCInstanceKeyPairRequest,
|
|
41772
|
+
) -> rds_20140815_models.ModifyRCInstanceKeyPairResponse:
|
|
41773
|
+
"""
|
|
41774
|
+
@summary Modifies the key pair of an RDS Custom instance.
|
|
41775
|
+
|
|
41776
|
+
@param request: ModifyRCInstanceKeyPairRequest
|
|
41777
|
+
@return: ModifyRCInstanceKeyPairResponse
|
|
41778
|
+
"""
|
|
41779
|
+
runtime = util_models.RuntimeOptions()
|
|
41780
|
+
return self.modify_rcinstance_key_pair_with_options(request, runtime)
|
|
41781
|
+
|
|
41782
|
+
async def modify_rcinstance_key_pair_async(
|
|
41783
|
+
self,
|
|
41784
|
+
request: rds_20140815_models.ModifyRCInstanceKeyPairRequest,
|
|
41785
|
+
) -> rds_20140815_models.ModifyRCInstanceKeyPairResponse:
|
|
41786
|
+
"""
|
|
41787
|
+
@summary Modifies the key pair of an RDS Custom instance.
|
|
41788
|
+
|
|
41789
|
+
@param request: ModifyRCInstanceKeyPairRequest
|
|
41790
|
+
@return: ModifyRCInstanceKeyPairResponse
|
|
41791
|
+
"""
|
|
41792
|
+
runtime = util_models.RuntimeOptions()
|
|
41793
|
+
return await self.modify_rcinstance_key_pair_with_options_async(request, runtime)
|
|
41794
|
+
|
|
39903
41795
|
def modify_read_write_splitting_connection_with_options(
|
|
39904
41796
|
self,
|
|
39905
41797
|
request: rds_20140815_models.ModifyReadWriteSplittingConnectionRequest,
|
|
@@ -41294,6 +43186,8 @@ class Client(OpenApiClient):
|
|
|
41294
43186
|
runtime: util_models.RuntimeOptions,
|
|
41295
43187
|
) -> rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesResponse:
|
|
41296
43188
|
"""
|
|
43189
|
+
@summary 删除节点创建订单预检查
|
|
43190
|
+
|
|
41297
43191
|
@param tmp_req: PreCheckCreateOrderForDeleteDBNodesRequest
|
|
41298
43192
|
@param runtime: runtime options for this request RuntimeOptions
|
|
41299
43193
|
@return: PreCheckCreateOrderForDeleteDBNodesResponse
|
|
@@ -41359,6 +43253,8 @@ class Client(OpenApiClient):
|
|
|
41359
43253
|
runtime: util_models.RuntimeOptions,
|
|
41360
43254
|
) -> rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesResponse:
|
|
41361
43255
|
"""
|
|
43256
|
+
@summary 删除节点创建订单预检查
|
|
43257
|
+
|
|
41362
43258
|
@param tmp_req: PreCheckCreateOrderForDeleteDBNodesRequest
|
|
41363
43259
|
@param runtime: runtime options for this request RuntimeOptions
|
|
41364
43260
|
@return: PreCheckCreateOrderForDeleteDBNodesResponse
|
|
@@ -41423,6 +43319,8 @@ class Client(OpenApiClient):
|
|
|
41423
43319
|
request: rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesRequest,
|
|
41424
43320
|
) -> rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesResponse:
|
|
41425
43321
|
"""
|
|
43322
|
+
@summary 删除节点创建订单预检查
|
|
43323
|
+
|
|
41426
43324
|
@param request: PreCheckCreateOrderForDeleteDBNodesRequest
|
|
41427
43325
|
@return: PreCheckCreateOrderForDeleteDBNodesResponse
|
|
41428
43326
|
"""
|
|
@@ -41434,6 +43332,8 @@ class Client(OpenApiClient):
|
|
|
41434
43332
|
request: rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesRequest,
|
|
41435
43333
|
) -> rds_20140815_models.PreCheckCreateOrderForDeleteDBNodesResponse:
|
|
41436
43334
|
"""
|
|
43335
|
+
@summary 删除节点创建订单预检查
|
|
43336
|
+
|
|
41437
43337
|
@param request: PreCheckCreateOrderForDeleteDBNodesRequest
|
|
41438
43338
|
@return: PreCheckCreateOrderForDeleteDBNodesResponse
|
|
41439
43339
|
"""
|
|
@@ -43206,6 +45106,8 @@ class Client(OpenApiClient):
|
|
|
43206
45106
|
query['AutoPay'] = request.auto_pay
|
|
43207
45107
|
if not UtilClient.is_unset(request.auto_renew):
|
|
43208
45108
|
query['AutoRenew'] = request.auto_renew
|
|
45109
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
45110
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
43209
45111
|
if not UtilClient.is_unset(request.client_token):
|
|
43210
45112
|
query['ClientToken'] = request.client_token
|
|
43211
45113
|
if not UtilClient.is_unset(request.dbinstance_id):
|
|
@@ -43214,6 +45116,8 @@ class Client(OpenApiClient):
|
|
|
43214
45116
|
query['OwnerId'] = request.owner_id
|
|
43215
45117
|
if not UtilClient.is_unset(request.period):
|
|
43216
45118
|
query['Period'] = request.period
|
|
45119
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
45120
|
+
query['PromotionCode'] = request.promotion_code
|
|
43217
45121
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
43218
45122
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
43219
45123
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -43267,6 +45171,8 @@ class Client(OpenApiClient):
|
|
|
43267
45171
|
query['AutoPay'] = request.auto_pay
|
|
43268
45172
|
if not UtilClient.is_unset(request.auto_renew):
|
|
43269
45173
|
query['AutoRenew'] = request.auto_renew
|
|
45174
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
45175
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
43270
45176
|
if not UtilClient.is_unset(request.client_token):
|
|
43271
45177
|
query['ClientToken'] = request.client_token
|
|
43272
45178
|
if not UtilClient.is_unset(request.dbinstance_id):
|
|
@@ -43275,6 +45181,8 @@ class Client(OpenApiClient):
|
|
|
43275
45181
|
query['OwnerId'] = request.owner_id
|
|
43276
45182
|
if not UtilClient.is_unset(request.period):
|
|
43277
45183
|
query['Period'] = request.period
|
|
45184
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
45185
|
+
query['PromotionCode'] = request.promotion_code
|
|
43278
45186
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
43279
45187
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
43280
45188
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -43348,6 +45256,122 @@ class Client(OpenApiClient):
|
|
|
43348
45256
|
runtime = util_models.RuntimeOptions()
|
|
43349
45257
|
return await self.renew_instance_with_options_async(request, runtime)
|
|
43350
45258
|
|
|
45259
|
+
def replace_rcinstance_system_disk_with_options(
|
|
45260
|
+
self,
|
|
45261
|
+
request: rds_20140815_models.ReplaceRCInstanceSystemDiskRequest,
|
|
45262
|
+
runtime: util_models.RuntimeOptions,
|
|
45263
|
+
) -> rds_20140815_models.ReplaceRCInstanceSystemDiskResponse:
|
|
45264
|
+
"""
|
|
45265
|
+
@summary 更换rds custom实例系统盘
|
|
45266
|
+
|
|
45267
|
+
@param request: ReplaceRCInstanceSystemDiskRequest
|
|
45268
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
45269
|
+
@return: ReplaceRCInstanceSystemDiskResponse
|
|
45270
|
+
"""
|
|
45271
|
+
UtilClient.validate_model(request)
|
|
45272
|
+
query = {}
|
|
45273
|
+
if not UtilClient.is_unset(request.image_id):
|
|
45274
|
+
query['ImageId'] = request.image_id
|
|
45275
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
45276
|
+
query['InstanceId'] = request.instance_id
|
|
45277
|
+
if not UtilClient.is_unset(request.is_local_disk):
|
|
45278
|
+
query['IsLocalDisk'] = request.is_local_disk
|
|
45279
|
+
if not UtilClient.is_unset(request.key_pair_name):
|
|
45280
|
+
query['KeyPairName'] = request.key_pair_name
|
|
45281
|
+
if not UtilClient.is_unset(request.password):
|
|
45282
|
+
query['Password'] = request.password
|
|
45283
|
+
if not UtilClient.is_unset(request.region_id):
|
|
45284
|
+
query['RegionId'] = request.region_id
|
|
45285
|
+
req = open_api_models.OpenApiRequest(
|
|
45286
|
+
query=OpenApiUtilClient.query(query)
|
|
45287
|
+
)
|
|
45288
|
+
params = open_api_models.Params(
|
|
45289
|
+
action='ReplaceRCInstanceSystemDisk',
|
|
45290
|
+
version='2014-08-15',
|
|
45291
|
+
protocol='HTTPS',
|
|
45292
|
+
pathname='/',
|
|
45293
|
+
method='POST',
|
|
45294
|
+
auth_type='AK',
|
|
45295
|
+
style='RPC',
|
|
45296
|
+
req_body_type='formData',
|
|
45297
|
+
body_type='json'
|
|
45298
|
+
)
|
|
45299
|
+
return TeaCore.from_map(
|
|
45300
|
+
rds_20140815_models.ReplaceRCInstanceSystemDiskResponse(),
|
|
45301
|
+
self.call_api(params, req, runtime)
|
|
45302
|
+
)
|
|
45303
|
+
|
|
45304
|
+
async def replace_rcinstance_system_disk_with_options_async(
|
|
45305
|
+
self,
|
|
45306
|
+
request: rds_20140815_models.ReplaceRCInstanceSystemDiskRequest,
|
|
45307
|
+
runtime: util_models.RuntimeOptions,
|
|
45308
|
+
) -> rds_20140815_models.ReplaceRCInstanceSystemDiskResponse:
|
|
45309
|
+
"""
|
|
45310
|
+
@summary 更换rds custom实例系统盘
|
|
45311
|
+
|
|
45312
|
+
@param request: ReplaceRCInstanceSystemDiskRequest
|
|
45313
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
45314
|
+
@return: ReplaceRCInstanceSystemDiskResponse
|
|
45315
|
+
"""
|
|
45316
|
+
UtilClient.validate_model(request)
|
|
45317
|
+
query = {}
|
|
45318
|
+
if not UtilClient.is_unset(request.image_id):
|
|
45319
|
+
query['ImageId'] = request.image_id
|
|
45320
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
45321
|
+
query['InstanceId'] = request.instance_id
|
|
45322
|
+
if not UtilClient.is_unset(request.is_local_disk):
|
|
45323
|
+
query['IsLocalDisk'] = request.is_local_disk
|
|
45324
|
+
if not UtilClient.is_unset(request.key_pair_name):
|
|
45325
|
+
query['KeyPairName'] = request.key_pair_name
|
|
45326
|
+
if not UtilClient.is_unset(request.password):
|
|
45327
|
+
query['Password'] = request.password
|
|
45328
|
+
if not UtilClient.is_unset(request.region_id):
|
|
45329
|
+
query['RegionId'] = request.region_id
|
|
45330
|
+
req = open_api_models.OpenApiRequest(
|
|
45331
|
+
query=OpenApiUtilClient.query(query)
|
|
45332
|
+
)
|
|
45333
|
+
params = open_api_models.Params(
|
|
45334
|
+
action='ReplaceRCInstanceSystemDisk',
|
|
45335
|
+
version='2014-08-15',
|
|
45336
|
+
protocol='HTTPS',
|
|
45337
|
+
pathname='/',
|
|
45338
|
+
method='POST',
|
|
45339
|
+
auth_type='AK',
|
|
45340
|
+
style='RPC',
|
|
45341
|
+
req_body_type='formData',
|
|
45342
|
+
body_type='json'
|
|
45343
|
+
)
|
|
45344
|
+
return TeaCore.from_map(
|
|
45345
|
+
rds_20140815_models.ReplaceRCInstanceSystemDiskResponse(),
|
|
45346
|
+
await self.call_api_async(params, req, runtime)
|
|
45347
|
+
)
|
|
45348
|
+
|
|
45349
|
+
def replace_rcinstance_system_disk(
|
|
45350
|
+
self,
|
|
45351
|
+
request: rds_20140815_models.ReplaceRCInstanceSystemDiskRequest,
|
|
45352
|
+
) -> rds_20140815_models.ReplaceRCInstanceSystemDiskResponse:
|
|
45353
|
+
"""
|
|
45354
|
+
@summary 更换rds custom实例系统盘
|
|
45355
|
+
|
|
45356
|
+
@param request: ReplaceRCInstanceSystemDiskRequest
|
|
45357
|
+
@return: ReplaceRCInstanceSystemDiskResponse
|
|
45358
|
+
"""
|
|
45359
|
+
runtime = util_models.RuntimeOptions()
|
|
45360
|
+
return self.replace_rcinstance_system_disk_with_options(request, runtime)
|
|
45361
|
+
|
|
45362
|
+
async def replace_rcinstance_system_disk_async(
|
|
45363
|
+
self,
|
|
45364
|
+
request: rds_20140815_models.ReplaceRCInstanceSystemDiskRequest,
|
|
45365
|
+
) -> rds_20140815_models.ReplaceRCInstanceSystemDiskResponse:
|
|
45366
|
+
"""
|
|
45367
|
+
@summary 更换rds custom实例系统盘
|
|
45368
|
+
|
|
45369
|
+
@param request: ReplaceRCInstanceSystemDiskRequest
|
|
45370
|
+
@return: ReplaceRCInstanceSystemDiskResponse
|
|
45371
|
+
"""
|
|
45372
|
+
runtime = util_models.RuntimeOptions()
|
|
45373
|
+
return await self.replace_rcinstance_system_disk_with_options_async(request, runtime)
|
|
45374
|
+
|
|
43351
45375
|
def reset_account_with_options(
|
|
43352
45376
|
self,
|
|
43353
45377
|
request: rds_20140815_models.ResetAccountRequest,
|
|
@@ -43684,6 +45708,8 @@ class Client(OpenApiClient):
|
|
|
43684
45708
|
query = {}
|
|
43685
45709
|
if not UtilClient.is_unset(request.auto_pay):
|
|
43686
45710
|
query['AutoPay'] = request.auto_pay
|
|
45711
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
45712
|
+
query['DiskId'] = request.disk_id
|
|
43687
45713
|
if not UtilClient.is_unset(request.dry_run):
|
|
43688
45714
|
query['DryRun'] = request.dry_run
|
|
43689
45715
|
if not UtilClient.is_unset(request.instance_id):
|
|
@@ -43729,6 +45755,8 @@ class Client(OpenApiClient):
|
|
|
43729
45755
|
query = {}
|
|
43730
45756
|
if not UtilClient.is_unset(request.auto_pay):
|
|
43731
45757
|
query['AutoPay'] = request.auto_pay
|
|
45758
|
+
if not UtilClient.is_unset(request.disk_id):
|
|
45759
|
+
query['DiskId'] = request.disk_id
|
|
43732
45760
|
if not UtilClient.is_unset(request.dry_run):
|
|
43733
45761
|
query['DryRun'] = request.dry_run
|
|
43734
45762
|
if not UtilClient.is_unset(request.instance_id):
|
|
@@ -44674,6 +46702,8 @@ class Client(OpenApiClient):
|
|
|
44674
46702
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
44675
46703
|
if not UtilClient.is_unset(request.security_group_id):
|
|
44676
46704
|
query['SecurityGroupId'] = request.security_group_id
|
|
46705
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46706
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
44677
46707
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
44678
46708
|
query['SystemDisk'] = request.system_disk_shrink
|
|
44679
46709
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -44775,6 +46805,8 @@ class Client(OpenApiClient):
|
|
|
44775
46805
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
44776
46806
|
if not UtilClient.is_unset(request.security_group_id):
|
|
44777
46807
|
query['SecurityGroupId'] = request.security_group_id
|
|
46808
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46809
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
44778
46810
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
44779
46811
|
query['SystemDisk'] = request.system_disk_shrink
|
|
44780
46812
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -44844,15 +46876,13 @@ class Client(OpenApiClient):
|
|
|
44844
46876
|
"""
|
|
44845
46877
|
@summary Resumes an instance.
|
|
44846
46878
|
|
|
44847
|
-
@description ### Supported database engines
|
|
46879
|
+
@description ### [](#)Supported database engines
|
|
44848
46880
|
MySQL
|
|
44849
46881
|
PostgreSQL
|
|
44850
46882
|
SQL Server
|
|
44851
|
-
### References
|
|
44852
|
-
>
|
|
44853
|
-
[
|
|
44854
|
-
[Resume an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
44855
|
-
[Resume an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
46883
|
+
### [](#)References
|
|
46884
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
46885
|
+
[Start an ApsaraDB RDS for SQL instance](https://help.aliyun.com/document_detail/462504.html)
|
|
44856
46886
|
|
|
44857
46887
|
@param request: StartDBInstanceRequest
|
|
44858
46888
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -44921,15 +46951,13 @@ class Client(OpenApiClient):
|
|
|
44921
46951
|
"""
|
|
44922
46952
|
@summary Resumes an instance.
|
|
44923
46953
|
|
|
44924
|
-
@description ### Supported database engines
|
|
46954
|
+
@description ### [](#)Supported database engines
|
|
44925
46955
|
MySQL
|
|
44926
46956
|
PostgreSQL
|
|
44927
46957
|
SQL Server
|
|
44928
|
-
### References
|
|
44929
|
-
>
|
|
44930
|
-
[
|
|
44931
|
-
[Resume an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
44932
|
-
[Resume an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
46958
|
+
### [](#)References
|
|
46959
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
46960
|
+
[Start an ApsaraDB RDS for SQL instance](https://help.aliyun.com/document_detail/462504.html)
|
|
44933
46961
|
|
|
44934
46962
|
@param request: StartDBInstanceRequest
|
|
44935
46963
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -44997,15 +47025,13 @@ class Client(OpenApiClient):
|
|
|
44997
47025
|
"""
|
|
44998
47026
|
@summary Resumes an instance.
|
|
44999
47027
|
|
|
45000
|
-
@description ### Supported database engines
|
|
47028
|
+
@description ### [](#)Supported database engines
|
|
45001
47029
|
MySQL
|
|
45002
47030
|
PostgreSQL
|
|
45003
47031
|
SQL Server
|
|
45004
|
-
### References
|
|
45005
|
-
>
|
|
45006
|
-
[
|
|
45007
|
-
[Resume an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45008
|
-
[Resume an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
47032
|
+
### [](#)References
|
|
47033
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
47034
|
+
[Start an ApsaraDB RDS for SQL instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45009
47035
|
|
|
45010
47036
|
@param request: StartDBInstanceRequest
|
|
45011
47037
|
@return: StartDBInstanceResponse
|
|
@@ -45020,15 +47046,13 @@ class Client(OpenApiClient):
|
|
|
45020
47046
|
"""
|
|
45021
47047
|
@summary Resumes an instance.
|
|
45022
47048
|
|
|
45023
|
-
@description ### Supported database engines
|
|
47049
|
+
@description ### [](#)Supported database engines
|
|
45024
47050
|
MySQL
|
|
45025
47051
|
PostgreSQL
|
|
45026
47052
|
SQL Server
|
|
45027
|
-
### References
|
|
45028
|
-
>
|
|
45029
|
-
[
|
|
45030
|
-
[Resume an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45031
|
-
[Resume an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
47053
|
+
### [](#)References
|
|
47054
|
+
> Before you call this operation, read the following topics and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
47055
|
+
[Start an ApsaraDB RDS for SQL instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45032
47056
|
|
|
45033
47057
|
@param request: StartDBInstanceRequest
|
|
45034
47058
|
@return: StartDBInstanceResponse
|
|
@@ -45150,8 +47174,6 @@ class Client(OpenApiClient):
|
|
|
45150
47174
|
SQL Server
|
|
45151
47175
|
### References
|
|
45152
47176
|
> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
45153
|
-
[Suspend an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/427093.html)
|
|
45154
|
-
[Suspend an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45155
47177
|
[Suspend an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45156
47178
|
|
|
45157
47179
|
@param request: StopDBInstanceRequest
|
|
@@ -45203,8 +47225,6 @@ class Client(OpenApiClient):
|
|
|
45203
47225
|
SQL Server
|
|
45204
47226
|
### References
|
|
45205
47227
|
> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
45206
|
-
[Suspend an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/427093.html)
|
|
45207
|
-
[Suspend an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45208
47228
|
[Suspend an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45209
47229
|
|
|
45210
47230
|
@param request: StopDBInstanceRequest
|
|
@@ -45255,8 +47275,6 @@ class Client(OpenApiClient):
|
|
|
45255
47275
|
SQL Server
|
|
45256
47276
|
### References
|
|
45257
47277
|
> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
45258
|
-
[Suspend an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/427093.html)
|
|
45259
|
-
[Suspend an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45260
47278
|
[Suspend an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45261
47279
|
|
|
45262
47280
|
@param request: StopDBInstanceRequest
|
|
@@ -45278,8 +47296,6 @@ class Client(OpenApiClient):
|
|
|
45278
47296
|
SQL Server
|
|
45279
47297
|
### References
|
|
45280
47298
|
> Before you call this operation, read the following documentation and make sure that you fully understand the prerequisites and impacts of this operation.
|
|
45281
|
-
[Suspend an ApsaraDB RDS for MySQL instance](https://help.aliyun.com/document_detail/427093.html)
|
|
45282
|
-
[Suspend an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/452314.html)
|
|
45283
47299
|
[Suspend an ApsaraDB RDS for SQL Server instance](https://help.aliyun.com/document_detail/462504.html)
|
|
45284
47300
|
|
|
45285
47301
|
@param request: StopDBInstanceRequest
|
|
@@ -46312,6 +48328,8 @@ class Client(OpenApiClient):
|
|
|
46312
48328
|
query = {}
|
|
46313
48329
|
if not UtilClient.is_unset(request.auto_renew):
|
|
46314
48330
|
query['AutoRenew'] = request.auto_renew
|
|
48331
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
48332
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
46315
48333
|
if not UtilClient.is_unset(request.business_info):
|
|
46316
48334
|
query['BusinessInfo'] = request.business_info
|
|
46317
48335
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -46326,6 +48344,8 @@ class Client(OpenApiClient):
|
|
|
46326
48344
|
query['PayType'] = request.pay_type
|
|
46327
48345
|
if not UtilClient.is_unset(request.period):
|
|
46328
48346
|
query['Period'] = request.period
|
|
48347
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
48348
|
+
query['PromotionCode'] = request.promotion_code
|
|
46329
48349
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
46330
48350
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
46331
48351
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -46379,6 +48399,8 @@ class Client(OpenApiClient):
|
|
|
46379
48399
|
query = {}
|
|
46380
48400
|
if not UtilClient.is_unset(request.auto_renew):
|
|
46381
48401
|
query['AutoRenew'] = request.auto_renew
|
|
48402
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
48403
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
46382
48404
|
if not UtilClient.is_unset(request.business_info):
|
|
46383
48405
|
query['BusinessInfo'] = request.business_info
|
|
46384
48406
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -46393,6 +48415,8 @@ class Client(OpenApiClient):
|
|
|
46393
48415
|
query['PayType'] = request.pay_type
|
|
46394
48416
|
if not UtilClient.is_unset(request.period):
|
|
46395
48417
|
query['Period'] = request.period
|
|
48418
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
48419
|
+
query['PromotionCode'] = request.promotion_code
|
|
46396
48420
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
46397
48421
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
46398
48422
|
if not UtilClient.is_unset(request.resource_owner_id):
|