tencentcloud-sdk-python 3.0.1318__py2.py3-none-any.whl → 3.0.1320__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.
Files changed (33) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/antiddos/v20200309/antiddos_client.py +1 -1
  3. tencentcloud/antiddos/v20200309/models.py +42 -72
  4. tencentcloud/cbs/v20170312/models.py +45 -0
  5. tencentcloud/cdb/v20170320/cdb_client.py +1 -0
  6. tencentcloud/cdb/v20170320/models.py +60 -18
  7. tencentcloud/csip/v20221121/models.py +0 -30
  8. tencentcloud/cwp/v20180228/models.py +17 -2
  9. tencentcloud/lcic/v20220817/lcic_client.py +23 -0
  10. tencentcloud/lcic/v20220817/models.py +94 -14
  11. tencentcloud/live/v20180801/models.py +90 -0
  12. tencentcloud/lke/v20231130/models.py +34 -0
  13. tencentcloud/lkeap/v20240522/lkeap_client.py +2 -1
  14. tencentcloud/lkeap/v20240522/models.py +110 -0
  15. tencentcloud/ocr/v20181119/models.py +46 -16
  16. tencentcloud/postgres/v20170312/postgres_client.py +1 -1
  17. tencentcloud/rum/v20210622/models.py +4 -0
  18. tencentcloud/smh/v20210712/models.py +32 -8
  19. tencentcloud/ssl/v20191205/models.py +1461 -399
  20. tencentcloud/ssl/v20191205/ssl_client.py +6 -6
  21. tencentcloud/tdmq/v20200217/models.py +166 -0
  22. tencentcloud/teo/v20220901/models.py +10 -14
  23. tencentcloud/thpc/v20230321/models.py +30 -0
  24. tencentcloud/trocket/v20230308/models.py +218 -15
  25. tencentcloud/trocket/v20230308/trocket_client.py +1 -0
  26. tencentcloud/vpc/v20170312/models.py +20 -12
  27. tencentcloud/wedata/v20210820/models.py +39 -4
  28. tencentcloud/wedata/v20210820/wedata_client.py +8 -2
  29. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/RECORD +33 -33
  31. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/LICENSE +0 -0
  32. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/WHEEL +0 -0
  33. {tencentcloud_sdk_python-3.0.1318.dist-info → tencentcloud_sdk_python-3.0.1320.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1318'
17
+ __version__ = '3.0.1320'
@@ -2216,7 +2216,7 @@ class AntiddosClient(AbstractClient):
2216
2216
 
2217
2217
 
2218
2218
  def SwitchWaterPrintConfig(self, request):
2219
- """开启或关闭DDoS防护的水印防护配置
2219
+ """开启或关闭DDoS防护的水印防护配置,此功能为付费增值服务,有需求请联系售后
2220
2220
 
2221
2221
  :param request: Request instance for SwitchWaterPrintConfig.
2222
2222
  :type request: :class:`tencentcloud.antiddos.v20200309.models.SwitchWaterPrintConfigRequest`
@@ -4374,7 +4374,7 @@ class CreateCCPrecisionPolicyRequest(AbstractModel):
4374
4374
  :type InstanceId: str
4375
4375
  :param _Ip: IP值
4376
4376
  :type Ip: str
4377
- :param _Protocol: 协议, 可取值HTTPHTTPS
4377
+ :param _Protocol: 协议, 可取值httphttps,http/https
4378
4378
  :type Protocol: str
4379
4379
  :param _Domain: 域名
4380
4380
  :type Domain: str
@@ -4414,7 +4414,7 @@ class CreateCCPrecisionPolicyRequest(AbstractModel):
4414
4414
 
4415
4415
  @property
4416
4416
  def Protocol(self):
4417
- """协议, 可取值HTTPHTTPS
4417
+ """协议, 可取值httphttps,http/https
4418
4418
  :rtype: str
4419
4419
  """
4420
4420
  return self._Protocol
@@ -4518,13 +4518,13 @@ class CreateCCReqLimitPolicyRequest(AbstractModel):
4518
4518
  :type InstanceId: str
4519
4519
  :param _Ip: IP值
4520
4520
  :type Ip: str
4521
- :param _Protocol: 协议,可取值HTTP,HTTPS
4521
+ :param _Protocol: 协议,可取值http, https, http/https
4522
4522
  :type Protocol: str
4523
4523
  :param _Domain: 域名
4524
4524
  :type Domain: str
4525
4525
  :param _Policy: 策略项
4526
4526
  :type Policy: :class:`tencentcloud.antiddos.v20200309.models.CCReqLimitPolicyRecord`
4527
- :param _IsGlobal: 是否为兜底频控
4527
+ :param _IsGlobal: 是否为兜底频控 0表示不是 1表示是
4528
4528
  :type IsGlobal: int
4529
4529
  """
4530
4530
  self._InstanceId = None
@@ -4558,7 +4558,7 @@ class CreateCCReqLimitPolicyRequest(AbstractModel):
4558
4558
 
4559
4559
  @property
4560
4560
  def Protocol(self):
4561
- """协议,可取值HTTP,HTTPS
4561
+ """协议,可取值http, https, http/https
4562
4562
  :rtype: str
4563
4563
  """
4564
4564
  return self._Protocol
@@ -4591,7 +4591,7 @@ class CreateCCReqLimitPolicyRequest(AbstractModel):
4591
4591
 
4592
4592
  @property
4593
4593
  def IsGlobal(self):
4594
- """是否为兜底频控
4594
+ """是否为兜底频控 0表示不是 1表示是
4595
4595
  :rtype: int
4596
4596
  """
4597
4597
  return self._IsGlobal
@@ -8304,7 +8304,7 @@ class DescribeBgpBizTrendRequest(AbstractModel):
8304
8304
  :type StartTime: str
8305
8305
  :param _EndTime: 统计结束时间。 例:“2020-09-22 00:00:00”,注意该时间必须为5分钟的倍数
8306
8306
  :type EndTime: str
8307
- :param _MetricName: 统计纬度,可取值intraffic, outtraffic, inpkg, outpkg
8307
+ :param _MetricName: 统计维度,可取值intraffic, outtraffic, inpkg, outpkg; intraffic:入流量 outtraffic:出流量 inpkg:入包速率 outpkg:出包速率
8308
8308
  :type MetricName: str
8309
8309
  :param _InstanceId: 资源实例ID
8310
8310
  :type InstanceId: str
@@ -8353,7 +8353,7 @@ class DescribeBgpBizTrendRequest(AbstractModel):
8353
8353
 
8354
8354
  @property
8355
8355
  def MetricName(self):
8356
- """统计纬度,可取值intraffic, outtraffic, inpkg, outpkg
8356
+ """统计维度,可取值intraffic, outtraffic, inpkg, outpkg; intraffic:入流量 outtraffic:出流量 inpkg:入包速率 outpkg:出包速率
8357
8357
  :rtype: str
8358
8358
  """
8359
8359
  return self._MetricName
@@ -17826,7 +17826,7 @@ class ModifyCCPrecisionPolicyRequest(AbstractModel):
17826
17826
  :type InstanceId: str
17827
17827
  :param _PolicyId: 策略Id
17828
17828
  :type PolicyId: str
17829
- :param _PolicyAction: 策略方式。可取值:alg、drop。alg指返回验证码方式验证,drop表示该访问丢弃。
17829
+ :param _PolicyAction: 策略方式。可取值:alg、drop、trans。alg指返回验证码方式验证,drop表示该访问丢弃,trans表示该访问放行。
17830
17830
  :type PolicyAction: str
17831
17831
  :param _PolicyList: 策略记录
17832
17832
  :type PolicyList: list of CCPrecisionPlyRecord
@@ -17860,7 +17860,7 @@ class ModifyCCPrecisionPolicyRequest(AbstractModel):
17860
17860
 
17861
17861
  @property
17862
17862
  def PolicyAction(self):
17863
- """策略方式。可取值:alg、drop。alg指返回验证码方式验证,drop表示该访问丢弃。
17863
+ """策略方式。可取值:alg、drop、trans。alg指返回验证码方式验证,drop表示该访问丢弃,trans表示该访问放行。
17864
17864
  :rtype: str
17865
17865
  """
17866
17866
  return self._PolicyAction
@@ -18038,7 +18038,7 @@ class ModifyCCThresholdPolicyRequest(AbstractModel):
18038
18038
  :type Ip: str
18039
18039
  :param _Domain: 域名
18040
18040
  :type Domain: str
18041
- :param _Protocol: 协议,可取值HTTPHTTPS
18041
+ :param _Protocol: 协议,可取值httphttps,http/https
18042
18042
  :type Protocol: str
18043
18043
  :param _Threshold: 清洗阈值,-1表示开启“默认”模式
18044
18044
  :type Threshold: int
@@ -18084,7 +18084,7 @@ class ModifyCCThresholdPolicyRequest(AbstractModel):
18084
18084
 
18085
18085
  @property
18086
18086
  def Protocol(self):
18087
- """协议,可取值HTTPHTTPS
18087
+ """协议,可取值httphttps,http/https
18088
18088
  :rtype: str
18089
18089
  """
18090
18090
  return self._Protocol
@@ -20044,8 +20044,8 @@ class PacketFilterConfig(AbstractModel):
20044
20044
  drop(丢弃)
20045
20045
  transmit(放行)
20046
20046
  drop_black(丢弃并拉黑)
20047
- drop_rst(拦截)
20048
- drop_black_rst(拦截并拉黑)
20047
+ drop_rst(拦截)(已废弃,不支持drop_rst)
20048
+ drop_black_rst(拦截并拉黑)(已废弃,不支持drop_black_rst)
20049
20049
  forward(继续防护)
20050
20050
  ]
20051
20051
  :type Action: str
@@ -20058,13 +20058,10 @@ no_match(不匹配)
20058
20058
  :type MatchBegin: str
20059
20059
  :param _MatchType: 检测类型,取值[
20060
20060
  sunday(关键字)
20061
- pcre(正则表达式)
20061
+ pcre(正则表达式) (已废弃,仅支持sunday)
20062
20062
  ]
20063
20063
  :type MatchType: str
20064
- :param _Str: 检测值,关键字符串或正则表达式,取值[
20065
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
20066
- 当检测类型为pcre时, 请填写正则表达式字符串;
20067
- ]
20064
+ :param _Str: 检测值,关键字符串或正则表达式,取值[ 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码; 最多支持63位; ]
20068
20065
  :type Str: str
20069
20066
  :param _Depth: 从检测位置开始的检测深度,取值[0,1500]
20070
20067
  :type Depth: int
@@ -20072,39 +20069,28 @@ pcre(正则表达式)
20072
20069
  :type Offset: int
20073
20070
  :param _IsNot: 是否包含检测值,取值[
20074
20071
  0(包含)
20075
- 1(不包含)
20072
+ 1(不包含) (已废弃,仅支持0)
20076
20073
  ]
20077
20074
  :type IsNot: int
20078
- :param _MatchLogic: 当有第二个检测条件时,与第一检测条件的且或关系,取值[
20079
- and(且的关系)
20075
+ :param _MatchLogic:
20076
+ 当有第二个检测条件时,与第一检测条件的且或关系,取值[
20077
+ and(且的关系) (已废弃,仅支持none)
20080
20078
  none(当没有第二个检测条件时填写此值)
20081
20079
  ]
20082
20080
  :type MatchLogic: str
20083
- :param _MatchBegin2: 第二个检测位置,取值[
20084
- begin_l5(载荷)
20085
- no_match(不匹配)
20086
- ]
20081
+ :param _MatchBegin2: (已废弃)
20087
20082
  :type MatchBegin2: str
20088
- :param _MatchType2: 第二个检测类型,取值[
20089
- sunday(关键字)
20090
- pcre(正则表达式)
20091
- ]
20083
+ :param _MatchType2: (已废弃)
20092
20084
  :type MatchType2: str
20093
- :param _Str2: 第二个检测值,关键字符串或正则表达式,取值[
20094
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
20095
- 当检测类型为pcre时, 请填写正则表达式字符串;
20096
- ]
20085
+ :param _Str2: (已废弃)
20097
20086
  :type Str2: str
20098
- :param _Depth2: 从第二个检测位置开始的第二个检测深度,取值[0,1500]
20087
+ :param _Depth2: (已废弃)
20099
20088
  :type Depth2: int
20100
- :param _Offset2: 从第二个检测位置开始的偏移量,取值范围[0,Depth2]
20089
+ :param _Offset2: (已废弃)
20101
20090
  :type Offset2: int
20102
- :param _IsNot2: 第二个检测是否包含检测值,取值[
20103
- 0(包含)
20104
- 1(不包含)
20105
- ]
20091
+ :param _IsNot2: (已废弃)
20106
20092
  :type IsNot2: int
20107
- :param _Id: 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
20093
+ :param _Id: 特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;当修改/删除新特征过滤配置时,此字段必填;
20108
20094
  :type Id: str
20109
20095
  :param _PktLenGT: 大于报文长度,取值1+
20110
20096
  :type PktLenGT: int
@@ -20216,8 +20202,8 @@ pcre(正则表达式)
20216
20202
  drop(丢弃)
20217
20203
  transmit(放行)
20218
20204
  drop_black(丢弃并拉黑)
20219
- drop_rst(拦截)
20220
- drop_black_rst(拦截并拉黑)
20205
+ drop_rst(拦截)(已废弃,不支持drop_rst)
20206
+ drop_black_rst(拦截并拉黑)(已废弃,不支持drop_black_rst)
20221
20207
  forward(继续防护)
20222
20208
  ]
20223
20209
  :rtype: str
@@ -20248,7 +20234,7 @@ no_match(不匹配)
20248
20234
  def MatchType(self):
20249
20235
  """检测类型,取值[
20250
20236
  sunday(关键字)
20251
- pcre(正则表达式)
20237
+ pcre(正则表达式) (已废弃,仅支持sunday)
20252
20238
  ]
20253
20239
  :rtype: str
20254
20240
  """
@@ -20260,10 +20246,7 @@ pcre(正则表达式)
20260
20246
 
20261
20247
  @property
20262
20248
  def Str(self):
20263
- """检测值,关键字符串或正则表达式,取值[
20264
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
20265
- 当检测类型为pcre时, 请填写正则表达式字符串;
20266
- ]
20249
+ """检测值,关键字符串或正则表达式,取值[ 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码; 最多支持63位; ]
20267
20250
  :rtype: str
20268
20251
  """
20269
20252
  return self._Str
@@ -20298,7 +20281,7 @@ pcre(正则表达式)
20298
20281
  def IsNot(self):
20299
20282
  """是否包含检测值,取值[
20300
20283
  0(包含)
20301
- 1(不包含)
20284
+ 1(不包含) (已废弃,仅支持0)
20302
20285
  ]
20303
20286
  :rtype: int
20304
20287
  """
@@ -20310,8 +20293,9 @@ pcre(正则表达式)
20310
20293
 
20311
20294
  @property
20312
20295
  def MatchLogic(self):
20313
- """当有第二个检测条件时,与第一检测条件的且或关系,取值[
20314
- and(且的关系)
20296
+ """
20297
+ 当有第二个检测条件时,与第一检测条件的且或关系,取值[
20298
+ and(且的关系) (已废弃,仅支持none)
20315
20299
  none(当没有第二个检测条件时填写此值)
20316
20300
  ]
20317
20301
  :rtype: str
@@ -20324,10 +20308,7 @@ none(当没有第二个检测条件时填写此值)
20324
20308
 
20325
20309
  @property
20326
20310
  def MatchBegin2(self):
20327
- """第二个检测位置,取值[
20328
- begin_l5(载荷)
20329
- no_match(不匹配)
20330
- ]
20311
+ """(已废弃)
20331
20312
  :rtype: str
20332
20313
  """
20333
20314
  return self._MatchBegin2
@@ -20338,10 +20319,7 @@ no_match(不匹配)
20338
20319
 
20339
20320
  @property
20340
20321
  def MatchType2(self):
20341
- """第二个检测类型,取值[
20342
- sunday(关键字)
20343
- pcre(正则表达式)
20344
- ]
20322
+ """(已废弃)
20345
20323
  :rtype: str
20346
20324
  """
20347
20325
  return self._MatchType2
@@ -20352,10 +20330,7 @@ pcre(正则表达式)
20352
20330
 
20353
20331
  @property
20354
20332
  def Str2(self):
20355
- """第二个检测值,关键字符串或正则表达式,取值[
20356
- 当检测类型为sunday时,请填写字符串或者16进制字节码,例如\x313233对应的是字符串"123"的16进制字节码;
20357
- 当检测类型为pcre时, 请填写正则表达式字符串;
20358
- ]
20333
+ """(已废弃)
20359
20334
  :rtype: str
20360
20335
  """
20361
20336
  return self._Str2
@@ -20366,7 +20341,7 @@ pcre(正则表达式)
20366
20341
 
20367
20342
  @property
20368
20343
  def Depth2(self):
20369
- """从第二个检测位置开始的第二个检测深度,取值[0,1500]
20344
+ """(已废弃)
20370
20345
  :rtype: int
20371
20346
  """
20372
20347
  return self._Depth2
@@ -20377,7 +20352,7 @@ pcre(正则表达式)
20377
20352
 
20378
20353
  @property
20379
20354
  def Offset2(self):
20380
- """从第二个检测位置开始的偏移量,取值范围[0,Depth2]
20355
+ """(已废弃)
20381
20356
  :rtype: int
20382
20357
  """
20383
20358
  return self._Offset2
@@ -20388,10 +20363,7 @@ pcre(正则表达式)
20388
20363
 
20389
20364
  @property
20390
20365
  def IsNot2(self):
20391
- """第二个检测是否包含检测值,取值[
20392
- 0(包含)
20393
- 1(不包含)
20394
- ]
20366
+ """(已废弃)
20395
20367
  :rtype: int
20396
20368
  """
20397
20369
  return self._IsNot2
@@ -20402,7 +20374,7 @@ pcre(正则表达式)
20402
20374
 
20403
20375
  @property
20404
20376
  def Id(self):
20405
- """特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;
20377
+ """特征过滤配置添加成功后自动生成的规则ID,当添加新特征过滤配置时,此字段不用填写;当修改/删除新特征过滤配置时,此字段必填;
20406
20378
  :rtype: str
20407
20379
  """
20408
20380
  return self._Id
@@ -21978,7 +21950,6 @@ shortfpcheckall(精简模式)
21978
21950
  ]
21979
21951
  :type Verify: str
21980
21952
  :param _CloudSdkProxy: 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
21981
- 注意:此字段可能返回 null,表示取不到有效值。
21982
21953
  :type CloudSdkProxy: int
21983
21954
  """
21984
21955
  self._Offset = None
@@ -22052,7 +22023,6 @@ shortfpcheckall(精简模式)
22052
22023
  @property
22053
22024
  def CloudSdkProxy(self):
22054
22025
  """是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验
22055
- 注意:此字段可能返回 null,表示取不到有效值。
22056
22026
  :rtype: int
22057
22027
  """
22058
22028
  return self._CloudSdkProxy
@@ -118,9 +118,15 @@ class ApplyDiskBackupRequest(AbstractModel):
118
118
  :type DiskBackupId: str
119
119
  :param _DiskId: 云硬盘备份点原云硬盘ID,可通过DescribeDisks接口查询。
120
120
  :type DiskId: str
121
+ :param _AutoStopInstance: 回滚云硬盘备份点前是否自动关机,默认为FALSE,表示不自动关机
122
+ :type AutoStopInstance: bool
123
+ :param _AutoStartInstance: 回滚云硬盘备份点完成后是否自动开机,默认为FALSE,表示不自动开机
124
+ :type AutoStartInstance: bool
121
125
  """
122
126
  self._DiskBackupId = None
123
127
  self._DiskId = None
128
+ self._AutoStopInstance = None
129
+ self._AutoStartInstance = None
124
130
 
125
131
  @property
126
132
  def DiskBackupId(self):
@@ -144,10 +150,34 @@ class ApplyDiskBackupRequest(AbstractModel):
144
150
  def DiskId(self, DiskId):
145
151
  self._DiskId = DiskId
146
152
 
153
+ @property
154
+ def AutoStopInstance(self):
155
+ """回滚云硬盘备份点前是否自动关机,默认为FALSE,表示不自动关机
156
+ :rtype: bool
157
+ """
158
+ return self._AutoStopInstance
159
+
160
+ @AutoStopInstance.setter
161
+ def AutoStopInstance(self, AutoStopInstance):
162
+ self._AutoStopInstance = AutoStopInstance
163
+
164
+ @property
165
+ def AutoStartInstance(self):
166
+ """回滚云硬盘备份点完成后是否自动开机,默认为FALSE,表示不自动开机
167
+ :rtype: bool
168
+ """
169
+ return self._AutoStartInstance
170
+
171
+ @AutoStartInstance.setter
172
+ def AutoStartInstance(self, AutoStartInstance):
173
+ self._AutoStartInstance = AutoStartInstance
174
+
147
175
 
148
176
  def _deserialize(self, params):
149
177
  self._DiskBackupId = params.get("DiskBackupId")
150
178
  self._DiskId = params.get("DiskId")
179
+ self._AutoStopInstance = params.get("AutoStopInstance")
180
+ self._AutoStartInstance = params.get("AutoStartInstance")
151
181
  memeber_set = set(params.keys())
152
182
  for name, value in vars(self).items():
153
183
  property_name = name[1:]
@@ -1579,6 +1609,8 @@ class CreateDisksRequest(AbstractModel):
1579
1609
  :type DiskCount: int
1580
1610
  :param _ThroughputPerformance: 可选参数。使用此参数可给云硬盘购买额外的性能。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)
1581
1611
  :type ThroughputPerformance: int
1612
+ :param _KmsKeyId: 可选参数。购买加密盘时自定义密钥, 当传入该参数时, Encrypt入参不为空
1613
+ :type KmsKeyId: str
1582
1614
  :param _DiskSize: 云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
1583
1615
  :type DiskSize: int
1584
1616
  :param _Shareable: 可选参数,默认为False。传入True时,云盘将创建为共享型云盘。
@@ -1608,6 +1640,7 @@ class CreateDisksRequest(AbstractModel):
1608
1640
  self._SnapshotId = None
1609
1641
  self._DiskCount = None
1610
1642
  self._ThroughputPerformance = None
1643
+ self._KmsKeyId = None
1611
1644
  self._DiskSize = None
1612
1645
  self._Shareable = None
1613
1646
  self._ClientToken = None
@@ -1707,6 +1740,17 @@ class CreateDisksRequest(AbstractModel):
1707
1740
  def ThroughputPerformance(self, ThroughputPerformance):
1708
1741
  self._ThroughputPerformance = ThroughputPerformance
1709
1742
 
1743
+ @property
1744
+ def KmsKeyId(self):
1745
+ """可选参数。购买加密盘时自定义密钥, 当传入该参数时, Encrypt入参不为空
1746
+ :rtype: str
1747
+ """
1748
+ return self._KmsKeyId
1749
+
1750
+ @KmsKeyId.setter
1751
+ def KmsKeyId(self, KmsKeyId):
1752
+ self._KmsKeyId = KmsKeyId
1753
+
1710
1754
  @property
1711
1755
  def DiskSize(self):
1712
1756
  """云硬盘大小,单位为GiB。<br><li>如果传入`SnapshotId`则可不传`DiskSize`,此时新建云盘的大小为快照大小</li><br><li>如果传入`SnapshotId`同时传入`DiskSize`,则云盘大小必须大于或等于快照大小</li><br><li>云盘大小取值范围参见云硬盘[产品分类](/document/product/362/2353)的说明。</li>
@@ -1834,6 +1878,7 @@ class CreateDisksRequest(AbstractModel):
1834
1878
  self._SnapshotId = params.get("SnapshotId")
1835
1879
  self._DiskCount = params.get("DiskCount")
1836
1880
  self._ThroughputPerformance = params.get("ThroughputPerformance")
1881
+ self._KmsKeyId = params.get("KmsKeyId")
1837
1882
  self._DiskSize = params.get("DiskSize")
1838
1883
  self._Shareable = params.get("Shareable")
1839
1884
  self._ClientToken = params.get("ClientToken")
@@ -3281,6 +3281,7 @@ class CdbClient(AbstractClient):
3281
3281
 
3282
3282
  def ModifyProtectMode(self, request):
3283
3283
  """该接口(ModifyProtectMode)用于修改实例的同步方式。
3284
+ 说明:仅专属集群可调用,该接口即将下线。
3284
3285
 
3285
3286
  :param request: Request instance for ModifyProtectMode.
3286
3287
  :type request: :class:`tencentcloud.cdb.v20170320.models.ModifyProtectModeRequest`
@@ -2878,29 +2878,37 @@ class AuditRuleTemplateInfo(AbstractModel):
2878
2878
 
2879
2879
 
2880
2880
  class AutoStrategy(AbstractModel):
2881
- """CPU弹性扩容的自动扩容策略
2881
+ """CPU 弹性扩容的自动扩容策略。
2882
2882
 
2883
2883
  """
2884
2884
 
2885
2885
  def __init__(self):
2886
2886
  r"""
2887
- :param _ExpandThreshold: 自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90%时后台进行自动扩容
2887
+ :param _ExpandThreshold: 自动扩容阈值,可选值40、50、60、70、80、90,代表 CPU 利用率达到40%、50%、60%、70%、80%、90%时后台进行自动扩容。
2888
2888
  :type ExpandThreshold: int
2889
- :param _ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2890
- :type ExpandPeriod: int
2891
2889
  :param _ShrinkThreshold: 自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
2892
2890
  :type ShrinkThreshold: int
2891
+ :param _ExpandPeriod: 自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2892
+ 注意:此字段可能返回 null,表示取不到有效值。
2893
+ :type ExpandPeriod: int
2893
2894
  :param _ShrinkPeriod: 自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
2895
+ 注意:此字段可能返回 null,表示取不到有效值。
2894
2896
  :type ShrinkPeriod: int
2897
+ :param _ExpandSecondPeriod: 弹性扩容观测周期(秒级)
2898
+ :type ExpandSecondPeriod: int
2899
+ :param _ShrinkSecondPeriod: 缩容观测周期(秒级)
2900
+ :type ShrinkSecondPeriod: int
2895
2901
  """
2896
2902
  self._ExpandThreshold = None
2897
- self._ExpandPeriod = None
2898
2903
  self._ShrinkThreshold = None
2904
+ self._ExpandPeriod = None
2899
2905
  self._ShrinkPeriod = None
2906
+ self._ExpandSecondPeriod = None
2907
+ self._ShrinkSecondPeriod = None
2900
2908
 
2901
2909
  @property
2902
2910
  def ExpandThreshold(self):
2903
- """自动扩容阈值,可选值70、80、90,代表CPU利用率达到70%、80%、90%时后台进行自动扩容
2911
+ """自动扩容阈值,可选值40、50、60、70、80、90,代表 CPU 利用率达到40%、50%、60%、70%、80%、90%时后台进行自动扩容。
2904
2912
  :rtype: int
2905
2913
  """
2906
2914
  return self._ExpandThreshold
@@ -2909,17 +2917,6 @@ class AutoStrategy(AbstractModel):
2909
2917
  def ExpandThreshold(self, ExpandThreshold):
2910
2918
  self._ExpandThreshold = ExpandThreshold
2911
2919
 
2912
- @property
2913
- def ExpandPeriod(self):
2914
- """自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2915
- :rtype: int
2916
- """
2917
- return self._ExpandPeriod
2918
-
2919
- @ExpandPeriod.setter
2920
- def ExpandPeriod(self, ExpandPeriod):
2921
- self._ExpandPeriod = ExpandPeriod
2922
-
2923
2920
  @property
2924
2921
  def ShrinkThreshold(self):
2925
2922
  """自动缩容阈值,可选值10、20、30,代表CPU利用率达到10%、20%、30%时后台进行自动缩容
@@ -2931,23 +2928,68 @@ class AutoStrategy(AbstractModel):
2931
2928
  def ShrinkThreshold(self, ShrinkThreshold):
2932
2929
  self._ShrinkThreshold = ShrinkThreshold
2933
2930
 
2931
+ @property
2932
+ def ExpandPeriod(self):
2933
+ warnings.warn("parameter `ExpandPeriod` is deprecated", DeprecationWarning)
2934
+
2935
+ """自动扩容观测周期,单位是分钟,可选值1、3、5、10、15、30。后台会按照配置的周期进行扩容判断。
2936
+ 注意:此字段可能返回 null,表示取不到有效值。
2937
+ :rtype: int
2938
+ """
2939
+ return self._ExpandPeriod
2940
+
2941
+ @ExpandPeriod.setter
2942
+ def ExpandPeriod(self, ExpandPeriod):
2943
+ warnings.warn("parameter `ExpandPeriod` is deprecated", DeprecationWarning)
2944
+
2945
+ self._ExpandPeriod = ExpandPeriod
2946
+
2934
2947
  @property
2935
2948
  def ShrinkPeriod(self):
2949
+ warnings.warn("parameter `ShrinkPeriod` is deprecated", DeprecationWarning)
2950
+
2936
2951
  """自动缩容观测周期,单位是分钟,可选值5、10、15、30。后台会按照配置的周期进行缩容判断。
2952
+ 注意:此字段可能返回 null,表示取不到有效值。
2937
2953
  :rtype: int
2938
2954
  """
2939
2955
  return self._ShrinkPeriod
2940
2956
 
2941
2957
  @ShrinkPeriod.setter
2942
2958
  def ShrinkPeriod(self, ShrinkPeriod):
2959
+ warnings.warn("parameter `ShrinkPeriod` is deprecated", DeprecationWarning)
2960
+
2943
2961
  self._ShrinkPeriod = ShrinkPeriod
2944
2962
 
2963
+ @property
2964
+ def ExpandSecondPeriod(self):
2965
+ """弹性扩容观测周期(秒级)
2966
+ :rtype: int
2967
+ """
2968
+ return self._ExpandSecondPeriod
2969
+
2970
+ @ExpandSecondPeriod.setter
2971
+ def ExpandSecondPeriod(self, ExpandSecondPeriod):
2972
+ self._ExpandSecondPeriod = ExpandSecondPeriod
2973
+
2974
+ @property
2975
+ def ShrinkSecondPeriod(self):
2976
+ """缩容观测周期(秒级)
2977
+ :rtype: int
2978
+ """
2979
+ return self._ShrinkSecondPeriod
2980
+
2981
+ @ShrinkSecondPeriod.setter
2982
+ def ShrinkSecondPeriod(self, ShrinkSecondPeriod):
2983
+ self._ShrinkSecondPeriod = ShrinkSecondPeriod
2984
+
2945
2985
 
2946
2986
  def _deserialize(self, params):
2947
2987
  self._ExpandThreshold = params.get("ExpandThreshold")
2948
- self._ExpandPeriod = params.get("ExpandPeriod")
2949
2988
  self._ShrinkThreshold = params.get("ShrinkThreshold")
2989
+ self._ExpandPeriod = params.get("ExpandPeriod")
2950
2990
  self._ShrinkPeriod = params.get("ShrinkPeriod")
2991
+ self._ExpandSecondPeriod = params.get("ExpandSecondPeriod")
2992
+ self._ShrinkSecondPeriod = params.get("ShrinkSecondPeriod")
2951
2993
  memeber_set = set(params.keys())
2952
2994
  for name, value in vars(self).items():
2953
2995
  property_name = name[1:]