alibabacloud-polardb20170801 6.1.8__tar.gz → 6.1.10__tar.gz
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_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/ChangeLog.md +7 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/PKG-INFO +1 -1
- alibabacloud_polardb20170801-6.1.10/alibabacloud_polardb20170801/__init__.py +1 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801/client.py +88 -2
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801/models.py +156 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801.egg-info/PKG-INFO +1 -1
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/setup.py +1 -1
- alibabacloud_polardb20170801-6.1.8/alibabacloud_polardb20170801/__init__.py +0 -1
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/LICENSE +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/MANIFEST.in +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/README-CN.md +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/README.md +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801.egg-info/SOURCES.txt +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801.egg-info/dependency_links.txt +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801.egg-info/requires.txt +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/alibabacloud_polardb20170801.egg-info/top_level.txt +0 -0
- {alibabacloud_polardb20170801-6.1.8 → alibabacloud_polardb20170801-6.1.10}/setup.cfg +0 -0
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
2025-11-28 Version: 6.1.9
|
|
2
|
+
- Generated python 2017-08-01 for polardb.
|
|
3
|
+
|
|
4
|
+
2025-11-27 Version: 6.1.8
|
|
5
|
+
- Update API DescribeApplications: add response parameters Body.Items.$.DBClusterId.
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
2025-11-26 Version: 6.1.7
|
|
2
9
|
- Update API DescribeExtensions: add request parameters ExtensionName.
|
|
3
10
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '6.1.10'
|
|
@@ -28,10 +28,8 @@ class Client(OpenApiClient):
|
|
|
28
28
|
'cn-wulanchabu': 'polardb.aliyuncs.com',
|
|
29
29
|
'cn-hangzhou': 'polardb.aliyuncs.com',
|
|
30
30
|
'cn-shanghai': 'polardb.aliyuncs.com',
|
|
31
|
-
'cn-shenzhen': 'polardb.aliyuncs.com',
|
|
32
31
|
'cn-heyuan': 'polardb.aliyuncs.com',
|
|
33
32
|
'cn-hangzhou-finance': 'polardb.aliyuncs.com',
|
|
34
|
-
'cn-shanghai-finance-1': 'polardb.aliyuncs.com',
|
|
35
33
|
'ap-northeast-2-pop': 'polardb.aliyuncs.com',
|
|
36
34
|
'cn-beijing-finance-1': 'polardb.aliyuncs.com',
|
|
37
35
|
'cn-beijing-finance-pop': 'polardb.aliyuncs.com',
|
|
@@ -2862,6 +2860,8 @@ class Client(OpenApiClient):
|
|
|
2862
2860
|
query['Architecture'] = request.architecture
|
|
2863
2861
|
if not UtilClient.is_unset(request.auto_renew):
|
|
2864
2862
|
query['AutoRenew'] = request.auto_renew
|
|
2863
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
2864
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
2865
2865
|
if not UtilClient.is_unset(request.components_shrink):
|
|
2866
2866
|
query['Components'] = request.components_shrink
|
|
2867
2867
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -2878,6 +2878,8 @@ class Client(OpenApiClient):
|
|
|
2878
2878
|
query['Period'] = request.period
|
|
2879
2879
|
if not UtilClient.is_unset(request.polar_fsinstance_id):
|
|
2880
2880
|
query['PolarFSInstanceId'] = request.polar_fsinstance_id
|
|
2881
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
2882
|
+
query['PromotionCode'] = request.promotion_code
|
|
2881
2883
|
if not UtilClient.is_unset(request.region_id):
|
|
2882
2884
|
query['RegionId'] = request.region_id
|
|
2883
2885
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -2935,6 +2937,8 @@ class Client(OpenApiClient):
|
|
|
2935
2937
|
query['Architecture'] = request.architecture
|
|
2936
2938
|
if not UtilClient.is_unset(request.auto_renew):
|
|
2937
2939
|
query['AutoRenew'] = request.auto_renew
|
|
2940
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
2941
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
2938
2942
|
if not UtilClient.is_unset(request.components_shrink):
|
|
2939
2943
|
query['Components'] = request.components_shrink
|
|
2940
2944
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -2951,6 +2955,8 @@ class Client(OpenApiClient):
|
|
|
2951
2955
|
query['Period'] = request.period
|
|
2952
2956
|
if not UtilClient.is_unset(request.polar_fsinstance_id):
|
|
2953
2957
|
query['PolarFSInstanceId'] = request.polar_fsinstance_id
|
|
2958
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
2959
|
+
query['PromotionCode'] = request.promotion_code
|
|
2954
2960
|
if not UtilClient.is_unset(request.region_id):
|
|
2955
2961
|
query['RegionId'] = request.region_id
|
|
2956
2962
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -3564,6 +3570,8 @@ class Client(OpenApiClient):
|
|
|
3564
3570
|
query['Architecture'] = request.architecture
|
|
3565
3571
|
if not UtilClient.is_unset(request.auto_renew):
|
|
3566
3572
|
query['AutoRenew'] = request.auto_renew
|
|
3573
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
3574
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
3567
3575
|
if not UtilClient.is_unset(request.backup_retention_policy_on_cluster_deletion):
|
|
3568
3576
|
query['BackupRetentionPolicyOnClusterDeletion'] = request.backup_retention_policy_on_cluster_deletion
|
|
3569
3577
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
@@ -3618,6 +3626,8 @@ class Client(OpenApiClient):
|
|
|
3618
3626
|
query['PayType'] = request.pay_type
|
|
3619
3627
|
if not UtilClient.is_unset(request.period):
|
|
3620
3628
|
query['Period'] = request.period
|
|
3629
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
3630
|
+
query['PromotionCode'] = request.promotion_code
|
|
3621
3631
|
if not UtilClient.is_unset(request.provisioned_iops):
|
|
3622
3632
|
query['ProvisionedIops'] = request.provisioned_iops
|
|
3623
3633
|
if not UtilClient.is_unset(request.proxy_class):
|
|
@@ -3719,6 +3729,8 @@ class Client(OpenApiClient):
|
|
|
3719
3729
|
query['Architecture'] = request.architecture
|
|
3720
3730
|
if not UtilClient.is_unset(request.auto_renew):
|
|
3721
3731
|
query['AutoRenew'] = request.auto_renew
|
|
3732
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
3733
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
3722
3734
|
if not UtilClient.is_unset(request.backup_retention_policy_on_cluster_deletion):
|
|
3723
3735
|
query['BackupRetentionPolicyOnClusterDeletion'] = request.backup_retention_policy_on_cluster_deletion
|
|
3724
3736
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
@@ -3773,6 +3785,8 @@ class Client(OpenApiClient):
|
|
|
3773
3785
|
query['PayType'] = request.pay_type
|
|
3774
3786
|
if not UtilClient.is_unset(request.period):
|
|
3775
3787
|
query['Period'] = request.period
|
|
3788
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
3789
|
+
query['PromotionCode'] = request.promotion_code
|
|
3776
3790
|
if not UtilClient.is_unset(request.provisioned_iops):
|
|
3777
3791
|
query['ProvisionedIops'] = request.provisioned_iops
|
|
3778
3792
|
if not UtilClient.is_unset(request.proxy_class):
|
|
@@ -4526,6 +4540,8 @@ class Client(OpenApiClient):
|
|
|
4526
4540
|
"""
|
|
4527
4541
|
UtilClient.validate_model(request)
|
|
4528
4542
|
query = {}
|
|
4543
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
4544
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
4529
4545
|
if not UtilClient.is_unset(request.client_token):
|
|
4530
4546
|
query['ClientToken'] = request.client_token
|
|
4531
4547
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -4548,6 +4564,8 @@ class Client(OpenApiClient):
|
|
|
4548
4564
|
query['PlannedEndTime'] = request.planned_end_time
|
|
4549
4565
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
4550
4566
|
query['PlannedStartTime'] = request.planned_start_time
|
|
4567
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
4568
|
+
query['PromotionCode'] = request.promotion_code
|
|
4551
4569
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
4552
4570
|
query['ResourceGroupId'] = request.resource_group_id
|
|
4553
4571
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -4587,6 +4605,8 @@ class Client(OpenApiClient):
|
|
|
4587
4605
|
"""
|
|
4588
4606
|
UtilClient.validate_model(request)
|
|
4589
4607
|
query = {}
|
|
4608
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
4609
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
4590
4610
|
if not UtilClient.is_unset(request.client_token):
|
|
4591
4611
|
query['ClientToken'] = request.client_token
|
|
4592
4612
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -4609,6 +4629,8 @@ class Client(OpenApiClient):
|
|
|
4609
4629
|
query['PlannedEndTime'] = request.planned_end_time
|
|
4610
4630
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
4611
4631
|
query['PlannedStartTime'] = request.planned_start_time
|
|
4632
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
4633
|
+
query['PromotionCode'] = request.promotion_code
|
|
4612
4634
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
4613
4635
|
query['ResourceGroupId'] = request.resource_group_id
|
|
4614
4636
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
@@ -6038,6 +6060,8 @@ class Client(OpenApiClient):
|
|
|
6038
6060
|
"""
|
|
6039
6061
|
UtilClient.validate_model(request)
|
|
6040
6062
|
query = {}
|
|
6063
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
6064
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
6041
6065
|
if not UtilClient.is_unset(request.client_token):
|
|
6042
6066
|
query['ClientToken'] = request.client_token
|
|
6043
6067
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -6046,6 +6070,8 @@ class Client(OpenApiClient):
|
|
|
6046
6070
|
query['OwnerId'] = request.owner_id
|
|
6047
6071
|
if not UtilClient.is_unset(request.period):
|
|
6048
6072
|
query['Period'] = request.period
|
|
6073
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
6074
|
+
query['PromotionCode'] = request.promotion_code
|
|
6049
6075
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6050
6076
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6051
6077
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -6089,6 +6115,8 @@ class Client(OpenApiClient):
|
|
|
6089
6115
|
"""
|
|
6090
6116
|
UtilClient.validate_model(request)
|
|
6091
6117
|
query = {}
|
|
6118
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
6119
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
6092
6120
|
if not UtilClient.is_unset(request.client_token):
|
|
6093
6121
|
query['ClientToken'] = request.client_token
|
|
6094
6122
|
if not UtilClient.is_unset(request.owner_account):
|
|
@@ -6097,6 +6125,8 @@ class Client(OpenApiClient):
|
|
|
6097
6125
|
query['OwnerId'] = request.owner_id
|
|
6098
6126
|
if not UtilClient.is_unset(request.period):
|
|
6099
6127
|
query['Period'] = request.period
|
|
6128
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
6129
|
+
query['PromotionCode'] = request.promotion_code
|
|
6100
6130
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
6101
6131
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
6102
6132
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -26748,10 +26778,14 @@ class Client(OpenApiClient):
|
|
|
26748
26778
|
"""
|
|
26749
26779
|
UtilClient.validate_model(request)
|
|
26750
26780
|
query = {}
|
|
26781
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
26782
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
26751
26783
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
26752
26784
|
query['DBClusterId'] = request.dbcluster_id
|
|
26753
26785
|
if not UtilClient.is_unset(request.hot_standby_cluster):
|
|
26754
26786
|
query['HotStandbyCluster'] = request.hot_standby_cluster
|
|
26787
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
26788
|
+
query['PromotionCode'] = request.promotion_code
|
|
26755
26789
|
if not UtilClient.is_unset(request.region_id):
|
|
26756
26790
|
query['RegionId'] = request.region_id
|
|
26757
26791
|
if not UtilClient.is_unset(request.standby_az):
|
|
@@ -26789,10 +26823,14 @@ class Client(OpenApiClient):
|
|
|
26789
26823
|
"""
|
|
26790
26824
|
UtilClient.validate_model(request)
|
|
26791
26825
|
query = {}
|
|
26826
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
26827
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
26792
26828
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
26793
26829
|
query['DBClusterId'] = request.dbcluster_id
|
|
26794
26830
|
if not UtilClient.is_unset(request.hot_standby_cluster):
|
|
26795
26831
|
query['HotStandbyCluster'] = request.hot_standby_cluster
|
|
26832
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
26833
|
+
query['PromotionCode'] = request.promotion_code
|
|
26796
26834
|
if not UtilClient.is_unset(request.region_id):
|
|
26797
26835
|
query['RegionId'] = request.region_id
|
|
26798
26836
|
if not UtilClient.is_unset(request.standby_az):
|
|
@@ -28892,6 +28930,8 @@ class Client(OpenApiClient):
|
|
|
28892
28930
|
"""
|
|
28893
28931
|
UtilClient.validate_model(request)
|
|
28894
28932
|
query = {}
|
|
28933
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
28934
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
28895
28935
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
28896
28936
|
query['BurstingEnabled'] = request.bursting_enabled
|
|
28897
28937
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -28900,6 +28940,8 @@ class Client(OpenApiClient):
|
|
|
28900
28940
|
query['DBClusterId'] = request.dbcluster_id
|
|
28901
28941
|
if not UtilClient.is_unset(request.modify_type):
|
|
28902
28942
|
query['ModifyType'] = request.modify_type
|
|
28943
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
28944
|
+
query['PromotionCode'] = request.promotion_code
|
|
28903
28945
|
if not UtilClient.is_unset(request.provisioned_iops):
|
|
28904
28946
|
query['ProvisionedIops'] = request.provisioned_iops
|
|
28905
28947
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -28939,6 +28981,8 @@ class Client(OpenApiClient):
|
|
|
28939
28981
|
"""
|
|
28940
28982
|
UtilClient.validate_model(request)
|
|
28941
28983
|
query = {}
|
|
28984
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
28985
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
28942
28986
|
if not UtilClient.is_unset(request.bursting_enabled):
|
|
28943
28987
|
query['BurstingEnabled'] = request.bursting_enabled
|
|
28944
28988
|
if not UtilClient.is_unset(request.client_token):
|
|
@@ -28947,6 +28991,8 @@ class Client(OpenApiClient):
|
|
|
28947
28991
|
query['DBClusterId'] = request.dbcluster_id
|
|
28948
28992
|
if not UtilClient.is_unset(request.modify_type):
|
|
28949
28993
|
query['ModifyType'] = request.modify_type
|
|
28994
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
28995
|
+
query['PromotionCode'] = request.promotion_code
|
|
28950
28996
|
if not UtilClient.is_unset(request.provisioned_iops):
|
|
28951
28997
|
query['ProvisionedIops'] = request.provisioned_iops
|
|
28952
28998
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -29012,6 +29058,8 @@ class Client(OpenApiClient):
|
|
|
29012
29058
|
"""
|
|
29013
29059
|
UtilClient.validate_model(request)
|
|
29014
29060
|
query = {}
|
|
29061
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
29062
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
29015
29063
|
if not UtilClient.is_unset(request.client_token):
|
|
29016
29064
|
query['ClientToken'] = request.client_token
|
|
29017
29065
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -29026,6 +29074,8 @@ class Client(OpenApiClient):
|
|
|
29026
29074
|
query['PlannedEndTime'] = request.planned_end_time
|
|
29027
29075
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
29028
29076
|
query['PlannedStartTime'] = request.planned_start_time
|
|
29077
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
29078
|
+
query['PromotionCode'] = request.promotion_code
|
|
29029
29079
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
29030
29080
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
29031
29081
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -29067,6 +29117,8 @@ class Client(OpenApiClient):
|
|
|
29067
29117
|
"""
|
|
29068
29118
|
UtilClient.validate_model(request)
|
|
29069
29119
|
query = {}
|
|
29120
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
29121
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
29070
29122
|
if not UtilClient.is_unset(request.client_token):
|
|
29071
29123
|
query['ClientToken'] = request.client_token
|
|
29072
29124
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -29081,6 +29133,8 @@ class Client(OpenApiClient):
|
|
|
29081
29133
|
query['PlannedEndTime'] = request.planned_end_time
|
|
29082
29134
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
29083
29135
|
query['PlannedStartTime'] = request.planned_start_time
|
|
29136
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
29137
|
+
query['PromotionCode'] = request.promotion_code
|
|
29084
29138
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
29085
29139
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
29086
29140
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -29796,6 +29850,8 @@ class Client(OpenApiClient):
|
|
|
29796
29850
|
"""
|
|
29797
29851
|
UtilClient.validate_model(request)
|
|
29798
29852
|
query = {}
|
|
29853
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
29854
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
29799
29855
|
if not UtilClient.is_unset(request.client_token):
|
|
29800
29856
|
query['ClientToken'] = request.client_token
|
|
29801
29857
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -29818,6 +29874,8 @@ class Client(OpenApiClient):
|
|
|
29818
29874
|
query['PlannedFlashingOffTime'] = request.planned_flashing_off_time
|
|
29819
29875
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
29820
29876
|
query['PlannedStartTime'] = request.planned_start_time
|
|
29877
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
29878
|
+
query['PromotionCode'] = request.promotion_code
|
|
29821
29879
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
29822
29880
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
29823
29881
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -29857,6 +29915,8 @@ class Client(OpenApiClient):
|
|
|
29857
29915
|
"""
|
|
29858
29916
|
UtilClient.validate_model(request)
|
|
29859
29917
|
query = {}
|
|
29918
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
29919
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
29860
29920
|
if not UtilClient.is_unset(request.client_token):
|
|
29861
29921
|
query['ClientToken'] = request.client_token
|
|
29862
29922
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -29879,6 +29939,8 @@ class Client(OpenApiClient):
|
|
|
29879
29939
|
query['PlannedFlashingOffTime'] = request.planned_flashing_off_time
|
|
29880
29940
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
29881
29941
|
query['PlannedStartTime'] = request.planned_start_time
|
|
29942
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
29943
|
+
query['PromotionCode'] = request.promotion_code
|
|
29882
29944
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
29883
29945
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
29884
29946
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -30424,6 +30486,8 @@ class Client(OpenApiClient):
|
|
|
30424
30486
|
"""
|
|
30425
30487
|
UtilClient.validate_model(request)
|
|
30426
30488
|
query = {}
|
|
30489
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
30490
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
30427
30491
|
if not UtilClient.is_unset(request.client_token):
|
|
30428
30492
|
query['ClientToken'] = request.client_token
|
|
30429
30493
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -30444,6 +30508,8 @@ class Client(OpenApiClient):
|
|
|
30444
30508
|
query['PlannedFlashingOffTime'] = request.planned_flashing_off_time
|
|
30445
30509
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
30446
30510
|
query['PlannedStartTime'] = request.planned_start_time
|
|
30511
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
30512
|
+
query['PromotionCode'] = request.promotion_code
|
|
30447
30513
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
30448
30514
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
30449
30515
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -30483,6 +30549,8 @@ class Client(OpenApiClient):
|
|
|
30483
30549
|
"""
|
|
30484
30550
|
UtilClient.validate_model(request)
|
|
30485
30551
|
query = {}
|
|
30552
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
30553
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
30486
30554
|
if not UtilClient.is_unset(request.client_token):
|
|
30487
30555
|
query['ClientToken'] = request.client_token
|
|
30488
30556
|
if not UtilClient.is_unset(request.cloud_provider):
|
|
@@ -30503,6 +30571,8 @@ class Client(OpenApiClient):
|
|
|
30503
30571
|
query['PlannedFlashingOffTime'] = request.planned_flashing_off_time
|
|
30504
30572
|
if not UtilClient.is_unset(request.planned_start_time):
|
|
30505
30573
|
query['PlannedStartTime'] = request.planned_start_time
|
|
30574
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
30575
|
+
query['PromotionCode'] = request.promotion_code
|
|
30506
30576
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
30507
30577
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
30508
30578
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -34376,6 +34446,8 @@ class Client(OpenApiClient):
|
|
|
34376
34446
|
"""
|
|
34377
34447
|
UtilClient.validate_model(request)
|
|
34378
34448
|
query = {}
|
|
34449
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
34450
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
34379
34451
|
if not UtilClient.is_unset(request.client_token):
|
|
34380
34452
|
query['ClientToken'] = request.client_token
|
|
34381
34453
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -34390,6 +34462,8 @@ class Client(OpenApiClient):
|
|
|
34390
34462
|
query['OwnerAccount'] = request.owner_account
|
|
34391
34463
|
if not UtilClient.is_unset(request.owner_id):
|
|
34392
34464
|
query['OwnerId'] = request.owner_id
|
|
34465
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
34466
|
+
query['PromotionCode'] = request.promotion_code
|
|
34393
34467
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
34394
34468
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
34395
34469
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -34429,6 +34503,8 @@ class Client(OpenApiClient):
|
|
|
34429
34503
|
"""
|
|
34430
34504
|
UtilClient.validate_model(request)
|
|
34431
34505
|
query = {}
|
|
34506
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
34507
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
34432
34508
|
if not UtilClient.is_unset(request.client_token):
|
|
34433
34509
|
query['ClientToken'] = request.client_token
|
|
34434
34510
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -34443,6 +34519,8 @@ class Client(OpenApiClient):
|
|
|
34443
34519
|
query['OwnerAccount'] = request.owner_account
|
|
34444
34520
|
if not UtilClient.is_unset(request.owner_id):
|
|
34445
34521
|
query['OwnerId'] = request.owner_id
|
|
34522
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
34523
|
+
query['PromotionCode'] = request.promotion_code
|
|
34446
34524
|
if not UtilClient.is_unset(request.resource_owner_account):
|
|
34447
34525
|
query['ResourceOwnerAccount'] = request.resource_owner_account
|
|
34448
34526
|
if not UtilClient.is_unset(request.resource_owner_id):
|
|
@@ -34513,6 +34591,8 @@ class Client(OpenApiClient):
|
|
|
34513
34591
|
"""
|
|
34514
34592
|
UtilClient.validate_model(request)
|
|
34515
34593
|
query = {}
|
|
34594
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
34595
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
34516
34596
|
if not UtilClient.is_unset(request.client_token):
|
|
34517
34597
|
query['ClientToken'] = request.client_token
|
|
34518
34598
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -34525,6 +34605,8 @@ class Client(OpenApiClient):
|
|
|
34525
34605
|
query['PayType'] = request.pay_type
|
|
34526
34606
|
if not UtilClient.is_unset(request.period):
|
|
34527
34607
|
query['Period'] = request.period
|
|
34608
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
34609
|
+
query['PromotionCode'] = request.promotion_code
|
|
34528
34610
|
if not UtilClient.is_unset(request.region_id):
|
|
34529
34611
|
query['RegionId'] = request.region_id
|
|
34530
34612
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -34573,6 +34655,8 @@ class Client(OpenApiClient):
|
|
|
34573
34655
|
"""
|
|
34574
34656
|
UtilClient.validate_model(request)
|
|
34575
34657
|
query = {}
|
|
34658
|
+
if not UtilClient.is_unset(request.auto_use_coupon):
|
|
34659
|
+
query['AutoUseCoupon'] = request.auto_use_coupon
|
|
34576
34660
|
if not UtilClient.is_unset(request.client_token):
|
|
34577
34661
|
query['ClientToken'] = request.client_token
|
|
34578
34662
|
if not UtilClient.is_unset(request.dbcluster_id):
|
|
@@ -34585,6 +34669,8 @@ class Client(OpenApiClient):
|
|
|
34585
34669
|
query['PayType'] = request.pay_type
|
|
34586
34670
|
if not UtilClient.is_unset(request.period):
|
|
34587
34671
|
query['Period'] = request.period
|
|
34672
|
+
if not UtilClient.is_unset(request.promotion_code):
|
|
34673
|
+
query['PromotionCode'] = request.promotion_code
|
|
34588
34674
|
if not UtilClient.is_unset(request.region_id):
|
|
34589
34675
|
query['RegionId'] = request.region_id
|
|
34590
34676
|
if not UtilClient.is_unset(request.resource_group_id):
|
|
@@ -3580,6 +3580,7 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3580
3580
|
application_type: str = None,
|
|
3581
3581
|
architecture: str = None,
|
|
3582
3582
|
auto_renew: bool = None,
|
|
3583
|
+
auto_use_coupon: bool = None,
|
|
3583
3584
|
components: List[CreateApplicationRequestComponents] = None,
|
|
3584
3585
|
dbcluster_id: str = None,
|
|
3585
3586
|
description: str = None,
|
|
@@ -3588,6 +3589,7 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3588
3589
|
pay_type: str = None,
|
|
3589
3590
|
period: str = None,
|
|
3590
3591
|
polar_fsinstance_id: str = None,
|
|
3592
|
+
promotion_code: str = None,
|
|
3591
3593
|
region_id: str = None,
|
|
3592
3594
|
resource_group_id: str = None,
|
|
3593
3595
|
used_time: str = None,
|
|
@@ -3600,6 +3602,7 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3600
3602
|
# This parameter is required.
|
|
3601
3603
|
self.architecture = architecture
|
|
3602
3604
|
self.auto_renew = auto_renew
|
|
3605
|
+
self.auto_use_coupon = auto_use_coupon
|
|
3603
3606
|
self.components = components
|
|
3604
3607
|
self.dbcluster_id = dbcluster_id
|
|
3605
3608
|
self.description = description
|
|
@@ -3608,6 +3611,7 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3608
3611
|
self.pay_type = pay_type
|
|
3609
3612
|
self.period = period
|
|
3610
3613
|
self.polar_fsinstance_id = polar_fsinstance_id
|
|
3614
|
+
self.promotion_code = promotion_code
|
|
3611
3615
|
self.region_id = region_id
|
|
3612
3616
|
self.resource_group_id = resource_group_id
|
|
3613
3617
|
self.used_time = used_time
|
|
@@ -3637,6 +3641,8 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3637
3641
|
result['Architecture'] = self.architecture
|
|
3638
3642
|
if self.auto_renew is not None:
|
|
3639
3643
|
result['AutoRenew'] = self.auto_renew
|
|
3644
|
+
if self.auto_use_coupon is not None:
|
|
3645
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
3640
3646
|
result['Components'] = []
|
|
3641
3647
|
if self.components is not None:
|
|
3642
3648
|
for k in self.components:
|
|
@@ -3657,6 +3663,8 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3657
3663
|
result['Period'] = self.period
|
|
3658
3664
|
if self.polar_fsinstance_id is not None:
|
|
3659
3665
|
result['PolarFSInstanceId'] = self.polar_fsinstance_id
|
|
3666
|
+
if self.promotion_code is not None:
|
|
3667
|
+
result['PromotionCode'] = self.promotion_code
|
|
3660
3668
|
if self.region_id is not None:
|
|
3661
3669
|
result['RegionId'] = self.region_id
|
|
3662
3670
|
if self.resource_group_id is not None:
|
|
@@ -3679,6 +3687,8 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3679
3687
|
self.architecture = m.get('Architecture')
|
|
3680
3688
|
if m.get('AutoRenew') is not None:
|
|
3681
3689
|
self.auto_renew = m.get('AutoRenew')
|
|
3690
|
+
if m.get('AutoUseCoupon') is not None:
|
|
3691
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
3682
3692
|
self.components = []
|
|
3683
3693
|
if m.get('Components') is not None:
|
|
3684
3694
|
for k in m.get('Components'):
|
|
@@ -3701,6 +3711,8 @@ class CreateApplicationRequest(TeaModel):
|
|
|
3701
3711
|
self.period = m.get('Period')
|
|
3702
3712
|
if m.get('PolarFSInstanceId') is not None:
|
|
3703
3713
|
self.polar_fsinstance_id = m.get('PolarFSInstanceId')
|
|
3714
|
+
if m.get('PromotionCode') is not None:
|
|
3715
|
+
self.promotion_code = m.get('PromotionCode')
|
|
3704
3716
|
if m.get('RegionId') is not None:
|
|
3705
3717
|
self.region_id = m.get('RegionId')
|
|
3706
3718
|
if m.get('ResourceGroupId') is not None:
|
|
@@ -3722,6 +3734,7 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3722
3734
|
application_type: str = None,
|
|
3723
3735
|
architecture: str = None,
|
|
3724
3736
|
auto_renew: bool = None,
|
|
3737
|
+
auto_use_coupon: bool = None,
|
|
3725
3738
|
components_shrink: str = None,
|
|
3726
3739
|
dbcluster_id: str = None,
|
|
3727
3740
|
description: str = None,
|
|
@@ -3730,6 +3743,7 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3730
3743
|
pay_type: str = None,
|
|
3731
3744
|
period: str = None,
|
|
3732
3745
|
polar_fsinstance_id: str = None,
|
|
3746
|
+
promotion_code: str = None,
|
|
3733
3747
|
region_id: str = None,
|
|
3734
3748
|
resource_group_id: str = None,
|
|
3735
3749
|
used_time: str = None,
|
|
@@ -3742,6 +3756,7 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3742
3756
|
# This parameter is required.
|
|
3743
3757
|
self.architecture = architecture
|
|
3744
3758
|
self.auto_renew = auto_renew
|
|
3759
|
+
self.auto_use_coupon = auto_use_coupon
|
|
3745
3760
|
self.components_shrink = components_shrink
|
|
3746
3761
|
self.dbcluster_id = dbcluster_id
|
|
3747
3762
|
self.description = description
|
|
@@ -3750,6 +3765,7 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3750
3765
|
self.pay_type = pay_type
|
|
3751
3766
|
self.period = period
|
|
3752
3767
|
self.polar_fsinstance_id = polar_fsinstance_id
|
|
3768
|
+
self.promotion_code = promotion_code
|
|
3753
3769
|
self.region_id = region_id
|
|
3754
3770
|
self.resource_group_id = resource_group_id
|
|
3755
3771
|
self.used_time = used_time
|
|
@@ -3772,6 +3788,8 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3772
3788
|
result['Architecture'] = self.architecture
|
|
3773
3789
|
if self.auto_renew is not None:
|
|
3774
3790
|
result['AutoRenew'] = self.auto_renew
|
|
3791
|
+
if self.auto_use_coupon is not None:
|
|
3792
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
3775
3793
|
if self.components_shrink is not None:
|
|
3776
3794
|
result['Components'] = self.components_shrink
|
|
3777
3795
|
if self.dbcluster_id is not None:
|
|
@@ -3788,6 +3806,8 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3788
3806
|
result['Period'] = self.period
|
|
3789
3807
|
if self.polar_fsinstance_id is not None:
|
|
3790
3808
|
result['PolarFSInstanceId'] = self.polar_fsinstance_id
|
|
3809
|
+
if self.promotion_code is not None:
|
|
3810
|
+
result['PromotionCode'] = self.promotion_code
|
|
3791
3811
|
if self.region_id is not None:
|
|
3792
3812
|
result['RegionId'] = self.region_id
|
|
3793
3813
|
if self.resource_group_id is not None:
|
|
@@ -3810,6 +3830,8 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3810
3830
|
self.architecture = m.get('Architecture')
|
|
3811
3831
|
if m.get('AutoRenew') is not None:
|
|
3812
3832
|
self.auto_renew = m.get('AutoRenew')
|
|
3833
|
+
if m.get('AutoUseCoupon') is not None:
|
|
3834
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
3813
3835
|
if m.get('Components') is not None:
|
|
3814
3836
|
self.components_shrink = m.get('Components')
|
|
3815
3837
|
if m.get('DBClusterId') is not None:
|
|
@@ -3826,6 +3848,8 @@ class CreateApplicationShrinkRequest(TeaModel):
|
|
|
3826
3848
|
self.period = m.get('Period')
|
|
3827
3849
|
if m.get('PolarFSInstanceId') is not None:
|
|
3828
3850
|
self.polar_fsinstance_id = m.get('PolarFSInstanceId')
|
|
3851
|
+
if m.get('PromotionCode') is not None:
|
|
3852
|
+
self.promotion_code = m.get('PromotionCode')
|
|
3829
3853
|
if m.get('RegionId') is not None:
|
|
3830
3854
|
self.region_id = m.get('RegionId')
|
|
3831
3855
|
if m.get('ResourceGroupId') is not None:
|
|
@@ -4697,6 +4721,7 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
4697
4721
|
allow_shut_down: str = None,
|
|
4698
4722
|
architecture: str = None,
|
|
4699
4723
|
auto_renew: bool = None,
|
|
4724
|
+
auto_use_coupon: bool = None,
|
|
4700
4725
|
backup_retention_policy_on_cluster_deletion: str = None,
|
|
4701
4726
|
bursting_enabled: str = None,
|
|
4702
4727
|
client_token: str = None,
|
|
@@ -4724,6 +4749,7 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
4724
4749
|
parameter_group_id: str = None,
|
|
4725
4750
|
pay_type: str = None,
|
|
4726
4751
|
period: str = None,
|
|
4752
|
+
promotion_code: str = None,
|
|
4727
4753
|
provisioned_iops: int = None,
|
|
4728
4754
|
proxy_class: str = None,
|
|
4729
4755
|
proxy_type: str = None,
|
|
@@ -4777,6 +4803,7 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
4777
4803
|
#
|
|
4778
4804
|
# > This parameter takes effect only when **PayType** is set to **Prepaid**.
|
|
4779
4805
|
self.auto_renew = auto_renew
|
|
4806
|
+
self.auto_use_coupon = auto_use_coupon
|
|
4780
4807
|
# Backup retention policy upon cluster deletion, with valid values as follows:
|
|
4781
4808
|
# * **ALL**: Permanently retain all backups.
|
|
4782
4809
|
# * **LATEST**: Permanently retain the latest backup (automatically backed up before deletion).
|
|
@@ -4956,6 +4983,7 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
4956
4983
|
# - **Year**: Yearly subscription.
|
|
4957
4984
|
# - **Month**: Monthly subscription.
|
|
4958
4985
|
self.period = period
|
|
4986
|
+
self.promotion_code = promotion_code
|
|
4959
4987
|
# <p id="p_wyg_t4a_glm">The provisioned read and write IOPS for ESSD AutoPL cloud disks. Possible values: 0 to min{50,000, 1000*capacity-Baseline Performance}.</p>
|
|
4960
4988
|
# <p id="p_6de_jxy_k2g">Baseline Performance = min{1,800+50*capacity, 50000}.</p>
|
|
4961
4989
|
# <note id="note_7kj_j0o_rgs">This parameter is supported only when StorageType is ESSDAUTOPL.</note>
|
|
@@ -5122,6 +5150,8 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
5122
5150
|
result['Architecture'] = self.architecture
|
|
5123
5151
|
if self.auto_renew is not None:
|
|
5124
5152
|
result['AutoRenew'] = self.auto_renew
|
|
5153
|
+
if self.auto_use_coupon is not None:
|
|
5154
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
5125
5155
|
if self.backup_retention_policy_on_cluster_deletion is not None:
|
|
5126
5156
|
result['BackupRetentionPolicyOnClusterDeletion'] = self.backup_retention_policy_on_cluster_deletion
|
|
5127
5157
|
if self.bursting_enabled is not None:
|
|
@@ -5176,6 +5206,8 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
5176
5206
|
result['PayType'] = self.pay_type
|
|
5177
5207
|
if self.period is not None:
|
|
5178
5208
|
result['Period'] = self.period
|
|
5209
|
+
if self.promotion_code is not None:
|
|
5210
|
+
result['PromotionCode'] = self.promotion_code
|
|
5179
5211
|
if self.provisioned_iops is not None:
|
|
5180
5212
|
result['ProvisionedIops'] = self.provisioned_iops
|
|
5181
5213
|
if self.proxy_class is not None:
|
|
@@ -5250,6 +5282,8 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
5250
5282
|
self.architecture = m.get('Architecture')
|
|
5251
5283
|
if m.get('AutoRenew') is not None:
|
|
5252
5284
|
self.auto_renew = m.get('AutoRenew')
|
|
5285
|
+
if m.get('AutoUseCoupon') is not None:
|
|
5286
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
5253
5287
|
if m.get('BackupRetentionPolicyOnClusterDeletion') is not None:
|
|
5254
5288
|
self.backup_retention_policy_on_cluster_deletion = m.get('BackupRetentionPolicyOnClusterDeletion')
|
|
5255
5289
|
if m.get('BurstingEnabled') is not None:
|
|
@@ -5304,6 +5338,8 @@ class CreateDBClusterRequest(TeaModel):
|
|
|
5304
5338
|
self.pay_type = m.get('PayType')
|
|
5305
5339
|
if m.get('Period') is not None:
|
|
5306
5340
|
self.period = m.get('Period')
|
|
5341
|
+
if m.get('PromotionCode') is not None:
|
|
5342
|
+
self.promotion_code = m.get('PromotionCode')
|
|
5307
5343
|
if m.get('ProvisionedIops') is not None:
|
|
5308
5344
|
self.provisioned_iops = m.get('ProvisionedIops')
|
|
5309
5345
|
if m.get('ProxyClass') is not None:
|
|
@@ -6396,6 +6432,7 @@ class CreateDBNodesRequestDBNode(TeaModel):
|
|
|
6396
6432
|
class CreateDBNodesRequest(TeaModel):
|
|
6397
6433
|
def __init__(
|
|
6398
6434
|
self,
|
|
6435
|
+
auto_use_coupon: bool = None,
|
|
6399
6436
|
client_token: str = None,
|
|
6400
6437
|
cloud_provider: str = None,
|
|
6401
6438
|
dbcluster_id: str = None,
|
|
@@ -6407,10 +6444,12 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6407
6444
|
owner_id: int = None,
|
|
6408
6445
|
planned_end_time: str = None,
|
|
6409
6446
|
planned_start_time: str = None,
|
|
6447
|
+
promotion_code: str = None,
|
|
6410
6448
|
resource_group_id: str = None,
|
|
6411
6449
|
resource_owner_account: str = None,
|
|
6412
6450
|
resource_owner_id: int = None,
|
|
6413
6451
|
):
|
|
6452
|
+
self.auto_use_coupon = auto_use_coupon
|
|
6414
6453
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
6415
6454
|
self.client_token = client_token
|
|
6416
6455
|
self.cloud_provider = cloud_provider
|
|
@@ -6458,6 +6497,7 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6458
6497
|
# >- The earliest start time of the scheduled task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in time between `2021-01-14T09:00:00Z` and `2021-01-15T09:00:00Z`.
|
|
6459
6498
|
# >- If you leave this parameter empty, the task for adding the read-only node is immediately run by default.
|
|
6460
6499
|
self.planned_start_time = planned_start_time
|
|
6500
|
+
self.promotion_code = promotion_code
|
|
6461
6501
|
# The ID of the resource group.
|
|
6462
6502
|
self.resource_group_id = resource_group_id
|
|
6463
6503
|
self.resource_owner_account = resource_owner_account
|
|
@@ -6475,6 +6515,8 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6475
6515
|
return _map
|
|
6476
6516
|
|
|
6477
6517
|
result = dict()
|
|
6518
|
+
if self.auto_use_coupon is not None:
|
|
6519
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
6478
6520
|
if self.client_token is not None:
|
|
6479
6521
|
result['ClientToken'] = self.client_token
|
|
6480
6522
|
if self.cloud_provider is not None:
|
|
@@ -6499,6 +6541,8 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6499
6541
|
result['PlannedEndTime'] = self.planned_end_time
|
|
6500
6542
|
if self.planned_start_time is not None:
|
|
6501
6543
|
result['PlannedStartTime'] = self.planned_start_time
|
|
6544
|
+
if self.promotion_code is not None:
|
|
6545
|
+
result['PromotionCode'] = self.promotion_code
|
|
6502
6546
|
if self.resource_group_id is not None:
|
|
6503
6547
|
result['ResourceGroupId'] = self.resource_group_id
|
|
6504
6548
|
if self.resource_owner_account is not None:
|
|
@@ -6509,6 +6553,8 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6509
6553
|
|
|
6510
6554
|
def from_map(self, m: dict = None):
|
|
6511
6555
|
m = m or dict()
|
|
6556
|
+
if m.get('AutoUseCoupon') is not None:
|
|
6557
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
6512
6558
|
if m.get('ClientToken') is not None:
|
|
6513
6559
|
self.client_token = m.get('ClientToken')
|
|
6514
6560
|
if m.get('CloudProvider') is not None:
|
|
@@ -6534,6 +6580,8 @@ class CreateDBNodesRequest(TeaModel):
|
|
|
6534
6580
|
self.planned_end_time = m.get('PlannedEndTime')
|
|
6535
6581
|
if m.get('PlannedStartTime') is not None:
|
|
6536
6582
|
self.planned_start_time = m.get('PlannedStartTime')
|
|
6583
|
+
if m.get('PromotionCode') is not None:
|
|
6584
|
+
self.promotion_code = m.get('PromotionCode')
|
|
6537
6585
|
if m.get('ResourceGroupId') is not None:
|
|
6538
6586
|
self.resource_group_id = m.get('ResourceGroupId')
|
|
6539
6587
|
if m.get('ResourceOwnerAccount') is not None:
|
|
@@ -8478,16 +8526,19 @@ class CreateServiceLinkedRoleResponse(TeaModel):
|
|
|
8478
8526
|
class CreateStoragePlanRequest(TeaModel):
|
|
8479
8527
|
def __init__(
|
|
8480
8528
|
self,
|
|
8529
|
+
auto_use_coupon: bool = None,
|
|
8481
8530
|
client_token: str = None,
|
|
8482
8531
|
owner_account: str = None,
|
|
8483
8532
|
owner_id: int = None,
|
|
8484
8533
|
period: str = None,
|
|
8534
|
+
promotion_code: str = None,
|
|
8485
8535
|
resource_owner_account: str = None,
|
|
8486
8536
|
resource_owner_id: int = None,
|
|
8487
8537
|
storage_class: str = None,
|
|
8488
8538
|
storage_type: str = None,
|
|
8489
8539
|
used_time: str = None,
|
|
8490
8540
|
):
|
|
8541
|
+
self.auto_use_coupon = auto_use_coupon
|
|
8491
8542
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
|
|
8492
8543
|
self.client_token = client_token
|
|
8493
8544
|
self.owner_account = owner_account
|
|
@@ -8499,6 +8550,7 @@ class CreateStoragePlanRequest(TeaModel):
|
|
|
8499
8550
|
#
|
|
8500
8551
|
# This parameter is required.
|
|
8501
8552
|
self.period = period
|
|
8553
|
+
self.promotion_code = promotion_code
|
|
8502
8554
|
self.resource_owner_account = resource_owner_account
|
|
8503
8555
|
self.resource_owner_id = resource_owner_id
|
|
8504
8556
|
# The capacity of the storage plan. Unit: GB. Valid values: 50, 100, 200, 300, 500, 1000, 2000, 3000, 5000, 10000, 15000, 20000, 25000, 30000, 50000, 100000, and 200000
|
|
@@ -8529,6 +8581,8 @@ class CreateStoragePlanRequest(TeaModel):
|
|
|
8529
8581
|
return _map
|
|
8530
8582
|
|
|
8531
8583
|
result = dict()
|
|
8584
|
+
if self.auto_use_coupon is not None:
|
|
8585
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
8532
8586
|
if self.client_token is not None:
|
|
8533
8587
|
result['ClientToken'] = self.client_token
|
|
8534
8588
|
if self.owner_account is not None:
|
|
@@ -8537,6 +8591,8 @@ class CreateStoragePlanRequest(TeaModel):
|
|
|
8537
8591
|
result['OwnerId'] = self.owner_id
|
|
8538
8592
|
if self.period is not None:
|
|
8539
8593
|
result['Period'] = self.period
|
|
8594
|
+
if self.promotion_code is not None:
|
|
8595
|
+
result['PromotionCode'] = self.promotion_code
|
|
8540
8596
|
if self.resource_owner_account is not None:
|
|
8541
8597
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
8542
8598
|
if self.resource_owner_id is not None:
|
|
@@ -8551,6 +8607,8 @@ class CreateStoragePlanRequest(TeaModel):
|
|
|
8551
8607
|
|
|
8552
8608
|
def from_map(self, m: dict = None):
|
|
8553
8609
|
m = m or dict()
|
|
8610
|
+
if m.get('AutoUseCoupon') is not None:
|
|
8611
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
8554
8612
|
if m.get('ClientToken') is not None:
|
|
8555
8613
|
self.client_token = m.get('ClientToken')
|
|
8556
8614
|
if m.get('OwnerAccount') is not None:
|
|
@@ -8559,6 +8617,8 @@ class CreateStoragePlanRequest(TeaModel):
|
|
|
8559
8617
|
self.owner_id = m.get('OwnerId')
|
|
8560
8618
|
if m.get('Period') is not None:
|
|
8561
8619
|
self.period = m.get('Period')
|
|
8620
|
+
if m.get('PromotionCode') is not None:
|
|
8621
|
+
self.promotion_code = m.get('PromotionCode')
|
|
8562
8622
|
if m.get('ResourceOwnerAccount') is not None:
|
|
8563
8623
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
8564
8624
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -12485,6 +12545,7 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12485
12545
|
dbcluster_status: str = None,
|
|
12486
12546
|
dbnodes: List[DescribeAIDBClusterAttributeResponseBodyDBNodes] = None,
|
|
12487
12547
|
dbversion: str = None,
|
|
12548
|
+
ecs_security_group_id: str = None,
|
|
12488
12549
|
endpoint_list: List[DescribeAIDBClusterAttributeResponseBodyEndpointList] = None,
|
|
12489
12550
|
expire_time: str = None,
|
|
12490
12551
|
expired: bool = None,
|
|
@@ -12513,6 +12574,7 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12513
12574
|
self.dbcluster_status = dbcluster_status
|
|
12514
12575
|
self.dbnodes = dbnodes
|
|
12515
12576
|
self.dbversion = dbversion
|
|
12577
|
+
self.ecs_security_group_id = ecs_security_group_id
|
|
12516
12578
|
self.endpoint_list = endpoint_list
|
|
12517
12579
|
self.expire_time = expire_time
|
|
12518
12580
|
self.expired = expired
|
|
@@ -12571,6 +12633,8 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12571
12633
|
result['DBNodes'].append(k.to_map() if k else None)
|
|
12572
12634
|
if self.dbversion is not None:
|
|
12573
12635
|
result['DBVersion'] = self.dbversion
|
|
12636
|
+
if self.ecs_security_group_id is not None:
|
|
12637
|
+
result['EcsSecurityGroupId'] = self.ecs_security_group_id
|
|
12574
12638
|
result['EndpointList'] = []
|
|
12575
12639
|
if self.endpoint_list is not None:
|
|
12576
12640
|
for k in self.endpoint_list:
|
|
@@ -12636,6 +12700,8 @@ class DescribeAIDBClusterAttributeResponseBody(TeaModel):
|
|
|
12636
12700
|
self.dbnodes.append(temp_model.from_map(k))
|
|
12637
12701
|
if m.get('DBVersion') is not None:
|
|
12638
12702
|
self.dbversion = m.get('DBVersion')
|
|
12703
|
+
if m.get('EcsSecurityGroupId') is not None:
|
|
12704
|
+
self.ecs_security_group_id = m.get('EcsSecurityGroupId')
|
|
12639
12705
|
self.endpoint_list = []
|
|
12640
12706
|
if m.get('EndpointList') is not None:
|
|
12641
12707
|
for k in m.get('EndpointList'):
|
|
@@ -40840,6 +40906,7 @@ class DescribePolarFsAttributeResponseBody(TeaModel):
|
|
|
40840
40906
|
category: str = None,
|
|
40841
40907
|
client_download_path: str = None,
|
|
40842
40908
|
create_time: str = None,
|
|
40909
|
+
custom_bucket_path: str = None,
|
|
40843
40910
|
dbtype: str = None,
|
|
40844
40911
|
expire_time: str = None,
|
|
40845
40912
|
expired: str = None,
|
|
@@ -40874,6 +40941,7 @@ class DescribePolarFsAttributeResponseBody(TeaModel):
|
|
|
40874
40941
|
self.category = category
|
|
40875
40942
|
self.client_download_path = client_download_path
|
|
40876
40943
|
self.create_time = create_time
|
|
40944
|
+
self.custom_bucket_path = custom_bucket_path
|
|
40877
40945
|
self.dbtype = dbtype
|
|
40878
40946
|
self.expire_time = expire_time
|
|
40879
40947
|
self.expired = expired
|
|
@@ -40927,6 +40995,8 @@ class DescribePolarFsAttributeResponseBody(TeaModel):
|
|
|
40927
40995
|
result['ClientDownloadPath'] = self.client_download_path
|
|
40928
40996
|
if self.create_time is not None:
|
|
40929
40997
|
result['CreateTime'] = self.create_time
|
|
40998
|
+
if self.custom_bucket_path is not None:
|
|
40999
|
+
result['CustomBucketPath'] = self.custom_bucket_path
|
|
40930
41000
|
if self.dbtype is not None:
|
|
40931
41001
|
result['DBType'] = self.dbtype
|
|
40932
41002
|
if self.expire_time is not None:
|
|
@@ -40997,6 +41067,8 @@ class DescribePolarFsAttributeResponseBody(TeaModel):
|
|
|
40997
41067
|
self.client_download_path = m.get('ClientDownloadPath')
|
|
40998
41068
|
if m.get('CreateTime') is not None:
|
|
40999
41069
|
self.create_time = m.get('CreateTime')
|
|
41070
|
+
if m.get('CustomBucketPath') is not None:
|
|
41071
|
+
self.custom_bucket_path = m.get('CustomBucketPath')
|
|
41000
41072
|
if m.get('DBType') is not None:
|
|
41001
41073
|
self.dbtype = m.get('DBType')
|
|
41002
41074
|
if m.get('ExpireTime') is not None:
|
|
@@ -52506,11 +52578,14 @@ class ModifyDBClusterAndNodesParametersResponse(TeaModel):
|
|
|
52506
52578
|
class ModifyDBClusterArchRequest(TeaModel):
|
|
52507
52579
|
def __init__(
|
|
52508
52580
|
self,
|
|
52581
|
+
auto_use_coupon: bool = None,
|
|
52509
52582
|
dbcluster_id: str = None,
|
|
52510
52583
|
hot_standby_cluster: str = None,
|
|
52584
|
+
promotion_code: str = None,
|
|
52511
52585
|
region_id: str = None,
|
|
52512
52586
|
standby_az: str = None,
|
|
52513
52587
|
):
|
|
52588
|
+
self.auto_use_coupon = auto_use_coupon
|
|
52514
52589
|
# The ID of the cluster.
|
|
52515
52590
|
self.dbcluster_id = dbcluster_id
|
|
52516
52591
|
# Specifies whether to enable the hot standby storage cluster feature. Valid values:
|
|
@@ -52518,6 +52593,7 @@ class ModifyDBClusterArchRequest(TeaModel):
|
|
|
52518
52593
|
# * **on**: enables hot standby storage cluster.
|
|
52519
52594
|
# * **equal**: Enable a peer-to-peer cluster.
|
|
52520
52595
|
self.hot_standby_cluster = hot_standby_cluster
|
|
52596
|
+
self.promotion_code = promotion_code
|
|
52521
52597
|
# The region ID.
|
|
52522
52598
|
#
|
|
52523
52599
|
# > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query information about regions.
|
|
@@ -52538,10 +52614,14 @@ class ModifyDBClusterArchRequest(TeaModel):
|
|
|
52538
52614
|
return _map
|
|
52539
52615
|
|
|
52540
52616
|
result = dict()
|
|
52617
|
+
if self.auto_use_coupon is not None:
|
|
52618
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
52541
52619
|
if self.dbcluster_id is not None:
|
|
52542
52620
|
result['DBClusterId'] = self.dbcluster_id
|
|
52543
52621
|
if self.hot_standby_cluster is not None:
|
|
52544
52622
|
result['HotStandbyCluster'] = self.hot_standby_cluster
|
|
52623
|
+
if self.promotion_code is not None:
|
|
52624
|
+
result['PromotionCode'] = self.promotion_code
|
|
52545
52625
|
if self.region_id is not None:
|
|
52546
52626
|
result['RegionId'] = self.region_id
|
|
52547
52627
|
if self.standby_az is not None:
|
|
@@ -52550,10 +52630,14 @@ class ModifyDBClusterArchRequest(TeaModel):
|
|
|
52550
52630
|
|
|
52551
52631
|
def from_map(self, m: dict = None):
|
|
52552
52632
|
m = m or dict()
|
|
52633
|
+
if m.get('AutoUseCoupon') is not None:
|
|
52634
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
52553
52635
|
if m.get('DBClusterId') is not None:
|
|
52554
52636
|
self.dbcluster_id = m.get('DBClusterId')
|
|
52555
52637
|
if m.get('HotStandbyCluster') is not None:
|
|
52556
52638
|
self.hot_standby_cluster = m.get('HotStandbyCluster')
|
|
52639
|
+
if m.get('PromotionCode') is not None:
|
|
52640
|
+
self.promotion_code = m.get('PromotionCode')
|
|
52557
52641
|
if m.get('RegionId') is not None:
|
|
52558
52642
|
self.region_id = m.get('RegionId')
|
|
52559
52643
|
if m.get('StandbyAZ') is not None:
|
|
@@ -55185,14 +55269,17 @@ class ModifyDBClusterServerlessConfResponse(TeaModel):
|
|
|
55185
55269
|
class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
55186
55270
|
def __init__(
|
|
55187
55271
|
self,
|
|
55272
|
+
auto_use_coupon: bool = None,
|
|
55188
55273
|
bursting_enabled: str = None,
|
|
55189
55274
|
client_token: str = None,
|
|
55190
55275
|
dbcluster_id: str = None,
|
|
55191
55276
|
modify_type: str = None,
|
|
55277
|
+
promotion_code: str = None,
|
|
55192
55278
|
provisioned_iops: int = None,
|
|
55193
55279
|
resource_owner_id: int = None,
|
|
55194
55280
|
storage_type: str = None,
|
|
55195
55281
|
):
|
|
55282
|
+
self.auto_use_coupon = auto_use_coupon
|
|
55196
55283
|
# Specifies whether to enable the I/O Burst feature for the ESSD AutoPL disk. Valid value:
|
|
55197
55284
|
#
|
|
55198
55285
|
# * **true**\
|
|
@@ -55204,6 +55291,7 @@ class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
|
55204
55291
|
# This parameter is required.
|
|
55205
55292
|
self.dbcluster_id = dbcluster_id
|
|
55206
55293
|
self.modify_type = modify_type
|
|
55294
|
+
self.promotion_code = promotion_code
|
|
55207
55295
|
self.provisioned_iops = provisioned_iops
|
|
55208
55296
|
self.resource_owner_id = resource_owner_id
|
|
55209
55297
|
self.storage_type = storage_type
|
|
@@ -55217,6 +55305,8 @@ class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
|
55217
55305
|
return _map
|
|
55218
55306
|
|
|
55219
55307
|
result = dict()
|
|
55308
|
+
if self.auto_use_coupon is not None:
|
|
55309
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
55220
55310
|
if self.bursting_enabled is not None:
|
|
55221
55311
|
result['BurstingEnabled'] = self.bursting_enabled
|
|
55222
55312
|
if self.client_token is not None:
|
|
@@ -55225,6 +55315,8 @@ class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
|
55225
55315
|
result['DBClusterId'] = self.dbcluster_id
|
|
55226
55316
|
if self.modify_type is not None:
|
|
55227
55317
|
result['ModifyType'] = self.modify_type
|
|
55318
|
+
if self.promotion_code is not None:
|
|
55319
|
+
result['PromotionCode'] = self.promotion_code
|
|
55228
55320
|
if self.provisioned_iops is not None:
|
|
55229
55321
|
result['ProvisionedIops'] = self.provisioned_iops
|
|
55230
55322
|
if self.resource_owner_id is not None:
|
|
@@ -55235,6 +55327,8 @@ class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
|
55235
55327
|
|
|
55236
55328
|
def from_map(self, m: dict = None):
|
|
55237
55329
|
m = m or dict()
|
|
55330
|
+
if m.get('AutoUseCoupon') is not None:
|
|
55331
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
55238
55332
|
if m.get('BurstingEnabled') is not None:
|
|
55239
55333
|
self.bursting_enabled = m.get('BurstingEnabled')
|
|
55240
55334
|
if m.get('ClientToken') is not None:
|
|
@@ -55243,6 +55337,8 @@ class ModifyDBClusterStoragePerformanceRequest(TeaModel):
|
|
|
55243
55337
|
self.dbcluster_id = m.get('DBClusterId')
|
|
55244
55338
|
if m.get('ModifyType') is not None:
|
|
55245
55339
|
self.modify_type = m.get('ModifyType')
|
|
55340
|
+
if m.get('PromotionCode') is not None:
|
|
55341
|
+
self.promotion_code = m.get('PromotionCode')
|
|
55246
55342
|
if m.get('ProvisionedIops') is not None:
|
|
55247
55343
|
self.provisioned_iops = m.get('ProvisionedIops')
|
|
55248
55344
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -55335,6 +55431,7 @@ class ModifyDBClusterStoragePerformanceResponse(TeaModel):
|
|
|
55335
55431
|
class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
55336
55432
|
def __init__(
|
|
55337
55433
|
self,
|
|
55434
|
+
auto_use_coupon: bool = None,
|
|
55338
55435
|
client_token: str = None,
|
|
55339
55436
|
cloud_provider: str = None,
|
|
55340
55437
|
dbcluster_id: str = None,
|
|
@@ -55342,11 +55439,13 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55342
55439
|
owner_id: int = None,
|
|
55343
55440
|
planned_end_time: str = None,
|
|
55344
55441
|
planned_start_time: str = None,
|
|
55442
|
+
promotion_code: str = None,
|
|
55345
55443
|
resource_owner_account: str = None,
|
|
55346
55444
|
resource_owner_id: int = None,
|
|
55347
55445
|
storage_space: int = None,
|
|
55348
55446
|
sub_category: str = None,
|
|
55349
55447
|
):
|
|
55448
|
+
self.auto_use_coupon = auto_use_coupon
|
|
55350
55449
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
55351
55450
|
self.client_token = client_token
|
|
55352
55451
|
self.cloud_provider = cloud_provider
|
|
@@ -55365,6 +55464,7 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55365
55464
|
# >- The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in the time that ranges from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
|
|
55366
55465
|
# >- If this parameter is left empty, the upgrade task is immediately performed.
|
|
55367
55466
|
self.planned_start_time = planned_start_time
|
|
55467
|
+
self.promotion_code = promotion_code
|
|
55368
55468
|
self.resource_owner_account = resource_owner_account
|
|
55369
55469
|
self.resource_owner_id = resource_owner_id
|
|
55370
55470
|
# The storage capacity that you can select when you change the cluster. Unit: GB.
|
|
@@ -55388,6 +55488,8 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55388
55488
|
return _map
|
|
55389
55489
|
|
|
55390
55490
|
result = dict()
|
|
55491
|
+
if self.auto_use_coupon is not None:
|
|
55492
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
55391
55493
|
if self.client_token is not None:
|
|
55392
55494
|
result['ClientToken'] = self.client_token
|
|
55393
55495
|
if self.cloud_provider is not None:
|
|
@@ -55402,6 +55504,8 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55402
55504
|
result['PlannedEndTime'] = self.planned_end_time
|
|
55403
55505
|
if self.planned_start_time is not None:
|
|
55404
55506
|
result['PlannedStartTime'] = self.planned_start_time
|
|
55507
|
+
if self.promotion_code is not None:
|
|
55508
|
+
result['PromotionCode'] = self.promotion_code
|
|
55405
55509
|
if self.resource_owner_account is not None:
|
|
55406
55510
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
55407
55511
|
if self.resource_owner_id is not None:
|
|
@@ -55414,6 +55518,8 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55414
55518
|
|
|
55415
55519
|
def from_map(self, m: dict = None):
|
|
55416
55520
|
m = m or dict()
|
|
55521
|
+
if m.get('AutoUseCoupon') is not None:
|
|
55522
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
55417
55523
|
if m.get('ClientToken') is not None:
|
|
55418
55524
|
self.client_token = m.get('ClientToken')
|
|
55419
55525
|
if m.get('CloudProvider') is not None:
|
|
@@ -55428,6 +55534,8 @@ class ModifyDBClusterStorageSpaceRequest(TeaModel):
|
|
|
55428
55534
|
self.planned_end_time = m.get('PlannedEndTime')
|
|
55429
55535
|
if m.get('PlannedStartTime') is not None:
|
|
55430
55536
|
self.planned_start_time = m.get('PlannedStartTime')
|
|
55537
|
+
if m.get('PromotionCode') is not None:
|
|
55538
|
+
self.promotion_code = m.get('PromotionCode')
|
|
55431
55539
|
if m.get('ResourceOwnerAccount') is not None:
|
|
55432
55540
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
55433
55541
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -56310,6 +56418,7 @@ class ModifyDBEndpointAddressResponse(TeaModel):
|
|
|
56310
56418
|
class ModifyDBNodeClassRequest(TeaModel):
|
|
56311
56419
|
def __init__(
|
|
56312
56420
|
self,
|
|
56421
|
+
auto_use_coupon: bool = None,
|
|
56313
56422
|
client_token: str = None,
|
|
56314
56423
|
cloud_provider: str = None,
|
|
56315
56424
|
dbcluster_id: str = None,
|
|
@@ -56321,10 +56430,12 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56321
56430
|
planned_end_time: str = None,
|
|
56322
56431
|
planned_flashing_off_time: str = None,
|
|
56323
56432
|
planned_start_time: str = None,
|
|
56433
|
+
promotion_code: str = None,
|
|
56324
56434
|
resource_owner_account: str = None,
|
|
56325
56435
|
resource_owner_id: int = None,
|
|
56326
56436
|
sub_category: str = None,
|
|
56327
56437
|
):
|
|
56438
|
+
self.auto_use_coupon = auto_use_coupon
|
|
56328
56439
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
56329
56440
|
self.client_token = client_token
|
|
56330
56441
|
self.cloud_provider = cloud_provider
|
|
@@ -56363,6 +56474,7 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56363
56474
|
# >* The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in the time that ranges from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
|
|
56364
56475
|
# >* If this parameter is left empty, the upgrade task is immediately performed.
|
|
56365
56476
|
self.planned_start_time = planned_start_time
|
|
56477
|
+
self.promotion_code = promotion_code
|
|
56366
56478
|
self.resource_owner_account = resource_owner_account
|
|
56367
56479
|
self.resource_owner_id = resource_owner_id
|
|
56368
56480
|
# The category of the cluster. Valid values:
|
|
@@ -56380,6 +56492,8 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56380
56492
|
return _map
|
|
56381
56493
|
|
|
56382
56494
|
result = dict()
|
|
56495
|
+
if self.auto_use_coupon is not None:
|
|
56496
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
56383
56497
|
if self.client_token is not None:
|
|
56384
56498
|
result['ClientToken'] = self.client_token
|
|
56385
56499
|
if self.cloud_provider is not None:
|
|
@@ -56402,6 +56516,8 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56402
56516
|
result['PlannedFlashingOffTime'] = self.planned_flashing_off_time
|
|
56403
56517
|
if self.planned_start_time is not None:
|
|
56404
56518
|
result['PlannedStartTime'] = self.planned_start_time
|
|
56519
|
+
if self.promotion_code is not None:
|
|
56520
|
+
result['PromotionCode'] = self.promotion_code
|
|
56405
56521
|
if self.resource_owner_account is not None:
|
|
56406
56522
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
56407
56523
|
if self.resource_owner_id is not None:
|
|
@@ -56412,6 +56528,8 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56412
56528
|
|
|
56413
56529
|
def from_map(self, m: dict = None):
|
|
56414
56530
|
m = m or dict()
|
|
56531
|
+
if m.get('AutoUseCoupon') is not None:
|
|
56532
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
56415
56533
|
if m.get('ClientToken') is not None:
|
|
56416
56534
|
self.client_token = m.get('ClientToken')
|
|
56417
56535
|
if m.get('CloudProvider') is not None:
|
|
@@ -56434,6 +56552,8 @@ class ModifyDBNodeClassRequest(TeaModel):
|
|
|
56434
56552
|
self.planned_flashing_off_time = m.get('PlannedFlashingOffTime')
|
|
56435
56553
|
if m.get('PlannedStartTime') is not None:
|
|
56436
56554
|
self.planned_start_time = m.get('PlannedStartTime')
|
|
56555
|
+
if m.get('PromotionCode') is not None:
|
|
56556
|
+
self.promotion_code = m.get('PromotionCode')
|
|
56437
56557
|
if m.get('ResourceOwnerAccount') is not None:
|
|
56438
56558
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
56439
56559
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -57147,6 +57267,7 @@ class ModifyDBNodesClassRequestDBNode(TeaModel):
|
|
|
57147
57267
|
class ModifyDBNodesClassRequest(TeaModel):
|
|
57148
57268
|
def __init__(
|
|
57149
57269
|
self,
|
|
57270
|
+
auto_use_coupon: bool = None,
|
|
57150
57271
|
client_token: str = None,
|
|
57151
57272
|
cloud_provider: str = None,
|
|
57152
57273
|
dbcluster_id: str = None,
|
|
@@ -57157,10 +57278,12 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57157
57278
|
planned_end_time: str = None,
|
|
57158
57279
|
planned_flashing_off_time: str = None,
|
|
57159
57280
|
planned_start_time: str = None,
|
|
57281
|
+
promotion_code: str = None,
|
|
57160
57282
|
resource_owner_account: str = None,
|
|
57161
57283
|
resource_owner_id: int = None,
|
|
57162
57284
|
sub_category: str = None,
|
|
57163
57285
|
):
|
|
57286
|
+
self.auto_use_coupon = auto_use_coupon
|
|
57164
57287
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
57165
57288
|
self.client_token = client_token
|
|
57166
57289
|
self.cloud_provider = cloud_provider
|
|
@@ -57193,6 +57316,7 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57193
57316
|
# >* The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in the time that ranges from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`.
|
|
57194
57317
|
# >* If this parameter is left empty, the upgrade task is immediately performed.
|
|
57195
57318
|
self.planned_start_time = planned_start_time
|
|
57319
|
+
self.promotion_code = promotion_code
|
|
57196
57320
|
self.resource_owner_account = resource_owner_account
|
|
57197
57321
|
self.resource_owner_id = resource_owner_id
|
|
57198
57322
|
# The category of the cluster. Valid values:
|
|
@@ -57213,6 +57337,8 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57213
57337
|
return _map
|
|
57214
57338
|
|
|
57215
57339
|
result = dict()
|
|
57340
|
+
if self.auto_use_coupon is not None:
|
|
57341
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
57216
57342
|
if self.client_token is not None:
|
|
57217
57343
|
result['ClientToken'] = self.client_token
|
|
57218
57344
|
if self.cloud_provider is not None:
|
|
@@ -57235,6 +57361,8 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57235
57361
|
result['PlannedFlashingOffTime'] = self.planned_flashing_off_time
|
|
57236
57362
|
if self.planned_start_time is not None:
|
|
57237
57363
|
result['PlannedStartTime'] = self.planned_start_time
|
|
57364
|
+
if self.promotion_code is not None:
|
|
57365
|
+
result['PromotionCode'] = self.promotion_code
|
|
57238
57366
|
if self.resource_owner_account is not None:
|
|
57239
57367
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
57240
57368
|
if self.resource_owner_id is not None:
|
|
@@ -57245,6 +57373,8 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57245
57373
|
|
|
57246
57374
|
def from_map(self, m: dict = None):
|
|
57247
57375
|
m = m or dict()
|
|
57376
|
+
if m.get('AutoUseCoupon') is not None:
|
|
57377
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
57248
57378
|
if m.get('ClientToken') is not None:
|
|
57249
57379
|
self.client_token = m.get('ClientToken')
|
|
57250
57380
|
if m.get('CloudProvider') is not None:
|
|
@@ -57268,6 +57398,8 @@ class ModifyDBNodesClassRequest(TeaModel):
|
|
|
57268
57398
|
self.planned_flashing_off_time = m.get('PlannedFlashingOffTime')
|
|
57269
57399
|
if m.get('PlannedStartTime') is not None:
|
|
57270
57400
|
self.planned_start_time = m.get('PlannedStartTime')
|
|
57401
|
+
if m.get('PromotionCode') is not None:
|
|
57402
|
+
self.promotion_code = m.get('PromotionCode')
|
|
57271
57403
|
if m.get('ResourceOwnerAccount') is not None:
|
|
57272
57404
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
57273
57405
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -62499,6 +62631,7 @@ class TempModifyDBNodeRequestDBNode(TeaModel):
|
|
|
62499
62631
|
class TempModifyDBNodeRequest(TeaModel):
|
|
62500
62632
|
def __init__(
|
|
62501
62633
|
self,
|
|
62634
|
+
auto_use_coupon: bool = None,
|
|
62502
62635
|
client_token: str = None,
|
|
62503
62636
|
dbcluster_id: str = None,
|
|
62504
62637
|
dbnode: List[TempModifyDBNodeRequestDBNode] = None,
|
|
@@ -62506,10 +62639,12 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62506
62639
|
operation_type: str = None,
|
|
62507
62640
|
owner_account: str = None,
|
|
62508
62641
|
owner_id: int = None,
|
|
62642
|
+
promotion_code: str = None,
|
|
62509
62643
|
resource_owner_account: str = None,
|
|
62510
62644
|
resource_owner_id: int = None,
|
|
62511
62645
|
restore_time: str = None,
|
|
62512
62646
|
):
|
|
62647
|
+
self.auto_use_coupon = auto_use_coupon
|
|
62513
62648
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
|
|
62514
62649
|
self.client_token = client_token
|
|
62515
62650
|
# The cluster ID.
|
|
@@ -62532,6 +62667,7 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62532
62667
|
self.operation_type = operation_type
|
|
62533
62668
|
self.owner_account = owner_account
|
|
62534
62669
|
self.owner_id = owner_id
|
|
62670
|
+
self.promotion_code = promotion_code
|
|
62535
62671
|
self.resource_owner_account = resource_owner_account
|
|
62536
62672
|
self.resource_owner_id = resource_owner_id
|
|
62537
62673
|
# The rollback time of the configuration for the temporary upgrade. Specify the time in the ISO 8601 standard in the YYYY-MM-DD hh:mm:ss format.
|
|
@@ -62553,6 +62689,8 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62553
62689
|
return _map
|
|
62554
62690
|
|
|
62555
62691
|
result = dict()
|
|
62692
|
+
if self.auto_use_coupon is not None:
|
|
62693
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
62556
62694
|
if self.client_token is not None:
|
|
62557
62695
|
result['ClientToken'] = self.client_token
|
|
62558
62696
|
if self.dbcluster_id is not None:
|
|
@@ -62569,6 +62707,8 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62569
62707
|
result['OwnerAccount'] = self.owner_account
|
|
62570
62708
|
if self.owner_id is not None:
|
|
62571
62709
|
result['OwnerId'] = self.owner_id
|
|
62710
|
+
if self.promotion_code is not None:
|
|
62711
|
+
result['PromotionCode'] = self.promotion_code
|
|
62572
62712
|
if self.resource_owner_account is not None:
|
|
62573
62713
|
result['ResourceOwnerAccount'] = self.resource_owner_account
|
|
62574
62714
|
if self.resource_owner_id is not None:
|
|
@@ -62579,6 +62719,8 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62579
62719
|
|
|
62580
62720
|
def from_map(self, m: dict = None):
|
|
62581
62721
|
m = m or dict()
|
|
62722
|
+
if m.get('AutoUseCoupon') is not None:
|
|
62723
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
62582
62724
|
if m.get('ClientToken') is not None:
|
|
62583
62725
|
self.client_token = m.get('ClientToken')
|
|
62584
62726
|
if m.get('DBClusterId') is not None:
|
|
@@ -62596,6 +62738,8 @@ class TempModifyDBNodeRequest(TeaModel):
|
|
|
62596
62738
|
self.owner_account = m.get('OwnerAccount')
|
|
62597
62739
|
if m.get('OwnerId') is not None:
|
|
62598
62740
|
self.owner_id = m.get('OwnerId')
|
|
62741
|
+
if m.get('PromotionCode') is not None:
|
|
62742
|
+
self.promotion_code = m.get('PromotionCode')
|
|
62599
62743
|
if m.get('ResourceOwnerAccount') is not None:
|
|
62600
62744
|
self.resource_owner_account = m.get('ResourceOwnerAccount')
|
|
62601
62745
|
if m.get('ResourceOwnerId') is not None:
|
|
@@ -62698,18 +62842,21 @@ class TempModifyDBNodeResponse(TeaModel):
|
|
|
62698
62842
|
class TransformDBClusterPayTypeRequest(TeaModel):
|
|
62699
62843
|
def __init__(
|
|
62700
62844
|
self,
|
|
62845
|
+
auto_use_coupon: bool = None,
|
|
62701
62846
|
client_token: str = None,
|
|
62702
62847
|
dbcluster_id: str = None,
|
|
62703
62848
|
owner_account: str = None,
|
|
62704
62849
|
owner_id: int = None,
|
|
62705
62850
|
pay_type: str = None,
|
|
62706
62851
|
period: str = None,
|
|
62852
|
+
promotion_code: str = None,
|
|
62707
62853
|
region_id: str = None,
|
|
62708
62854
|
resource_group_id: str = None,
|
|
62709
62855
|
resource_owner_account: str = None,
|
|
62710
62856
|
resource_owner_id: int = None,
|
|
62711
62857
|
used_time: str = None,
|
|
62712
62858
|
):
|
|
62859
|
+
self.auto_use_coupon = auto_use_coupon
|
|
62713
62860
|
# The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
|
|
62714
62861
|
self.client_token = client_token
|
|
62715
62862
|
# The cluster ID.
|
|
@@ -62732,6 +62879,7 @@ class TransformDBClusterPayTypeRequest(TeaModel):
|
|
|
62732
62879
|
#
|
|
62733
62880
|
# > This parameter is required if you set the **PayType** parameter to **Prepaid**.
|
|
62734
62881
|
self.period = period
|
|
62882
|
+
self.promotion_code = promotion_code
|
|
62735
62883
|
# The ID of the region.
|
|
62736
62884
|
#
|
|
62737
62885
|
# This parameter is required.
|
|
@@ -62757,6 +62905,8 @@ class TransformDBClusterPayTypeRequest(TeaModel):
|
|
|
62757
62905
|
return _map
|
|
62758
62906
|
|
|
62759
62907
|
result = dict()
|
|
62908
|
+
if self.auto_use_coupon is not None:
|
|
62909
|
+
result['AutoUseCoupon'] = self.auto_use_coupon
|
|
62760
62910
|
if self.client_token is not None:
|
|
62761
62911
|
result['ClientToken'] = self.client_token
|
|
62762
62912
|
if self.dbcluster_id is not None:
|
|
@@ -62769,6 +62919,8 @@ class TransformDBClusterPayTypeRequest(TeaModel):
|
|
|
62769
62919
|
result['PayType'] = self.pay_type
|
|
62770
62920
|
if self.period is not None:
|
|
62771
62921
|
result['Period'] = self.period
|
|
62922
|
+
if self.promotion_code is not None:
|
|
62923
|
+
result['PromotionCode'] = self.promotion_code
|
|
62772
62924
|
if self.region_id is not None:
|
|
62773
62925
|
result['RegionId'] = self.region_id
|
|
62774
62926
|
if self.resource_group_id is not None:
|
|
@@ -62783,6 +62935,8 @@ class TransformDBClusterPayTypeRequest(TeaModel):
|
|
|
62783
62935
|
|
|
62784
62936
|
def from_map(self, m: dict = None):
|
|
62785
62937
|
m = m or dict()
|
|
62938
|
+
if m.get('AutoUseCoupon') is not None:
|
|
62939
|
+
self.auto_use_coupon = m.get('AutoUseCoupon')
|
|
62786
62940
|
if m.get('ClientToken') is not None:
|
|
62787
62941
|
self.client_token = m.get('ClientToken')
|
|
62788
62942
|
if m.get('DBClusterId') is not None:
|
|
@@ -62795,6 +62949,8 @@ class TransformDBClusterPayTypeRequest(TeaModel):
|
|
|
62795
62949
|
self.pay_type = m.get('PayType')
|
|
62796
62950
|
if m.get('Period') is not None:
|
|
62797
62951
|
self.period = m.get('Period')
|
|
62952
|
+
if m.get('PromotionCode') is not None:
|
|
62953
|
+
self.promotion_code = m.get('PromotionCode')
|
|
62798
62954
|
if m.get('RegionId') is not None:
|
|
62799
62955
|
self.region_id = m.get('RegionId')
|
|
62800
62956
|
if m.get('ResourceGroupId') is not None:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '6.1.8'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|