alibabacloud-rds20140815 15.2.0__py3-none-any.whl → 15.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 +176 -0
- alibabacloud_rds20140815/models/__init__.py +26 -0
- alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_request.py +65 -0
- alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_response.py +54 -0
- alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_response_body.py +127 -0
- alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_request.py +73 -0
- alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_response.py +54 -0
- alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_response_body.py +292 -0
- {alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/METADATA +1 -1
- {alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/RECORD +14 -8
- {alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '15.
|
|
1
|
+
__version__ = '15.3.0'
|
|
@@ -9329,6 +9329,92 @@ class Client(OpenApiClient):
|
|
|
9329
9329
|
runtime = RuntimeOptions()
|
|
9330
9330
|
return await self.describe_action_event_policy_with_options_async(request, runtime)
|
|
9331
9331
|
|
|
9332
|
+
def describe_active_operation_maintain_conf_with_options(
|
|
9333
|
+
self,
|
|
9334
|
+
request: main_models.DescribeActiveOperationMaintainConfRequest,
|
|
9335
|
+
runtime: RuntimeOptions,
|
|
9336
|
+
) -> main_models.DescribeActiveOperationMaintainConfResponse:
|
|
9337
|
+
request.validate()
|
|
9338
|
+
query = {}
|
|
9339
|
+
if not DaraCore.is_null(request.owner_account):
|
|
9340
|
+
query['OwnerAccount'] = request.owner_account
|
|
9341
|
+
if not DaraCore.is_null(request.owner_id):
|
|
9342
|
+
query['OwnerId'] = request.owner_id
|
|
9343
|
+
if not DaraCore.is_null(request.resource_owner_account):
|
|
9344
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9345
|
+
if not DaraCore.is_null(request.resource_owner_id):
|
|
9346
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9347
|
+
if not DaraCore.is_null(request.security_token):
|
|
9348
|
+
query['SecurityToken'] = request.security_token
|
|
9349
|
+
req = open_api_util_models.OpenApiRequest(
|
|
9350
|
+
query = Utils.query(query)
|
|
9351
|
+
)
|
|
9352
|
+
params = open_api_util_models.Params(
|
|
9353
|
+
action = 'DescribeActiveOperationMaintainConf',
|
|
9354
|
+
version = '2014-08-15',
|
|
9355
|
+
protocol = 'HTTPS',
|
|
9356
|
+
pathname = '/',
|
|
9357
|
+
method = 'POST',
|
|
9358
|
+
auth_type = 'AK',
|
|
9359
|
+
style = 'RPC',
|
|
9360
|
+
req_body_type = 'formData',
|
|
9361
|
+
body_type = 'json'
|
|
9362
|
+
)
|
|
9363
|
+
return DaraCore.from_map(
|
|
9364
|
+
main_models.DescribeActiveOperationMaintainConfResponse(),
|
|
9365
|
+
self.call_api(params, req, runtime)
|
|
9366
|
+
)
|
|
9367
|
+
|
|
9368
|
+
async def describe_active_operation_maintain_conf_with_options_async(
|
|
9369
|
+
self,
|
|
9370
|
+
request: main_models.DescribeActiveOperationMaintainConfRequest,
|
|
9371
|
+
runtime: RuntimeOptions,
|
|
9372
|
+
) -> main_models.DescribeActiveOperationMaintainConfResponse:
|
|
9373
|
+
request.validate()
|
|
9374
|
+
query = {}
|
|
9375
|
+
if not DaraCore.is_null(request.owner_account):
|
|
9376
|
+
query['OwnerAccount'] = request.owner_account
|
|
9377
|
+
if not DaraCore.is_null(request.owner_id):
|
|
9378
|
+
query['OwnerId'] = request.owner_id
|
|
9379
|
+
if not DaraCore.is_null(request.resource_owner_account):
|
|
9380
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
9381
|
+
if not DaraCore.is_null(request.resource_owner_id):
|
|
9382
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
9383
|
+
if not DaraCore.is_null(request.security_token):
|
|
9384
|
+
query['SecurityToken'] = request.security_token
|
|
9385
|
+
req = open_api_util_models.OpenApiRequest(
|
|
9386
|
+
query = Utils.query(query)
|
|
9387
|
+
)
|
|
9388
|
+
params = open_api_util_models.Params(
|
|
9389
|
+
action = 'DescribeActiveOperationMaintainConf',
|
|
9390
|
+
version = '2014-08-15',
|
|
9391
|
+
protocol = 'HTTPS',
|
|
9392
|
+
pathname = '/',
|
|
9393
|
+
method = 'POST',
|
|
9394
|
+
auth_type = 'AK',
|
|
9395
|
+
style = 'RPC',
|
|
9396
|
+
req_body_type = 'formData',
|
|
9397
|
+
body_type = 'json'
|
|
9398
|
+
)
|
|
9399
|
+
return DaraCore.from_map(
|
|
9400
|
+
main_models.DescribeActiveOperationMaintainConfResponse(),
|
|
9401
|
+
await self.call_api_async(params, req, runtime)
|
|
9402
|
+
)
|
|
9403
|
+
|
|
9404
|
+
def describe_active_operation_maintain_conf(
|
|
9405
|
+
self,
|
|
9406
|
+
request: main_models.DescribeActiveOperationMaintainConfRequest,
|
|
9407
|
+
) -> main_models.DescribeActiveOperationMaintainConfResponse:
|
|
9408
|
+
runtime = RuntimeOptions()
|
|
9409
|
+
return self.describe_active_operation_maintain_conf_with_options(request, runtime)
|
|
9410
|
+
|
|
9411
|
+
async def describe_active_operation_maintain_conf_async(
|
|
9412
|
+
self,
|
|
9413
|
+
request: main_models.DescribeActiveOperationMaintainConfRequest,
|
|
9414
|
+
) -> main_models.DescribeActiveOperationMaintainConfResponse:
|
|
9415
|
+
runtime = RuntimeOptions()
|
|
9416
|
+
return await self.describe_active_operation_maintain_conf_with_options_async(request, runtime)
|
|
9417
|
+
|
|
9332
9418
|
def describe_active_operation_tasks_with_options(
|
|
9333
9419
|
self,
|
|
9334
9420
|
request: main_models.DescribeActiveOperationTasksRequest,
|
|
@@ -22241,6 +22327,96 @@ class Client(OpenApiClient):
|
|
|
22241
22327
|
runtime = RuntimeOptions()
|
|
22242
22328
|
return await self.describe_sqllog_report_list_with_options_async(request, runtime)
|
|
22243
22329
|
|
|
22330
|
+
def describe_sqlserver_upgrade_versions_with_options(
|
|
22331
|
+
self,
|
|
22332
|
+
request: main_models.DescribeSQLServerUpgradeVersionsRequest,
|
|
22333
|
+
runtime: RuntimeOptions,
|
|
22334
|
+
) -> main_models.DescribeSQLServerUpgradeVersionsResponse:
|
|
22335
|
+
request.validate()
|
|
22336
|
+
query = {}
|
|
22337
|
+
if not DaraCore.is_null(request.client_token):
|
|
22338
|
+
query['ClientToken'] = request.client_token
|
|
22339
|
+
if not DaraCore.is_null(request.dbinstance_id):
|
|
22340
|
+
query['DBInstanceId'] = request.dbinstance_id
|
|
22341
|
+
if not DaraCore.is_null(request.engine_version):
|
|
22342
|
+
query['EngineVersion'] = request.engine_version
|
|
22343
|
+
if not DaraCore.is_null(request.owner_id):
|
|
22344
|
+
query['OwnerId'] = request.owner_id
|
|
22345
|
+
if not DaraCore.is_null(request.resource_owner_account):
|
|
22346
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22347
|
+
if not DaraCore.is_null(request.resource_owner_id):
|
|
22348
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
22349
|
+
req = open_api_util_models.OpenApiRequest(
|
|
22350
|
+
query = Utils.query(query)
|
|
22351
|
+
)
|
|
22352
|
+
params = open_api_util_models.Params(
|
|
22353
|
+
action = 'DescribeSQLServerUpgradeVersions',
|
|
22354
|
+
version = '2014-08-15',
|
|
22355
|
+
protocol = 'HTTPS',
|
|
22356
|
+
pathname = '/',
|
|
22357
|
+
method = 'POST',
|
|
22358
|
+
auth_type = 'AK',
|
|
22359
|
+
style = 'RPC',
|
|
22360
|
+
req_body_type = 'formData',
|
|
22361
|
+
body_type = 'json'
|
|
22362
|
+
)
|
|
22363
|
+
return DaraCore.from_map(
|
|
22364
|
+
main_models.DescribeSQLServerUpgradeVersionsResponse(),
|
|
22365
|
+
self.call_api(params, req, runtime)
|
|
22366
|
+
)
|
|
22367
|
+
|
|
22368
|
+
async def describe_sqlserver_upgrade_versions_with_options_async(
|
|
22369
|
+
self,
|
|
22370
|
+
request: main_models.DescribeSQLServerUpgradeVersionsRequest,
|
|
22371
|
+
runtime: RuntimeOptions,
|
|
22372
|
+
) -> main_models.DescribeSQLServerUpgradeVersionsResponse:
|
|
22373
|
+
request.validate()
|
|
22374
|
+
query = {}
|
|
22375
|
+
if not DaraCore.is_null(request.client_token):
|
|
22376
|
+
query['ClientToken'] = request.client_token
|
|
22377
|
+
if not DaraCore.is_null(request.dbinstance_id):
|
|
22378
|
+
query['DBInstanceId'] = request.dbinstance_id
|
|
22379
|
+
if not DaraCore.is_null(request.engine_version):
|
|
22380
|
+
query['EngineVersion'] = request.engine_version
|
|
22381
|
+
if not DaraCore.is_null(request.owner_id):
|
|
22382
|
+
query['OwnerId'] = request.owner_id
|
|
22383
|
+
if not DaraCore.is_null(request.resource_owner_account):
|
|
22384
|
+
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
22385
|
+
if not DaraCore.is_null(request.resource_owner_id):
|
|
22386
|
+
query['ResourceOwnerId'] = request.resource_owner_id
|
|
22387
|
+
req = open_api_util_models.OpenApiRequest(
|
|
22388
|
+
query = Utils.query(query)
|
|
22389
|
+
)
|
|
22390
|
+
params = open_api_util_models.Params(
|
|
22391
|
+
action = 'DescribeSQLServerUpgradeVersions',
|
|
22392
|
+
version = '2014-08-15',
|
|
22393
|
+
protocol = 'HTTPS',
|
|
22394
|
+
pathname = '/',
|
|
22395
|
+
method = 'POST',
|
|
22396
|
+
auth_type = 'AK',
|
|
22397
|
+
style = 'RPC',
|
|
22398
|
+
req_body_type = 'formData',
|
|
22399
|
+
body_type = 'json'
|
|
22400
|
+
)
|
|
22401
|
+
return DaraCore.from_map(
|
|
22402
|
+
main_models.DescribeSQLServerUpgradeVersionsResponse(),
|
|
22403
|
+
await self.call_api_async(params, req, runtime)
|
|
22404
|
+
)
|
|
22405
|
+
|
|
22406
|
+
def describe_sqlserver_upgrade_versions(
|
|
22407
|
+
self,
|
|
22408
|
+
request: main_models.DescribeSQLServerUpgradeVersionsRequest,
|
|
22409
|
+
) -> main_models.DescribeSQLServerUpgradeVersionsResponse:
|
|
22410
|
+
runtime = RuntimeOptions()
|
|
22411
|
+
return self.describe_sqlserver_upgrade_versions_with_options(request, runtime)
|
|
22412
|
+
|
|
22413
|
+
async def describe_sqlserver_upgrade_versions_async(
|
|
22414
|
+
self,
|
|
22415
|
+
request: main_models.DescribeSQLServerUpgradeVersionsRequest,
|
|
22416
|
+
) -> main_models.DescribeSQLServerUpgradeVersionsResponse:
|
|
22417
|
+
runtime = RuntimeOptions()
|
|
22418
|
+
return await self.describe_sqlserver_upgrade_versions_with_options_async(request, runtime)
|
|
22419
|
+
|
|
22244
22420
|
def describe_secrets_with_options(
|
|
22245
22421
|
self,
|
|
22246
22422
|
request: main_models.DescribeSecretsRequest,
|
|
@@ -282,6 +282,9 @@ from ._describe_accounts_response import DescribeAccountsResponse
|
|
|
282
282
|
from ._describe_action_event_policy_request import DescribeActionEventPolicyRequest
|
|
283
283
|
from ._describe_action_event_policy_response_body import DescribeActionEventPolicyResponseBody
|
|
284
284
|
from ._describe_action_event_policy_response import DescribeActionEventPolicyResponse
|
|
285
|
+
from ._describe_active_operation_maintain_conf_request import DescribeActiveOperationMaintainConfRequest
|
|
286
|
+
from ._describe_active_operation_maintain_conf_response_body import DescribeActiveOperationMaintainConfResponseBody
|
|
287
|
+
from ._describe_active_operation_maintain_conf_response import DescribeActiveOperationMaintainConfResponse
|
|
285
288
|
from ._describe_active_operation_tasks_request import DescribeActiveOperationTasksRequest
|
|
286
289
|
from ._describe_active_operation_tasks_response_body import DescribeActiveOperationTasksResponseBody
|
|
287
290
|
from ._describe_active_operation_tasks_response import DescribeActiveOperationTasksResponse
|
|
@@ -689,6 +692,9 @@ from ._describe_sqllog_records_response import DescribeSQLLogRecordsResponse
|
|
|
689
692
|
from ._describe_sqllog_report_list_request import DescribeSQLLogReportListRequest
|
|
690
693
|
from ._describe_sqllog_report_list_response_body import DescribeSQLLogReportListResponseBody
|
|
691
694
|
from ._describe_sqllog_report_list_response import DescribeSQLLogReportListResponse
|
|
695
|
+
from ._describe_sqlserver_upgrade_versions_request import DescribeSQLServerUpgradeVersionsRequest
|
|
696
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBody
|
|
697
|
+
from ._describe_sqlserver_upgrade_versions_response import DescribeSQLServerUpgradeVersionsResponse
|
|
692
698
|
from ._describe_secrets_request import DescribeSecretsRequest
|
|
693
699
|
from ._describe_secrets_response_body import DescribeSecretsResponseBody
|
|
694
700
|
from ._describe_secrets_response import DescribeSecretsResponse
|
|
@@ -1257,6 +1263,7 @@ from ._describe_accounts_response_body import DescribeAccountsResponseBodyAccoun
|
|
|
1257
1263
|
from ._describe_accounts_response_body import DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges
|
|
1258
1264
|
from ._describe_accounts_response_body import DescribeAccountsResponseBodyAccountsDBInstanceAccount
|
|
1259
1265
|
from ._describe_accounts_response_body import DescribeAccountsResponseBodyAccounts
|
|
1266
|
+
from ._describe_active_operation_maintain_conf_response_body import DescribeActiveOperationMaintainConfResponseBodyConfig
|
|
1260
1267
|
from ._describe_active_operation_tasks_response_body import DescribeActiveOperationTasksResponseBodyItems
|
|
1261
1268
|
from ._describe_all_whitelist_template_response_body import DescribeAllWhitelistTemplateResponseBodyDataTemplates
|
|
1262
1269
|
from ._describe_all_whitelist_template_response_body import DescribeAllWhitelistTemplateResponseBodyData
|
|
@@ -1556,6 +1563,12 @@ from ._describe_sqllog_report_list_response_body import DescribeSQLLogReportList
|
|
|
1556
1563
|
from ._describe_sqllog_report_list_response_body import DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems
|
|
1557
1564
|
from ._describe_sqllog_report_list_response_body import DescribeSQLLogReportListResponseBodyItemsItem
|
|
1558
1565
|
from ._describe_sqllog_report_list_response_body import DescribeSQLLogReportListResponseBodyItems
|
|
1566
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItemsDBInstanceClassItem
|
|
1567
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItems
|
|
1568
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersion
|
|
1569
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersions
|
|
1570
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItemsItem
|
|
1571
|
+
from ._describe_sqlserver_upgrade_versions_response_body import DescribeSQLServerUpgradeVersionsResponseBodyItems
|
|
1559
1572
|
from ._describe_secrets_response_body import DescribeSecretsResponseBodySecrets
|
|
1560
1573
|
from ._describe_security_group_configuration_response_body import DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation
|
|
1561
1574
|
from ._describe_security_group_configuration_response_body import DescribeSecurityGroupConfigurationResponseBodyItems
|
|
@@ -1902,6 +1915,9 @@ __all__ = [
|
|
|
1902
1915
|
DescribeActionEventPolicyRequest,
|
|
1903
1916
|
DescribeActionEventPolicyResponseBody,
|
|
1904
1917
|
DescribeActionEventPolicyResponse,
|
|
1918
|
+
DescribeActiveOperationMaintainConfRequest,
|
|
1919
|
+
DescribeActiveOperationMaintainConfResponseBody,
|
|
1920
|
+
DescribeActiveOperationMaintainConfResponse,
|
|
1905
1921
|
DescribeActiveOperationTasksRequest,
|
|
1906
1922
|
DescribeActiveOperationTasksResponseBody,
|
|
1907
1923
|
DescribeActiveOperationTasksResponse,
|
|
@@ -2309,6 +2325,9 @@ __all__ = [
|
|
|
2309
2325
|
DescribeSQLLogReportListRequest,
|
|
2310
2326
|
DescribeSQLLogReportListResponseBody,
|
|
2311
2327
|
DescribeSQLLogReportListResponse,
|
|
2328
|
+
DescribeSQLServerUpgradeVersionsRequest,
|
|
2329
|
+
DescribeSQLServerUpgradeVersionsResponseBody,
|
|
2330
|
+
DescribeSQLServerUpgradeVersionsResponse,
|
|
2312
2331
|
DescribeSecretsRequest,
|
|
2313
2332
|
DescribeSecretsResponseBody,
|
|
2314
2333
|
DescribeSecretsResponse,
|
|
@@ -2877,6 +2896,7 @@ __all__ = [
|
|
|
2877
2896
|
DescribeAccountsResponseBodyAccountsDBInstanceAccountDatabasePrivileges,
|
|
2878
2897
|
DescribeAccountsResponseBodyAccountsDBInstanceAccount,
|
|
2879
2898
|
DescribeAccountsResponseBodyAccounts,
|
|
2899
|
+
DescribeActiveOperationMaintainConfResponseBodyConfig,
|
|
2880
2900
|
DescribeActiveOperationTasksResponseBodyItems,
|
|
2881
2901
|
DescribeAllWhitelistTemplateResponseBodyDataTemplates,
|
|
2882
2902
|
DescribeAllWhitelistTemplateResponseBodyData,
|
|
@@ -3176,6 +3196,12 @@ __all__ = [
|
|
|
3176
3196
|
DescribeSQLLogReportListResponseBodyItemsItemQPSTopNItems,
|
|
3177
3197
|
DescribeSQLLogReportListResponseBodyItemsItem,
|
|
3178
3198
|
DescribeSQLLogReportListResponseBodyItems,
|
|
3199
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItemsDBInstanceClassItem,
|
|
3200
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItems,
|
|
3201
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersion,
|
|
3202
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersions,
|
|
3203
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItemsItem,
|
|
3204
|
+
DescribeSQLServerUpgradeVersionsResponseBodyItems,
|
|
3179
3205
|
DescribeSecretsResponseBodySecrets,
|
|
3180
3206
|
DescribeSecurityGroupConfigurationResponseBodyItemsEcsSecurityGroupRelation,
|
|
3181
3207
|
DescribeSecurityGroupConfigurationResponseBodyItems,
|
|
@@ -0,0 +1,65 @@
|
|
|
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 DescribeActiveOperationMaintainConfRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
owner_account: str = None,
|
|
11
|
+
owner_id: int = None,
|
|
12
|
+
resource_owner_account: str = None,
|
|
13
|
+
resource_owner_id: int = None,
|
|
14
|
+
security_token: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.owner_account = owner_account
|
|
17
|
+
self.owner_id = owner_id
|
|
18
|
+
self.resource_owner_account = resource_owner_account
|
|
19
|
+
self.resource_owner_id = resource_owner_id
|
|
20
|
+
self.security_token = security_token
|
|
21
|
+
|
|
22
|
+
def validate(self):
|
|
23
|
+
pass
|
|
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.owner_account is not None:
|
|
31
|
+
result['OwnerAccount'] = self.owner_account
|
|
32
|
+
|
|
33
|
+
if self.owner_id is not None:
|
|
34
|
+
result['OwnerId'] = self.owner_id
|
|
35
|
+
|
|
36
|
+
if self.resource_owner_account is not None:
|
|
37
|
+
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
38
|
+
|
|
39
|
+
if self.resource_owner_id is not None:
|
|
40
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
41
|
+
|
|
42
|
+
if self.security_token is not None:
|
|
43
|
+
result['SecurityToken'] = self.security_token
|
|
44
|
+
|
|
45
|
+
return result
|
|
46
|
+
|
|
47
|
+
def from_map(self, m: dict = None):
|
|
48
|
+
m = m or dict()
|
|
49
|
+
if m.get('OwnerAccount') is not None:
|
|
50
|
+
self.owner_account = m.get('OwnerAccount')
|
|
51
|
+
|
|
52
|
+
if m.get('OwnerId') is not None:
|
|
53
|
+
self.owner_id = m.get('OwnerId')
|
|
54
|
+
|
|
55
|
+
if m.get('ResourceOwnerAccount') is not None:
|
|
56
|
+
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
57
|
+
|
|
58
|
+
if m.get('ResourceOwnerId') is not None:
|
|
59
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
60
|
+
|
|
61
|
+
if m.get('SecurityToken') is not None:
|
|
62
|
+
self.security_token = m.get('SecurityToken')
|
|
63
|
+
|
|
64
|
+
return self
|
|
65
|
+
|
|
@@ -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 DescribeActiveOperationMaintainConfResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.DescribeActiveOperationMaintainConfResponseBody = 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.DescribeActiveOperationMaintainConfResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_rds20140815 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class DescribeActiveOperationMaintainConfResponseBody(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
config: main_models.DescribeActiveOperationMaintainConfResponseBodyConfig = None,
|
|
12
|
+
has_config: int = None,
|
|
13
|
+
request_id: str = None,
|
|
14
|
+
):
|
|
15
|
+
self.config = config
|
|
16
|
+
self.has_config = has_config
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.config:
|
|
21
|
+
self.config.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.config is not None:
|
|
29
|
+
result['Config'] = self.config.to_map()
|
|
30
|
+
|
|
31
|
+
if self.has_config is not None:
|
|
32
|
+
result['HasConfig'] = self.has_config
|
|
33
|
+
|
|
34
|
+
if self.request_id is not None:
|
|
35
|
+
result['RequestId'] = self.request_id
|
|
36
|
+
|
|
37
|
+
return result
|
|
38
|
+
|
|
39
|
+
def from_map(self, m: dict = None):
|
|
40
|
+
m = m or dict()
|
|
41
|
+
if m.get('Config') is not None:
|
|
42
|
+
temp_model = main_models.DescribeActiveOperationMaintainConfResponseBodyConfig()
|
|
43
|
+
self.config = temp_model.from_map(m.get('Config'))
|
|
44
|
+
|
|
45
|
+
if m.get('HasConfig') is not None:
|
|
46
|
+
self.has_config = m.get('HasConfig')
|
|
47
|
+
|
|
48
|
+
if m.get('RequestId') is not None:
|
|
49
|
+
self.request_id = m.get('RequestId')
|
|
50
|
+
|
|
51
|
+
return self
|
|
52
|
+
|
|
53
|
+
class DescribeActiveOperationMaintainConfResponseBodyConfig(DaraModel):
|
|
54
|
+
def __init__(
|
|
55
|
+
self,
|
|
56
|
+
created_time: str = None,
|
|
57
|
+
cycle_time: str = None,
|
|
58
|
+
cycle_type: str = None,
|
|
59
|
+
maintain_end_time: str = None,
|
|
60
|
+
maintain_start_time: str = None,
|
|
61
|
+
modified_time: str = None,
|
|
62
|
+
status: int = None,
|
|
63
|
+
):
|
|
64
|
+
self.created_time = created_time
|
|
65
|
+
self.cycle_time = cycle_time
|
|
66
|
+
self.cycle_type = cycle_type
|
|
67
|
+
self.maintain_end_time = maintain_end_time
|
|
68
|
+
self.maintain_start_time = maintain_start_time
|
|
69
|
+
self.modified_time = modified_time
|
|
70
|
+
self.status = status
|
|
71
|
+
|
|
72
|
+
def validate(self):
|
|
73
|
+
pass
|
|
74
|
+
|
|
75
|
+
def to_map(self):
|
|
76
|
+
result = dict()
|
|
77
|
+
_map = super().to_map()
|
|
78
|
+
if _map is not None:
|
|
79
|
+
result = _map
|
|
80
|
+
if self.created_time is not None:
|
|
81
|
+
result['CreatedTime'] = self.created_time
|
|
82
|
+
|
|
83
|
+
if self.cycle_time is not None:
|
|
84
|
+
result['CycleTime'] = self.cycle_time
|
|
85
|
+
|
|
86
|
+
if self.cycle_type is not None:
|
|
87
|
+
result['CycleType'] = self.cycle_type
|
|
88
|
+
|
|
89
|
+
if self.maintain_end_time is not None:
|
|
90
|
+
result['MaintainEndTime'] = self.maintain_end_time
|
|
91
|
+
|
|
92
|
+
if self.maintain_start_time is not None:
|
|
93
|
+
result['MaintainStartTime'] = self.maintain_start_time
|
|
94
|
+
|
|
95
|
+
if self.modified_time is not None:
|
|
96
|
+
result['ModifiedTime'] = self.modified_time
|
|
97
|
+
|
|
98
|
+
if self.status is not None:
|
|
99
|
+
result['Status'] = self.status
|
|
100
|
+
|
|
101
|
+
return result
|
|
102
|
+
|
|
103
|
+
def from_map(self, m: dict = None):
|
|
104
|
+
m = m or dict()
|
|
105
|
+
if m.get('CreatedTime') is not None:
|
|
106
|
+
self.created_time = m.get('CreatedTime')
|
|
107
|
+
|
|
108
|
+
if m.get('CycleTime') is not None:
|
|
109
|
+
self.cycle_time = m.get('CycleTime')
|
|
110
|
+
|
|
111
|
+
if m.get('CycleType') is not None:
|
|
112
|
+
self.cycle_type = m.get('CycleType')
|
|
113
|
+
|
|
114
|
+
if m.get('MaintainEndTime') is not None:
|
|
115
|
+
self.maintain_end_time = m.get('MaintainEndTime')
|
|
116
|
+
|
|
117
|
+
if m.get('MaintainStartTime') is not None:
|
|
118
|
+
self.maintain_start_time = m.get('MaintainStartTime')
|
|
119
|
+
|
|
120
|
+
if m.get('ModifiedTime') is not None:
|
|
121
|
+
self.modified_time = m.get('ModifiedTime')
|
|
122
|
+
|
|
123
|
+
if m.get('Status') is not None:
|
|
124
|
+
self.status = m.get('Status')
|
|
125
|
+
|
|
126
|
+
return self
|
|
127
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 DescribeSQLServerUpgradeVersionsRequest(DaraModel):
|
|
8
|
+
def __init__(
|
|
9
|
+
self,
|
|
10
|
+
client_token: str = None,
|
|
11
|
+
dbinstance_id: str = None,
|
|
12
|
+
engine_version: str = None,
|
|
13
|
+
owner_id: int = None,
|
|
14
|
+
resource_owner_account: str = None,
|
|
15
|
+
resource_owner_id: int = None,
|
|
16
|
+
):
|
|
17
|
+
self.client_token = client_token
|
|
18
|
+
self.dbinstance_id = dbinstance_id
|
|
19
|
+
self.engine_version = engine_version
|
|
20
|
+
self.owner_id = owner_id
|
|
21
|
+
self.resource_owner_account = resource_owner_account
|
|
22
|
+
self.resource_owner_id = resource_owner_id
|
|
23
|
+
|
|
24
|
+
def validate(self):
|
|
25
|
+
pass
|
|
26
|
+
|
|
27
|
+
def to_map(self):
|
|
28
|
+
result = dict()
|
|
29
|
+
_map = super().to_map()
|
|
30
|
+
if _map is not None:
|
|
31
|
+
result = _map
|
|
32
|
+
if self.client_token is not None:
|
|
33
|
+
result['ClientToken'] = self.client_token
|
|
34
|
+
|
|
35
|
+
if self.dbinstance_id is not None:
|
|
36
|
+
result['DBInstanceId'] = self.dbinstance_id
|
|
37
|
+
|
|
38
|
+
if self.engine_version is not None:
|
|
39
|
+
result['EngineVersion'] = self.engine_version
|
|
40
|
+
|
|
41
|
+
if self.owner_id is not None:
|
|
42
|
+
result['OwnerId'] = self.owner_id
|
|
43
|
+
|
|
44
|
+
if self.resource_owner_account is not None:
|
|
45
|
+
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
46
|
+
|
|
47
|
+
if self.resource_owner_id is not None:
|
|
48
|
+
result['ResourceOwnerId'] = self.resource_owner_id
|
|
49
|
+
|
|
50
|
+
return result
|
|
51
|
+
|
|
52
|
+
def from_map(self, m: dict = None):
|
|
53
|
+
m = m or dict()
|
|
54
|
+
if m.get('ClientToken') is not None:
|
|
55
|
+
self.client_token = m.get('ClientToken')
|
|
56
|
+
|
|
57
|
+
if m.get('DBInstanceId') is not None:
|
|
58
|
+
self.dbinstance_id = m.get('DBInstanceId')
|
|
59
|
+
|
|
60
|
+
if m.get('EngineVersion') is not None:
|
|
61
|
+
self.engine_version = m.get('EngineVersion')
|
|
62
|
+
|
|
63
|
+
if m.get('OwnerId') is not None:
|
|
64
|
+
self.owner_id = m.get('OwnerId')
|
|
65
|
+
|
|
66
|
+
if m.get('ResourceOwnerAccount') is not None:
|
|
67
|
+
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
68
|
+
|
|
69
|
+
if m.get('ResourceOwnerId') is not None:
|
|
70
|
+
self.resource_owner_id = m.get('ResourceOwnerId')
|
|
71
|
+
|
|
72
|
+
return self
|
|
73
|
+
|
|
@@ -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 DescribeSQLServerUpgradeVersionsResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.DescribeSQLServerUpgradeVersionsResponseBody = 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.DescribeSQLServerUpgradeVersionsResponseBody()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,292 @@
|
|
|
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 List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_rds20140815 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class DescribeSQLServerUpgradeVersionsResponseBody(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
items: main_models.DescribeSQLServerUpgradeVersionsResponseBodyItems = None,
|
|
14
|
+
request_id: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.items = items
|
|
17
|
+
self.request_id = request_id
|
|
18
|
+
|
|
19
|
+
def validate(self):
|
|
20
|
+
if self.items:
|
|
21
|
+
self.items.validate()
|
|
22
|
+
|
|
23
|
+
def to_map(self):
|
|
24
|
+
result = dict()
|
|
25
|
+
_map = super().to_map()
|
|
26
|
+
if _map is not None:
|
|
27
|
+
result = _map
|
|
28
|
+
if self.items is not None:
|
|
29
|
+
result['Items'] = self.items.to_map()
|
|
30
|
+
|
|
31
|
+
if self.request_id is not None:
|
|
32
|
+
result['RequestId'] = self.request_id
|
|
33
|
+
|
|
34
|
+
return result
|
|
35
|
+
|
|
36
|
+
def from_map(self, m: dict = None):
|
|
37
|
+
m = m or dict()
|
|
38
|
+
if m.get('Items') is not None:
|
|
39
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItems()
|
|
40
|
+
self.items = temp_model.from_map(m.get('Items'))
|
|
41
|
+
|
|
42
|
+
if m.get('RequestId') is not None:
|
|
43
|
+
self.request_id = m.get('RequestId')
|
|
44
|
+
|
|
45
|
+
return self
|
|
46
|
+
|
|
47
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItems(DaraModel):
|
|
48
|
+
def __init__(
|
|
49
|
+
self,
|
|
50
|
+
item: List[main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItem] = None,
|
|
51
|
+
):
|
|
52
|
+
self.item = item
|
|
53
|
+
|
|
54
|
+
def validate(self):
|
|
55
|
+
if self.item:
|
|
56
|
+
for v1 in self.item:
|
|
57
|
+
if v1:
|
|
58
|
+
v1.validate()
|
|
59
|
+
|
|
60
|
+
def to_map(self):
|
|
61
|
+
result = dict()
|
|
62
|
+
_map = super().to_map()
|
|
63
|
+
if _map is not None:
|
|
64
|
+
result = _map
|
|
65
|
+
result['Item'] = []
|
|
66
|
+
if self.item is not None:
|
|
67
|
+
for k1 in self.item:
|
|
68
|
+
result['Item'].append(k1.to_map() if k1 else None)
|
|
69
|
+
|
|
70
|
+
return result
|
|
71
|
+
|
|
72
|
+
def from_map(self, m: dict = None):
|
|
73
|
+
m = m or dict()
|
|
74
|
+
self.item = []
|
|
75
|
+
if m.get('Item') is not None:
|
|
76
|
+
for k1 in m.get('Item'):
|
|
77
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItem()
|
|
78
|
+
self.item.append(temp_model.from_map(k1))
|
|
79
|
+
|
|
80
|
+
return self
|
|
81
|
+
|
|
82
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItemsItem(DaraModel):
|
|
83
|
+
def __init__(
|
|
84
|
+
self,
|
|
85
|
+
current_version: str = None,
|
|
86
|
+
sqlserver_upgrade_versions: main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersions = None,
|
|
87
|
+
):
|
|
88
|
+
self.current_version = current_version
|
|
89
|
+
self.sqlserver_upgrade_versions = sqlserver_upgrade_versions
|
|
90
|
+
|
|
91
|
+
def validate(self):
|
|
92
|
+
if self.sqlserver_upgrade_versions:
|
|
93
|
+
self.sqlserver_upgrade_versions.validate()
|
|
94
|
+
|
|
95
|
+
def to_map(self):
|
|
96
|
+
result = dict()
|
|
97
|
+
_map = super().to_map()
|
|
98
|
+
if _map is not None:
|
|
99
|
+
result = _map
|
|
100
|
+
if self.current_version is not None:
|
|
101
|
+
result['CurrentVersion'] = self.current_version
|
|
102
|
+
|
|
103
|
+
if self.sqlserver_upgrade_versions is not None:
|
|
104
|
+
result['SQLServerUpgradeVersions'] = self.sqlserver_upgrade_versions.to_map()
|
|
105
|
+
|
|
106
|
+
return result
|
|
107
|
+
|
|
108
|
+
def from_map(self, m: dict = None):
|
|
109
|
+
m = m or dict()
|
|
110
|
+
if m.get('CurrentVersion') is not None:
|
|
111
|
+
self.current_version = m.get('CurrentVersion')
|
|
112
|
+
|
|
113
|
+
if m.get('SQLServerUpgradeVersions') is not None:
|
|
114
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersions()
|
|
115
|
+
self.sqlserver_upgrade_versions = temp_model.from_map(m.get('SQLServerUpgradeVersions'))
|
|
116
|
+
|
|
117
|
+
return self
|
|
118
|
+
|
|
119
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersions(DaraModel):
|
|
120
|
+
def __init__(
|
|
121
|
+
self,
|
|
122
|
+
sqlserver_upgrade_version: List[main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersion] = None,
|
|
123
|
+
):
|
|
124
|
+
self.sqlserver_upgrade_version = sqlserver_upgrade_version
|
|
125
|
+
|
|
126
|
+
def validate(self):
|
|
127
|
+
if self.sqlserver_upgrade_version:
|
|
128
|
+
for v1 in self.sqlserver_upgrade_version:
|
|
129
|
+
if v1:
|
|
130
|
+
v1.validate()
|
|
131
|
+
|
|
132
|
+
def to_map(self):
|
|
133
|
+
result = dict()
|
|
134
|
+
_map = super().to_map()
|
|
135
|
+
if _map is not None:
|
|
136
|
+
result = _map
|
|
137
|
+
result['SQLServerUpgradeVersion'] = []
|
|
138
|
+
if self.sqlserver_upgrade_version is not None:
|
|
139
|
+
for k1 in self.sqlserver_upgrade_version:
|
|
140
|
+
result['SQLServerUpgradeVersion'].append(k1.to_map() if k1 else None)
|
|
141
|
+
|
|
142
|
+
return result
|
|
143
|
+
|
|
144
|
+
def from_map(self, m: dict = None):
|
|
145
|
+
m = m or dict()
|
|
146
|
+
self.sqlserver_upgrade_version = []
|
|
147
|
+
if m.get('SQLServerUpgradeVersion') is not None:
|
|
148
|
+
for k1 in m.get('SQLServerUpgradeVersion'):
|
|
149
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersion()
|
|
150
|
+
self.sqlserver_upgrade_version.append(temp_model.from_map(k1))
|
|
151
|
+
|
|
152
|
+
return self
|
|
153
|
+
|
|
154
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersion(DaraModel):
|
|
155
|
+
def __init__(
|
|
156
|
+
self,
|
|
157
|
+
dbinstance_class_items: main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItems = None,
|
|
158
|
+
enable_upgrade: str = None,
|
|
159
|
+
version: str = None,
|
|
160
|
+
):
|
|
161
|
+
self.dbinstance_class_items = dbinstance_class_items
|
|
162
|
+
self.enable_upgrade = enable_upgrade
|
|
163
|
+
self.version = version
|
|
164
|
+
|
|
165
|
+
def validate(self):
|
|
166
|
+
if self.dbinstance_class_items:
|
|
167
|
+
self.dbinstance_class_items.validate()
|
|
168
|
+
|
|
169
|
+
def to_map(self):
|
|
170
|
+
result = dict()
|
|
171
|
+
_map = super().to_map()
|
|
172
|
+
if _map is not None:
|
|
173
|
+
result = _map
|
|
174
|
+
if self.dbinstance_class_items is not None:
|
|
175
|
+
result['DBInstanceClassItems'] = self.dbinstance_class_items.to_map()
|
|
176
|
+
|
|
177
|
+
if self.enable_upgrade is not None:
|
|
178
|
+
result['EnableUpgrade'] = self.enable_upgrade
|
|
179
|
+
|
|
180
|
+
if self.version is not None:
|
|
181
|
+
result['Version'] = self.version
|
|
182
|
+
|
|
183
|
+
return result
|
|
184
|
+
|
|
185
|
+
def from_map(self, m: dict = None):
|
|
186
|
+
m = m or dict()
|
|
187
|
+
if m.get('DBInstanceClassItems') is not None:
|
|
188
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItems()
|
|
189
|
+
self.dbinstance_class_items = temp_model.from_map(m.get('DBInstanceClassItems'))
|
|
190
|
+
|
|
191
|
+
if m.get('EnableUpgrade') is not None:
|
|
192
|
+
self.enable_upgrade = m.get('EnableUpgrade')
|
|
193
|
+
|
|
194
|
+
if m.get('Version') is not None:
|
|
195
|
+
self.version = m.get('Version')
|
|
196
|
+
|
|
197
|
+
return self
|
|
198
|
+
|
|
199
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItems(DaraModel):
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
dbinstance_class_item: List[main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItemsDBInstanceClassItem] = None,
|
|
203
|
+
):
|
|
204
|
+
self.dbinstance_class_item = dbinstance_class_item
|
|
205
|
+
|
|
206
|
+
def validate(self):
|
|
207
|
+
if self.dbinstance_class_item:
|
|
208
|
+
for v1 in self.dbinstance_class_item:
|
|
209
|
+
if v1:
|
|
210
|
+
v1.validate()
|
|
211
|
+
|
|
212
|
+
def to_map(self):
|
|
213
|
+
result = dict()
|
|
214
|
+
_map = super().to_map()
|
|
215
|
+
if _map is not None:
|
|
216
|
+
result = _map
|
|
217
|
+
result['DBInstanceClassItem'] = []
|
|
218
|
+
if self.dbinstance_class_item is not None:
|
|
219
|
+
for k1 in self.dbinstance_class_item:
|
|
220
|
+
result['DBInstanceClassItem'].append(k1.to_map() if k1 else None)
|
|
221
|
+
|
|
222
|
+
return result
|
|
223
|
+
|
|
224
|
+
def from_map(self, m: dict = None):
|
|
225
|
+
m = m or dict()
|
|
226
|
+
self.dbinstance_class_item = []
|
|
227
|
+
if m.get('DBInstanceClassItem') is not None:
|
|
228
|
+
for k1 in m.get('DBInstanceClassItem'):
|
|
229
|
+
temp_model = main_models.DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItemsDBInstanceClassItem()
|
|
230
|
+
self.dbinstance_class_item.append(temp_model.from_map(k1))
|
|
231
|
+
|
|
232
|
+
return self
|
|
233
|
+
|
|
234
|
+
class DescribeSQLServerUpgradeVersionsResponseBodyItemsItemSQLServerUpgradeVersionsSQLServerUpgradeVersionDBInstanceClassItemsDBInstanceClassItem(DaraModel):
|
|
235
|
+
def __init__(
|
|
236
|
+
self,
|
|
237
|
+
cpu: str = None,
|
|
238
|
+
dbinstance_class: str = None,
|
|
239
|
+
dbinstance_class_type: str = None,
|
|
240
|
+
group: str = None,
|
|
241
|
+
memory: str = None,
|
|
242
|
+
):
|
|
243
|
+
self.cpu = cpu
|
|
244
|
+
self.dbinstance_class = dbinstance_class
|
|
245
|
+
self.dbinstance_class_type = dbinstance_class_type
|
|
246
|
+
self.group = group
|
|
247
|
+
self.memory = memory
|
|
248
|
+
|
|
249
|
+
def validate(self):
|
|
250
|
+
pass
|
|
251
|
+
|
|
252
|
+
def to_map(self):
|
|
253
|
+
result = dict()
|
|
254
|
+
_map = super().to_map()
|
|
255
|
+
if _map is not None:
|
|
256
|
+
result = _map
|
|
257
|
+
if self.cpu is not None:
|
|
258
|
+
result['CPU'] = self.cpu
|
|
259
|
+
|
|
260
|
+
if self.dbinstance_class is not None:
|
|
261
|
+
result['DBInstanceClass'] = self.dbinstance_class
|
|
262
|
+
|
|
263
|
+
if self.dbinstance_class_type is not None:
|
|
264
|
+
result['DBInstanceClassType'] = self.dbinstance_class_type
|
|
265
|
+
|
|
266
|
+
if self.group is not None:
|
|
267
|
+
result['Group'] = self.group
|
|
268
|
+
|
|
269
|
+
if self.memory is not None:
|
|
270
|
+
result['Memory'] = self.memory
|
|
271
|
+
|
|
272
|
+
return result
|
|
273
|
+
|
|
274
|
+
def from_map(self, m: dict = None):
|
|
275
|
+
m = m or dict()
|
|
276
|
+
if m.get('CPU') is not None:
|
|
277
|
+
self.cpu = m.get('CPU')
|
|
278
|
+
|
|
279
|
+
if m.get('DBInstanceClass') is not None:
|
|
280
|
+
self.dbinstance_class = m.get('DBInstanceClass')
|
|
281
|
+
|
|
282
|
+
if m.get('DBInstanceClassType') is not None:
|
|
283
|
+
self.dbinstance_class_type = m.get('DBInstanceClassType')
|
|
284
|
+
|
|
285
|
+
if m.get('Group') is not None:
|
|
286
|
+
self.group = m.get('Group')
|
|
287
|
+
|
|
288
|
+
if m.get('Memory') is not None:
|
|
289
|
+
self.memory = m.get('Memory')
|
|
290
|
+
|
|
291
|
+
return self
|
|
292
|
+
|
{alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.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=7mHi0KQFSS_sNEbtN0OBIE9W-Y9vVSJyqQzItoX7Py8,22
|
|
2
|
+
alibabacloud_rds20140815/client.py,sha256=QYsQYYxaKYiHxc2vtu3Lz1sNFl7rxKTZAyUW0XX1fqg,1702098
|
|
3
|
+
alibabacloud_rds20140815/models/__init__.py,sha256=druxpXkz7iW6vEwuMrN1oKpLvqDfioiv_t44AbJ2RYQ,217284
|
|
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
|
|
@@ -278,6 +278,9 @@ alibabacloud_rds20140815/models/_describe_accounts_response_body.py,sha256=rEV1k
|
|
|
278
278
|
alibabacloud_rds20140815/models/_describe_action_event_policy_request.py,sha256=xTKPL70ywALP-pJoPw9ef_cBVF2ZXBwhzM1Im6rJTNM,2251
|
|
279
279
|
alibabacloud_rds20140815/models/_describe_action_event_policy_response.py,sha256=eKNLhtHBxLsGCi74hm8RMznyEtRQ5TXiJ3jgxAym7uQ,1507
|
|
280
280
|
alibabacloud_rds20140815/models/_describe_action_event_policy_response_body.py,sha256=DI4_m1hWGu3IJcrUqDZZotXV162gvFoLC1W_2kmEW_k,1446
|
|
281
|
+
alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_request.py,sha256=4QGizDsrgSxsOtHVfO_vjdO8URPi0CE0i87XKfGa0lE,2008
|
|
282
|
+
alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_response.py,sha256=aXrw2zKTn700r2Vq7tP_zxmbS0Nslj3G_dZdVsppwJM,1537
|
|
283
|
+
alibabacloud_rds20140815/models/_describe_active_operation_maintain_conf_response_body.py,sha256=6srlrgbU3O17F9FODHDWY1pZ-EZlu3jlHyFJK471QwM,3866
|
|
281
284
|
alibabacloud_rds20140815/models/_describe_active_operation_tasks_request.py,sha256=jPtJHsa_tiqkrJNVFK65LOYce5CjVh16kvA5vEL4Qzo,7068
|
|
282
285
|
alibabacloud_rds20140815/models/_describe_active_operation_tasks_response.py,sha256=YDGKy1Meg0G0eKWjaxAbeAeHQLV6XEs1aMonrRsomyk,1516
|
|
283
286
|
alibabacloud_rds20140815/models/_describe_active_operation_tasks_response_body.py,sha256=bHlBHYj3OWuEd_XMKk7t8SuBp-u8OUXbmLVvttheLZM,12816
|
|
@@ -703,6 +706,9 @@ alibabacloud_rds20140815/models/_describe_sqllog_records_response_body.py,sha256
|
|
|
703
706
|
alibabacloud_rds20140815/models/_describe_sqllog_report_list_request.py,sha256=y_j6Mn3qyzoZkE0kIf9R9Dr6c39ATadk2FM7SI3hEpY,3907
|
|
704
707
|
alibabacloud_rds20140815/models/_describe_sqllog_report_list_response.py,sha256=WnX0T9qCJAiwLrVAa_Egkjiscg6-B7Io_vIciCOazQQ,1504
|
|
705
708
|
alibabacloud_rds20140815/models/_describe_sqllog_report_list_response_body.py,sha256=kmoKBK7FJAndRyBv7FQve2NpOOWANXxn9hXH9N4filg,10687
|
|
709
|
+
alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_request.py,sha256=BFFfwHVT6S6lIYY4n8fy0RbqYJqA152IP94oqCNjFCI,2276
|
|
710
|
+
alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_response.py,sha256=D7WLJPdTOPrgt-eaIa0Tj1fGJfwCdw2BulkTPuuqWY4,1528
|
|
711
|
+
alibabacloud_rds20140815/models/_describe_sqlserver_upgrade_versions_response_body.py,sha256=6T7yR8fIpBau-2J0d-28TlTn1LjV2P1hvpa-hh2ssB0,10086
|
|
706
712
|
alibabacloud_rds20140815/models/_describe_support_online_resize_disk_request.py,sha256=i0NooTBppquvw3cjFTbjC-WZA-lT5cfKxzGmtip3k4I,1238
|
|
707
713
|
alibabacloud_rds20140815/models/_describe_support_online_resize_disk_response.py,sha256=As9TZOJbOz1FrpIncC4TnpAtJkna_68PEdFuNgQuOJ0,1525
|
|
708
714
|
alibabacloud_rds20140815/models/_describe_support_online_resize_disk_response_body.py,sha256=Co7g2hPVXcc24YbMTqZaq2YeS3JERq9GE0U15mPyDU8,1841
|
|
@@ -1218,8 +1224,8 @@ alibabacloud_rds20140815/models/_upgrade_dbproxy_instance_kernel_version_respons
|
|
|
1218
1224
|
alibabacloud_rds20140815/models/_validate_import_task_request.py,sha256=6gbm9Dkbl6Yd5f69PQCxqs9d7nvawuQzI8483Rb3E6Y,3860
|
|
1219
1225
|
alibabacloud_rds20140815/models/_validate_import_task_response.py,sha256=inu9atvxi_qGyH8TNszrdjeb0092Z_zCUuPf8_U0Pks,1486
|
|
1220
1226
|
alibabacloud_rds20140815/models/_validate_import_task_response_body.py,sha256=Dk2XlLcUFHqTDK-X4fyy9ZKVeu31QKRGqfnncoTg7ek,1028
|
|
1221
|
-
alibabacloud_rds20140815-15.
|
|
1222
|
-
alibabacloud_rds20140815-15.
|
|
1223
|
-
alibabacloud_rds20140815-15.
|
|
1224
|
-
alibabacloud_rds20140815-15.
|
|
1225
|
-
alibabacloud_rds20140815-15.
|
|
1227
|
+
alibabacloud_rds20140815-15.3.0.dist-info/LICENSE,sha256=0CFItL6bHvxqS44T6vlLoW2R4Zaic304OO3WxN0oXF0,600
|
|
1228
|
+
alibabacloud_rds20140815-15.3.0.dist-info/METADATA,sha256=bgT0i8-ES_vEjSLQSJDxh2DTGY0AnsVvZXA2_L8N3Vg,2290
|
|
1229
|
+
alibabacloud_rds20140815-15.3.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
1230
|
+
alibabacloud_rds20140815-15.3.0.dist-info/top_level.txt,sha256=JrnffxBPffQ-kwp8_cVNsbxBsxm7QysAdoFB1xAdY70,25
|
|
1231
|
+
alibabacloud_rds20140815-15.3.0.dist-info/RECORD,,
|
{alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/LICENSE
RENAMED
|
File without changes
|
{alibabacloud_rds20140815-15.2.0.dist-info → alibabacloud_rds20140815-15.3.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|