alibabacloud-rds20140815 11.2.0__py3-none-any.whl → 11.3.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 +512 -24
- alibabacloud_rds20140815/models.py +1253 -23
- {alibabacloud_rds20140815-11.2.0.dist-info → alibabacloud_rds20140815-11.3.0.dist-info}/METADATA +1 -1
- alibabacloud_rds20140815-11.3.0.dist-info/RECORD +8 -0
- alibabacloud_rds20140815-11.2.0.dist-info/RECORD +0 -8
- {alibabacloud_rds20140815-11.2.0.dist-info → alibabacloud_rds20140815-11.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-11.2.0.dist-info → alibabacloud_rds20140815-11.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-11.2.0.dist-info → alibabacloud_rds20140815-11.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '11.
|
|
1
|
+
__version__ = '11.3.0'
|
|
@@ -88,6 +88,106 @@ class Client(OpenApiClient):
|
|
|
88
88
|
return endpoint_map.get(region_id)
|
|
89
89
|
return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
|
|
90
90
|
|
|
91
|
+
def accept_rcinquired_system_event_with_options(
|
|
92
|
+
self,
|
|
93
|
+
request: rds_20140815_models.AcceptRCInquiredSystemEventRequest,
|
|
94
|
+
runtime: util_models.RuntimeOptions,
|
|
95
|
+
) -> rds_20140815_models.AcceptRCInquiredSystemEventResponse:
|
|
96
|
+
"""
|
|
97
|
+
@summary 接受并授权执行系统事件操作
|
|
98
|
+
|
|
99
|
+
@param request: AcceptRCInquiredSystemEventRequest
|
|
100
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
101
|
+
@return: AcceptRCInquiredSystemEventResponse
|
|
102
|
+
"""
|
|
103
|
+
UtilClient.validate_model(request)
|
|
104
|
+
query = {}
|
|
105
|
+
if not UtilClient.is_unset(request.event_id):
|
|
106
|
+
query['EventId'] = request.event_id
|
|
107
|
+
if not UtilClient.is_unset(request.region_id):
|
|
108
|
+
query['RegionId'] = request.region_id
|
|
109
|
+
req = open_api_models.OpenApiRequest(
|
|
110
|
+
query=OpenApiUtilClient.query(query)
|
|
111
|
+
)
|
|
112
|
+
params = open_api_models.Params(
|
|
113
|
+
action='AcceptRCInquiredSystemEvent',
|
|
114
|
+
version='2014-08-15',
|
|
115
|
+
protocol='HTTPS',
|
|
116
|
+
pathname='/',
|
|
117
|
+
method='POST',
|
|
118
|
+
auth_type='AK',
|
|
119
|
+
style='RPC',
|
|
120
|
+
req_body_type='formData',
|
|
121
|
+
body_type='json'
|
|
122
|
+
)
|
|
123
|
+
return TeaCore.from_map(
|
|
124
|
+
rds_20140815_models.AcceptRCInquiredSystemEventResponse(),
|
|
125
|
+
self.call_api(params, req, runtime)
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
async def accept_rcinquired_system_event_with_options_async(
|
|
129
|
+
self,
|
|
130
|
+
request: rds_20140815_models.AcceptRCInquiredSystemEventRequest,
|
|
131
|
+
runtime: util_models.RuntimeOptions,
|
|
132
|
+
) -> rds_20140815_models.AcceptRCInquiredSystemEventResponse:
|
|
133
|
+
"""
|
|
134
|
+
@summary 接受并授权执行系统事件操作
|
|
135
|
+
|
|
136
|
+
@param request: AcceptRCInquiredSystemEventRequest
|
|
137
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
138
|
+
@return: AcceptRCInquiredSystemEventResponse
|
|
139
|
+
"""
|
|
140
|
+
UtilClient.validate_model(request)
|
|
141
|
+
query = {}
|
|
142
|
+
if not UtilClient.is_unset(request.event_id):
|
|
143
|
+
query['EventId'] = request.event_id
|
|
144
|
+
if not UtilClient.is_unset(request.region_id):
|
|
145
|
+
query['RegionId'] = request.region_id
|
|
146
|
+
req = open_api_models.OpenApiRequest(
|
|
147
|
+
query=OpenApiUtilClient.query(query)
|
|
148
|
+
)
|
|
149
|
+
params = open_api_models.Params(
|
|
150
|
+
action='AcceptRCInquiredSystemEvent',
|
|
151
|
+
version='2014-08-15',
|
|
152
|
+
protocol='HTTPS',
|
|
153
|
+
pathname='/',
|
|
154
|
+
method='POST',
|
|
155
|
+
auth_type='AK',
|
|
156
|
+
style='RPC',
|
|
157
|
+
req_body_type='formData',
|
|
158
|
+
body_type='json'
|
|
159
|
+
)
|
|
160
|
+
return TeaCore.from_map(
|
|
161
|
+
rds_20140815_models.AcceptRCInquiredSystemEventResponse(),
|
|
162
|
+
await self.call_api_async(params, req, runtime)
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
def accept_rcinquired_system_event(
|
|
166
|
+
self,
|
|
167
|
+
request: rds_20140815_models.AcceptRCInquiredSystemEventRequest,
|
|
168
|
+
) -> rds_20140815_models.AcceptRCInquiredSystemEventResponse:
|
|
169
|
+
"""
|
|
170
|
+
@summary 接受并授权执行系统事件操作
|
|
171
|
+
|
|
172
|
+
@param request: AcceptRCInquiredSystemEventRequest
|
|
173
|
+
@return: AcceptRCInquiredSystemEventResponse
|
|
174
|
+
"""
|
|
175
|
+
runtime = util_models.RuntimeOptions()
|
|
176
|
+
return self.accept_rcinquired_system_event_with_options(request, runtime)
|
|
177
|
+
|
|
178
|
+
async def accept_rcinquired_system_event_async(
|
|
179
|
+
self,
|
|
180
|
+
request: rds_20140815_models.AcceptRCInquiredSystemEventRequest,
|
|
181
|
+
) -> rds_20140815_models.AcceptRCInquiredSystemEventResponse:
|
|
182
|
+
"""
|
|
183
|
+
@summary 接受并授权执行系统事件操作
|
|
184
|
+
|
|
185
|
+
@param request: AcceptRCInquiredSystemEventRequest
|
|
186
|
+
@return: AcceptRCInquiredSystemEventResponse
|
|
187
|
+
"""
|
|
188
|
+
runtime = util_models.RuntimeOptions()
|
|
189
|
+
return await self.accept_rcinquired_system_event_with_options_async(request, runtime)
|
|
190
|
+
|
|
91
191
|
def activate_migration_target_instance_with_options(
|
|
92
192
|
self,
|
|
93
193
|
request: rds_20140815_models.ActivateMigrationTargetInstanceRequest,
|
|
@@ -5984,12 +6084,8 @@ class Client(OpenApiClient):
|
|
|
5984
6084
|
"""
|
|
5985
6085
|
@summary Creates an ApsaraDB RDS global active database cluster.
|
|
5986
6086
|
|
|
5987
|
-
@description ### [](#)Supported database
|
|
6087
|
+
@description ### [](#)Supported database engines
|
|
5988
6088
|
MySQL
|
|
5989
|
-
<props="china">
|
|
5990
|
-
### [](#)References
|
|
5991
|
-
> : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
|
|
5992
|
-
[Create and release an ApsaraDB RDS global active database cluster](https://help.aliyun.com/document_detail/328592.html)
|
|
5993
6089
|
|
|
5994
6090
|
@param request: CreateGADInstanceRequest
|
|
5995
6091
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6042,12 +6138,8 @@ class Client(OpenApiClient):
|
|
|
6042
6138
|
"""
|
|
6043
6139
|
@summary Creates an ApsaraDB RDS global active database cluster.
|
|
6044
6140
|
|
|
6045
|
-
@description ### [](#)Supported database
|
|
6141
|
+
@description ### [](#)Supported database engines
|
|
6046
6142
|
MySQL
|
|
6047
|
-
<props="china">
|
|
6048
|
-
### [](#)References
|
|
6049
|
-
> : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
|
|
6050
|
-
[Create and release an ApsaraDB RDS global active database cluster](https://help.aliyun.com/document_detail/328592.html)
|
|
6051
6143
|
|
|
6052
6144
|
@param request: CreateGADInstanceRequest
|
|
6053
6145
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -6099,12 +6191,8 @@ class Client(OpenApiClient):
|
|
|
6099
6191
|
"""
|
|
6100
6192
|
@summary Creates an ApsaraDB RDS global active database cluster.
|
|
6101
6193
|
|
|
6102
|
-
@description ### [](#)Supported database
|
|
6194
|
+
@description ### [](#)Supported database engines
|
|
6103
6195
|
MySQL
|
|
6104
|
-
<props="china">
|
|
6105
|
-
### [](#)References
|
|
6106
|
-
> : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
|
|
6107
|
-
[Create and release an ApsaraDB RDS global active database cluster](https://help.aliyun.com/document_detail/328592.html)
|
|
6108
6196
|
|
|
6109
6197
|
@param request: CreateGADInstanceRequest
|
|
6110
6198
|
@return: CreateGADInstanceResponse
|
|
@@ -6119,12 +6207,8 @@ class Client(OpenApiClient):
|
|
|
6119
6207
|
"""
|
|
6120
6208
|
@summary Creates an ApsaraDB RDS global active database cluster.
|
|
6121
6209
|
|
|
6122
|
-
@description ### [](#)Supported database
|
|
6210
|
+
@description ### [](#)Supported database engines
|
|
6123
6211
|
MySQL
|
|
6124
|
-
<props="china">
|
|
6125
|
-
### [](#)References
|
|
6126
|
-
> : Before you call this operation, carefully read the following documentation. Make sure that you fully understand the prerequisites and impacts for calling this operation.
|
|
6127
|
-
[Create and release an ApsaraDB RDS global active database cluster](https://help.aliyun.com/document_detail/328592.html)
|
|
6128
6212
|
|
|
6129
6213
|
@param request: CreateGADInstanceRequest
|
|
6130
6214
|
@return: CreateGADInstanceResponse
|
|
@@ -27312,6 +27396,398 @@ class Client(OpenApiClient):
|
|
|
27312
27396
|
runtime = util_models.RuntimeOptions()
|
|
27313
27397
|
return await self.describe_rcinstance_attribute_with_options_async(request, runtime)
|
|
27314
27398
|
|
|
27399
|
+
def describe_rcinstance_ddos_count_with_options(
|
|
27400
|
+
self,
|
|
27401
|
+
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27402
|
+
runtime: util_models.RuntimeOptions,
|
|
27403
|
+
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27404
|
+
"""
|
|
27405
|
+
@summary 查询RDS Custom实例被DDos攻击的数量
|
|
27406
|
+
|
|
27407
|
+
@param request: DescribeRCInstanceDdosCountRequest
|
|
27408
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27409
|
+
@return: DescribeRCInstanceDdosCountResponse
|
|
27410
|
+
"""
|
|
27411
|
+
UtilClient.validate_model(request)
|
|
27412
|
+
query = {}
|
|
27413
|
+
if not UtilClient.is_unset(request.ddos_region_id):
|
|
27414
|
+
query['DdosRegionId'] = request.ddos_region_id
|
|
27415
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
27416
|
+
query['InstanceType'] = request.instance_type
|
|
27417
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27418
|
+
query['RegionId'] = request.region_id
|
|
27419
|
+
req = open_api_models.OpenApiRequest(
|
|
27420
|
+
query=OpenApiUtilClient.query(query)
|
|
27421
|
+
)
|
|
27422
|
+
params = open_api_models.Params(
|
|
27423
|
+
action='DescribeRCInstanceDdosCount',
|
|
27424
|
+
version='2014-08-15',
|
|
27425
|
+
protocol='HTTPS',
|
|
27426
|
+
pathname='/',
|
|
27427
|
+
method='POST',
|
|
27428
|
+
auth_type='AK',
|
|
27429
|
+
style='RPC',
|
|
27430
|
+
req_body_type='formData',
|
|
27431
|
+
body_type='json'
|
|
27432
|
+
)
|
|
27433
|
+
return TeaCore.from_map(
|
|
27434
|
+
rds_20140815_models.DescribeRCInstanceDdosCountResponse(),
|
|
27435
|
+
self.call_api(params, req, runtime)
|
|
27436
|
+
)
|
|
27437
|
+
|
|
27438
|
+
async def describe_rcinstance_ddos_count_with_options_async(
|
|
27439
|
+
self,
|
|
27440
|
+
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27441
|
+
runtime: util_models.RuntimeOptions,
|
|
27442
|
+
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27443
|
+
"""
|
|
27444
|
+
@summary 查询RDS Custom实例被DDos攻击的数量
|
|
27445
|
+
|
|
27446
|
+
@param request: DescribeRCInstanceDdosCountRequest
|
|
27447
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27448
|
+
@return: DescribeRCInstanceDdosCountResponse
|
|
27449
|
+
"""
|
|
27450
|
+
UtilClient.validate_model(request)
|
|
27451
|
+
query = {}
|
|
27452
|
+
if not UtilClient.is_unset(request.ddos_region_id):
|
|
27453
|
+
query['DdosRegionId'] = request.ddos_region_id
|
|
27454
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
27455
|
+
query['InstanceType'] = request.instance_type
|
|
27456
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27457
|
+
query['RegionId'] = request.region_id
|
|
27458
|
+
req = open_api_models.OpenApiRequest(
|
|
27459
|
+
query=OpenApiUtilClient.query(query)
|
|
27460
|
+
)
|
|
27461
|
+
params = open_api_models.Params(
|
|
27462
|
+
action='DescribeRCInstanceDdosCount',
|
|
27463
|
+
version='2014-08-15',
|
|
27464
|
+
protocol='HTTPS',
|
|
27465
|
+
pathname='/',
|
|
27466
|
+
method='POST',
|
|
27467
|
+
auth_type='AK',
|
|
27468
|
+
style='RPC',
|
|
27469
|
+
req_body_type='formData',
|
|
27470
|
+
body_type='json'
|
|
27471
|
+
)
|
|
27472
|
+
return TeaCore.from_map(
|
|
27473
|
+
rds_20140815_models.DescribeRCInstanceDdosCountResponse(),
|
|
27474
|
+
await self.call_api_async(params, req, runtime)
|
|
27475
|
+
)
|
|
27476
|
+
|
|
27477
|
+
def describe_rcinstance_ddos_count(
|
|
27478
|
+
self,
|
|
27479
|
+
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27480
|
+
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27481
|
+
"""
|
|
27482
|
+
@summary 查询RDS Custom实例被DDos攻击的数量
|
|
27483
|
+
|
|
27484
|
+
@param request: DescribeRCInstanceDdosCountRequest
|
|
27485
|
+
@return: DescribeRCInstanceDdosCountResponse
|
|
27486
|
+
"""
|
|
27487
|
+
runtime = util_models.RuntimeOptions()
|
|
27488
|
+
return self.describe_rcinstance_ddos_count_with_options(request, runtime)
|
|
27489
|
+
|
|
27490
|
+
async def describe_rcinstance_ddos_count_async(
|
|
27491
|
+
self,
|
|
27492
|
+
request: rds_20140815_models.DescribeRCInstanceDdosCountRequest,
|
|
27493
|
+
) -> rds_20140815_models.DescribeRCInstanceDdosCountResponse:
|
|
27494
|
+
"""
|
|
27495
|
+
@summary 查询RDS Custom实例被DDos攻击的数量
|
|
27496
|
+
|
|
27497
|
+
@param request: DescribeRCInstanceDdosCountRequest
|
|
27498
|
+
@return: DescribeRCInstanceDdosCountResponse
|
|
27499
|
+
"""
|
|
27500
|
+
runtime = util_models.RuntimeOptions()
|
|
27501
|
+
return await self.describe_rcinstance_ddos_count_with_options_async(request, runtime)
|
|
27502
|
+
|
|
27503
|
+
def describe_rcinstance_history_events_with_options(
|
|
27504
|
+
self,
|
|
27505
|
+
request: rds_20140815_models.DescribeRCInstanceHistoryEventsRequest,
|
|
27506
|
+
runtime: util_models.RuntimeOptions,
|
|
27507
|
+
) -> rds_20140815_models.DescribeRCInstanceHistoryEventsResponse:
|
|
27508
|
+
"""
|
|
27509
|
+
@summary 查询指定实例系统事件信息
|
|
27510
|
+
|
|
27511
|
+
@param request: DescribeRCInstanceHistoryEventsRequest
|
|
27512
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27513
|
+
@return: DescribeRCInstanceHistoryEventsResponse
|
|
27514
|
+
"""
|
|
27515
|
+
UtilClient.validate_model(request)
|
|
27516
|
+
query = {}
|
|
27517
|
+
if not UtilClient.is_unset(request.event_cycle_status):
|
|
27518
|
+
query['EventCycleStatus'] = request.event_cycle_status
|
|
27519
|
+
if not UtilClient.is_unset(request.event_id):
|
|
27520
|
+
query['EventId'] = request.event_id
|
|
27521
|
+
if not UtilClient.is_unset(request.event_type):
|
|
27522
|
+
query['EventType'] = request.event_type
|
|
27523
|
+
if not UtilClient.is_unset(request.impact_level):
|
|
27524
|
+
query['ImpactLevel'] = request.impact_level
|
|
27525
|
+
if not UtilClient.is_unset(request.instance_event_cycle_status):
|
|
27526
|
+
query['InstanceEventCycleStatus'] = request.instance_event_cycle_status
|
|
27527
|
+
if not UtilClient.is_unset(request.instance_event_type):
|
|
27528
|
+
query['InstanceEventType'] = request.instance_event_type
|
|
27529
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
27530
|
+
query['InstanceId'] = request.instance_id
|
|
27531
|
+
if not UtilClient.is_unset(request.max_results):
|
|
27532
|
+
query['MaxResults'] = request.max_results
|
|
27533
|
+
if not UtilClient.is_unset(request.page_number):
|
|
27534
|
+
query['PageNumber'] = request.page_number
|
|
27535
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27536
|
+
query['PageSize'] = request.page_size
|
|
27537
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27538
|
+
query['RegionId'] = request.region_id
|
|
27539
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
27540
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
27541
|
+
if not UtilClient.is_unset(request.resource_id):
|
|
27542
|
+
query['ResourceId'] = request.resource_id
|
|
27543
|
+
if not UtilClient.is_unset(request.tag):
|
|
27544
|
+
query['Tag'] = request.tag
|
|
27545
|
+
if not UtilClient.is_unset(request.event_publish_time):
|
|
27546
|
+
query['EventPublishTime'] = request.event_publish_time
|
|
27547
|
+
if not UtilClient.is_unset(request.not_before):
|
|
27548
|
+
query['NotBefore'] = request.not_before
|
|
27549
|
+
req = open_api_models.OpenApiRequest(
|
|
27550
|
+
query=OpenApiUtilClient.query(query)
|
|
27551
|
+
)
|
|
27552
|
+
params = open_api_models.Params(
|
|
27553
|
+
action='DescribeRCInstanceHistoryEvents',
|
|
27554
|
+
version='2014-08-15',
|
|
27555
|
+
protocol='HTTPS',
|
|
27556
|
+
pathname='/',
|
|
27557
|
+
method='POST',
|
|
27558
|
+
auth_type='AK',
|
|
27559
|
+
style='RPC',
|
|
27560
|
+
req_body_type='formData',
|
|
27561
|
+
body_type='json'
|
|
27562
|
+
)
|
|
27563
|
+
return TeaCore.from_map(
|
|
27564
|
+
rds_20140815_models.DescribeRCInstanceHistoryEventsResponse(),
|
|
27565
|
+
self.call_api(params, req, runtime)
|
|
27566
|
+
)
|
|
27567
|
+
|
|
27568
|
+
async def describe_rcinstance_history_events_with_options_async(
|
|
27569
|
+
self,
|
|
27570
|
+
request: rds_20140815_models.DescribeRCInstanceHistoryEventsRequest,
|
|
27571
|
+
runtime: util_models.RuntimeOptions,
|
|
27572
|
+
) -> rds_20140815_models.DescribeRCInstanceHistoryEventsResponse:
|
|
27573
|
+
"""
|
|
27574
|
+
@summary 查询指定实例系统事件信息
|
|
27575
|
+
|
|
27576
|
+
@param request: DescribeRCInstanceHistoryEventsRequest
|
|
27577
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27578
|
+
@return: DescribeRCInstanceHistoryEventsResponse
|
|
27579
|
+
"""
|
|
27580
|
+
UtilClient.validate_model(request)
|
|
27581
|
+
query = {}
|
|
27582
|
+
if not UtilClient.is_unset(request.event_cycle_status):
|
|
27583
|
+
query['EventCycleStatus'] = request.event_cycle_status
|
|
27584
|
+
if not UtilClient.is_unset(request.event_id):
|
|
27585
|
+
query['EventId'] = request.event_id
|
|
27586
|
+
if not UtilClient.is_unset(request.event_type):
|
|
27587
|
+
query['EventType'] = request.event_type
|
|
27588
|
+
if not UtilClient.is_unset(request.impact_level):
|
|
27589
|
+
query['ImpactLevel'] = request.impact_level
|
|
27590
|
+
if not UtilClient.is_unset(request.instance_event_cycle_status):
|
|
27591
|
+
query['InstanceEventCycleStatus'] = request.instance_event_cycle_status
|
|
27592
|
+
if not UtilClient.is_unset(request.instance_event_type):
|
|
27593
|
+
query['InstanceEventType'] = request.instance_event_type
|
|
27594
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
27595
|
+
query['InstanceId'] = request.instance_id
|
|
27596
|
+
if not UtilClient.is_unset(request.max_results):
|
|
27597
|
+
query['MaxResults'] = request.max_results
|
|
27598
|
+
if not UtilClient.is_unset(request.page_number):
|
|
27599
|
+
query['PageNumber'] = request.page_number
|
|
27600
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27601
|
+
query['PageSize'] = request.page_size
|
|
27602
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27603
|
+
query['RegionId'] = request.region_id
|
|
27604
|
+
if not UtilClient.is_unset(request.resource_group_id):
|
|
27605
|
+
query['ResourceGroupId'] = request.resource_group_id
|
|
27606
|
+
if not UtilClient.is_unset(request.resource_id):
|
|
27607
|
+
query['ResourceId'] = request.resource_id
|
|
27608
|
+
if not UtilClient.is_unset(request.tag):
|
|
27609
|
+
query['Tag'] = request.tag
|
|
27610
|
+
if not UtilClient.is_unset(request.event_publish_time):
|
|
27611
|
+
query['EventPublishTime'] = request.event_publish_time
|
|
27612
|
+
if not UtilClient.is_unset(request.not_before):
|
|
27613
|
+
query['NotBefore'] = request.not_before
|
|
27614
|
+
req = open_api_models.OpenApiRequest(
|
|
27615
|
+
query=OpenApiUtilClient.query(query)
|
|
27616
|
+
)
|
|
27617
|
+
params = open_api_models.Params(
|
|
27618
|
+
action='DescribeRCInstanceHistoryEvents',
|
|
27619
|
+
version='2014-08-15',
|
|
27620
|
+
protocol='HTTPS',
|
|
27621
|
+
pathname='/',
|
|
27622
|
+
method='POST',
|
|
27623
|
+
auth_type='AK',
|
|
27624
|
+
style='RPC',
|
|
27625
|
+
req_body_type='formData',
|
|
27626
|
+
body_type='json'
|
|
27627
|
+
)
|
|
27628
|
+
return TeaCore.from_map(
|
|
27629
|
+
rds_20140815_models.DescribeRCInstanceHistoryEventsResponse(),
|
|
27630
|
+
await self.call_api_async(params, req, runtime)
|
|
27631
|
+
)
|
|
27632
|
+
|
|
27633
|
+
def describe_rcinstance_history_events(
|
|
27634
|
+
self,
|
|
27635
|
+
request: rds_20140815_models.DescribeRCInstanceHistoryEventsRequest,
|
|
27636
|
+
) -> rds_20140815_models.DescribeRCInstanceHistoryEventsResponse:
|
|
27637
|
+
"""
|
|
27638
|
+
@summary 查询指定实例系统事件信息
|
|
27639
|
+
|
|
27640
|
+
@param request: DescribeRCInstanceHistoryEventsRequest
|
|
27641
|
+
@return: DescribeRCInstanceHistoryEventsResponse
|
|
27642
|
+
"""
|
|
27643
|
+
runtime = util_models.RuntimeOptions()
|
|
27644
|
+
return self.describe_rcinstance_history_events_with_options(request, runtime)
|
|
27645
|
+
|
|
27646
|
+
async def describe_rcinstance_history_events_async(
|
|
27647
|
+
self,
|
|
27648
|
+
request: rds_20140815_models.DescribeRCInstanceHistoryEventsRequest,
|
|
27649
|
+
) -> rds_20140815_models.DescribeRCInstanceHistoryEventsResponse:
|
|
27650
|
+
"""
|
|
27651
|
+
@summary 查询指定实例系统事件信息
|
|
27652
|
+
|
|
27653
|
+
@param request: DescribeRCInstanceHistoryEventsRequest
|
|
27654
|
+
@return: DescribeRCInstanceHistoryEventsResponse
|
|
27655
|
+
"""
|
|
27656
|
+
runtime = util_models.RuntimeOptions()
|
|
27657
|
+
return await self.describe_rcinstance_history_events_with_options_async(request, runtime)
|
|
27658
|
+
|
|
27659
|
+
def describe_rcinstance_ip_address_with_options(
|
|
27660
|
+
self,
|
|
27661
|
+
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27662
|
+
runtime: util_models.RuntimeOptions,
|
|
27663
|
+
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27664
|
+
"""
|
|
27665
|
+
@summary 查询RDS Custom实例的公网IP
|
|
27666
|
+
|
|
27667
|
+
@param request: DescribeRCInstanceIpAddressRequest
|
|
27668
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27669
|
+
@return: DescribeRCInstanceIpAddressResponse
|
|
27670
|
+
"""
|
|
27671
|
+
UtilClient.validate_model(request)
|
|
27672
|
+
query = {}
|
|
27673
|
+
if not UtilClient.is_unset(request.current_page):
|
|
27674
|
+
query['CurrentPage'] = request.current_page
|
|
27675
|
+
if not UtilClient.is_unset(request.ddos_region_id):
|
|
27676
|
+
query['DdosRegionId'] = request.ddos_region_id
|
|
27677
|
+
if not UtilClient.is_unset(request.ddos_status):
|
|
27678
|
+
query['DdosStatus'] = request.ddos_status
|
|
27679
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
27680
|
+
query['InstanceId'] = request.instance_id
|
|
27681
|
+
if not UtilClient.is_unset(request.instance_ip):
|
|
27682
|
+
query['InstanceIp'] = request.instance_ip
|
|
27683
|
+
if not UtilClient.is_unset(request.instance_name):
|
|
27684
|
+
query['InstanceName'] = request.instance_name
|
|
27685
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
27686
|
+
query['InstanceType'] = request.instance_type
|
|
27687
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27688
|
+
query['PageSize'] = request.page_size
|
|
27689
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27690
|
+
query['RegionId'] = request.region_id
|
|
27691
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
27692
|
+
query['ResourceType'] = request.resource_type
|
|
27693
|
+
req = open_api_models.OpenApiRequest(
|
|
27694
|
+
query=OpenApiUtilClient.query(query)
|
|
27695
|
+
)
|
|
27696
|
+
params = open_api_models.Params(
|
|
27697
|
+
action='DescribeRCInstanceIpAddress',
|
|
27698
|
+
version='2014-08-15',
|
|
27699
|
+
protocol='HTTPS',
|
|
27700
|
+
pathname='/',
|
|
27701
|
+
method='POST',
|
|
27702
|
+
auth_type='AK',
|
|
27703
|
+
style='RPC',
|
|
27704
|
+
req_body_type='formData',
|
|
27705
|
+
body_type='json'
|
|
27706
|
+
)
|
|
27707
|
+
return TeaCore.from_map(
|
|
27708
|
+
rds_20140815_models.DescribeRCInstanceIpAddressResponse(),
|
|
27709
|
+
self.call_api(params, req, runtime)
|
|
27710
|
+
)
|
|
27711
|
+
|
|
27712
|
+
async def describe_rcinstance_ip_address_with_options_async(
|
|
27713
|
+
self,
|
|
27714
|
+
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27715
|
+
runtime: util_models.RuntimeOptions,
|
|
27716
|
+
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27717
|
+
"""
|
|
27718
|
+
@summary 查询RDS Custom实例的公网IP
|
|
27719
|
+
|
|
27720
|
+
@param request: DescribeRCInstanceIpAddressRequest
|
|
27721
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
27722
|
+
@return: DescribeRCInstanceIpAddressResponse
|
|
27723
|
+
"""
|
|
27724
|
+
UtilClient.validate_model(request)
|
|
27725
|
+
query = {}
|
|
27726
|
+
if not UtilClient.is_unset(request.current_page):
|
|
27727
|
+
query['CurrentPage'] = request.current_page
|
|
27728
|
+
if not UtilClient.is_unset(request.ddos_region_id):
|
|
27729
|
+
query['DdosRegionId'] = request.ddos_region_id
|
|
27730
|
+
if not UtilClient.is_unset(request.ddos_status):
|
|
27731
|
+
query['DdosStatus'] = request.ddos_status
|
|
27732
|
+
if not UtilClient.is_unset(request.instance_id):
|
|
27733
|
+
query['InstanceId'] = request.instance_id
|
|
27734
|
+
if not UtilClient.is_unset(request.instance_ip):
|
|
27735
|
+
query['InstanceIp'] = request.instance_ip
|
|
27736
|
+
if not UtilClient.is_unset(request.instance_name):
|
|
27737
|
+
query['InstanceName'] = request.instance_name
|
|
27738
|
+
if not UtilClient.is_unset(request.instance_type):
|
|
27739
|
+
query['InstanceType'] = request.instance_type
|
|
27740
|
+
if not UtilClient.is_unset(request.page_size):
|
|
27741
|
+
query['PageSize'] = request.page_size
|
|
27742
|
+
if not UtilClient.is_unset(request.region_id):
|
|
27743
|
+
query['RegionId'] = request.region_id
|
|
27744
|
+
if not UtilClient.is_unset(request.resource_type):
|
|
27745
|
+
query['ResourceType'] = request.resource_type
|
|
27746
|
+
req = open_api_models.OpenApiRequest(
|
|
27747
|
+
query=OpenApiUtilClient.query(query)
|
|
27748
|
+
)
|
|
27749
|
+
params = open_api_models.Params(
|
|
27750
|
+
action='DescribeRCInstanceIpAddress',
|
|
27751
|
+
version='2014-08-15',
|
|
27752
|
+
protocol='HTTPS',
|
|
27753
|
+
pathname='/',
|
|
27754
|
+
method='POST',
|
|
27755
|
+
auth_type='AK',
|
|
27756
|
+
style='RPC',
|
|
27757
|
+
req_body_type='formData',
|
|
27758
|
+
body_type='json'
|
|
27759
|
+
)
|
|
27760
|
+
return TeaCore.from_map(
|
|
27761
|
+
rds_20140815_models.DescribeRCInstanceIpAddressResponse(),
|
|
27762
|
+
await self.call_api_async(params, req, runtime)
|
|
27763
|
+
)
|
|
27764
|
+
|
|
27765
|
+
def describe_rcinstance_ip_address(
|
|
27766
|
+
self,
|
|
27767
|
+
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27768
|
+
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27769
|
+
"""
|
|
27770
|
+
@summary 查询RDS Custom实例的公网IP
|
|
27771
|
+
|
|
27772
|
+
@param request: DescribeRCInstanceIpAddressRequest
|
|
27773
|
+
@return: DescribeRCInstanceIpAddressResponse
|
|
27774
|
+
"""
|
|
27775
|
+
runtime = util_models.RuntimeOptions()
|
|
27776
|
+
return self.describe_rcinstance_ip_address_with_options(request, runtime)
|
|
27777
|
+
|
|
27778
|
+
async def describe_rcinstance_ip_address_async(
|
|
27779
|
+
self,
|
|
27780
|
+
request: rds_20140815_models.DescribeRCInstanceIpAddressRequest,
|
|
27781
|
+
) -> rds_20140815_models.DescribeRCInstanceIpAddressResponse:
|
|
27782
|
+
"""
|
|
27783
|
+
@summary 查询RDS Custom实例的公网IP
|
|
27784
|
+
|
|
27785
|
+
@param request: DescribeRCInstanceIpAddressRequest
|
|
27786
|
+
@return: DescribeRCInstanceIpAddressResponse
|
|
27787
|
+
"""
|
|
27788
|
+
runtime = util_models.RuntimeOptions()
|
|
27789
|
+
return await self.describe_rcinstance_ip_address_with_options_async(request, runtime)
|
|
27790
|
+
|
|
27315
27791
|
def describe_rcinstance_type_families_with_options(
|
|
27316
27792
|
self,
|
|
27317
27793
|
request: rds_20140815_models.DescribeRCInstanceTypeFamiliesRequest,
|
|
@@ -50530,7 +51006,10 @@ class Client(OpenApiClient):
|
|
|
50530
51006
|
runtime: util_models.RuntimeOptions,
|
|
50531
51007
|
) -> rds_20140815_models.SwitchOverMajorVersionUpgradeResponse:
|
|
50532
51008
|
"""
|
|
50533
|
-
@summary
|
|
51009
|
+
@summary Performs a zero-downtime workload switchover after the major engine version upgrade of an ApsaraDB RDS for PostgreSQL instance.
|
|
51010
|
+
|
|
51011
|
+
@description Supported database engine
|
|
51012
|
+
PostgreSQL
|
|
50534
51013
|
|
|
50535
51014
|
@param request: SwitchOverMajorVersionUpgradeRequest
|
|
50536
51015
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -50573,7 +51052,10 @@ class Client(OpenApiClient):
|
|
|
50573
51052
|
runtime: util_models.RuntimeOptions,
|
|
50574
51053
|
) -> rds_20140815_models.SwitchOverMajorVersionUpgradeResponse:
|
|
50575
51054
|
"""
|
|
50576
|
-
@summary
|
|
51055
|
+
@summary Performs a zero-downtime workload switchover after the major engine version upgrade of an ApsaraDB RDS for PostgreSQL instance.
|
|
51056
|
+
|
|
51057
|
+
@description Supported database engine
|
|
51058
|
+
PostgreSQL
|
|
50577
51059
|
|
|
50578
51060
|
@param request: SwitchOverMajorVersionUpgradeRequest
|
|
50579
51061
|
@param runtime: runtime options for this request RuntimeOptions
|
|
@@ -50615,7 +51097,10 @@ class Client(OpenApiClient):
|
|
|
50615
51097
|
request: rds_20140815_models.SwitchOverMajorVersionUpgradeRequest,
|
|
50616
51098
|
) -> rds_20140815_models.SwitchOverMajorVersionUpgradeResponse:
|
|
50617
51099
|
"""
|
|
50618
|
-
@summary
|
|
51100
|
+
@summary Performs a zero-downtime workload switchover after the major engine version upgrade of an ApsaraDB RDS for PostgreSQL instance.
|
|
51101
|
+
|
|
51102
|
+
@description Supported database engine
|
|
51103
|
+
PostgreSQL
|
|
50619
51104
|
|
|
50620
51105
|
@param request: SwitchOverMajorVersionUpgradeRequest
|
|
50621
51106
|
@return: SwitchOverMajorVersionUpgradeResponse
|
|
@@ -50628,7 +51113,10 @@ class Client(OpenApiClient):
|
|
|
50628
51113
|
request: rds_20140815_models.SwitchOverMajorVersionUpgradeRequest,
|
|
50629
51114
|
) -> rds_20140815_models.SwitchOverMajorVersionUpgradeResponse:
|
|
50630
51115
|
"""
|
|
50631
|
-
@summary
|
|
51116
|
+
@summary Performs a zero-downtime workload switchover after the major engine version upgrade of an ApsaraDB RDS for PostgreSQL instance.
|
|
51117
|
+
|
|
51118
|
+
@description Supported database engine
|
|
51119
|
+
PostgreSQL
|
|
50632
51120
|
|
|
50633
51121
|
@param request: SwitchOverMajorVersionUpgradeRequest
|
|
50634
51122
|
@return: SwitchOverMajorVersionUpgradeResponse
|