alibabacloud-rds20140815 8.0.1__tar.gz → 9.0.0__tar.gz
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-8.0.1 → alibabacloud_rds20140815-9.0.0}/ChangeLog.md +11 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/PKG-INFO +1 -1
- alibabacloud_rds20140815-9.0.0/alibabacloud_rds20140815/__init__.py +1 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815/client.py +336 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815/models.py +610 -28
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815.egg-info/PKG-INFO +1 -1
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/setup.py +1 -1
- alibabacloud_rds20140815-8.0.1/alibabacloud_rds20140815/__init__.py +0 -1
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/LICENSE +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/MANIFEST.in +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/README-CN.md +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/README.md +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815.egg-info/SOURCES.txt +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815.egg-info/dependency_links.txt +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815.egg-info/requires.txt +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815.egg-info/top_level.txt +0 -0
- {alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/setup.cfg +0 -0
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
2024-12-02 Version: 8.0.1
|
|
2
|
+
- Update API CreateRCDisk: update param InstanceChargeType.
|
|
3
|
+
- Update API DescribeDBProxyEndpoint: update response param.
|
|
4
|
+
- Update API DescribeRCClusters: add param VpcId.
|
|
5
|
+
- Update API DescribeRCClusters: update response param.
|
|
6
|
+
- Update API DescribeRCInstanceAttribute: update response param.
|
|
7
|
+
- Update API DescribeRCInstances: update response param.
|
|
8
|
+
- Update API ModifyDBProxyEndpoint: add param DbEndpointMinSlaveCount.
|
|
9
|
+
- Update API RunRCInstances: add param SpotStrategy.
|
|
10
|
+
|
|
11
|
+
|
|
1
12
|
2024-11-25 Version: 8.0.0
|
|
2
13
|
- Support API AttachRCDisk.
|
|
3
14
|
- Support API AttachRCInstances.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '9.0.0'
|
{alibabacloud_rds20140815-8.0.1 → alibabacloud_rds20140815-9.0.0}/alibabacloud_rds20140815/client.py
RENAMED
|
@@ -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):
|
|
@@ -26584,6 +26692,8 @@ class Client(OpenApiClient):
|
|
|
26584
26692
|
query = {}
|
|
26585
26693
|
if not UtilClient.is_unset(request.instance_id):
|
|
26586
26694
|
query['InstanceId'] = request.instance_id
|
|
26695
|
+
if not UtilClient.is_unset(request.private_ip_address):
|
|
26696
|
+
query['PrivateIpAddress'] = request.private_ip_address
|
|
26587
26697
|
if not UtilClient.is_unset(request.region_id):
|
|
26588
26698
|
query['RegionId'] = request.region_id
|
|
26589
26699
|
req = open_api_models.OpenApiRequest(
|
|
@@ -26621,6 +26731,8 @@ class Client(OpenApiClient):
|
|
|
26621
26731
|
query = {}
|
|
26622
26732
|
if not UtilClient.is_unset(request.instance_id):
|
|
26623
26733
|
query['InstanceId'] = request.instance_id
|
|
26734
|
+
if not UtilClient.is_unset(request.private_ip_address):
|
|
26735
|
+
query['PrivateIpAddress'] = request.private_ip_address
|
|
26624
26736
|
if not UtilClient.is_unset(request.region_id):
|
|
26625
26737
|
query['RegionId'] = request.region_id
|
|
26626
26738
|
req = open_api_models.OpenApiRequest(
|
|
@@ -35361,6 +35473,10 @@ class Client(OpenApiClient):
|
|
|
35361
35473
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35362
35474
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35363
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
|
|
35364
35480
|
req = open_api_models.OpenApiRequest(
|
|
35365
35481
|
query=OpenApiUtilClient.query(query)
|
|
35366
35482
|
)
|
|
@@ -35417,6 +35533,10 @@ class Client(OpenApiClient):
|
|
|
35417
35533
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
35418
35534
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
35419
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
|
|
35420
35540
|
req = open_api_models.OpenApiRequest(
|
|
35421
35541
|
query=OpenApiUtilClient.query(query)
|
|
35422
35542
|
)
|
|
@@ -37862,6 +37982,8 @@ class Client(OpenApiClient):
|
|
|
37862
37982
|
query['EngineVersion'] = request.engine_version
|
|
37863
37983
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37864
37984
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
37985
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
37986
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37865
37987
|
if not UtilClient.is_unset(request.owner_account):
|
|
37866
37988
|
query['OwnerAccount'] = request.owner_account
|
|
37867
37989
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -37971,6 +38093,8 @@ class Client(OpenApiClient):
|
|
|
37971
38093
|
query['EngineVersion'] = request.engine_version
|
|
37972
38094
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37973
38095
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
38096
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
38097
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37974
38098
|
if not UtilClient.is_unset(request.owner_account):
|
|
37975
38099
|
query['OwnerAccount'] = request.owner_account
|
|
37976
38100
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -42149,6 +42273,8 @@ class Client(OpenApiClient):
|
|
|
42149
42273
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42150
42274
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42151
42275
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42276
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42277
|
+
query['ResourceType'] = request.resource_type
|
|
42152
42278
|
req = open_api_models.OpenApiRequest(
|
|
42153
42279
|
query=OpenApiUtilClient.query(query)
|
|
42154
42280
|
)
|
|
@@ -42205,6 +42331,8 @@ class Client(OpenApiClient):
|
|
|
42205
42331
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42206
42332
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42207
42333
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42334
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42335
|
+
query['ResourceType'] = request.resource_type
|
|
42208
42336
|
req = open_api_models.OpenApiRequest(
|
|
42209
42337
|
query=OpenApiUtilClient.query(query)
|
|
42210
42338
|
)
|
|
@@ -48008,6 +48136,110 @@ class Client(OpenApiClient):
|
|
|
48008
48136
|
runtime = util_models.RuntimeOptions()
|
|
48009
48137
|
return await self.sync_rckey_pair_with_options_async(request, runtime)
|
|
48010
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
|
+
|
|
48011
48243
|
def tag_resources_with_options(
|
|
48012
48244
|
self,
|
|
48013
48245
|
request: rds_20140815_models.TagResourcesRequest,
|
|
@@ -48492,6 +48724,110 @@ class Client(OpenApiClient):
|
|
|
48492
48724
|
runtime = util_models.RuntimeOptions()
|
|
48493
48725
|
return await self.transform_dbinstance_pay_type_with_options_async(request, runtime)
|
|
48494
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
|
+
|
|
48495
48831
|
def unlock_account_with_options(
|
|
48496
48832
|
self,
|
|
48497
48833
|
request: rds_20140815_models.UnlockAccountRequest,
|