alibabacloud-rds20140815 14.0.0__py3-none-any.whl → 14.0.2__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 +12 -0
- alibabacloud_rds20140815/models/_describe_dbinstance_replication_response_body.py +16 -0
- alibabacloud_rds20140815/models/_describe_rcdisks_response_body.py +16 -0
- alibabacloud_rds20140815/models/_describe_rcinstances_response_body.py +40 -0
- alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_request.py +8 -1
- alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_request.py +0 -2
- alibabacloud_rds20140815/models/_stop_rcinstance_request.py +8 -0
- alibabacloud_rds20140815/models/_stop_rcinstances_request.py +8 -0
- alibabacloud_rds20140815/models/_stop_rcinstances_shrink_request.py +8 -0
- {alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/METADATA +1 -1
- {alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/RECORD +15 -15
- {alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '14.0.
|
|
1
|
+
__version__ = '14.0.2'
|
|
@@ -30602,6 +30602,8 @@ class Client(OpenApiClient):
|
|
|
30602
30602
|
) -> main_models.ModifyRCDiskChargeTypeResponse:
|
|
30603
30603
|
request.validate()
|
|
30604
30604
|
query = {}
|
|
30605
|
+
if not DaraCore.is_null(request.auto_pay):
|
|
30606
|
+
query['AutoPay'] = request.auto_pay
|
|
30605
30607
|
if not DaraCore.is_null(request.auto_renew):
|
|
30606
30608
|
query['AutoRenew'] = request.auto_renew
|
|
30607
30609
|
if not DaraCore.is_null(request.auto_use_coupon):
|
|
@@ -30644,6 +30646,8 @@ class Client(OpenApiClient):
|
|
|
30644
30646
|
) -> main_models.ModifyRCDiskChargeTypeResponse:
|
|
30645
30647
|
request.validate()
|
|
30646
30648
|
query = {}
|
|
30649
|
+
if not DaraCore.is_null(request.auto_pay):
|
|
30650
|
+
query['AutoPay'] = request.auto_pay
|
|
30647
30651
|
if not DaraCore.is_null(request.auto_renew):
|
|
30648
30652
|
query['AutoRenew'] = request.auto_renew
|
|
30649
30653
|
if not DaraCore.is_null(request.auto_use_coupon):
|
|
@@ -36192,6 +36196,8 @@ class Client(OpenApiClient):
|
|
|
36192
36196
|
query['InstanceId'] = request.instance_id
|
|
36193
36197
|
if not DaraCore.is_null(request.region_id):
|
|
36194
36198
|
query['RegionId'] = request.region_id
|
|
36199
|
+
if not DaraCore.is_null(request.stopped_mode):
|
|
36200
|
+
query['StoppedMode'] = request.stopped_mode
|
|
36195
36201
|
req = open_api_util_models.OpenApiRequest(
|
|
36196
36202
|
query = Utils.query(query)
|
|
36197
36203
|
)
|
|
@@ -36224,6 +36230,8 @@ class Client(OpenApiClient):
|
|
|
36224
36230
|
query['InstanceId'] = request.instance_id
|
|
36225
36231
|
if not DaraCore.is_null(request.region_id):
|
|
36226
36232
|
query['RegionId'] = request.region_id
|
|
36233
|
+
if not DaraCore.is_null(request.stopped_mode):
|
|
36234
|
+
query['StoppedMode'] = request.stopped_mode
|
|
36227
36235
|
req = open_api_util_models.OpenApiRequest(
|
|
36228
36236
|
query = Utils.query(query)
|
|
36229
36237
|
)
|
|
@@ -36276,6 +36284,8 @@ class Client(OpenApiClient):
|
|
|
36276
36284
|
query['InstanceIds'] = request.instance_ids_shrink
|
|
36277
36285
|
if not DaraCore.is_null(request.region_id):
|
|
36278
36286
|
query['RegionId'] = request.region_id
|
|
36287
|
+
if not DaraCore.is_null(request.stopped_mode):
|
|
36288
|
+
query['StoppedMode'] = request.stopped_mode
|
|
36279
36289
|
req = open_api_util_models.OpenApiRequest(
|
|
36280
36290
|
query = Utils.query(query)
|
|
36281
36291
|
)
|
|
@@ -36314,6 +36324,8 @@ class Client(OpenApiClient):
|
|
|
36314
36324
|
query['InstanceIds'] = request.instance_ids_shrink
|
|
36315
36325
|
if not DaraCore.is_null(request.region_id):
|
|
36316
36326
|
query['RegionId'] = request.region_id
|
|
36327
|
+
if not DaraCore.is_null(request.stopped_mode):
|
|
36328
|
+
query['StoppedMode'] = request.stopped_mode
|
|
36317
36329
|
req = open_api_util_models.OpenApiRequest(
|
|
36318
36330
|
query = Utils.query(query)
|
|
36319
36331
|
)
|
|
@@ -8,6 +8,8 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
10
|
external_replication: str = None,
|
|
11
|
+
gtid_executed: str = None,
|
|
12
|
+
import_status: str = None,
|
|
11
13
|
replication_delay: str = None,
|
|
12
14
|
replication_error_message: str = None,
|
|
13
15
|
replication_ip: str = None,
|
|
@@ -21,6 +23,8 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
21
23
|
# * **ON**
|
|
22
24
|
# * **OFF**
|
|
23
25
|
self.external_replication = external_replication
|
|
26
|
+
self.gtid_executed = gtid_executed
|
|
27
|
+
self.import_status = import_status
|
|
24
28
|
# The replication latency. Unit: seconds.
|
|
25
29
|
self.replication_delay = replication_delay
|
|
26
30
|
# The replication error message.
|
|
@@ -50,6 +54,12 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
50
54
|
if self.external_replication is not None:
|
|
51
55
|
result['ExternalReplication'] = self.external_replication
|
|
52
56
|
|
|
57
|
+
if self.gtid_executed is not None:
|
|
58
|
+
result['GtidExecuted'] = self.gtid_executed
|
|
59
|
+
|
|
60
|
+
if self.import_status is not None:
|
|
61
|
+
result['ImportStatus'] = self.import_status
|
|
62
|
+
|
|
53
63
|
if self.replication_delay is not None:
|
|
54
64
|
result['ReplicationDelay'] = self.replication_delay
|
|
55
65
|
|
|
@@ -78,6 +88,12 @@ class DescribeDBInstanceReplicationResponseBody(DaraModel):
|
|
|
78
88
|
if m.get('ExternalReplication') is not None:
|
|
79
89
|
self.external_replication = m.get('ExternalReplication')
|
|
80
90
|
|
|
91
|
+
if m.get('GtidExecuted') is not None:
|
|
92
|
+
self.gtid_executed = m.get('GtidExecuted')
|
|
93
|
+
|
|
94
|
+
if m.get('ImportStatus') is not None:
|
|
95
|
+
self.import_status = m.get('ImportStatus')
|
|
96
|
+
|
|
81
97
|
if m.get('ReplicationDelay') is not None:
|
|
82
98
|
self.replication_delay = m.get('ReplicationDelay')
|
|
83
99
|
|
|
@@ -83,6 +83,7 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
83
83
|
def __init__(
|
|
84
84
|
self,
|
|
85
85
|
attached_time: str = None,
|
|
86
|
+
bursting_enabled: bool = None,
|
|
86
87
|
category: str = None,
|
|
87
88
|
creation_time: str = None,
|
|
88
89
|
delete_auto_snapshot: bool = None,
|
|
@@ -98,6 +99,7 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
98
99
|
image_id: str = None,
|
|
99
100
|
instance_id: str = None,
|
|
100
101
|
performance_level: str = None,
|
|
102
|
+
portable: bool = None,
|
|
101
103
|
region_id: str = None,
|
|
102
104
|
resource_group_id: str = None,
|
|
103
105
|
serial_number: str = None,
|
|
@@ -111,6 +113,7 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
111
113
|
zone_id: str = None,
|
|
112
114
|
):
|
|
113
115
|
self.attached_time = attached_time
|
|
116
|
+
self.bursting_enabled = bursting_enabled
|
|
114
117
|
# The category of the disk. Valid values:
|
|
115
118
|
#
|
|
116
119
|
# * **cloud_efficiency**: ultra disk.
|
|
@@ -164,6 +167,7 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
164
167
|
# * PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
|
|
165
168
|
# * PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
|
|
166
169
|
self.performance_level = performance_level
|
|
170
|
+
self.portable = portable
|
|
167
171
|
# The region ID.
|
|
168
172
|
self.region_id = region_id
|
|
169
173
|
# The ID of the resource group to which the disk belongs.
|
|
@@ -213,6 +217,9 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
213
217
|
if self.attached_time is not None:
|
|
214
218
|
result['AttachedTime'] = self.attached_time
|
|
215
219
|
|
|
220
|
+
if self.bursting_enabled is not None:
|
|
221
|
+
result['BurstingEnabled'] = self.bursting_enabled
|
|
222
|
+
|
|
216
223
|
if self.category is not None:
|
|
217
224
|
result['Category'] = self.category
|
|
218
225
|
|
|
@@ -258,6 +265,9 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
258
265
|
if self.performance_level is not None:
|
|
259
266
|
result['PerformanceLevel'] = self.performance_level
|
|
260
267
|
|
|
268
|
+
if self.portable is not None:
|
|
269
|
+
result['Portable'] = self.portable
|
|
270
|
+
|
|
261
271
|
if self.region_id is not None:
|
|
262
272
|
result['RegionId'] = self.region_id
|
|
263
273
|
|
|
@@ -300,6 +310,9 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
300
310
|
if m.get('AttachedTime') is not None:
|
|
301
311
|
self.attached_time = m.get('AttachedTime')
|
|
302
312
|
|
|
313
|
+
if m.get('BurstingEnabled') is not None:
|
|
314
|
+
self.bursting_enabled = m.get('BurstingEnabled')
|
|
315
|
+
|
|
303
316
|
if m.get('Category') is not None:
|
|
304
317
|
self.category = m.get('Category')
|
|
305
318
|
|
|
@@ -345,6 +358,9 @@ class DescribeRCDisksResponseBodyDisks(DaraModel):
|
|
|
345
358
|
if m.get('PerformanceLevel') is not None:
|
|
346
359
|
self.performance_level = m.get('PerformanceLevel')
|
|
347
360
|
|
|
361
|
+
if m.get('Portable') is not None:
|
|
362
|
+
self.portable = m.get('Portable')
|
|
363
|
+
|
|
348
364
|
if m.get('RegionId') is not None:
|
|
349
365
|
self.region_id = m.get('RegionId')
|
|
350
366
|
|
|
@@ -88,6 +88,7 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
88
88
|
db_type: str = None,
|
|
89
89
|
deployment_set_id: str = None,
|
|
90
90
|
description: str = None,
|
|
91
|
+
ecs_host_name: str = None,
|
|
91
92
|
expired_time: str = None,
|
|
92
93
|
gmt_created: str = None,
|
|
93
94
|
host_ip: str = None,
|
|
@@ -100,11 +101,15 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
100
101
|
instance_type_family: str = None,
|
|
101
102
|
memory: int = None,
|
|
102
103
|
node_type: str = None,
|
|
104
|
+
osname: str = None,
|
|
105
|
+
ostype: str = None,
|
|
103
106
|
public_ip: str = None,
|
|
104
107
|
region_id: str = None,
|
|
105
108
|
security_group_id: str = None,
|
|
106
109
|
spot_strategy: str = None,
|
|
110
|
+
start_time: str = None,
|
|
107
111
|
status: str = None,
|
|
112
|
+
stopped_mode: str = None,
|
|
108
113
|
tag_resources: List[main_models.DescribeRCInstancesResponseBodyRCInstancesTagResources] = None,
|
|
109
114
|
tags: List[main_models.DescribeRCInstancesResponseBodyRCInstancesTags] = None,
|
|
110
115
|
vpc_attributes: main_models.DescribeRCInstancesResponseBodyRCInstancesVpcAttributes = None,
|
|
@@ -120,6 +125,7 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
120
125
|
self.deployment_set_id = deployment_set_id
|
|
121
126
|
# The instance description.
|
|
122
127
|
self.description = description
|
|
128
|
+
self.ecs_host_name = ecs_host_name
|
|
123
129
|
self.expired_time = expired_time
|
|
124
130
|
# The time when the task was created. The time is displayed in GMT.
|
|
125
131
|
self.gmt_created = gmt_created
|
|
@@ -136,11 +142,14 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
136
142
|
self.instance_type_family = instance_type_family
|
|
137
143
|
self.memory = memory
|
|
138
144
|
self.node_type = node_type
|
|
145
|
+
self.osname = osname
|
|
146
|
+
self.ostype = ostype
|
|
139
147
|
self.public_ip = public_ip
|
|
140
148
|
# The region ID.
|
|
141
149
|
self.region_id = region_id
|
|
142
150
|
self.security_group_id = security_group_id
|
|
143
151
|
self.spot_strategy = spot_strategy
|
|
152
|
+
self.start_time = start_time
|
|
144
153
|
# The instance status. Valid values:
|
|
145
154
|
#
|
|
146
155
|
# * **Pending**
|
|
@@ -151,6 +160,7 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
151
160
|
#
|
|
152
161
|
# > If the value returned for the DescribeRCInstances operation is different from the value that is returned for the **DescribeRCInstanceAttribute** operation, the value returned for the **DescribeRCInstanceAttribute** operation shall prevail.
|
|
153
162
|
self.status = status
|
|
163
|
+
self.stopped_mode = stopped_mode
|
|
154
164
|
self.tag_resources = tag_resources
|
|
155
165
|
self.tags = tags
|
|
156
166
|
self.vpc_attributes = vpc_attributes
|
|
@@ -193,6 +203,9 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
193
203
|
if self.description is not None:
|
|
194
204
|
result['Description'] = self.description
|
|
195
205
|
|
|
206
|
+
if self.ecs_host_name is not None:
|
|
207
|
+
result['EcsHostName'] = self.ecs_host_name
|
|
208
|
+
|
|
196
209
|
if self.expired_time is not None:
|
|
197
210
|
result['ExpiredTime'] = self.expired_time
|
|
198
211
|
|
|
@@ -229,6 +242,12 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
229
242
|
if self.node_type is not None:
|
|
230
243
|
result['NodeType'] = self.node_type
|
|
231
244
|
|
|
245
|
+
if self.osname is not None:
|
|
246
|
+
result['OSName'] = self.osname
|
|
247
|
+
|
|
248
|
+
if self.ostype is not None:
|
|
249
|
+
result['OSType'] = self.ostype
|
|
250
|
+
|
|
232
251
|
if self.public_ip is not None:
|
|
233
252
|
result['PublicIp'] = self.public_ip
|
|
234
253
|
|
|
@@ -241,9 +260,15 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
241
260
|
if self.spot_strategy is not None:
|
|
242
261
|
result['SpotStrategy'] = self.spot_strategy
|
|
243
262
|
|
|
263
|
+
if self.start_time is not None:
|
|
264
|
+
result['StartTime'] = self.start_time
|
|
265
|
+
|
|
244
266
|
if self.status is not None:
|
|
245
267
|
result['Status'] = self.status
|
|
246
268
|
|
|
269
|
+
if self.stopped_mode is not None:
|
|
270
|
+
result['StoppedMode'] = self.stopped_mode
|
|
271
|
+
|
|
247
272
|
result['TagResources'] = []
|
|
248
273
|
if self.tag_resources is not None:
|
|
249
274
|
for k1 in self.tag_resources:
|
|
@@ -285,6 +310,9 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
285
310
|
if m.get('Description') is not None:
|
|
286
311
|
self.description = m.get('Description')
|
|
287
312
|
|
|
313
|
+
if m.get('EcsHostName') is not None:
|
|
314
|
+
self.ecs_host_name = m.get('EcsHostName')
|
|
315
|
+
|
|
288
316
|
if m.get('ExpiredTime') is not None:
|
|
289
317
|
self.expired_time = m.get('ExpiredTime')
|
|
290
318
|
|
|
@@ -321,6 +349,12 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
321
349
|
if m.get('NodeType') is not None:
|
|
322
350
|
self.node_type = m.get('NodeType')
|
|
323
351
|
|
|
352
|
+
if m.get('OSName') is not None:
|
|
353
|
+
self.osname = m.get('OSName')
|
|
354
|
+
|
|
355
|
+
if m.get('OSType') is not None:
|
|
356
|
+
self.ostype = m.get('OSType')
|
|
357
|
+
|
|
324
358
|
if m.get('PublicIp') is not None:
|
|
325
359
|
self.public_ip = m.get('PublicIp')
|
|
326
360
|
|
|
@@ -333,9 +367,15 @@ class DescribeRCInstancesResponseBodyRCInstances(DaraModel):
|
|
|
333
367
|
if m.get('SpotStrategy') is not None:
|
|
334
368
|
self.spot_strategy = m.get('SpotStrategy')
|
|
335
369
|
|
|
370
|
+
if m.get('StartTime') is not None:
|
|
371
|
+
self.start_time = m.get('StartTime')
|
|
372
|
+
|
|
336
373
|
if m.get('Status') is not None:
|
|
337
374
|
self.status = m.get('Status')
|
|
338
375
|
|
|
376
|
+
if m.get('StoppedMode') is not None:
|
|
377
|
+
self.stopped_mode = m.get('StoppedMode')
|
|
378
|
+
|
|
339
379
|
self.tag_resources = []
|
|
340
380
|
if m.get('TagResources') is not None:
|
|
341
381
|
for k1 in m.get('TagResources'):
|
|
@@ -7,6 +7,7 @@ from darabonba.model import DaraModel
|
|
|
7
7
|
class ModifyRCDiskChargeTypeRequest(DaraModel):
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
|
+
auto_pay: bool = None,
|
|
10
11
|
auto_renew: str = None,
|
|
11
12
|
auto_use_coupon: bool = None,
|
|
12
13
|
business_info: str = None,
|
|
@@ -16,13 +17,13 @@ class ModifyRCDiskChargeTypeRequest(DaraModel):
|
|
|
16
17
|
promotion_code: str = None,
|
|
17
18
|
region_id: str = None,
|
|
18
19
|
):
|
|
20
|
+
self.auto_pay = auto_pay
|
|
19
21
|
self.auto_renew = auto_renew
|
|
20
22
|
self.auto_use_coupon = auto_use_coupon
|
|
21
23
|
self.business_info = business_info
|
|
22
24
|
self.client_token = client_token
|
|
23
25
|
# This parameter is required.
|
|
24
26
|
self.instance_id = instance_id
|
|
25
|
-
# This parameter is required.
|
|
26
27
|
self.pay_type = pay_type
|
|
27
28
|
self.promotion_code = promotion_code
|
|
28
29
|
# This parameter is required.
|
|
@@ -36,6 +37,9 @@ class ModifyRCDiskChargeTypeRequest(DaraModel):
|
|
|
36
37
|
_map = super().to_map()
|
|
37
38
|
if _map is not None:
|
|
38
39
|
result = _map
|
|
40
|
+
if self.auto_pay is not None:
|
|
41
|
+
result['AutoPay'] = self.auto_pay
|
|
42
|
+
|
|
39
43
|
if self.auto_renew is not None:
|
|
40
44
|
result['AutoRenew'] = self.auto_renew
|
|
41
45
|
|
|
@@ -64,6 +68,9 @@ class ModifyRCDiskChargeTypeRequest(DaraModel):
|
|
|
64
68
|
|
|
65
69
|
def from_map(self, m: dict = None):
|
|
66
70
|
m = m or dict()
|
|
71
|
+
if m.get('AutoPay') is not None:
|
|
72
|
+
self.auto_pay = m.get('AutoPay')
|
|
73
|
+
|
|
67
74
|
if m.get('AutoRenew') is not None:
|
|
68
75
|
self.auto_renew = m.get('AutoRenew')
|
|
69
76
|
|
|
@@ -55,8 +55,6 @@ class ModifyRCInstanceChargeTypeRequest(DaraModel):
|
|
|
55
55
|
# The new billing method of the instance. Valid values:
|
|
56
56
|
# * **Prepaid**: subscription.
|
|
57
57
|
# * **Postpaid**: pay-as-you-go.
|
|
58
|
-
#
|
|
59
|
-
# This parameter is required.
|
|
60
58
|
self.pay_type = pay_type
|
|
61
59
|
# The renewal cycle of the instance. Valid values:
|
|
62
60
|
# * **Year**
|
|
@@ -10,6 +10,7 @@ class StopRCInstanceRequest(DaraModel):
|
|
|
10
10
|
force_stop: bool = None,
|
|
11
11
|
instance_id: str = None,
|
|
12
12
|
region_id: str = None,
|
|
13
|
+
stopped_mode: str = None,
|
|
13
14
|
):
|
|
14
15
|
# Specifies whether to forcefully stop the instance. Valid values:
|
|
15
16
|
#
|
|
@@ -22,6 +23,7 @@ class StopRCInstanceRequest(DaraModel):
|
|
|
22
23
|
self.instance_id = instance_id
|
|
23
24
|
# The region ID.
|
|
24
25
|
self.region_id = region_id
|
|
26
|
+
self.stopped_mode = stopped_mode
|
|
25
27
|
|
|
26
28
|
def validate(self):
|
|
27
29
|
pass
|
|
@@ -40,6 +42,9 @@ class StopRCInstanceRequest(DaraModel):
|
|
|
40
42
|
if self.region_id is not None:
|
|
41
43
|
result['RegionId'] = self.region_id
|
|
42
44
|
|
|
45
|
+
if self.stopped_mode is not None:
|
|
46
|
+
result['StoppedMode'] = self.stopped_mode
|
|
47
|
+
|
|
43
48
|
return result
|
|
44
49
|
|
|
45
50
|
def from_map(self, m: dict = None):
|
|
@@ -53,5 +58,8 @@ class StopRCInstanceRequest(DaraModel):
|
|
|
53
58
|
if m.get('RegionId') is not None:
|
|
54
59
|
self.region_id = m.get('RegionId')
|
|
55
60
|
|
|
61
|
+
if m.get('StoppedMode') is not None:
|
|
62
|
+
self.stopped_mode = m.get('StoppedMode')
|
|
63
|
+
|
|
56
64
|
return self
|
|
57
65
|
|
|
@@ -13,6 +13,7 @@ class StopRCInstancesRequest(DaraModel):
|
|
|
13
13
|
force_stop: bool = None,
|
|
14
14
|
instance_ids: List[str] = None,
|
|
15
15
|
region_id: str = None,
|
|
16
|
+
stopped_mode: str = None,
|
|
16
17
|
):
|
|
17
18
|
# The batch operation mode. Set the value to **AllTogether**. In this mode, if all instances are stopped, a success message is returned. If an instance fails the verification, none of the instances can be stopped and an error message is returned.
|
|
18
19
|
self.batch_optimization = batch_optimization
|
|
@@ -25,6 +26,7 @@ class StopRCInstancesRequest(DaraModel):
|
|
|
25
26
|
self.instance_ids = instance_ids
|
|
26
27
|
# The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/26243.html) operation to query the most recent region list.
|
|
27
28
|
self.region_id = region_id
|
|
29
|
+
self.stopped_mode = stopped_mode
|
|
28
30
|
|
|
29
31
|
def validate(self):
|
|
30
32
|
pass
|
|
@@ -46,6 +48,9 @@ class StopRCInstancesRequest(DaraModel):
|
|
|
46
48
|
if self.region_id is not None:
|
|
47
49
|
result['RegionId'] = self.region_id
|
|
48
50
|
|
|
51
|
+
if self.stopped_mode is not None:
|
|
52
|
+
result['StoppedMode'] = self.stopped_mode
|
|
53
|
+
|
|
49
54
|
return result
|
|
50
55
|
|
|
51
56
|
def from_map(self, m: dict = None):
|
|
@@ -62,5 +67,8 @@ class StopRCInstancesRequest(DaraModel):
|
|
|
62
67
|
if m.get('RegionId') is not None:
|
|
63
68
|
self.region_id = m.get('RegionId')
|
|
64
69
|
|
|
70
|
+
if m.get('StoppedMode') is not None:
|
|
71
|
+
self.stopped_mode = m.get('StoppedMode')
|
|
72
|
+
|
|
65
73
|
return self
|
|
66
74
|
|
|
@@ -11,6 +11,7 @@ class StopRCInstancesShrinkRequest(DaraModel):
|
|
|
11
11
|
force_stop: bool = None,
|
|
12
12
|
instance_ids_shrink: str = None,
|
|
13
13
|
region_id: str = None,
|
|
14
|
+
stopped_mode: str = None,
|
|
14
15
|
):
|
|
15
16
|
# The batch operation mode. Set the value to **AllTogether**. In this mode, if all instances are stopped, a success message is returned. If an instance fails the verification, none of the instances can be stopped and an error message is returned.
|
|
16
17
|
self.batch_optimization = batch_optimization
|
|
@@ -23,6 +24,7 @@ class StopRCInstancesShrinkRequest(DaraModel):
|
|
|
23
24
|
self.instance_ids_shrink = instance_ids_shrink
|
|
24
25
|
# The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/26243.html) operation to query the most recent region list.
|
|
25
26
|
self.region_id = region_id
|
|
27
|
+
self.stopped_mode = stopped_mode
|
|
26
28
|
|
|
27
29
|
def validate(self):
|
|
28
30
|
pass
|
|
@@ -44,6 +46,9 @@ class StopRCInstancesShrinkRequest(DaraModel):
|
|
|
44
46
|
if self.region_id is not None:
|
|
45
47
|
result['RegionId'] = self.region_id
|
|
46
48
|
|
|
49
|
+
if self.stopped_mode is not None:
|
|
50
|
+
result['StoppedMode'] = self.stopped_mode
|
|
51
|
+
|
|
47
52
|
return result
|
|
48
53
|
|
|
49
54
|
def from_map(self, m: dict = None):
|
|
@@ -60,5 +65,8 @@ class StopRCInstancesShrinkRequest(DaraModel):
|
|
|
60
65
|
if m.get('RegionId') is not None:
|
|
61
66
|
self.region_id = m.get('RegionId')
|
|
62
67
|
|
|
68
|
+
if m.get('StoppedMode') is not None:
|
|
69
|
+
self.stopped_mode = m.get('StoppedMode')
|
|
70
|
+
|
|
63
71
|
return self
|
|
64
72
|
|
{alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/RECORD
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
alibabacloud_rds20140815/__init__.py,sha256=
|
|
2
|
-
alibabacloud_rds20140815/client.py,sha256=
|
|
1
|
+
alibabacloud_rds20140815/__init__.py,sha256=e6nK8dpMwX3A80HWYh4W8F_8QewAuOsN6UCf1CTVsWs,22
|
|
2
|
+
alibabacloud_rds20140815/client.py,sha256=q5OvlaZzQx4GaVVzCKzbtu6mUIjbVG-z7SAHWV0f8VI,1649290
|
|
3
3
|
alibabacloud_rds20140815/models/__init__.py,sha256=pAsUpaSlUlgcSJMv09C665blId0k0z6JFsCx2gHo1_Q,210400
|
|
4
4
|
alibabacloud_rds20140815/models/_accept_rcinquired_system_event_request.py,sha256=9JXBVt1-R15-kb6w6xg3GfTI2sMbX6mrVdzcxqvEjfk,1185
|
|
5
5
|
alibabacloud_rds20140815/models/_accept_rcinquired_system_event_response.py,sha256=EaX1WiEo6Rm3uEsSUPYsa-L4PX3IILGRw8eEmD8bon8,1513
|
|
@@ -403,7 +403,7 @@ alibabacloud_rds20140815/models/_describe_dbinstance_proxy_configuration_respons
|
|
|
403
403
|
alibabacloud_rds20140815/models/_describe_dbinstance_proxy_configuration_response_body.py,sha256=EMvoJQ_3bo3-TDN8XRylbfpkl-f14_DwQ7BDFYYgGr0,3685
|
|
404
404
|
alibabacloud_rds20140815/models/_describe_dbinstance_replication_request.py,sha256=KpBoLYnNFL0sjaWC1W3jrZ6NZvTLfe6eHvkud21os5w,1737
|
|
405
405
|
alibabacloud_rds20140815/models/_describe_dbinstance_replication_response.py,sha256=i8XC3OLlcDFnpMwcejzyo6vdJeVJcvs-Af8GqvzqOw8,1519
|
|
406
|
-
alibabacloud_rds20140815/models/_describe_dbinstance_replication_response_body.py,sha256=
|
|
406
|
+
alibabacloud_rds20140815/models/_describe_dbinstance_replication_response_body.py,sha256=wcumUhXM4DgZEZibziJfSS6R3OAgDHTOATU5mNgo0UE,4099
|
|
407
407
|
alibabacloud_rds20140815/models/_describe_dbinstance_security_group_rule_request.py,sha256=rNAbzPYMuhA7LCpmvPtTokP1NberM9q33Fat41gV10o,2216
|
|
408
408
|
alibabacloud_rds20140815/models/_describe_dbinstance_security_group_rule_response.py,sha256=0t7YLFnK0YlsRQva-lFowpo2Yu6p-YSt7rtqXJfr4vM,1537
|
|
409
409
|
alibabacloud_rds20140815/models/_describe_dbinstance_security_group_rule_response_body.py,sha256=yliH1j2kckyGmCt_XE0_iXIxyvhREncHFW02m7263qU,1585
|
|
@@ -576,7 +576,7 @@ alibabacloud_rds20140815/models/_describe_rcdeployment_sets_response.py,sha256=H
|
|
|
576
576
|
alibabacloud_rds20140815/models/_describe_rcdeployment_sets_response_body.py,sha256=RvpNSUShhDzgfIBBpOJSDk2pqFhD9-WWMmGI94s8pFc,15623
|
|
577
577
|
alibabacloud_rds20140815/models/_describe_rcdisks_request.py,sha256=s6xX8oFxqt5rxP94lIuTH5OEzFd8AGcH1lcay8D2EGM,3764
|
|
578
578
|
alibabacloud_rds20140815/models/_describe_rcdisks_response.py,sha256=uKOGRZsz_JZ6rN9215q-O1DBmVaCPq13Ak1Mazsgi-g,1477
|
|
579
|
-
alibabacloud_rds20140815/models/_describe_rcdisks_response_body.py,sha256=
|
|
579
|
+
alibabacloud_rds20140815/models/_describe_rcdisks_response_body.py,sha256=dZ-FCocNaZKFaJrr83LxAz1nAF5a40Hiu0UZoCceG-Q,14910
|
|
580
580
|
alibabacloud_rds20140815/models/_describe_rcelastic_scaling_request.py,sha256=tP0kn52JGrQNkqTj6rFyhma8ClYUKMQRaNXoYiTR97c,1919
|
|
581
581
|
alibabacloud_rds20140815/models/_describe_rcelastic_scaling_response.py,sha256=UHZDlA4gkf_jzyupub6kN0K2a6pBnFqY-Zz1S5YzZuw,1504
|
|
582
582
|
alibabacloud_rds20140815/models/_describe_rcelastic_scaling_response_body.py,sha256=mNGAHWs3HSifw08AkUqwyKmBxq0Z5YBmyFfNCC4NQfk,3872
|
|
@@ -607,7 +607,7 @@ alibabacloud_rds20140815/models/_describe_rcinstance_vnc_url_response.py,sha256=
|
|
|
607
607
|
alibabacloud_rds20140815/models/_describe_rcinstance_vnc_url_response_body.py,sha256=x3xMVuCtKvSSNcuZOBzoOGq4-T-cf76NrcCDWVbuhO8,1325
|
|
608
608
|
alibabacloud_rds20140815/models/_describe_rcinstances_request.py,sha256=LwyzFIBGpnaMzYt9vegdO2HDxkMbj_Sfve3DHM7_1qk,4013
|
|
609
609
|
alibabacloud_rds20140815/models/_describe_rcinstances_response.py,sha256=w4dN0QjDalvXMFtu3vqRJcfaBwPm_b8fPJrwypbda4w,1489
|
|
610
|
-
alibabacloud_rds20140815/models/_describe_rcinstances_response_body.py,sha256=
|
|
610
|
+
alibabacloud_rds20140815/models/_describe_rcinstances_response_body.py,sha256=lZJvLU_qaq2QBHp45BOwG_U-zHe86DZWgaP5HVn4RLE,17586
|
|
611
611
|
alibabacloud_rds20140815/models/_describe_rcinvocation_results_request.py,sha256=y6vs2CyJ32cD-wqcaqRJIOJeHKC4FyYJn_H9ZstNZnU,5300
|
|
612
612
|
alibabacloud_rds20140815/models/_describe_rcinvocation_results_response.py,sha256=8ZwmBqa-vfaox8Mu5JFFzLNrQZBIk60sinlXnC69oqc,1513
|
|
613
613
|
alibabacloud_rds20140815/models/_describe_rcinvocation_results_response_body.py,sha256=yrxiiIJOlTkTB11fIWhxJukvfbFGyd7CPBPTiu_PI7Q,9076
|
|
@@ -939,7 +939,7 @@ alibabacloud_rds20140815/models/_modify_parameter_response_body.py,sha256=TWkmDB
|
|
|
939
939
|
alibabacloud_rds20140815/models/_modify_pghba_config_request.py,sha256=5qklQbyXTQ-8e4z4Z7-DqnLokhbmsJT9D8Q5S20XVf0,9384
|
|
940
940
|
alibabacloud_rds20140815/models/_modify_pghba_config_response.py,sha256=J7cDJz7ek39nEzAvZqmLC527S0wd_tAuixY2QB3O1CQ,1483
|
|
941
941
|
alibabacloud_rds20140815/models/_modify_pghba_config_response_body.py,sha256=T8CZ3A2STxkbppY-rKvCUI3wQvgyb4dqjl0aJq2qIG4,806
|
|
942
|
-
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_request.py,sha256=
|
|
942
|
+
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_request.py,sha256=X4nCLVouY1msw6UxNs-4WMVqTz5A7kUvRHh_OL2ghoo,2962
|
|
943
943
|
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_response.py,sha256=zB7FgYXh-FKBB7rZDSSvUITLJRRIOU7SeMiFrRB_0rE,1498
|
|
944
944
|
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_response_body.py,sha256=AMI05aZ1Ui97r27zTolqXNlssHX-te8UERYRpdIag2Y,1854
|
|
945
945
|
alibabacloud_rds20140815/models/_modify_rcdisk_spec_request.py,sha256=riVtVJipb_gpDpHJItupvMOYZtyed6BsMbNswCuNBUU,3584
|
|
@@ -952,7 +952,7 @@ alibabacloud_rds20140815/models/_modify_rcinstance_attribute_request.py,sha256=7
|
|
|
952
952
|
alibabacloud_rds20140815/models/_modify_rcinstance_attribute_response.py,sha256=P9U9ZcQghJqRf86-ZlovABAmfKa7mG05_GoAU1rsFlg,1507
|
|
953
953
|
alibabacloud_rds20140815/models/_modify_rcinstance_attribute_response_body.py,sha256=X-80-eWFmCyzNrZnJkci-EJkirw6t1aA0RYzvQRF4j4,807
|
|
954
954
|
alibabacloud_rds20140815/models/_modify_rcinstance_attribute_shrink_request.py,sha256=n7Cc3IlrVCyI1iAYAVq3YwcnfSjeSB3djBkTzPyhf10,4330
|
|
955
|
-
alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_request.py,sha256=
|
|
955
|
+
alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_request.py,sha256=ycNyj2ZvLekdN45-HZpvJvqn1rHRHMhIunID9UBoPLM,6474
|
|
956
956
|
alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_response.py,sha256=6tFK0Hvua0MTHh8FtjN7RxAz3drh4Fw5bGmF-icpEWg,1510
|
|
957
957
|
alibabacloud_rds20140815/models/_modify_rcinstance_charge_type_response_body.py,sha256=EkpJ0fEg1t8AoMrFPfUexNHVLo5tiiDXfWVxgA0bkaI,4408
|
|
958
958
|
alibabacloud_rds20140815/models/_modify_rcinstance_description_request.py,sha256=5ItnEGS6Ge3zmvyCpsXhDRZfIS2NpNHNb81JOs6MLlA,1626
|
|
@@ -1115,13 +1115,13 @@ alibabacloud_rds20140815/models/_start_rcinstances_shrink_request.py,sha256=n8C_
|
|
|
1115
1115
|
alibabacloud_rds20140815/models/_stop_dbinstance_request.py,sha256=a6_9-AceadY2yX-NrYbXF-Qxjy3ArQ8BpJp4PCSdQ-c,2246
|
|
1116
1116
|
alibabacloud_rds20140815/models/_stop_dbinstance_response.py,sha256=hIdvqRpo05RSOrZefIc0ezycjoy6a-nOdA8d_5RKnkM,1474
|
|
1117
1117
|
alibabacloud_rds20140815/models/_stop_dbinstance_response_body.py,sha256=whJdwNX2NeV15XCDcIHJfh1QoDeSfoagPsdaSeYI3u4,803
|
|
1118
|
-
alibabacloud_rds20140815/models/_stop_rcinstance_request.py,sha256=
|
|
1118
|
+
alibabacloud_rds20140815/models/_stop_rcinstance_request.py,sha256=Kiw4SM5HwdrBg_N8f4aTGSTbGMXPZuDFOgCaAKnJ59A,1787
|
|
1119
1119
|
alibabacloud_rds20140815/models/_stop_rcinstance_response.py,sha256=SCCHprs5cj9Hl_Fft24m-bhL6BMIZfhPkMMRgloOp18,1474
|
|
1120
1120
|
alibabacloud_rds20140815/models/_stop_rcinstance_response_body.py,sha256=AyFJDWX69He7zlysRzqaEaOil4kHt0iGFj3WgVyDcZI,796
|
|
1121
|
-
alibabacloud_rds20140815/models/_stop_rcinstances_request.py,sha256=
|
|
1121
|
+
alibabacloud_rds20140815/models/_stop_rcinstances_request.py,sha256=w_e0L0Ox1kV0AG9zAwglyttbAlXtzear0vkwbMrtX4Q,2729
|
|
1122
1122
|
alibabacloud_rds20140815/models/_stop_rcinstances_response.py,sha256=kbGC-Th8eZhCgwssTNwK5HkvwExY6jKqnly3qc8_Okc,1477
|
|
1123
1123
|
alibabacloud_rds20140815/models/_stop_rcinstances_response_body.py,sha256=JiEjYgb4ErsgDg6YDuErQWVS4zhtLIEmt7-18OP4hQI,797
|
|
1124
|
-
alibabacloud_rds20140815/models/_stop_rcinstances_shrink_request.py,sha256=
|
|
1124
|
+
alibabacloud_rds20140815/models/_stop_rcinstances_shrink_request.py,sha256=QoeMzigWZbxkYsS05RknWKHjy-ixQmrUaVUpG7vmabk,2746
|
|
1125
1125
|
alibabacloud_rds20140815/models/_switch_dbinstance_harequest.py,sha256=alWmXyc_sgqYpyjPNfwBZWHSNP9W4Rinm85s-qn2Q_w,3488
|
|
1126
1126
|
alibabacloud_rds20140815/models/_switch_dbinstance_haresponse.py,sha256=5THo0pfNTZ0Nj11UxJR0QTRLMuc4CQYPQtY-bIdZc5I,1486
|
|
1127
1127
|
alibabacloud_rds20140815/models/_switch_dbinstance_haresponse_body.py,sha256=iDN-SGTFqlx27eUW3RVk1bgvkWWEv2_jRmo0gUBIhFs,807
|
|
@@ -1182,8 +1182,8 @@ alibabacloud_rds20140815/models/_upgrade_dbinstance_major_version_response_body.
|
|
|
1182
1182
|
alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_request.py,sha256=YKxSyPLnrBfempCKlGsbw8y-lQaoKC9tDuon_zODMK8,4164
|
|
1183
1183
|
alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_response.py,sha256=wCg_jc-Zd2gJH4IdlaFOBHFcotYBMCU9Ay8EGJ9a4dU,1537
|
|
1184
1184
|
alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_response_body.py,sha256=UNvS1pq3eopumK9Sl6ELfb2xECWLlV_5i0n1s5i95L0,1427
|
|
1185
|
-
alibabacloud_rds20140815-14.0.
|
|
1186
|
-
alibabacloud_rds20140815-14.0.
|
|
1187
|
-
alibabacloud_rds20140815-14.0.
|
|
1188
|
-
alibabacloud_rds20140815-14.0.
|
|
1189
|
-
alibabacloud_rds20140815-14.0.
|
|
1185
|
+
alibabacloud_rds20140815-14.0.2.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1186
|
+
alibabacloud_rds20140815-14.0.2.dist-info/METADATA,sha256=oIQmojee5XJMYuOqEo8t4i3FzgTL7tacsFc5EnKypbE,2290
|
|
1187
|
+
alibabacloud_rds20140815-14.0.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1188
|
+
alibabacloud_rds20140815-14.0.2.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
1189
|
+
alibabacloud_rds20140815-14.0.2.dist-info/RECORD,,
|
{alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_rds20140815-14.0.0.dist-info → alibabacloud_rds20140815-14.0.2.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|