tencentcloud-sdk-python 3.0.1343__py2.py3-none-any.whl → 3.0.1345__py2.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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +6 -2
- tencentcloud/billing/v20180709/models.py +0 -14
- tencentcloud/cbs/v20170312/models.py +0 -20
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +117 -0
- tencentcloud/cdwch/v20200915/models.py +0 -110
- tencentcloud/ckafka/v20190819/models.py +0 -260
- tencentcloud/clb/v20180317/models.py +49 -20
- tencentcloud/cls/v20201016/cls_client.py +0 -92
- tencentcloud/cls/v20201016/models.py +74 -1145
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/cynosdb/v20190107/models.py +2 -86
- tencentcloud/dbbrain/v20191016/models.py +0 -36
- tencentcloud/dbbrain/v20210527/models.py +0 -106
- tencentcloud/dcdb/v20180411/models.py +0 -48
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +724 -0
- tencentcloud/domain/v20180808/models.py +0 -8
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +0 -34
- tencentcloud/ess/v20201111/models.py +4 -2
- tencentcloud/essbasic/v20210526/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -0
- tencentcloud/fmu/v20191213/models.py +4 -4
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gwlb/v20240906/models.py +4 -4
- tencentcloud/hai/v20230812/errorcodes.py +1 -1
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +1 -1
- tencentcloud/iotvideoindustry/v20201201/models.py +15 -404
- tencentcloud/lighthouse/v20200324/models.py +12 -20
- tencentcloud/lke/v20231130/models.py +15 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +0 -38
- tencentcloud/mmps/v20200710/models.py +0 -56
- tencentcloud/monitor/v20180724/models.py +251 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/errorcodes.py +34 -0
- tencentcloud/mps/v20190612/models.py +4129 -429
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/postgres/v20170312/models.py +0 -222
- tencentcloud/postgres/v20170312/postgres_client.py +5 -5
- tencentcloud/redis/v20180412/models.py +64 -0
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/svp/v20240125/models.py +0 -42
- tencentcloud/tcb/v20180608/models.py +109 -348
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcss/v20201101/models.py +1813 -2547
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdmq/v20200217/models.py +158 -436
- tencentcloud/tdmq/v20200217/tdmq_client.py +0 -23
- tencentcloud/teo/v20220901/models.py +158 -36
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -6
- tencentcloud/thpc/v20230321/models.py +0 -8
- tencentcloud/tke/v20180525/models.py +0 -54
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/vpc/v20170312/models.py +0 -34
- tencentcloud/waf/v20180125/models.py +15 -0
- tencentcloud/wedata/v20210820/models.py +122 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/RECORD +70 -70
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1343.dist-info → tencentcloud_sdk_python-3.0.1345.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -4378,7 +4378,7 @@ class CreateCCPrecisionPolicyRequest(AbstractModel):
|
|
4378
4378
|
:type Protocol: str
|
4379
4379
|
:param _Domain: 域名
|
4380
4380
|
:type Domain: str
|
4381
|
-
:param _PolicyAction: 策略方式,可取值alg
|
4381
|
+
:param _PolicyAction: 策略方式,可取值alg表示人机校验,drop表示丢弃,trans表示放行
|
4382
4382
|
:type PolicyAction: str
|
4383
4383
|
:param _PolicyList: 策略记录
|
4384
4384
|
:type PolicyList: list of CCPrecisionPlyRecord
|
@@ -4436,7 +4436,7 @@ class CreateCCPrecisionPolicyRequest(AbstractModel):
|
|
4436
4436
|
|
4437
4437
|
@property
|
4438
4438
|
def PolicyAction(self):
|
4439
|
-
"""策略方式,可取值alg
|
4439
|
+
"""策略方式,可取值alg表示人机校验,drop表示丢弃,trans表示放行
|
4440
4440
|
:rtype: str
|
4441
4441
|
"""
|
4442
4442
|
return self._PolicyAction
|
@@ -1492,7 +1492,9 @@ Operator 目前支持
|
|
1492
1492
|
-is in操作符
|
1493
1493
|
|
1494
1494
|
:type GlobalParam: str
|
1495
|
-
:param _TokenType: 100
|
1495
|
+
:param _TokenType: 100 不绑定用户, 一次创建一个token,UserCorpId和UserId 非必填,不支持 ChatBI 嵌出
|
1496
|
+
200 单用户单token , 一次创建一个token, UserCorpId和UserId 必填
|
1497
|
+
300 单用户多token, 一次创建多个token,UserCorpId和UserId 必填
|
1496
1498
|
:type TokenType: int
|
1497
1499
|
:param _TokenNum: 一次创建的token数
|
1498
1500
|
:type TokenNum: int
|
@@ -1661,7 +1663,9 @@ Operator 目前支持
|
|
1661
1663
|
|
1662
1664
|
@property
|
1663
1665
|
def TokenType(self):
|
1664
|
-
"""100
|
1666
|
+
"""100 不绑定用户, 一次创建一个token,UserCorpId和UserId 非必填,不支持 ChatBI 嵌出
|
1667
|
+
200 单用户单token , 一次创建一个token, UserCorpId和UserId 必填
|
1668
|
+
300 单用户多token, 一次创建多个token,UserCorpId和UserId 必填
|
1665
1669
|
:rtype: int
|
1666
1670
|
"""
|
1667
1671
|
return self._TokenType
|
@@ -6108,10 +6108,8 @@ class BillComponent(AbstractModel):
|
|
6108
6108
|
def __init__(self):
|
6109
6109
|
r"""
|
6110
6110
|
:param _ComponentCode: 组件类型编码
|
6111
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6112
6111
|
:type ComponentCode: str
|
6113
6112
|
:param _ComponentCodeName: 组件类型:用户购买的产品或服务对应的组件大类
|
6114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6115
6113
|
:type ComponentCodeName: str
|
6116
6114
|
"""
|
6117
6115
|
self._ComponentCode = None
|
@@ -6120,7 +6118,6 @@ class BillComponent(AbstractModel):
|
|
6120
6118
|
@property
|
6121
6119
|
def ComponentCode(self):
|
6122
6120
|
"""组件类型编码
|
6123
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6124
6121
|
:rtype: str
|
6125
6122
|
"""
|
6126
6123
|
return self._ComponentCode
|
@@ -6132,7 +6129,6 @@ class BillComponent(AbstractModel):
|
|
6132
6129
|
@property
|
6133
6130
|
def ComponentCodeName(self):
|
6134
6131
|
"""组件类型:用户购买的产品或服务对应的组件大类
|
6135
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6136
6132
|
:rtype: str
|
6137
6133
|
"""
|
6138
6134
|
return self._ComponentCodeName
|
@@ -10704,16 +10700,12 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
|
|
10704
10700
|
:param _Business: 产品消费详情
|
10705
10701
|
:type Business: list of ConsumptionBusinessSummaryDataItem
|
10706
10702
|
:param _CashPayAmount: 现金
|
10707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10708
10703
|
:type CashPayAmount: str
|
10709
10704
|
:param _VoucherPayAmount: 代金券
|
10710
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10711
10705
|
:type VoucherPayAmount: str
|
10712
10706
|
:param _IncentivePayAmount: 赠送金
|
10713
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10714
10707
|
:type IncentivePayAmount: str
|
10715
10708
|
:param _TransferPayAmount: 分成金
|
10716
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10717
10709
|
:type TransferPayAmount: str
|
10718
10710
|
"""
|
10719
10711
|
self._RegionId = None
|
@@ -10784,7 +10776,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
|
|
10784
10776
|
@property
|
10785
10777
|
def CashPayAmount(self):
|
10786
10778
|
"""现金
|
10787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10788
10779
|
:rtype: str
|
10789
10780
|
"""
|
10790
10781
|
return self._CashPayAmount
|
@@ -10796,7 +10787,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
|
|
10796
10787
|
@property
|
10797
10788
|
def VoucherPayAmount(self):
|
10798
10789
|
"""代金券
|
10799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10800
10790
|
:rtype: str
|
10801
10791
|
"""
|
10802
10792
|
return self._VoucherPayAmount
|
@@ -10808,7 +10798,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
|
|
10808
10798
|
@property
|
10809
10799
|
def IncentivePayAmount(self):
|
10810
10800
|
"""赠送金
|
10811
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10812
10801
|
:rtype: str
|
10813
10802
|
"""
|
10814
10803
|
return self._IncentivePayAmount
|
@@ -10820,7 +10809,6 @@ class ConsumptionRegionSummaryDataItem(AbstractModel):
|
|
10820
10809
|
@property
|
10821
10810
|
def TransferPayAmount(self):
|
10822
10811
|
"""分成金
|
10823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10824
10812
|
:rtype: str
|
10825
10813
|
"""
|
10826
10814
|
return self._TransferPayAmount
|
@@ -16616,7 +16604,6 @@ class DescribeBillDetailForOrganizationResponse(AbstractModel):
|
|
16616
16604
|
注意:此字段可能返回 null,表示取不到有效值。
|
16617
16605
|
:type Total: int
|
16618
16606
|
:param _Context: 本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度
|
16619
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16620
16607
|
:type Context: str
|
16621
16608
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16622
16609
|
:type RequestId: str
|
@@ -16652,7 +16639,6 @@ class DescribeBillDetailForOrganizationResponse(AbstractModel):
|
|
16652
16639
|
@property
|
16653
16640
|
def Context(self):
|
16654
16641
|
"""本次请求的上下文信息,可用于下一次请求的请求参数中,加快查询速度
|
16655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
16656
16642
|
:rtype: str
|
16657
16643
|
"""
|
16658
16644
|
return self._Context
|
@@ -26,16 +26,12 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _Days: 保留最新快照Days天内的每天最新的一个快照,取值范围:[0, 100]
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type Days: int
|
31
30
|
:param _Weeks: 保留最新快照Weeks周内的每周最新的一个快照,取值范围:[0, 100]
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33
31
|
:type Weeks: int
|
34
32
|
:param _Months: 保留最新快照Months月内的每月最新的一个快照, 取值范围:[0, 100]
|
35
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
36
33
|
:type Months: int
|
37
34
|
:param _Years: 保留最新快照Years年内的每年最新的一个快照,取值范围:[0, 100]
|
38
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
39
35
|
:type Years: int
|
40
36
|
"""
|
41
37
|
self._Days = None
|
@@ -46,7 +42,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
46
42
|
@property
|
47
43
|
def Days(self):
|
48
44
|
"""保留最新快照Days天内的每天最新的一个快照,取值范围:[0, 100]
|
49
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
50
45
|
:rtype: int
|
51
46
|
"""
|
52
47
|
return self._Days
|
@@ -58,7 +53,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
58
53
|
@property
|
59
54
|
def Weeks(self):
|
60
55
|
"""保留最新快照Weeks周内的每周最新的一个快照,取值范围:[0, 100]
|
61
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
62
56
|
:rtype: int
|
63
57
|
"""
|
64
58
|
return self._Weeks
|
@@ -70,7 +64,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
70
64
|
@property
|
71
65
|
def Months(self):
|
72
66
|
"""保留最新快照Months月内的每月最新的一个快照, 取值范围:[0, 100]
|
73
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
74
67
|
:rtype: int
|
75
68
|
"""
|
76
69
|
return self._Months
|
@@ -82,7 +75,6 @@ class AdvancedRetentionPolicy(AbstractModel):
|
|
82
75
|
@property
|
83
76
|
def Years(self):
|
84
77
|
"""保留最新快照Years年内的每年最新的一个快照,取值范围:[0, 100]
|
85
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
86
78
|
:rtype: int
|
87
79
|
"""
|
88
80
|
return self._Years
|
@@ -749,7 +741,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
749
741
|
</ul>
|
750
742
|
:type AutoSnapshotPolicyState: str
|
751
743
|
:param _IsCopyToRemote: 是否是跨账号复制快照快照, 1:是, 0: 不是
|
752
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
753
744
|
:type IsCopyToRemote: int
|
754
745
|
:param _IsPermanent: 使用该定期快照策略创建出来的快照是否永久保留。
|
755
746
|
:type IsPermanent: bool
|
@@ -769,13 +760,10 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
769
760
|
注意:此字段可能返回 null,表示取不到有效值。
|
770
761
|
:type CopyToAccountUin: str
|
771
762
|
:param _InstanceIdSet: 已绑定当前定期快照策略的实例ID列表。
|
772
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
773
763
|
:type InstanceIdSet: list of str
|
774
764
|
:param _RetentionMonths: 该定期快照创建的快照可以保留的月数。
|
775
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
776
765
|
:type RetentionMonths: int
|
777
766
|
:param _RetentionAmount: 该定期快照创建的快照最大保留数量。
|
778
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
779
767
|
:type RetentionAmount: int
|
780
768
|
:param _AdvancedRetentionPolicy: 定期快照高级保留策略。
|
781
769
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -784,7 +772,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
784
772
|
注意:此字段可能返回 null,表示取不到有效值。
|
785
773
|
:type CopyFromAccountUin: str
|
786
774
|
:param _Tags: 标签。
|
787
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
788
775
|
:type Tags: list of Tag
|
789
776
|
"""
|
790
777
|
self._DiskIdSet = None
|
@@ -846,7 +833,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
846
833
|
@property
|
847
834
|
def IsCopyToRemote(self):
|
848
835
|
"""是否是跨账号复制快照快照, 1:是, 0: 不是
|
849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
850
836
|
:rtype: int
|
851
837
|
"""
|
852
838
|
return self._IsCopyToRemote
|
@@ -947,7 +933,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
947
933
|
@property
|
948
934
|
def InstanceIdSet(self):
|
949
935
|
"""已绑定当前定期快照策略的实例ID列表。
|
950
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
951
936
|
:rtype: list of str
|
952
937
|
"""
|
953
938
|
return self._InstanceIdSet
|
@@ -959,7 +944,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
959
944
|
@property
|
960
945
|
def RetentionMonths(self):
|
961
946
|
"""该定期快照创建的快照可以保留的月数。
|
962
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
963
947
|
:rtype: int
|
964
948
|
"""
|
965
949
|
return self._RetentionMonths
|
@@ -971,7 +955,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
971
955
|
@property
|
972
956
|
def RetentionAmount(self):
|
973
957
|
"""该定期快照创建的快照最大保留数量。
|
974
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
975
958
|
:rtype: int
|
976
959
|
"""
|
977
960
|
return self._RetentionAmount
|
@@ -1007,7 +990,6 @@ class AutoSnapshotPolicy(AbstractModel):
|
|
1007
990
|
@property
|
1008
991
|
def Tags(self):
|
1009
992
|
"""标签。
|
1010
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1011
993
|
:rtype: list of Tag
|
1012
994
|
"""
|
1013
995
|
return self._Tags
|
@@ -1326,7 +1308,6 @@ class CdcSize(AbstractModel):
|
|
1326
1308
|
:param _DiskTotal: 独享集群的总容量大小,单位GiB
|
1327
1309
|
:type DiskTotal: int
|
1328
1310
|
:param _DiskAvailable: 独享集群的可用容量大小,单位GiB
|
1329
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1330
1311
|
:type DiskAvailable: int
|
1331
1312
|
"""
|
1332
1313
|
self._DiskTotal = None
|
@@ -1346,7 +1327,6 @@ class CdcSize(AbstractModel):
|
|
1346
1327
|
@property
|
1347
1328
|
def DiskAvailable(self):
|
1348
1329
|
"""独享集群的可用容量大小,单位GiB
|
1349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1350
1330
|
:rtype: int
|
1351
1331
|
"""
|
1352
1332
|
return self._DiskAvailable
|
@@ -1428,6 +1428,29 @@ class CdbClient(AbstractClient):
|
|
1428
1428
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1429
1429
|
|
1430
1430
|
|
1431
|
+
def DescribeCPUExpandStrategyInfo(self, request):
|
1432
|
+
"""通过该 API 可以查询实例的 CPU 弹性扩容信息
|
1433
|
+
|
1434
|
+
:param request: Request instance for DescribeCPUExpandStrategyInfo.
|
1435
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoRequest`
|
1436
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.DescribeCPUExpandStrategyInfoResponse`
|
1437
|
+
|
1438
|
+
"""
|
1439
|
+
try:
|
1440
|
+
params = request._serialize()
|
1441
|
+
headers = request.headers
|
1442
|
+
body = self.call("DescribeCPUExpandStrategyInfo", params, headers=headers)
|
1443
|
+
response = json.loads(body)
|
1444
|
+
model = models.DescribeCPUExpandStrategyInfoResponse()
|
1445
|
+
model._deserialize(response["Response"])
|
1446
|
+
return model
|
1447
|
+
except Exception as e:
|
1448
|
+
if isinstance(e, TencentCloudSDKException):
|
1449
|
+
raise
|
1450
|
+
else:
|
1451
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1452
|
+
|
1453
|
+
|
1431
1454
|
def DescribeCdbProxyInfo(self, request):
|
1432
1455
|
"""本接口(DescribeCdbProxyInfo)用于查询数据库代理详情信息。
|
1433
1456
|
|
@@ -14797,6 +14797,123 @@ class DescribeBinlogsResponse(AbstractModel):
|
|
14797
14797
|
self._RequestId = params.get("RequestId")
|
14798
14798
|
|
14799
14799
|
|
14800
|
+
class DescribeCPUExpandStrategyInfoRequest(AbstractModel):
|
14801
|
+
"""DescribeCPUExpandStrategyInfo请求参数结构体
|
14802
|
+
|
14803
|
+
"""
|
14804
|
+
|
14805
|
+
def __init__(self):
|
14806
|
+
r"""
|
14807
|
+
:param _InstanceId: 实例 ID 。
|
14808
|
+
:type InstanceId: str
|
14809
|
+
"""
|
14810
|
+
self._InstanceId = None
|
14811
|
+
|
14812
|
+
@property
|
14813
|
+
def InstanceId(self):
|
14814
|
+
"""实例 ID 。
|
14815
|
+
:rtype: str
|
14816
|
+
"""
|
14817
|
+
return self._InstanceId
|
14818
|
+
|
14819
|
+
@InstanceId.setter
|
14820
|
+
def InstanceId(self, InstanceId):
|
14821
|
+
self._InstanceId = InstanceId
|
14822
|
+
|
14823
|
+
|
14824
|
+
def _deserialize(self, params):
|
14825
|
+
self._InstanceId = params.get("InstanceId")
|
14826
|
+
memeber_set = set(params.keys())
|
14827
|
+
for name, value in vars(self).items():
|
14828
|
+
property_name = name[1:]
|
14829
|
+
if property_name in memeber_set:
|
14830
|
+
memeber_set.remove(property_name)
|
14831
|
+
if len(memeber_set) > 0:
|
14832
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14833
|
+
|
14834
|
+
|
14835
|
+
|
14836
|
+
class DescribeCPUExpandStrategyInfoResponse(AbstractModel):
|
14837
|
+
"""DescribeCPUExpandStrategyInfo返回参数结构体
|
14838
|
+
|
14839
|
+
"""
|
14840
|
+
|
14841
|
+
def __init__(self):
|
14842
|
+
r"""
|
14843
|
+
:param _Type: 策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
|
14844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14845
|
+
:type Type: str
|
14846
|
+
:param _ExpandCpu: 手动扩容的 CPU 。Type为 manual 时有效。
|
14847
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14848
|
+
:type ExpandCpu: int
|
14849
|
+
:param _AutoStrategy: 自动扩容策略。Type 为 auto 时有效
|
14850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14851
|
+
:type AutoStrategy: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
14852
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14853
|
+
:type RequestId: str
|
14854
|
+
"""
|
14855
|
+
self._Type = None
|
14856
|
+
self._ExpandCpu = None
|
14857
|
+
self._AutoStrategy = None
|
14858
|
+
self._RequestId = None
|
14859
|
+
|
14860
|
+
@property
|
14861
|
+
def Type(self):
|
14862
|
+
"""策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略
|
14863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14864
|
+
:rtype: str
|
14865
|
+
"""
|
14866
|
+
return self._Type
|
14867
|
+
|
14868
|
+
@Type.setter
|
14869
|
+
def Type(self, Type):
|
14870
|
+
self._Type = Type
|
14871
|
+
|
14872
|
+
@property
|
14873
|
+
def ExpandCpu(self):
|
14874
|
+
"""手动扩容的 CPU 。Type为 manual 时有效。
|
14875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14876
|
+
:rtype: int
|
14877
|
+
"""
|
14878
|
+
return self._ExpandCpu
|
14879
|
+
|
14880
|
+
@ExpandCpu.setter
|
14881
|
+
def ExpandCpu(self, ExpandCpu):
|
14882
|
+
self._ExpandCpu = ExpandCpu
|
14883
|
+
|
14884
|
+
@property
|
14885
|
+
def AutoStrategy(self):
|
14886
|
+
"""自动扩容策略。Type 为 auto 时有效
|
14887
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
14888
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.AutoStrategy`
|
14889
|
+
"""
|
14890
|
+
return self._AutoStrategy
|
14891
|
+
|
14892
|
+
@AutoStrategy.setter
|
14893
|
+
def AutoStrategy(self, AutoStrategy):
|
14894
|
+
self._AutoStrategy = AutoStrategy
|
14895
|
+
|
14896
|
+
@property
|
14897
|
+
def RequestId(self):
|
14898
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14899
|
+
:rtype: str
|
14900
|
+
"""
|
14901
|
+
return self._RequestId
|
14902
|
+
|
14903
|
+
@RequestId.setter
|
14904
|
+
def RequestId(self, RequestId):
|
14905
|
+
self._RequestId = RequestId
|
14906
|
+
|
14907
|
+
|
14908
|
+
def _deserialize(self, params):
|
14909
|
+
self._Type = params.get("Type")
|
14910
|
+
self._ExpandCpu = params.get("ExpandCpu")
|
14911
|
+
if params.get("AutoStrategy") is not None:
|
14912
|
+
self._AutoStrategy = AutoStrategy()
|
14913
|
+
self._AutoStrategy._deserialize(params.get("AutoStrategy"))
|
14914
|
+
self._RequestId = params.get("RequestId")
|
14915
|
+
|
14916
|
+
|
14800
14917
|
class DescribeCdbProxyInfoRequest(AbstractModel):
|
14801
14918
|
"""DescribeCdbProxyInfo请求参数结构体
|
14802
14919
|
|