alibabacloud-rds20140815 8.0.0__py3-none-any.whl → 9.0.0__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 +352 -4
- alibabacloud_rds20140815/models.py +700 -64
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-9.0.0.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-9.0.0.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-8.0.0.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-9.0.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-9.0.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-8.0.0.dist-info → alibabacloud_rds20140815-9.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '
|
|
1
|
+
__version__ = '9.0.0'
|
|
@@ -788,6 +788,110 @@ 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 associate_eip_address_with_rcinstance_with_options(
|
|
792
|
+
self,
|
|
793
|
+
request: rds_20140815_models.AssociateEipAddressWithRCInstanceRequest,
|
|
794
|
+
runtime: util_models.RuntimeOptions,
|
|
795
|
+
) -> rds_20140815_models.AssociateEipAddressWithRCInstanceResponse:
|
|
796
|
+
"""
|
|
797
|
+
@summary 绑定弹性网卡到RDS Custom实例
|
|
798
|
+
|
|
799
|
+
@param request: AssociateEipAddressWithRCInstanceRequest
|
|
800
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
801
|
+
@return: AssociateEipAddressWithRCInstanceResponse
|
|
802
|
+
"""
|
|
803
|
+
UtilClient.validate_model(request)
|
|
804
|
+
query = {}
|
|
805
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
806
|
+
query['AllocationId'] = request.allocation_id
|
|
807
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
808
|
+
query['InstanceId'] = request.instance_id
|
|
809
|
+
if not UtilClient.is_unset(request.region_id):
|
|
810
|
+
query['RegionId'] = request.region_id
|
|
811
|
+
req = open_api_models.OpenApiRequest(
|
|
812
|
+
query=OpenApiUtilClient.query(query)
|
|
813
|
+
)
|
|
814
|
+
params = open_api_models.Params(
|
|
815
|
+
action='AssociateEipAddressWithRCInstance',
|
|
816
|
+
version='2014-08-15',
|
|
817
|
+
protocol='HTTPS',
|
|
818
|
+
pathname='/',
|
|
819
|
+
method='POST',
|
|
820
|
+
auth_type='AK',
|
|
821
|
+
style='RPC',
|
|
822
|
+
req_body_type='formData',
|
|
823
|
+
body_type='json'
|
|
824
|
+
)
|
|
825
|
+
return TeaCore.from_map(
|
|
826
|
+
rds_20140815_models.AssociateEipAddressWithRCInstanceResponse(),
|
|
827
|
+
self.call_api(params, req, runtime)
|
|
828
|
+
)
|
|
829
|
+
|
|
830
|
+
async def associate_eip_address_with_rcinstance_with_options_async(
|
|
831
|
+
self,
|
|
832
|
+
request: rds_20140815_models.AssociateEipAddressWithRCInstanceRequest,
|
|
833
|
+
runtime: util_models.RuntimeOptions,
|
|
834
|
+
) -> rds_20140815_models.AssociateEipAddressWithRCInstanceResponse:
|
|
835
|
+
"""
|
|
836
|
+
@summary 绑定弹性网卡到RDS Custom实例
|
|
837
|
+
|
|
838
|
+
@param request: AssociateEipAddressWithRCInstanceRequest
|
|
839
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
840
|
+
@return: AssociateEipAddressWithRCInstanceResponse
|
|
841
|
+
"""
|
|
842
|
+
UtilClient.validate_model(request)
|
|
843
|
+
query = {}
|
|
844
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
845
|
+
query['AllocationId'] = request.allocation_id
|
|
846
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
847
|
+
query['InstanceId'] = request.instance_id
|
|
848
|
+
if not UtilClient.is_unset(request.region_id):
|
|
849
|
+
query['RegionId'] = request.region_id
|
|
850
|
+
req = open_api_models.OpenApiRequest(
|
|
851
|
+
query=OpenApiUtilClient.query(query)
|
|
852
|
+
)
|
|
853
|
+
params = open_api_models.Params(
|
|
854
|
+
action='AssociateEipAddressWithRCInstance',
|
|
855
|
+
version='2014-08-15',
|
|
856
|
+
protocol='HTTPS',
|
|
857
|
+
pathname='/',
|
|
858
|
+
method='POST',
|
|
859
|
+
auth_type='AK',
|
|
860
|
+
style='RPC',
|
|
861
|
+
req_body_type='formData',
|
|
862
|
+
body_type='json'
|
|
863
|
+
)
|
|
864
|
+
return TeaCore.from_map(
|
|
865
|
+
rds_20140815_models.AssociateEipAddressWithRCInstanceResponse(),
|
|
866
|
+
await self.call_api_async(params, req, runtime)
|
|
867
|
+
)
|
|
868
|
+
|
|
869
|
+
def associate_eip_address_with_rcinstance(
|
|
870
|
+
self,
|
|
871
|
+
request: rds_20140815_models.AssociateEipAddressWithRCInstanceRequest,
|
|
872
|
+
) -> rds_20140815_models.AssociateEipAddressWithRCInstanceResponse:
|
|
873
|
+
"""
|
|
874
|
+
@summary 绑定弹性网卡到RDS Custom实例
|
|
875
|
+
|
|
876
|
+
@param request: AssociateEipAddressWithRCInstanceRequest
|
|
877
|
+
@return: AssociateEipAddressWithRCInstanceResponse
|
|
878
|
+
"""
|
|
879
|
+
runtime = util_models.RuntimeOptions()
|
|
880
|
+
return self.associate_eip_address_with_rcinstance_with_options(request, runtime)
|
|
881
|
+
|
|
882
|
+
async def associate_eip_address_with_rcinstance_async(
|
|
883
|
+
self,
|
|
884
|
+
request: rds_20140815_models.AssociateEipAddressWithRCInstanceRequest,
|
|
885
|
+
) -> rds_20140815_models.AssociateEipAddressWithRCInstanceResponse:
|
|
886
|
+
"""
|
|
887
|
+
@summary 绑定弹性网卡到RDS Custom实例
|
|
888
|
+
|
|
889
|
+
@param request: AssociateEipAddressWithRCInstanceRequest
|
|
890
|
+
@return: AssociateEipAddressWithRCInstanceResponse
|
|
891
|
+
"""
|
|
892
|
+
runtime = util_models.RuntimeOptions()
|
|
893
|
+
return await self.associate_eip_address_with_rcinstance_with_options_async(request, runtime)
|
|
894
|
+
|
|
791
895
|
def attach_rcdisk_with_options(
|
|
792
896
|
self,
|
|
793
897
|
request: rds_20140815_models.AttachRCDiskRequest,
|
|
@@ -3964,6 +4068,8 @@ class Client(OpenApiClient):
|
|
|
3964
4068
|
query['InstanceNetworkType'] = request.instance_network_type
|
|
3965
4069
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
3966
4070
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
4071
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
4072
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
3967
4073
|
if not UtilClient.is_unset(request.pay_type):
|
|
3968
4074
|
query['PayType'] = request.pay_type
|
|
3969
4075
|
if not UtilClient.is_unset(request.period):
|
|
@@ -4135,6 +4241,8 @@ class Client(OpenApiClient):
|
|
|
4135
4241
|
query['InstanceNetworkType'] = request.instance_network_type
|
|
4136
4242
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
4137
4243
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
4244
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
4245
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
4138
4246
|
if not UtilClient.is_unset(request.pay_type):
|
|
4139
4247
|
query['PayType'] = request.pay_type
|
|
4140
4248
|
if not UtilClient.is_unset(request.period):
|
|
@@ -26208,6 +26316,8 @@ class Client(OpenApiClient):
|
|
|
26208
26316
|
query = {}
|
|
26209
26317
|
if not UtilClient.is_unset(request.region_id):
|
|
26210
26318
|
query['RegionId'] = request.region_id
|
|
26319
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26320
|
+
query['VpcId'] = request.vpc_id
|
|
26211
26321
|
req = open_api_models.OpenApiRequest(
|
|
26212
26322
|
query=OpenApiUtilClient.query(query)
|
|
26213
26323
|
)
|
|
@@ -26243,6 +26353,8 @@ class Client(OpenApiClient):
|
|
|
26243
26353
|
query = {}
|
|
26244
26354
|
if not UtilClient.is_unset(request.region_id):
|
|
26245
26355
|
query['RegionId'] = request.region_id
|
|
26356
|
+
if not UtilClient.is_unset(request.vpc_id):
|
|
26357
|
+
query['VpcId'] = request.vpc_id
|
|
26246
26358
|
req = open_api_models.OpenApiRequest(
|
|
26247
26359
|
query=OpenApiUtilClient.query(query)
|
|
26248
26360
|
)
|
|
@@ -26580,6 +26692,8 @@ class Client(OpenApiClient):
|
|
|
26580
26692
|
query = {}
|
|
26581
26693
|
if not UtilClient.is_unset(request.instance_id):
|
|
26582
26694
|
query['InstanceId'] = request.instance_id
|
|
26695
|
+
if not UtilClient.is_unset(request.private_ip_address):
|
|
26696
|
+
query['PrivateIpAddress'] = request.private_ip_address
|
|
26583
26697
|
if not UtilClient.is_unset(request.region_id):
|
|
26584
26698
|
query['RegionId'] = request.region_id
|
|
26585
26699
|
req = open_api_models.OpenApiRequest(
|
|
@@ -26617,6 +26731,8 @@ class Client(OpenApiClient):
|
|
|
26617
26731
|
query = {}
|
|
26618
26732
|
if not UtilClient.is_unset(request.instance_id):
|
|
26619
26733
|
query['InstanceId'] = request.instance_id
|
|
26734
|
+
if not UtilClient.is_unset(request.private_ip_address):
|
|
26735
|
+
query['PrivateIpAddress'] = request.private_ip_address
|
|
26620
26736
|
if not UtilClient.is_unset(request.region_id):
|
|
26621
26737
|
query['RegionId'] = request.region_id
|
|
26622
26738
|
req = open_api_models.OpenApiRequest(
|
|
@@ -35357,6 +35473,10 @@ class Client(OpenApiClient):
|
|
|
35357
35473
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35358
35474
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35359
35475
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
35476
|
+
if not UtilClient.is_unset(request.switch_time):
|
|
35477
|
+
query['SwitchTime'] = request.switch_time
|
|
35478
|
+
if not UtilClient.is_unset(request.switch_time_mode):
|
|
35479
|
+
query['SwitchTimeMode'] = request.switch_time_mode
|
|
35360
35480
|
req = open_api_models.OpenApiRequest(
|
|
35361
35481
|
query=OpenApiUtilClient.query(query)
|
|
35362
35482
|
)
|
|
@@ -35413,6 +35533,10 @@ class Client(OpenApiClient):
|
|
|
35413
35533
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35414
35534
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35415
35535
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
35536
|
+
if not UtilClient.is_unset(request.switch_time):
|
|
35537
|
+
query['SwitchTime'] = request.switch_time
|
|
35538
|
+
if not UtilClient.is_unset(request.switch_time_mode):
|
|
35539
|
+
query['SwitchTimeMode'] = request.switch_time_mode
|
|
35416
35540
|
req = open_api_models.OpenApiRequest(
|
|
35417
35541
|
query=OpenApiUtilClient.query(query)
|
|
35418
35542
|
)
|
|
@@ -37858,6 +37982,8 @@ class Client(OpenApiClient):
|
|
|
37858
37982
|
query['EngineVersion'] = request.engine_version
|
|
37859
37983
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37860
37984
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
37985
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
37986
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37861
37987
|
if not UtilClient.is_unset(request.owner_account):
|
|
37862
37988
|
query['OwnerAccount'] = request.owner_account
|
|
37863
37989
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -37967,6 +38093,8 @@ class Client(OpenApiClient):
|
|
|
37967
38093
|
query['EngineVersion'] = request.engine_version
|
|
37968
38094
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37969
38095
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
38096
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
38097
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37970
38098
|
if not UtilClient.is_unset(request.owner_account):
|
|
37971
38099
|
query['OwnerAccount'] = request.owner_account
|
|
37972
38100
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -38662,6 +38790,8 @@ class Client(OpenApiClient):
|
|
|
38662
38790
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
38663
38791
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
38664
38792
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38793
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38794
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
38665
38795
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
38666
38796
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
38667
38797
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -38741,6 +38871,8 @@ class Client(OpenApiClient):
|
|
|
38741
38871
|
query['DBProxyEngineType'] = request.dbproxy_engine_type
|
|
38742
38872
|
if not UtilClient.is_unset(request.db_endpoint_aliases):
|
|
38743
38873
|
query['DbEndpointAliases'] = request.db_endpoint_aliases
|
|
38874
|
+
if not UtilClient.is_unset(request.db_endpoint_min_slave_count):
|
|
38875
|
+
query['DbEndpointMinSlaveCount'] = request.db_endpoint_min_slave_count
|
|
38744
38876
|
if not UtilClient.is_unset(request.db_endpoint_operator):
|
|
38745
38877
|
query['DbEndpointOperator'] = request.db_endpoint_operator
|
|
38746
38878
|
if not UtilClient.is_unset(request.db_endpoint_read_write_mode):
|
|
@@ -41578,7 +41710,7 @@ class Client(OpenApiClient):
|
|
|
41578
41710
|
runtime: util_models.RuntimeOptions,
|
|
41579
41711
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41580
41712
|
"""
|
|
41581
|
-
@summary
|
|
41713
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41582
41714
|
|
|
41583
41715
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41584
41716
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -41617,7 +41749,7 @@ class Client(OpenApiClient):
|
|
|
41617
41749
|
runtime: util_models.RuntimeOptions,
|
|
41618
41750
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41619
41751
|
"""
|
|
41620
|
-
@summary
|
|
41752
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41621
41753
|
|
|
41622
41754
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41623
41755
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -41655,7 +41787,7 @@ class Client(OpenApiClient):
|
|
|
41655
41787
|
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41656
41788
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41657
41789
|
"""
|
|
41658
|
-
@summary
|
|
41790
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41659
41791
|
|
|
41660
41792
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41661
41793
|
@return: ModifyRCInstanceDescriptionResponse
|
|
@@ -41668,7 +41800,7 @@ class Client(OpenApiClient):
|
|
|
41668
41800
|
request: rds_20140815_models.ModifyRCInstanceDescriptionRequest,
|
|
41669
41801
|
) -> rds_20140815_models.ModifyRCInstanceDescriptionResponse:
|
|
41670
41802
|
"""
|
|
41671
|
-
@summary
|
|
41803
|
+
@summary Modifies the name of an RDS Custom instance.
|
|
41672
41804
|
|
|
41673
41805
|
@param request: ModifyRCInstanceDescriptionRequest
|
|
41674
41806
|
@return: ModifyRCInstanceDescriptionResponse
|
|
@@ -42141,6 +42273,8 @@ class Client(OpenApiClient):
|
|
|
42141
42273
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42142
42274
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42143
42275
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42276
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42277
|
+
query['ResourceType'] = request.resource_type
|
|
42144
42278
|
req = open_api_models.OpenApiRequest(
|
|
42145
42279
|
query=OpenApiUtilClient.query(query)
|
|
42146
42280
|
)
|
|
@@ -42197,6 +42331,8 @@ class Client(OpenApiClient):
|
|
|
42197
42331
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42198
42332
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42199
42333
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42334
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42335
|
+
query['ResourceType'] = request.resource_type
|
|
42200
42336
|
req = open_api_models.OpenApiRequest(
|
|
42201
42337
|
query=OpenApiUtilClient.query(query)
|
|
42202
42338
|
)
|
|
@@ -46694,6 +46830,8 @@ class Client(OpenApiClient):
|
|
|
46694
46830
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
46695
46831
|
if not UtilClient.is_unset(request.security_group_id):
|
|
46696
46832
|
query['SecurityGroupId'] = request.security_group_id
|
|
46833
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46834
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
46697
46835
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
46698
46836
|
query['SystemDisk'] = request.system_disk_shrink
|
|
46699
46837
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -46795,6 +46933,8 @@ class Client(OpenApiClient):
|
|
|
46795
46933
|
query['SecurityEnhancementStrategy'] = request.security_enhancement_strategy
|
|
46796
46934
|
if not UtilClient.is_unset(request.security_group_id):
|
|
46797
46935
|
query['SecurityGroupId'] = request.security_group_id
|
|
46936
|
+
if not UtilClient.is_unset(request.spot_strategy):
|
|
46937
|
+
query['SpotStrategy'] = request.spot_strategy
|
|
46798
46938
|
if not UtilClient.is_unset(request.system_disk_shrink):
|
|
46799
46939
|
query['SystemDisk'] = request.system_disk_shrink
|
|
46800
46940
|
if not UtilClient.is_unset(request.tag):
|
|
@@ -47996,6 +48136,110 @@ class Client(OpenApiClient):
|
|
|
47996
48136
|
runtime = util_models.RuntimeOptions()
|
|
47997
48137
|
return await self.sync_rckey_pair_with_options_async(request, runtime)
|
|
47998
48138
|
|
|
48139
|
+
def sync_rcsecurity_group_with_options(
|
|
48140
|
+
self,
|
|
48141
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48142
|
+
runtime: util_models.RuntimeOptions,
|
|
48143
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48144
|
+
"""
|
|
48145
|
+
@summary 同步RDS Custom的安全组
|
|
48146
|
+
|
|
48147
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48148
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48149
|
+
@return: SyncRCSecurityGroupResponse
|
|
48150
|
+
"""
|
|
48151
|
+
UtilClient.validate_model(request)
|
|
48152
|
+
query = {}
|
|
48153
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48154
|
+
query['InstanceId'] = request.instance_id
|
|
48155
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48156
|
+
query['RegionId'] = request.region_id
|
|
48157
|
+
if not UtilClient.is_unset(request.security_group_id):
|
|
48158
|
+
query['SecurityGroupId'] = request.security_group_id
|
|
48159
|
+
req = open_api_models.OpenApiRequest(
|
|
48160
|
+
query=OpenApiUtilClient.query(query)
|
|
48161
|
+
)
|
|
48162
|
+
params = open_api_models.Params(
|
|
48163
|
+
action='SyncRCSecurityGroup',
|
|
48164
|
+
version='2014-08-15',
|
|
48165
|
+
protocol='HTTPS',
|
|
48166
|
+
pathname='/',
|
|
48167
|
+
method='POST',
|
|
48168
|
+
auth_type='AK',
|
|
48169
|
+
style='RPC',
|
|
48170
|
+
req_body_type='formData',
|
|
48171
|
+
body_type='json'
|
|
48172
|
+
)
|
|
48173
|
+
return TeaCore.from_map(
|
|
48174
|
+
rds_20140815_models.SyncRCSecurityGroupResponse(),
|
|
48175
|
+
self.call_api(params, req, runtime)
|
|
48176
|
+
)
|
|
48177
|
+
|
|
48178
|
+
async def sync_rcsecurity_group_with_options_async(
|
|
48179
|
+
self,
|
|
48180
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48181
|
+
runtime: util_models.RuntimeOptions,
|
|
48182
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48183
|
+
"""
|
|
48184
|
+
@summary 同步RDS Custom的安全组
|
|
48185
|
+
|
|
48186
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48187
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48188
|
+
@return: SyncRCSecurityGroupResponse
|
|
48189
|
+
"""
|
|
48190
|
+
UtilClient.validate_model(request)
|
|
48191
|
+
query = {}
|
|
48192
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48193
|
+
query['InstanceId'] = request.instance_id
|
|
48194
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48195
|
+
query['RegionId'] = request.region_id
|
|
48196
|
+
if not UtilClient.is_unset(request.security_group_id):
|
|
48197
|
+
query['SecurityGroupId'] = request.security_group_id
|
|
48198
|
+
req = open_api_models.OpenApiRequest(
|
|
48199
|
+
query=OpenApiUtilClient.query(query)
|
|
48200
|
+
)
|
|
48201
|
+
params = open_api_models.Params(
|
|
48202
|
+
action='SyncRCSecurityGroup',
|
|
48203
|
+
version='2014-08-15',
|
|
48204
|
+
protocol='HTTPS',
|
|
48205
|
+
pathname='/',
|
|
48206
|
+
method='POST',
|
|
48207
|
+
auth_type='AK',
|
|
48208
|
+
style='RPC',
|
|
48209
|
+
req_body_type='formData',
|
|
48210
|
+
body_type='json'
|
|
48211
|
+
)
|
|
48212
|
+
return TeaCore.from_map(
|
|
48213
|
+
rds_20140815_models.SyncRCSecurityGroupResponse(),
|
|
48214
|
+
await self.call_api_async(params, req, runtime)
|
|
48215
|
+
)
|
|
48216
|
+
|
|
48217
|
+
def sync_rcsecurity_group(
|
|
48218
|
+
self,
|
|
48219
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48220
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48221
|
+
"""
|
|
48222
|
+
@summary 同步RDS Custom的安全组
|
|
48223
|
+
|
|
48224
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48225
|
+
@return: SyncRCSecurityGroupResponse
|
|
48226
|
+
"""
|
|
48227
|
+
runtime = util_models.RuntimeOptions()
|
|
48228
|
+
return self.sync_rcsecurity_group_with_options(request, runtime)
|
|
48229
|
+
|
|
48230
|
+
async def sync_rcsecurity_group_async(
|
|
48231
|
+
self,
|
|
48232
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48233
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48234
|
+
"""
|
|
48235
|
+
@summary 同步RDS Custom的安全组
|
|
48236
|
+
|
|
48237
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48238
|
+
@return: SyncRCSecurityGroupResponse
|
|
48239
|
+
"""
|
|
48240
|
+
runtime = util_models.RuntimeOptions()
|
|
48241
|
+
return await self.sync_rcsecurity_group_with_options_async(request, runtime)
|
|
48242
|
+
|
|
47999
48243
|
def tag_resources_with_options(
|
|
48000
48244
|
self,
|
|
48001
48245
|
request: rds_20140815_models.TagResourcesRequest,
|
|
@@ -48480,6 +48724,110 @@ class Client(OpenApiClient):
|
|
|
48480
48724
|
runtime = util_models.RuntimeOptions()
|
|
48481
48725
|
return await self.transform_dbinstance_pay_type_with_options_async(request, runtime)
|
|
48482
48726
|
|
|
48727
|
+
def unassociate_eip_address_with_rcinstance_with_options(
|
|
48728
|
+
self,
|
|
48729
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48730
|
+
runtime: util_models.RuntimeOptions,
|
|
48731
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48732
|
+
"""
|
|
48733
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48734
|
+
|
|
48735
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48736
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48737
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48738
|
+
"""
|
|
48739
|
+
UtilClient.validate_model(request)
|
|
48740
|
+
query = {}
|
|
48741
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
48742
|
+
query['AllocationId'] = request.allocation_id
|
|
48743
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48744
|
+
query['InstanceId'] = request.instance_id
|
|
48745
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48746
|
+
query['RegionId'] = request.region_id
|
|
48747
|
+
req = open_api_models.OpenApiRequest(
|
|
48748
|
+
query=OpenApiUtilClient.query(query)
|
|
48749
|
+
)
|
|
48750
|
+
params = open_api_models.Params(
|
|
48751
|
+
action='UnassociateEipAddressWithRCInstance',
|
|
48752
|
+
version='2014-08-15',
|
|
48753
|
+
protocol='HTTPS',
|
|
48754
|
+
pathname='/',
|
|
48755
|
+
method='POST',
|
|
48756
|
+
auth_type='AK',
|
|
48757
|
+
style='RPC',
|
|
48758
|
+
req_body_type='formData',
|
|
48759
|
+
body_type='json'
|
|
48760
|
+
)
|
|
48761
|
+
return TeaCore.from_map(
|
|
48762
|
+
rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse(),
|
|
48763
|
+
self.call_api(params, req, runtime)
|
|
48764
|
+
)
|
|
48765
|
+
|
|
48766
|
+
async def unassociate_eip_address_with_rcinstance_with_options_async(
|
|
48767
|
+
self,
|
|
48768
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48769
|
+
runtime: util_models.RuntimeOptions,
|
|
48770
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48771
|
+
"""
|
|
48772
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48773
|
+
|
|
48774
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48775
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48776
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48777
|
+
"""
|
|
48778
|
+
UtilClient.validate_model(request)
|
|
48779
|
+
query = {}
|
|
48780
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
48781
|
+
query['AllocationId'] = request.allocation_id
|
|
48782
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48783
|
+
query['InstanceId'] = request.instance_id
|
|
48784
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48785
|
+
query['RegionId'] = request.region_id
|
|
48786
|
+
req = open_api_models.OpenApiRequest(
|
|
48787
|
+
query=OpenApiUtilClient.query(query)
|
|
48788
|
+
)
|
|
48789
|
+
params = open_api_models.Params(
|
|
48790
|
+
action='UnassociateEipAddressWithRCInstance',
|
|
48791
|
+
version='2014-08-15',
|
|
48792
|
+
protocol='HTTPS',
|
|
48793
|
+
pathname='/',
|
|
48794
|
+
method='POST',
|
|
48795
|
+
auth_type='AK',
|
|
48796
|
+
style='RPC',
|
|
48797
|
+
req_body_type='formData',
|
|
48798
|
+
body_type='json'
|
|
48799
|
+
)
|
|
48800
|
+
return TeaCore.from_map(
|
|
48801
|
+
rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse(),
|
|
48802
|
+
await self.call_api_async(params, req, runtime)
|
|
48803
|
+
)
|
|
48804
|
+
|
|
48805
|
+
def unassociate_eip_address_with_rcinstance(
|
|
48806
|
+
self,
|
|
48807
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48808
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48809
|
+
"""
|
|
48810
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48811
|
+
|
|
48812
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48813
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48814
|
+
"""
|
|
48815
|
+
runtime = util_models.RuntimeOptions()
|
|
48816
|
+
return self.unassociate_eip_address_with_rcinstance_with_options(request, runtime)
|
|
48817
|
+
|
|
48818
|
+
async def unassociate_eip_address_with_rcinstance_async(
|
|
48819
|
+
self,
|
|
48820
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48821
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48822
|
+
"""
|
|
48823
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48824
|
+
|
|
48825
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48826
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48827
|
+
"""
|
|
48828
|
+
runtime = util_models.RuntimeOptions()
|
|
48829
|
+
return await self.unassociate_eip_address_with_rcinstance_with_options_async(request, runtime)
|
|
48830
|
+
|
|
48483
48831
|
def unlock_account_with_options(
|
|
48484
48832
|
self,
|
|
48485
48833
|
request: rds_20140815_models.UnlockAccountRequest,
|