alibabacloud-rds20140815 8.0.1__py3-none-any.whl → 9.1.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 +340 -0
- alibabacloud_rds20140815/models.py +646 -28
- {alibabacloud_rds20140815-8.0.1.dist-info → alibabacloud_rds20140815-9.1.0.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-9.1.0.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-8.0.1.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-8.0.1.dist-info → alibabacloud_rds20140815-9.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-8.0.1.dist-info → alibabacloud_rds20140815-9.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-8.0.1.dist-info → alibabacloud_rds20140815-9.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '
|
|
1
|
+
__version__ = '9.1.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):
|
|
@@ -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
|
)
|
|
@@ -37844,6 +37964,8 @@ class Client(OpenApiClient):
|
|
|
37844
37964
|
query['Category'] = request.category
|
|
37845
37965
|
if not UtilClient.is_unset(request.cold_data_enabled):
|
|
37846
37966
|
query['ColdDataEnabled'] = request.cold_data_enabled
|
|
37967
|
+
if not UtilClient.is_unset(request.compression_mode):
|
|
37968
|
+
query['CompressionMode'] = request.compression_mode
|
|
37847
37969
|
if not UtilClient.is_unset(request.dbinstance_class):
|
|
37848
37970
|
query['DBInstanceClass'] = request.dbinstance_class
|
|
37849
37971
|
if not UtilClient.is_unset(request.dbinstance_id):
|
|
@@ -37862,6 +37984,8 @@ class Client(OpenApiClient):
|
|
|
37862
37984
|
query['EngineVersion'] = request.engine_version
|
|
37863
37985
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37864
37986
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
37987
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
37988
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37865
37989
|
if not UtilClient.is_unset(request.owner_account):
|
|
37866
37990
|
query['OwnerAccount'] = request.owner_account
|
|
37867
37991
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -37953,6 +38077,8 @@ class Client(OpenApiClient):
|
|
|
37953
38077
|
query['Category'] = request.category
|
|
37954
38078
|
if not UtilClient.is_unset(request.cold_data_enabled):
|
|
37955
38079
|
query['ColdDataEnabled'] = request.cold_data_enabled
|
|
38080
|
+
if not UtilClient.is_unset(request.compression_mode):
|
|
38081
|
+
query['CompressionMode'] = request.compression_mode
|
|
37956
38082
|
if not UtilClient.is_unset(request.dbinstance_class):
|
|
37957
38083
|
query['DBInstanceClass'] = request.dbinstance_class
|
|
37958
38084
|
if not UtilClient.is_unset(request.dbinstance_id):
|
|
@@ -37971,6 +38097,8 @@ class Client(OpenApiClient):
|
|
|
37971
38097
|
query['EngineVersion'] = request.engine_version
|
|
37972
38098
|
if not UtilClient.is_unset(request.io_acceleration_enabled):
|
|
37973
38099
|
query['IoAccelerationEnabled'] = request.io_acceleration_enabled
|
|
38100
|
+
if not UtilClient.is_unset(request.optimized_writes):
|
|
38101
|
+
query['OptimizedWrites'] = request.optimized_writes
|
|
37974
38102
|
if not UtilClient.is_unset(request.owner_account):
|
|
37975
38103
|
query['OwnerAccount'] = request.owner_account
|
|
37976
38104
|
if not UtilClient.is_unset(request.owner_id):
|
|
@@ -42149,6 +42277,8 @@ class Client(OpenApiClient):
|
|
|
42149
42277
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42150
42278
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42151
42279
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42280
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42281
|
+
query['ResourceType'] = request.resource_type
|
|
42152
42282
|
req = open_api_models.OpenApiRequest(
|
|
42153
42283
|
query=OpenApiUtilClient.query(query)
|
|
42154
42284
|
)
|
|
@@ -42205,6 +42335,8 @@ class Client(OpenApiClient):
|
|
|
42205
42335
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
42206
42336
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
42207
42337
|
query['ResourceOwnerId'] = request.resource_owner_id
|
|
42338
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
42339
|
+
query['ResourceType'] = request.resource_type
|
|
42208
42340
|
req = open_api_models.OpenApiRequest(
|
|
42209
42341
|
query=OpenApiUtilClient.query(query)
|
|
42210
42342
|
)
|
|
@@ -48008,6 +48140,110 @@ class Client(OpenApiClient):
|
|
|
48008
48140
|
runtime = util_models.RuntimeOptions()
|
|
48009
48141
|
return await self.sync_rckey_pair_with_options_async(request, runtime)
|
|
48010
48142
|
|
|
48143
|
+
def sync_rcsecurity_group_with_options(
|
|
48144
|
+
self,
|
|
48145
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48146
|
+
runtime: util_models.RuntimeOptions,
|
|
48147
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48148
|
+
"""
|
|
48149
|
+
@summary 同步RDS Custom的安全组
|
|
48150
|
+
|
|
48151
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48152
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48153
|
+
@return: SyncRCSecurityGroupResponse
|
|
48154
|
+
"""
|
|
48155
|
+
UtilClient.validate_model(request)
|
|
48156
|
+
query = {}
|
|
48157
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48158
|
+
query['InstanceId'] = request.instance_id
|
|
48159
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48160
|
+
query['RegionId'] = request.region_id
|
|
48161
|
+
if not UtilClient.is_unset(request.security_group_id):
|
|
48162
|
+
query['SecurityGroupId'] = request.security_group_id
|
|
48163
|
+
req = open_api_models.OpenApiRequest(
|
|
48164
|
+
query=OpenApiUtilClient.query(query)
|
|
48165
|
+
)
|
|
48166
|
+
params = open_api_models.Params(
|
|
48167
|
+
action='SyncRCSecurityGroup',
|
|
48168
|
+
version='2014-08-15',
|
|
48169
|
+
protocol='HTTPS',
|
|
48170
|
+
pathname='/',
|
|
48171
|
+
method='POST',
|
|
48172
|
+
auth_type='AK',
|
|
48173
|
+
style='RPC',
|
|
48174
|
+
req_body_type='formData',
|
|
48175
|
+
body_type='json'
|
|
48176
|
+
)
|
|
48177
|
+
return TeaCore.from_map(
|
|
48178
|
+
rds_20140815_models.SyncRCSecurityGroupResponse(),
|
|
48179
|
+
self.call_api(params, req, runtime)
|
|
48180
|
+
)
|
|
48181
|
+
|
|
48182
|
+
async def sync_rcsecurity_group_with_options_async(
|
|
48183
|
+
self,
|
|
48184
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48185
|
+
runtime: util_models.RuntimeOptions,
|
|
48186
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48187
|
+
"""
|
|
48188
|
+
@summary 同步RDS Custom的安全组
|
|
48189
|
+
|
|
48190
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48191
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48192
|
+
@return: SyncRCSecurityGroupResponse
|
|
48193
|
+
"""
|
|
48194
|
+
UtilClient.validate_model(request)
|
|
48195
|
+
query = {}
|
|
48196
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48197
|
+
query['InstanceId'] = request.instance_id
|
|
48198
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48199
|
+
query['RegionId'] = request.region_id
|
|
48200
|
+
if not UtilClient.is_unset(request.security_group_id):
|
|
48201
|
+
query['SecurityGroupId'] = request.security_group_id
|
|
48202
|
+
req = open_api_models.OpenApiRequest(
|
|
48203
|
+
query=OpenApiUtilClient.query(query)
|
|
48204
|
+
)
|
|
48205
|
+
params = open_api_models.Params(
|
|
48206
|
+
action='SyncRCSecurityGroup',
|
|
48207
|
+
version='2014-08-15',
|
|
48208
|
+
protocol='HTTPS',
|
|
48209
|
+
pathname='/',
|
|
48210
|
+
method='POST',
|
|
48211
|
+
auth_type='AK',
|
|
48212
|
+
style='RPC',
|
|
48213
|
+
req_body_type='formData',
|
|
48214
|
+
body_type='json'
|
|
48215
|
+
)
|
|
48216
|
+
return TeaCore.from_map(
|
|
48217
|
+
rds_20140815_models.SyncRCSecurityGroupResponse(),
|
|
48218
|
+
await self.call_api_async(params, req, runtime)
|
|
48219
|
+
)
|
|
48220
|
+
|
|
48221
|
+
def sync_rcsecurity_group(
|
|
48222
|
+
self,
|
|
48223
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48224
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48225
|
+
"""
|
|
48226
|
+
@summary 同步RDS Custom的安全组
|
|
48227
|
+
|
|
48228
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48229
|
+
@return: SyncRCSecurityGroupResponse
|
|
48230
|
+
"""
|
|
48231
|
+
runtime = util_models.RuntimeOptions()
|
|
48232
|
+
return self.sync_rcsecurity_group_with_options(request, runtime)
|
|
48233
|
+
|
|
48234
|
+
async def sync_rcsecurity_group_async(
|
|
48235
|
+
self,
|
|
48236
|
+
request: rds_20140815_models.SyncRCSecurityGroupRequest,
|
|
48237
|
+
) -> rds_20140815_models.SyncRCSecurityGroupResponse:
|
|
48238
|
+
"""
|
|
48239
|
+
@summary 同步RDS Custom的安全组
|
|
48240
|
+
|
|
48241
|
+
@param request: SyncRCSecurityGroupRequest
|
|
48242
|
+
@return: SyncRCSecurityGroupResponse
|
|
48243
|
+
"""
|
|
48244
|
+
runtime = util_models.RuntimeOptions()
|
|
48245
|
+
return await self.sync_rcsecurity_group_with_options_async(request, runtime)
|
|
48246
|
+
|
|
48011
48247
|
def tag_resources_with_options(
|
|
48012
48248
|
self,
|
|
48013
48249
|
request: rds_20140815_models.TagResourcesRequest,
|
|
@@ -48492,6 +48728,110 @@ class Client(OpenApiClient):
|
|
|
48492
48728
|
runtime = util_models.RuntimeOptions()
|
|
48493
48729
|
return await self.transform_dbinstance_pay_type_with_options_async(request, runtime)
|
|
48494
48730
|
|
|
48731
|
+
def unassociate_eip_address_with_rcinstance_with_options(
|
|
48732
|
+
self,
|
|
48733
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48734
|
+
runtime: util_models.RuntimeOptions,
|
|
48735
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48736
|
+
"""
|
|
48737
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48738
|
+
|
|
48739
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48740
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48741
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48742
|
+
"""
|
|
48743
|
+
UtilClient.validate_model(request)
|
|
48744
|
+
query = {}
|
|
48745
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
48746
|
+
query['AllocationId'] = request.allocation_id
|
|
48747
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48748
|
+
query['InstanceId'] = request.instance_id
|
|
48749
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48750
|
+
query['RegionId'] = request.region_id
|
|
48751
|
+
req = open_api_models.OpenApiRequest(
|
|
48752
|
+
query=OpenApiUtilClient.query(query)
|
|
48753
|
+
)
|
|
48754
|
+
params = open_api_models.Params(
|
|
48755
|
+
action='UnassociateEipAddressWithRCInstance',
|
|
48756
|
+
version='2014-08-15',
|
|
48757
|
+
protocol='HTTPS',
|
|
48758
|
+
pathname='/',
|
|
48759
|
+
method='POST',
|
|
48760
|
+
auth_type='AK',
|
|
48761
|
+
style='RPC',
|
|
48762
|
+
req_body_type='formData',
|
|
48763
|
+
body_type='json'
|
|
48764
|
+
)
|
|
48765
|
+
return TeaCore.from_map(
|
|
48766
|
+
rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse(),
|
|
48767
|
+
self.call_api(params, req, runtime)
|
|
48768
|
+
)
|
|
48769
|
+
|
|
48770
|
+
async def unassociate_eip_address_with_rcinstance_with_options_async(
|
|
48771
|
+
self,
|
|
48772
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48773
|
+
runtime: util_models.RuntimeOptions,
|
|
48774
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48775
|
+
"""
|
|
48776
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48777
|
+
|
|
48778
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48779
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
48780
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48781
|
+
"""
|
|
48782
|
+
UtilClient.validate_model(request)
|
|
48783
|
+
query = {}
|
|
48784
|
+
if not UtilClient.is_unset(request.allocation_id):
|
|
48785
|
+
query['AllocationId'] = request.allocation_id
|
|
48786
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
48787
|
+
query['InstanceId'] = request.instance_id
|
|
48788
|
+
if not UtilClient.is_unset(request.region_id):
|
|
48789
|
+
query['RegionId'] = request.region_id
|
|
48790
|
+
req = open_api_models.OpenApiRequest(
|
|
48791
|
+
query=OpenApiUtilClient.query(query)
|
|
48792
|
+
)
|
|
48793
|
+
params = open_api_models.Params(
|
|
48794
|
+
action='UnassociateEipAddressWithRCInstance',
|
|
48795
|
+
version='2014-08-15',
|
|
48796
|
+
protocol='HTTPS',
|
|
48797
|
+
pathname='/',
|
|
48798
|
+
method='POST',
|
|
48799
|
+
auth_type='AK',
|
|
48800
|
+
style='RPC',
|
|
48801
|
+
req_body_type='formData',
|
|
48802
|
+
body_type='json'
|
|
48803
|
+
)
|
|
48804
|
+
return TeaCore.from_map(
|
|
48805
|
+
rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse(),
|
|
48806
|
+
await self.call_api_async(params, req, runtime)
|
|
48807
|
+
)
|
|
48808
|
+
|
|
48809
|
+
def unassociate_eip_address_with_rcinstance(
|
|
48810
|
+
self,
|
|
48811
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48812
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48813
|
+
"""
|
|
48814
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48815
|
+
|
|
48816
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48817
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48818
|
+
"""
|
|
48819
|
+
runtime = util_models.RuntimeOptions()
|
|
48820
|
+
return self.unassociate_eip_address_with_rcinstance_with_options(request, runtime)
|
|
48821
|
+
|
|
48822
|
+
async def unassociate_eip_address_with_rcinstance_async(
|
|
48823
|
+
self,
|
|
48824
|
+
request: rds_20140815_models.UnassociateEipAddressWithRCInstanceRequest,
|
|
48825
|
+
) -> rds_20140815_models.UnassociateEipAddressWithRCInstanceResponse:
|
|
48826
|
+
"""
|
|
48827
|
+
@summary 解绑RDS Custom实例的弹性公网
|
|
48828
|
+
|
|
48829
|
+
@param request: UnassociateEipAddressWithRCInstanceRequest
|
|
48830
|
+
@return: UnassociateEipAddressWithRCInstanceResponse
|
|
48831
|
+
"""
|
|
48832
|
+
runtime = util_models.RuntimeOptions()
|
|
48833
|
+
return await self.unassociate_eip_address_with_rcinstance_with_options_async(request, runtime)
|
|
48834
|
+
|
|
48495
48835
|
def unlock_account_with_options(
|
|
48496
48836
|
self,
|
|
48497
48837
|
request: rds_20140815_models.UnlockAccountRequest,
|