alibabacloud-rds20140815 14.0.1__py3-none-any.whl → 14.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 +94 -0
- alibabacloud_rds20140815/models/__init__.py +6 -0
- alibabacloud_rds20140815/models/_create_rcsnapshot_request.py +0 -2
- alibabacloud_rds20140815/models/_delete_rcdisk_request.py +0 -2
- alibabacloud_rds20140815/models/_describe_rcdisks_response_body.py +16 -0
- alibabacloud_rds20140815/models/_describe_rcsnapshots_request.py +8 -2
- alibabacloud_rds20140815/models/_describe_rcsnapshots_response_body.py +8 -0
- alibabacloud_rds20140815/models/_detach_rcdisk_request.py +0 -2
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_request.py +75 -0
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response.py +54 -0
- alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response_body.py +34 -0
- {alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/METADATA +1 -1
- {alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/RECORD +17 -14
- {alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '14.0
|
|
1
|
+
__version__ = '14.1.0'
|
|
@@ -20378,6 +20378,8 @@ class Client(OpenApiClient):
|
|
|
20378
20378
|
query = {}
|
|
20379
20379
|
if not DaraCore.is_null(request.disk_id):
|
|
20380
20380
|
query['DiskId'] = request.disk_id
|
|
20381
|
+
if not DaraCore.is_null(request.instance_id):
|
|
20382
|
+
query['InstanceId'] = request.instance_id
|
|
20381
20383
|
if not DaraCore.is_null(request.page_number):
|
|
20382
20384
|
query['PageNumber'] = request.page_number
|
|
20383
20385
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -20416,6 +20418,8 @@ class Client(OpenApiClient):
|
|
|
20416
20418
|
query = {}
|
|
20417
20419
|
if not DaraCore.is_null(request.disk_id):
|
|
20418
20420
|
query['DiskId'] = request.disk_id
|
|
20421
|
+
if not DaraCore.is_null(request.instance_id):
|
|
20422
|
+
query['InstanceId'] = request.instance_id
|
|
20419
20423
|
if not DaraCore.is_null(request.page_number):
|
|
20420
20424
|
query['PageNumber'] = request.page_number
|
|
20421
20425
|
if not DaraCore.is_null(request.page_size):
|
|
@@ -30595,6 +30599,96 @@ class Client(OpenApiClient):
|
|
|
30595
30599
|
runtime = RuntimeOptions()
|
|
30596
30600
|
return await self.modify_parameter_group_with_options_async(request, runtime)
|
|
30597
30601
|
|
|
30602
|
+
def modify_rcdisk_attribute_with_options(
|
|
30603
|
+
self,
|
|
30604
|
+
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30605
|
+
runtime: RuntimeOptions,
|
|
30606
|
+
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30607
|
+
request.validate()
|
|
30608
|
+
query = {}
|
|
30609
|
+
if not DaraCore.is_null(request.bursting_enabled):
|
|
30610
|
+
query['BurstingEnabled'] = request.bursting_enabled
|
|
30611
|
+
if not DaraCore.is_null(request.delete_with_instance):
|
|
30612
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
30613
|
+
if not DaraCore.is_null(request.description):
|
|
30614
|
+
query['Description'] = request.description
|
|
30615
|
+
if not DaraCore.is_null(request.disk_id):
|
|
30616
|
+
query['DiskId'] = request.disk_id
|
|
30617
|
+
if not DaraCore.is_null(request.disk_name):
|
|
30618
|
+
query['DiskName'] = request.disk_name
|
|
30619
|
+
if not DaraCore.is_null(request.region_id):
|
|
30620
|
+
query['RegionId'] = request.region_id
|
|
30621
|
+
req = open_api_util_models.OpenApiRequest(
|
|
30622
|
+
query = Utils.query(query)
|
|
30623
|
+
)
|
|
30624
|
+
params = open_api_util_models.Params(
|
|
30625
|
+
action = 'ModifyRCDiskAttribute',
|
|
30626
|
+
version = '2014-08-15',
|
|
30627
|
+
protocol = 'HTTPS',
|
|
30628
|
+
pathname = '/',
|
|
30629
|
+
method = 'POST',
|
|
30630
|
+
auth_type = 'AK',
|
|
30631
|
+
style = 'RPC',
|
|
30632
|
+
req_body_type = 'formData',
|
|
30633
|
+
body_type = 'json'
|
|
30634
|
+
)
|
|
30635
|
+
return DaraCore.from_map(
|
|
30636
|
+
main_models.ModifyRCDiskAttributeResponse(),
|
|
30637
|
+
self.call_api(params, req, runtime)
|
|
30638
|
+
)
|
|
30639
|
+
|
|
30640
|
+
async def modify_rcdisk_attribute_with_options_async(
|
|
30641
|
+
self,
|
|
30642
|
+
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30643
|
+
runtime: RuntimeOptions,
|
|
30644
|
+
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30645
|
+
request.validate()
|
|
30646
|
+
query = {}
|
|
30647
|
+
if not DaraCore.is_null(request.bursting_enabled):
|
|
30648
|
+
query['BurstingEnabled'] = request.bursting_enabled
|
|
30649
|
+
if not DaraCore.is_null(request.delete_with_instance):
|
|
30650
|
+
query['DeleteWithInstance'] = request.delete_with_instance
|
|
30651
|
+
if not DaraCore.is_null(request.description):
|
|
30652
|
+
query['Description'] = request.description
|
|
30653
|
+
if not DaraCore.is_null(request.disk_id):
|
|
30654
|
+
query['DiskId'] = request.disk_id
|
|
30655
|
+
if not DaraCore.is_null(request.disk_name):
|
|
30656
|
+
query['DiskName'] = request.disk_name
|
|
30657
|
+
if not DaraCore.is_null(request.region_id):
|
|
30658
|
+
query['RegionId'] = request.region_id
|
|
30659
|
+
req = open_api_util_models.OpenApiRequest(
|
|
30660
|
+
query = Utils.query(query)
|
|
30661
|
+
)
|
|
30662
|
+
params = open_api_util_models.Params(
|
|
30663
|
+
action = 'ModifyRCDiskAttribute',
|
|
30664
|
+
version = '2014-08-15',
|
|
30665
|
+
protocol = 'HTTPS',
|
|
30666
|
+
pathname = '/',
|
|
30667
|
+
method = 'POST',
|
|
30668
|
+
auth_type = 'AK',
|
|
30669
|
+
style = 'RPC',
|
|
30670
|
+
req_body_type = 'formData',
|
|
30671
|
+
body_type = 'json'
|
|
30672
|
+
)
|
|
30673
|
+
return DaraCore.from_map(
|
|
30674
|
+
main_models.ModifyRCDiskAttributeResponse(),
|
|
30675
|
+
await self.call_api_async(params, req, runtime)
|
|
30676
|
+
)
|
|
30677
|
+
|
|
30678
|
+
def modify_rcdisk_attribute(
|
|
30679
|
+
self,
|
|
30680
|
+
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30681
|
+
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30682
|
+
runtime = RuntimeOptions()
|
|
30683
|
+
return self.modify_rcdisk_attribute_with_options(request, runtime)
|
|
30684
|
+
|
|
30685
|
+
async def modify_rcdisk_attribute_async(
|
|
30686
|
+
self,
|
|
30687
|
+
request: main_models.ModifyRCDiskAttributeRequest,
|
|
30688
|
+
) -> main_models.ModifyRCDiskAttributeResponse:
|
|
30689
|
+
runtime = RuntimeOptions()
|
|
30690
|
+
return await self.modify_rcdisk_attribute_with_options_async(request, runtime)
|
|
30691
|
+
|
|
30598
30692
|
def modify_rcdisk_charge_type_with_options(
|
|
30599
30693
|
self,
|
|
30600
30694
|
request: main_models.ModifyRCDiskChargeTypeRequest,
|
|
@@ -940,6 +940,9 @@ from ._modify_parameter_response import ModifyParameterResponse
|
|
|
940
940
|
from ._modify_parameter_group_request import ModifyParameterGroupRequest
|
|
941
941
|
from ._modify_parameter_group_response_body import ModifyParameterGroupResponseBody
|
|
942
942
|
from ._modify_parameter_group_response import ModifyParameterGroupResponse
|
|
943
|
+
from ._modify_rcdisk_attribute_request import ModifyRCDiskAttributeRequest
|
|
944
|
+
from ._modify_rcdisk_attribute_response_body import ModifyRCDiskAttributeResponseBody
|
|
945
|
+
from ._modify_rcdisk_attribute_response import ModifyRCDiskAttributeResponse
|
|
943
946
|
from ._modify_rcdisk_charge_type_request import ModifyRCDiskChargeTypeRequest
|
|
944
947
|
from ._modify_rcdisk_charge_type_response_body import ModifyRCDiskChargeTypeResponseBody
|
|
945
948
|
from ._modify_rcdisk_charge_type_response import ModifyRCDiskChargeTypeResponse
|
|
@@ -2523,6 +2526,9 @@ __all__ = [
|
|
|
2523
2526
|
ModifyParameterGroupRequest,
|
|
2524
2527
|
ModifyParameterGroupResponseBody,
|
|
2525
2528
|
ModifyParameterGroupResponse,
|
|
2529
|
+
ModifyRCDiskAttributeRequest,
|
|
2530
|
+
ModifyRCDiskAttributeResponseBody,
|
|
2531
|
+
ModifyRCDiskAttributeResponse,
|
|
2526
2532
|
ModifyRCDiskChargeTypeRequest,
|
|
2527
2533
|
ModifyRCDiskChargeTypeResponseBody,
|
|
2528
2534
|
ModifyRCDiskChargeTypeResponse,
|
|
@@ -31,8 +31,6 @@ class CreateRCSnapshotRequest(DaraModel):
|
|
|
31
31
|
# This parameter is deprecated.
|
|
32
32
|
self.instant_access_retention_days = instant_access_retention_days
|
|
33
33
|
# The region ID.
|
|
34
|
-
#
|
|
35
|
-
# This parameter is required.
|
|
36
34
|
self.region_id = region_id
|
|
37
35
|
self.resource_group_id = resource_group_id
|
|
38
36
|
# The retention period of the snapshot. Valid values: 1 to 65536. Unit: days. The snapshot is automatically released when its retention period expires.
|
|
@@ -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
|
|
|
@@ -11,6 +11,7 @@ class DescribeRCSnapshotsRequest(DaraModel):
|
|
|
11
11
|
def __init__(
|
|
12
12
|
self,
|
|
13
13
|
disk_id: str = None,
|
|
14
|
+
instance_id: str = None,
|
|
14
15
|
page_number: int = None,
|
|
15
16
|
page_size: int = None,
|
|
16
17
|
region_id: str = None,
|
|
@@ -19,13 +20,12 @@ class DescribeRCSnapshotsRequest(DaraModel):
|
|
|
19
20
|
):
|
|
20
21
|
# The cloud disk ID.
|
|
21
22
|
self.disk_id = disk_id
|
|
23
|
+
self.instance_id = instance_id
|
|
22
24
|
# The page number.
|
|
23
25
|
self.page_number = page_number
|
|
24
26
|
# The number of entries per page. Valid values: **30** to **100**. Default value: **30**.
|
|
25
27
|
self.page_size = page_size
|
|
26
28
|
# The region ID. You can call the DescribeRegions operation to query the most recent region list.
|
|
27
|
-
#
|
|
28
|
-
# This parameter is required.
|
|
29
29
|
self.region_id = region_id
|
|
30
30
|
# The snapshot IDs.
|
|
31
31
|
#
|
|
@@ -47,6 +47,9 @@ class DescribeRCSnapshotsRequest(DaraModel):
|
|
|
47
47
|
if self.disk_id is not None:
|
|
48
48
|
result['DiskId'] = self.disk_id
|
|
49
49
|
|
|
50
|
+
if self.instance_id is not None:
|
|
51
|
+
result['InstanceId'] = self.instance_id
|
|
52
|
+
|
|
50
53
|
if self.page_number is not None:
|
|
51
54
|
result['PageNumber'] = self.page_number
|
|
52
55
|
|
|
@@ -71,6 +74,9 @@ class DescribeRCSnapshotsRequest(DaraModel):
|
|
|
71
74
|
if m.get('DiskId') is not None:
|
|
72
75
|
self.disk_id = m.get('DiskId')
|
|
73
76
|
|
|
77
|
+
if m.get('InstanceId') is not None:
|
|
78
|
+
self.instance_id = m.get('InstanceId')
|
|
79
|
+
|
|
74
80
|
if m.get('PageNumber') is not None:
|
|
75
81
|
self.page_number = m.get('PageNumber')
|
|
76
82
|
|
|
@@ -88,6 +88,7 @@ class DescribeRCSnapshotsResponseBodySnapshots(DaraModel):
|
|
|
88
88
|
description: str = None,
|
|
89
89
|
encrypted: bool = None,
|
|
90
90
|
instant_access: bool = None,
|
|
91
|
+
last_modified_time: str = None,
|
|
91
92
|
progress: str = None,
|
|
92
93
|
region_id: str = None,
|
|
93
94
|
resource_group_id: str = None,
|
|
@@ -124,6 +125,7 @@ class DescribeRCSnapshotsResponseBodySnapshots(DaraModel):
|
|
|
124
125
|
self.encrypted = encrypted
|
|
125
126
|
# This parameter is deprecated.
|
|
126
127
|
self.instant_access = instant_access
|
|
128
|
+
self.last_modified_time = last_modified_time
|
|
127
129
|
# The progress of the snapshot creation task in percentage.
|
|
128
130
|
self.progress = progress
|
|
129
131
|
# The region ID.
|
|
@@ -196,6 +198,9 @@ class DescribeRCSnapshotsResponseBodySnapshots(DaraModel):
|
|
|
196
198
|
if self.instant_access is not None:
|
|
197
199
|
result['InstantAccess'] = self.instant_access
|
|
198
200
|
|
|
201
|
+
if self.last_modified_time is not None:
|
|
202
|
+
result['LastModifiedTime'] = self.last_modified_time
|
|
203
|
+
|
|
199
204
|
if self.progress is not None:
|
|
200
205
|
result['Progress'] = self.progress
|
|
201
206
|
|
|
@@ -259,6 +264,9 @@ class DescribeRCSnapshotsResponseBodySnapshots(DaraModel):
|
|
|
259
264
|
if m.get('InstantAccess') is not None:
|
|
260
265
|
self.instant_access = m.get('InstantAccess')
|
|
261
266
|
|
|
267
|
+
if m.get('LastModifiedTime') is not None:
|
|
268
|
+
self.last_modified_time = m.get('LastModifiedTime')
|
|
269
|
+
|
|
262
270
|
if m.get('Progress') is not None:
|
|
263
271
|
self.progress = m.get('Progress')
|
|
264
272
|
|
|
@@ -23,8 +23,6 @@ class DetachRCDiskRequest(DaraModel):
|
|
|
23
23
|
# This parameter is required.
|
|
24
24
|
self.instance_id = instance_id
|
|
25
25
|
# The region ID. You can call the DescribeRegions operation to query the most recent region list.
|
|
26
|
-
#
|
|
27
|
-
# This parameter is required.
|
|
28
26
|
self.region_id = region_id
|
|
29
27
|
|
|
30
28
|
def validate(self):
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ModifyRCDiskAttributeRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
bursting_enabled: bool = None,
|
|
11
|
+
delete_with_instance: bool = None,
|
|
12
|
+
description: str = None,
|
|
13
|
+
disk_id: str = None,
|
|
14
|
+
disk_name: str = None,
|
|
15
|
+
region_id: str = None,
|
|
16
|
+
):
|
|
17
|
+
self.bursting_enabled = bursting_enabled
|
|
18
|
+
self.delete_with_instance = delete_with_instance
|
|
19
|
+
self.description = description
|
|
20
|
+
# This parameter is required.
|
|
21
|
+
self.disk_id = disk_id
|
|
22
|
+
self.disk_name = disk_name
|
|
23
|
+
# This parameter is required.
|
|
24
|
+
self.region_id = region_id
|
|
25
|
+
|
|
26
|
+
def validate(self):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
def to_map(self):
|
|
30
|
+
result = dict()
|
|
31
|
+
_map = super().to_map()
|
|
32
|
+
if _map is not None:
|
|
33
|
+
result = _map
|
|
34
|
+
if self.bursting_enabled is not None:
|
|
35
|
+
result['BurstingEnabled'] = self.bursting_enabled
|
|
36
|
+
|
|
37
|
+
if self.delete_with_instance is not None:
|
|
38
|
+
result['DeleteWithInstance'] = self.delete_with_instance
|
|
39
|
+
|
|
40
|
+
if self.description is not None:
|
|
41
|
+
result['Description'] = self.description
|
|
42
|
+
|
|
43
|
+
if self.disk_id is not None:
|
|
44
|
+
result['DiskId'] = self.disk_id
|
|
45
|
+
|
|
46
|
+
if self.disk_name is not None:
|
|
47
|
+
result['DiskName'] = self.disk_name
|
|
48
|
+
|
|
49
|
+
if self.region_id is not None:
|
|
50
|
+
result['RegionId'] = self.region_id
|
|
51
|
+
|
|
52
|
+
return result
|
|
53
|
+
|
|
54
|
+
def from_map(self, m: dict = None):
|
|
55
|
+
m = m or dict()
|
|
56
|
+
if m.get('BurstingEnabled') is not None:
|
|
57
|
+
self.bursting_enabled = m.get('BurstingEnabled')
|
|
58
|
+
|
|
59
|
+
if m.get('DeleteWithInstance') is not None:
|
|
60
|
+
self.delete_with_instance = m.get('DeleteWithInstance')
|
|
61
|
+
|
|
62
|
+
if m.get('Description') is not None:
|
|
63
|
+
self.description = m.get('Description')
|
|
64
|
+
|
|
65
|
+
if m.get('DiskId') is not None:
|
|
66
|
+
self.disk_id = m.get('DiskId')
|
|
67
|
+
|
|
68
|
+
if m.get('DiskName') is not None:
|
|
69
|
+
self.disk_name = m.get('DiskName')
|
|
70
|
+
|
|
71
|
+
if m.get('RegionId') is not None:
|
|
72
|
+
self.region_id = m.get('RegionId')
|
|
73
|
+
|
|
74
|
+
return self
|
|
75
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_rds20140815 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class ModifyRCDiskAttributeResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.ModifyRCDiskAttributeResponseBody = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.ModifyRCDiskAttributeResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from darabonba.model import DaraModel
|
|
6
|
+
|
|
7
|
+
class ModifyRCDiskAttributeResponseBody(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
request_id: str = None,
|
|
11
|
+
):
|
|
12
|
+
# Id of the request
|
|
13
|
+
self.request_id = request_id
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
pass
|
|
17
|
+
|
|
18
|
+
def to_map(self):
|
|
19
|
+
result = dict()
|
|
20
|
+
_map = super().to_map()
|
|
21
|
+
if _map is not None:
|
|
22
|
+
result = _map
|
|
23
|
+
if self.request_id is not None:
|
|
24
|
+
result['RequestId'] = self.request_id
|
|
25
|
+
|
|
26
|
+
return result
|
|
27
|
+
|
|
28
|
+
def from_map(self, m: dict = None):
|
|
29
|
+
m = m or dict()
|
|
30
|
+
if m.get('RequestId') is not None:
|
|
31
|
+
self.request_id = m.get('RequestId')
|
|
32
|
+
|
|
33
|
+
return self
|
|
34
|
+
|
{alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
alibabacloud_rds20140815/__init__.py,sha256=
|
|
2
|
-
alibabacloud_rds20140815/client.py,sha256=
|
|
3
|
-
alibabacloud_rds20140815/models/__init__.py,sha256=
|
|
1
|
+
alibabacloud_rds20140815/__init__.py,sha256=sJsjhhf0uxdjWPQCE_mDt-JM7UpEqU9M-CkbX-3fkOE,22
|
|
2
|
+
alibabacloud_rds20140815/client.py,sha256=XYGervc_za83OxTDTfIbapWAb67BHOLEf8iVYaOhHmA,1653134
|
|
3
|
+
alibabacloud_rds20140815/models/__init__.py,sha256=xTwUk_-gYUh308mgeAeZdIiJiHqYjXFhJvpWlO_Gmtk,210746
|
|
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
|
|
6
6
|
alibabacloud_rds20140815/models/_accept_rcinquired_system_event_response_body.py,sha256=OKIUcVmiu8QPMT8dr7WzN8S9JsVU5xMNukcl2SJy2bI,816
|
|
@@ -155,7 +155,7 @@ alibabacloud_rds20140815/models/_create_rcnode_pool_request.py,sha256=UZoh1i055K
|
|
|
155
155
|
alibabacloud_rds20140815/models/_create_rcnode_pool_response.py,sha256=ZQXmKGG37ZN0NPFFiccr3BfPNgBynZKTiZhwKvb29go,1480
|
|
156
156
|
alibabacloud_rds20140815/models/_create_rcnode_pool_response_body.py,sha256=TocnL8MttI-qjIuH9SrDpTcw9uwor-m3EaTO3oV-ycw,1716
|
|
157
157
|
alibabacloud_rds20140815/models/_create_rcnode_pool_shrink_request.py,sha256=bguLBUosjwTbzxnfO2j-MvEjaK-e5jFYOx5sm2OUDFQ,16316
|
|
158
|
-
alibabacloud_rds20140815/models/_create_rcsnapshot_request.py,sha256=
|
|
158
|
+
alibabacloud_rds20140815/models/_create_rcsnapshot_request.py,sha256=9bBAukXsHv5_-ULJKHj8AeWgo4Anhp_nYAdO94l0ZTk,4874
|
|
159
159
|
alibabacloud_rds20140815/models/_create_rcsnapshot_response.py,sha256=solRfUnpuHjH23Pek_Iy-YLF4YlHU5OxtKZaqnPBEJA,1480
|
|
160
160
|
alibabacloud_rds20140815/models/_create_rcsnapshot_response_body.py,sha256=edVL2aVrwZBVRgtgpR-lLi4jIA2fWgBthEfu0URtpZs,1087
|
|
161
161
|
alibabacloud_rds20140815/models/_create_read_only_dbinstance_request.py,sha256=l8fEa0haK5paLGKOmij1yV3xCJrLBkrzCGY4WAaFFos,21675
|
|
@@ -229,7 +229,7 @@ alibabacloud_rds20140815/models/_delete_rccluster_nodes_shrink_request.py,sha256
|
|
|
229
229
|
alibabacloud_rds20140815/models/_delete_rcdeployment_set_request.py,sha256=SquomieS1mSE48sZ8Orte8NOQZFCjly7wmVoubPyijE,1232
|
|
230
230
|
alibabacloud_rds20140815/models/_delete_rcdeployment_set_response.py,sha256=if7z-bqcnij_uVcJt3rsgSpbHdx1C-1z6CuFmdDsbqA,1495
|
|
231
231
|
alibabacloud_rds20140815/models/_delete_rcdeployment_set_response_body.py,sha256=oeyj8UDicb_i1yoUiV-iwVopvS6WYqSDWc5KyePWXbU,803
|
|
232
|
-
alibabacloud_rds20140815/models/_delete_rcdisk_request.py,sha256=
|
|
232
|
+
alibabacloud_rds20140815/models/_delete_rcdisk_request.py,sha256=rmQsFrdjTDTizuyyn1l1uThrNTQY7jAe9ANAcH3O4OI,1131
|
|
233
233
|
alibabacloud_rds20140815/models/_delete_rcdisk_response.py,sha256=HcID1_Py_ng0Ib-S1-7gdb2iZPs-YwJ1XZC_sol-1K0,1468
|
|
234
234
|
alibabacloud_rds20140815/models/_delete_rcdisk_response_body.py,sha256=gFA8qF2BAI1kAAMuisLv7h80b44FojP6FW5ZYfGHKDs,794
|
|
235
235
|
alibabacloud_rds20140815/models/_delete_rcinstance_request.py,sha256=L7_6xkcJ9Kqr1d_U4lqyvDrW8q5kVe0xOiqmFIAoVJQ,1308
|
|
@@ -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
|
|
@@ -628,9 +628,9 @@ alibabacloud_rds20140815/models/_describe_rcsecurity_group_list_response_body.py
|
|
|
628
628
|
alibabacloud_rds20140815/models/_describe_rcsecurity_group_permission_request.py,sha256=pcQ5SIIY66xKjVsNyCDgKaAi8X5i0FhXcGL_93VAgsQ,1164
|
|
629
629
|
alibabacloud_rds20140815/models/_describe_rcsecurity_group_permission_response.py,sha256=RZ_ZOLAaY9eq_3GdG2V0mjMrxLUN4TlBAk9HMyW_ziE,1531
|
|
630
630
|
alibabacloud_rds20140815/models/_describe_rcsecurity_group_permission_response_body.py,sha256=4CxmEPldqIV4coczIXGnVHzQZ-IYIk5DgiGpQPi8o4k,6035
|
|
631
|
-
alibabacloud_rds20140815/models/_describe_rcsnapshots_request.py,sha256=
|
|
631
|
+
alibabacloud_rds20140815/models/_describe_rcsnapshots_request.py,sha256=EXDlB2vSwaYccxgKuPIpg6O3gMxIL75JrGe-Dm0b274,3842
|
|
632
632
|
alibabacloud_rds20140815/models/_describe_rcsnapshots_response.py,sha256=bVJALoVC7QedjVJ7HsGfW9lO5DWT4R3OIZO2izstaHc,1489
|
|
633
|
-
alibabacloud_rds20140815/models/_describe_rcsnapshots_response_body.py,sha256=
|
|
633
|
+
alibabacloud_rds20140815/models/_describe_rcsnapshots_response_body.py,sha256=PVKdbcdspxg1lhGbu2kY3tVvnIml4yjlWPEfAIPL25M,11802
|
|
634
634
|
alibabacloud_rds20140815/models/_describe_rcvcluster_request.py,sha256=5ORkCRgbtmH8ObI2DNszYtV0Snf23l6eTzZj9XlLahI,1089
|
|
635
635
|
alibabacloud_rds20140815/models/_describe_rcvcluster_response.py,sha256=xLqh606xJzdAskV50KjjwgG6uYqS2nthgv6sLikv2gc,1486
|
|
636
636
|
alibabacloud_rds20140815/models/_describe_rcvcluster_response_body.py,sha256=Unt-_rSw1B-G_y5D5UFNnNEnFfT413gHCSShtJMVzRU,1072
|
|
@@ -721,7 +721,7 @@ alibabacloud_rds20140815/models/_destroy_dbinstance_response_body.py,sha256=WhBy
|
|
|
721
721
|
alibabacloud_rds20140815/models/_detach_gad_instance_member_request.py,sha256=xNJvIRbcjZ7c_rxnxQczY1qJ1cVwPGlIEoavelhIh5U,2265
|
|
722
722
|
alibabacloud_rds20140815/models/_detach_gad_instance_member_response.py,sha256=x7BjlUyMmPwjMJ1S_ol1-upLZALnh5T_5TlcoSE5U68,1501
|
|
723
723
|
alibabacloud_rds20140815/models/_detach_gad_instance_member_response_body.py,sha256=JDNcqwtU03RdACTn4jLCWaWb7nkTFWoEKA3b1SrJUVo,805
|
|
724
|
-
alibabacloud_rds20140815/models/_detach_rcdisk_request.py,sha256=
|
|
724
|
+
alibabacloud_rds20140815/models/_detach_rcdisk_request.py,sha256=SJMGybVpU-jow46Nux0VKssP2Irq5Xao3MXyiupjtYc,1935
|
|
725
725
|
alibabacloud_rds20140815/models/_detach_rcdisk_response.py,sha256=OIigQL2zAnpXwe74sgLMXlFXS8w3_G-AAPp69TpctQs,1468
|
|
726
726
|
alibabacloud_rds20140815/models/_detach_rcdisk_response_body.py,sha256=56Um4rWIHp2nLc2c8_zPgPtwdF9i1kn-Pscp-mLkqbI,794
|
|
727
727
|
alibabacloud_rds20140815/models/_detach_whitelist_template_to_instance_request.py,sha256=oOD1TcH40r-j40OcUUhxHZ57VpLkgfqgvos5pqXTstY,2650
|
|
@@ -939,6 +939,9 @@ 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_attribute_request.py,sha256=2irOeC1UBowNOa28FihrC32tVAG9tDr-MmR7O3bips4,2223
|
|
943
|
+
alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response.py,sha256=FevuZ6VoKVCxthssDpJYmycVCdh6nEPZrRVY_ZEWLDw,1495
|
|
944
|
+
alibabacloud_rds20140815/models/_modify_rcdisk_attribute_response_body.py,sha256=IhOrK8Bhs--C9Oys2kxhdov8DGifkq1T1AWyQQxoD-w,805
|
|
942
945
|
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_request.py,sha256=X4nCLVouY1msw6UxNs-4WMVqTz5A7kUvRHh_OL2ghoo,2962
|
|
943
946
|
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_response.py,sha256=zB7FgYXh-FKBB7rZDSSvUITLJRRIOU7SeMiFrRB_0rE,1498
|
|
944
947
|
alibabacloud_rds20140815/models/_modify_rcdisk_charge_type_response_body.py,sha256=AMI05aZ1Ui97r27zTolqXNlssHX-te8UERYRpdIag2Y,1854
|
|
@@ -1182,8 +1185,8 @@ alibabacloud_rds20140815/models/_upgrade_dbinstance_major_version_response_body.
|
|
|
1182
1185
|
alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_request.py,sha256=YKxSyPLnrBfempCKlGsbw8y-lQaoKC9tDuon_zODMK8,4164
|
|
1183
1186
|
alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_response.py,sha256=wCg_jc-Zd2gJH4IdlaFOBHFcotYBMCU9Ay8EGJ9a4dU,1537
|
|
1184
1187
|
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.
|
|
1188
|
+
alibabacloud_rds20140815-14.1.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1189
|
+
alibabacloud_rds20140815-14.1.0.dist-info/METADATA,sha256=6ZhETF383OZtZrMpJHHdFxPplpPrJ1qu3ed1-xPxa3s,2290
|
|
1190
|
+
alibabacloud_rds20140815-14.1.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1191
|
+
alibabacloud_rds20140815-14.1.0.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
1192
|
+
alibabacloud_rds20140815-14.1.0.dist-info/RECORD,,
|
{alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_rds20140815-14.0.1.dist-info → alibabacloud_rds20140815-14.1.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|