tencentcloud-sdk-python 3.0.1298__py2.py3-none-any.whl → 3.0.1299__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 (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aca/v20210323/models.py +2 -2
  3. tencentcloud/autoscaling/v20180419/models.py +21 -0
  4. tencentcloud/bh/v20230418/models.py +4 -4
  5. tencentcloud/cfs/v20190719/errorcodes.py +1 -1
  6. tencentcloud/clb/v20180317/models.py +68 -0
  7. tencentcloud/cloudapp/v20220530/errorcodes.py +3 -0
  8. tencentcloud/cloudapp/v20220530/models.py +66 -17
  9. tencentcloud/cls/v20201016/models.py +22 -0
  10. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  11. tencentcloud/cynosdb/v20190107/models.py +113 -0
  12. tencentcloud/dc/v20180410/models.py +50 -121
  13. tencentcloud/drm/v20181115/models.py +17 -0
  14. tencentcloud/dts/v20211206/models.py +68 -2
  15. tencentcloud/emr/v20190103/models.py +136 -340
  16. tencentcloud/ess/v20201111/models.py +38 -0
  17. tencentcloud/essbasic/v20210526/models.py +38 -0
  18. tencentcloud/gaap/v20180529/gaap_client.py +9 -3
  19. tencentcloud/gwlb/v20240906/models.py +2 -2
  20. tencentcloud/hai/v20230812/errorcodes.py +6 -0
  21. tencentcloud/hai/v20230812/hai_client.py +23 -0
  22. tencentcloud/hai/v20230812/models.py +109 -0
  23. tencentcloud/keewidb/v20220308/models.py +1 -1
  24. tencentcloud/lcic/v20220817/models.py +2 -2
  25. tencentcloud/mongodb/v20180408/models.py +2 -44
  26. tencentcloud/mongodb/v20190725/models.py +2 -22
  27. tencentcloud/ocr/v20181119/models.py +14 -14
  28. tencentcloud/postgres/v20170312/models.py +233 -0
  29. tencentcloud/postgres/v20170312/postgres_client.py +46 -0
  30. tencentcloud/redis/v20180412/models.py +6 -6
  31. tencentcloud/redis/v20180412/redis_client.py +8 -8
  32. tencentcloud/scf/v20180416/models.py +44 -4
  33. tencentcloud/ssl/v20191205/models.py +64 -8
  34. tencentcloud/ssl/v20191205/ssl_client.py +8 -1
  35. tencentcloud/tcb/v20180608/models.py +205 -317
  36. tencentcloud/tcb/v20180608/tcb_client.py +1 -1
  37. tencentcloud/tione/v20211111/models.py +34 -0
  38. tencentcloud/trtc/v20190722/models.py +0 -8
  39. tencentcloud/vpc/v20170312/models.py +15 -6
  40. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1298.dist-info → tencentcloud_sdk_python-3.0.1299.dist-info}/top_level.txt +0 -0
@@ -10505,6 +10505,130 @@ class DescribeLogBackupsResponse(AbstractModel):
10505
10505
  self._RequestId = params.get("RequestId")
10506
10506
 
10507
10507
 
10508
+ class DescribeMaintainTimeWindowRequest(AbstractModel):
10509
+ """DescribeMaintainTimeWindow请求参数结构体
10510
+
10511
+ """
10512
+
10513
+ def __init__(self):
10514
+ r"""
10515
+ :param _DBInstanceId: 实例ID
10516
+ :type DBInstanceId: str
10517
+ """
10518
+ self._DBInstanceId = None
10519
+
10520
+ @property
10521
+ def DBInstanceId(self):
10522
+ """实例ID
10523
+ :rtype: str
10524
+ """
10525
+ return self._DBInstanceId
10526
+
10527
+ @DBInstanceId.setter
10528
+ def DBInstanceId(self, DBInstanceId):
10529
+ self._DBInstanceId = DBInstanceId
10530
+
10531
+
10532
+ def _deserialize(self, params):
10533
+ self._DBInstanceId = params.get("DBInstanceId")
10534
+ memeber_set = set(params.keys())
10535
+ for name, value in vars(self).items():
10536
+ property_name = name[1:]
10537
+ if property_name in memeber_set:
10538
+ memeber_set.remove(property_name)
10539
+ if len(memeber_set) > 0:
10540
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10541
+
10542
+
10543
+
10544
+ class DescribeMaintainTimeWindowResponse(AbstractModel):
10545
+ """DescribeMaintainTimeWindow返回参数结构体
10546
+
10547
+ """
10548
+
10549
+ def __init__(self):
10550
+ r"""
10551
+ :param _DBInstanceId: 实例ID
10552
+ :type DBInstanceId: str
10553
+ :param _MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
10554
+ :type MaintainStartTime: str
10555
+ :param _MaintainDuration: 维护持续时间。单位:小时
10556
+ :type MaintainDuration: int
10557
+ :param _MaintainWeekDays: 维护周期
10558
+ :type MaintainWeekDays: list of str
10559
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10560
+ :type RequestId: str
10561
+ """
10562
+ self._DBInstanceId = None
10563
+ self._MaintainStartTime = None
10564
+ self._MaintainDuration = None
10565
+ self._MaintainWeekDays = None
10566
+ self._RequestId = None
10567
+
10568
+ @property
10569
+ def DBInstanceId(self):
10570
+ """实例ID
10571
+ :rtype: str
10572
+ """
10573
+ return self._DBInstanceId
10574
+
10575
+ @DBInstanceId.setter
10576
+ def DBInstanceId(self, DBInstanceId):
10577
+ self._DBInstanceId = DBInstanceId
10578
+
10579
+ @property
10580
+ def MaintainStartTime(self):
10581
+ """维护开始时间。时区为东八区(UTC+8)
10582
+ :rtype: str
10583
+ """
10584
+ return self._MaintainStartTime
10585
+
10586
+ @MaintainStartTime.setter
10587
+ def MaintainStartTime(self, MaintainStartTime):
10588
+ self._MaintainStartTime = MaintainStartTime
10589
+
10590
+ @property
10591
+ def MaintainDuration(self):
10592
+ """维护持续时间。单位:小时
10593
+ :rtype: int
10594
+ """
10595
+ return self._MaintainDuration
10596
+
10597
+ @MaintainDuration.setter
10598
+ def MaintainDuration(self, MaintainDuration):
10599
+ self._MaintainDuration = MaintainDuration
10600
+
10601
+ @property
10602
+ def MaintainWeekDays(self):
10603
+ """维护周期
10604
+ :rtype: list of str
10605
+ """
10606
+ return self._MaintainWeekDays
10607
+
10608
+ @MaintainWeekDays.setter
10609
+ def MaintainWeekDays(self, MaintainWeekDays):
10610
+ self._MaintainWeekDays = MaintainWeekDays
10611
+
10612
+ @property
10613
+ def RequestId(self):
10614
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10615
+ :rtype: str
10616
+ """
10617
+ return self._RequestId
10618
+
10619
+ @RequestId.setter
10620
+ def RequestId(self, RequestId):
10621
+ self._RequestId = RequestId
10622
+
10623
+
10624
+ def _deserialize(self, params):
10625
+ self._DBInstanceId = params.get("DBInstanceId")
10626
+ self._MaintainStartTime = params.get("MaintainStartTime")
10627
+ self._MaintainDuration = params.get("MaintainDuration")
10628
+ self._MaintainWeekDays = params.get("MaintainWeekDays")
10629
+ self._RequestId = params.get("RequestId")
10630
+
10631
+
10508
10632
  class DescribeOrdersRequest(AbstractModel):
10509
10633
  """DescribeOrders请求参数结构体
10510
10634
 
@@ -15642,6 +15766,115 @@ class ModifyDatabaseOwnerResponse(AbstractModel):
15642
15766
  self._RequestId = params.get("RequestId")
15643
15767
 
15644
15768
 
15769
+ class ModifyMaintainTimeWindowRequest(AbstractModel):
15770
+ """ModifyMaintainTimeWindow请求参数结构体
15771
+
15772
+ """
15773
+
15774
+ def __init__(self):
15775
+ r"""
15776
+ :param _DBInstanceId: 实例ID
15777
+ :type DBInstanceId: str
15778
+ :param _MaintainStartTime: 维护开始时间。时区为东八区(UTC+8)
15779
+ :type MaintainStartTime: str
15780
+ :param _MaintainDuration: 维护持续时间。单位:小时
15781
+ :type MaintainDuration: int
15782
+ :param _MaintainWeekDays: 维护周期
15783
+ :type MaintainWeekDays: list of str
15784
+ """
15785
+ self._DBInstanceId = None
15786
+ self._MaintainStartTime = None
15787
+ self._MaintainDuration = None
15788
+ self._MaintainWeekDays = None
15789
+
15790
+ @property
15791
+ def DBInstanceId(self):
15792
+ """实例ID
15793
+ :rtype: str
15794
+ """
15795
+ return self._DBInstanceId
15796
+
15797
+ @DBInstanceId.setter
15798
+ def DBInstanceId(self, DBInstanceId):
15799
+ self._DBInstanceId = DBInstanceId
15800
+
15801
+ @property
15802
+ def MaintainStartTime(self):
15803
+ """维护开始时间。时区为东八区(UTC+8)
15804
+ :rtype: str
15805
+ """
15806
+ return self._MaintainStartTime
15807
+
15808
+ @MaintainStartTime.setter
15809
+ def MaintainStartTime(self, MaintainStartTime):
15810
+ self._MaintainStartTime = MaintainStartTime
15811
+
15812
+ @property
15813
+ def MaintainDuration(self):
15814
+ """维护持续时间。单位:小时
15815
+ :rtype: int
15816
+ """
15817
+ return self._MaintainDuration
15818
+
15819
+ @MaintainDuration.setter
15820
+ def MaintainDuration(self, MaintainDuration):
15821
+ self._MaintainDuration = MaintainDuration
15822
+
15823
+ @property
15824
+ def MaintainWeekDays(self):
15825
+ """维护周期
15826
+ :rtype: list of str
15827
+ """
15828
+ return self._MaintainWeekDays
15829
+
15830
+ @MaintainWeekDays.setter
15831
+ def MaintainWeekDays(self, MaintainWeekDays):
15832
+ self._MaintainWeekDays = MaintainWeekDays
15833
+
15834
+
15835
+ def _deserialize(self, params):
15836
+ self._DBInstanceId = params.get("DBInstanceId")
15837
+ self._MaintainStartTime = params.get("MaintainStartTime")
15838
+ self._MaintainDuration = params.get("MaintainDuration")
15839
+ self._MaintainWeekDays = params.get("MaintainWeekDays")
15840
+ memeber_set = set(params.keys())
15841
+ for name, value in vars(self).items():
15842
+ property_name = name[1:]
15843
+ if property_name in memeber_set:
15844
+ memeber_set.remove(property_name)
15845
+ if len(memeber_set) > 0:
15846
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15847
+
15848
+
15849
+
15850
+ class ModifyMaintainTimeWindowResponse(AbstractModel):
15851
+ """ModifyMaintainTimeWindow返回参数结构体
15852
+
15853
+ """
15854
+
15855
+ def __init__(self):
15856
+ r"""
15857
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15858
+ :type RequestId: str
15859
+ """
15860
+ self._RequestId = None
15861
+
15862
+ @property
15863
+ def RequestId(self):
15864
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15865
+ :rtype: str
15866
+ """
15867
+ return self._RequestId
15868
+
15869
+ @RequestId.setter
15870
+ def RequestId(self, RequestId):
15871
+ self._RequestId = RequestId
15872
+
15873
+
15874
+ def _deserialize(self, params):
15875
+ self._RequestId = params.get("RequestId")
15876
+
15877
+
15645
15878
  class ModifyParameterTemplateRequest(AbstractModel):
15646
15879
  """ModifyParameterTemplate请求参数结构体
15647
15880
 
@@ -1180,6 +1180,29 @@ class PostgresClient(AbstractClient):
1180
1180
  raise TencentCloudSDKException(type(e).__name__, str(e))
1181
1181
 
1182
1182
 
1183
+ def DescribeMaintainTimeWindow(self, request):
1184
+ """本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口
1185
+
1186
+ :param request: Request instance for DescribeMaintainTimeWindow.
1187
+ :type request: :class:`tencentcloud.postgres.v20170312.models.DescribeMaintainTimeWindowRequest`
1188
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.DescribeMaintainTimeWindowResponse`
1189
+
1190
+ """
1191
+ try:
1192
+ params = request._serialize()
1193
+ headers = request.headers
1194
+ body = self.call("DescribeMaintainTimeWindow", params, headers=headers)
1195
+ response = json.loads(body)
1196
+ model = models.DescribeMaintainTimeWindowResponse()
1197
+ model._deserialize(response["Response"])
1198
+ return model
1199
+ except Exception as e:
1200
+ if isinstance(e, TencentCloudSDKException):
1201
+ raise
1202
+ else:
1203
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1204
+
1205
+
1183
1206
  def DescribeOrders(self, request):
1184
1207
  """本接口(DescribeOrders)用于查询订单信息。
1185
1208
 
@@ -1964,6 +1987,29 @@ class PostgresClient(AbstractClient):
1964
1987
  raise TencentCloudSDKException(type(e).__name__, str(e))
1965
1988
 
1966
1989
 
1990
+ def ModifyMaintainTimeWindow(self, request):
1991
+ """本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。
1992
+
1993
+ :param request: Request instance for ModifyMaintainTimeWindow.
1994
+ :type request: :class:`tencentcloud.postgres.v20170312.models.ModifyMaintainTimeWindowRequest`
1995
+ :rtype: :class:`tencentcloud.postgres.v20170312.models.ModifyMaintainTimeWindowResponse`
1996
+
1997
+ """
1998
+ try:
1999
+ params = request._serialize()
2000
+ headers = request.headers
2001
+ body = self.call("ModifyMaintainTimeWindow", params, headers=headers)
2002
+ response = json.loads(body)
2003
+ model = models.ModifyMaintainTimeWindowResponse()
2004
+ model._deserialize(response["Response"])
2005
+ return model
2006
+ except Exception as e:
2007
+ if isinstance(e, TencentCloudSDKException):
2008
+ raise
2009
+ else:
2010
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2011
+
2012
+
1967
2013
  def ModifyParameterTemplate(self, request):
1968
2014
  """本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
1969
2015
 
@@ -2408,7 +2408,7 @@ class CreateInstancesRequest(AbstractModel):
2408
2408
  :type ZoneId: int
2409
2409
  :param _Password: 访问实例的密码。
2410
2410
  - 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
2411
- - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2411
+ - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2412
2412
  - 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
2413
2413
  :type Password: str
2414
2414
  :param _VpcId: 私有网络ID。如果不配置该参数则默认选择基础网络。请登录 [私有网络](https://console.cloud.tencent.com/vpc)控制台查询具体的ID。
@@ -2579,7 +2579,7 @@ class CreateInstancesRequest(AbstractModel):
2579
2579
  def Password(self):
2580
2580
  """访问实例的密码。
2581
2581
  - 当输入参数**NoAuth**为**true**时,指设置实例为免密码访问,Password可不用配置,否则Password为必填参数。
2582
- - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2582
+ - 当实例类型**TypeId**为Redis 2.8 内存版标准架构、Redis 4.0、5.0、6.2、7.0内存版标准架构或集群架构时,其密码复杂度要求为:8-64个字符,至少包含小写字母、大写字母、数字和字符()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
2583
2583
  - 当实例类型**TypeId**为CKV 3.2 内存版标准架构或集群架构时,其密码复杂度为:8-30个字符,必须包含字母和数字,且不包含其他字符。
2584
2584
  :rtype: str
2585
2585
  """
@@ -6637,7 +6637,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
6637
6637
 
6638
6638
  def __init__(self):
6639
6639
  r"""
6640
- :param _InstanceId: 实例 ID。
6640
+ :param _InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
6641
6641
  :type InstanceId: str
6642
6642
  :param _SpanType: 时间范围。
6643
6643
  - 1:实时。
@@ -6651,7 +6651,7 @@ class DescribeInstanceMonitorTopNCmdRequest(AbstractModel):
6651
6651
 
6652
6652
  @property
6653
6653
  def InstanceId(self):
6654
- """实例 ID。
6654
+ """实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
6655
6655
  :rtype: str
6656
6656
  """
6657
6657
  return self._InstanceId
@@ -15714,7 +15714,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15714
15714
  :param _OldPassword: 实例旧密码。
15715
15715
  :type OldPassword: str
15716
15716
  :param _Password: 实例新密码。密码复杂度要求如下:
15717
- - 长度8 - 30位, 推荐使用12位以上的密码。
15717
+ - 长度8 - 64位, 推荐使用12位以上的密码。
15718
15718
  - 不能以"/"开头。
15719
15719
  - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
15720
15720
  :type Password: str
@@ -15748,7 +15748,7 @@ class ModfiyInstancePasswordRequest(AbstractModel):
15748
15748
  @property
15749
15749
  def Password(self):
15750
15750
  """实例新密码。密码复杂度要求如下:
15751
- - 长度8 - 30位, 推荐使用12位以上的密码。
15751
+ - 长度8 - 64位, 推荐使用12位以上的密码。
15752
15752
  - 不能以"/"开头。
15753
15753
  - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
15754
15754
  :rtype: str
@@ -326,7 +326,7 @@ class RedisClient(AbstractClient):
326
326
 
327
327
 
328
328
  def CreateParamTemplate(self, request):
329
- """创建参数模板。
329
+ """该接口(CreateParamTemplate)用于创建参数模板。
330
330
 
331
331
  :param request: Request instance for CreateParamTemplate.
332
332
  :type request: :class:`tencentcloud.redis.v20180412.models.CreateParamTemplateRequest`
@@ -395,7 +395,7 @@ class RedisClient(AbstractClient):
395
395
 
396
396
 
397
397
  def DeleteParamTemplate(self, request):
398
- """删除参数模板
398
+ """本接口(DeleteParamTemplate)用于删除参数模板。
399
399
 
400
400
  :param request: Request instance for DeleteParamTemplate.
401
401
  :type request: :class:`tencentcloud.redis.v20180412.models.DeleteParamTemplateRequest`
@@ -602,7 +602,7 @@ class RedisClient(AbstractClient):
602
602
 
603
603
 
604
604
  def DescribeGlobalReplicationArea(self, request):
605
- """查询全球复制支持地域信息
605
+ """本接口(DescribeGlobalReplicationArea)用于查询全球复制支持地域信息。
606
606
 
607
607
  :param request: Request instance for DescribeGlobalReplicationArea.
608
608
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeGlobalReplicationAreaRequest`
@@ -855,7 +855,7 @@ class RedisClient(AbstractClient):
855
855
 
856
856
 
857
857
  def DescribeInstanceMonitorSIP(self, request):
858
- """该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics] (https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。
858
+ """该接口已下线,请使用数据库智能管家 DBbrain 接口 [DescribeProxyProcessStatistics](https://cloud.tencent.com/document/product/1130/84544) 获取实例访问来源。
859
859
 
860
860
  :param request: Request instance for DescribeInstanceMonitorSIP.
861
861
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorSIPRequest`
@@ -901,7 +901,7 @@ class RedisClient(AbstractClient):
901
901
 
902
902
 
903
903
  def DescribeInstanceMonitorTopNCmd(self, request):
904
- """查询实例访问命令
904
+ """本接口(DescribeInstanceMonitorTopNCmd)用于查询实例访问命令。
905
905
 
906
906
  :param request: Request instance for DescribeInstanceMonitorTopNCmd.
907
907
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceMonitorTopNCmdRequest`
@@ -970,7 +970,7 @@ class RedisClient(AbstractClient):
970
970
 
971
971
 
972
972
  def DescribeInstanceParamRecords(self, request):
973
- """查询参数修改历史列表
973
+ """本接口(DescribeInstanceParamRecords)用于查询参数修改历史列表。
974
974
 
975
975
  :param request: Request instance for DescribeInstanceParamRecords.
976
976
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceParamRecordsRequest`
@@ -1200,7 +1200,7 @@ class RedisClient(AbstractClient):
1200
1200
 
1201
1201
 
1202
1202
  def DescribeParamTemplates(self, request):
1203
- """查询参数模板列表
1203
+ """本接口(DescribeParamTemplates)用于查询参数模板列表。
1204
1204
 
1205
1205
  :param request: Request instance for DescribeParamTemplates.
1206
1206
  :type request: :class:`tencentcloud.redis.v20180412.models.DescribeParamTemplatesRequest`
@@ -2306,7 +2306,7 @@ class RedisClient(AbstractClient):
2306
2306
 
2307
2307
 
2308
2308
  def RestoreInstance(self, request):
2309
- """恢复 CRS 实例
2309
+ """本接口(RestoreInstance)用于恢复实例。
2310
2310
 
2311
2311
  :param request: Request instance for RestoreInstance.
2312
2312
  :type request: :class:`tencentcloud.redis.v20180412.models.RestoreInstanceRequest`
@@ -1382,7 +1382,27 @@ class CreateFunctionRequest(AbstractModel):
1382
1382
  :type Timeout: int
1383
1383
  :param _Environment: 函数的环境变量
1384
1384
  :type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
1385
- :param _Runtime: 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, Php5.2, Php7.4,Go1,Java8 和 CustomRuntime,默认Python2.7
1385
+ :param _Runtime: 函数运行环境,默认Python2.7
1386
+ 目前支持的运行环境:
1387
+ - Python2.7
1388
+ - Python3.6
1389
+ - Python3.7
1390
+ - Python3.9
1391
+ - Python3.10
1392
+ - Nodejs6.10
1393
+ - Nodejs8.9
1394
+ - Nodejs10.15
1395
+ - Nodejs12.16
1396
+ - Nodejs14.18
1397
+ - Nodejs16.13
1398
+ - Nodejs18.15
1399
+ - Php5.6
1400
+ - Php7(7.2版本)
1401
+ - Php7.4
1402
+ - Php8.0
1403
+ - Go1
1404
+ - Java8
1405
+ - CustomRuntime
1386
1406
  :type Runtime: str
1387
1407
  :param _VpcConfig: 函数的私有网络配置
1388
1408
  :type VpcConfig: :class:`tencentcloud.scf.v20180416.models.VpcConfig`
@@ -1542,7 +1562,27 @@ class CreateFunctionRequest(AbstractModel):
1542
1562
 
1543
1563
  @property
1544
1564
  def Runtime(self):
1545
- """函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, Php5.2, Php7.4,Go1,Java8 和 CustomRuntime,默认Python2.7
1565
+ """函数运行环境,默认Python2.7
1566
+ 目前支持的运行环境:
1567
+ - Python2.7
1568
+ - Python3.6
1569
+ - Python3.7
1570
+ - Python3.9
1571
+ - Python3.10
1572
+ - Nodejs6.10
1573
+ - Nodejs8.9
1574
+ - Nodejs10.15
1575
+ - Nodejs12.16
1576
+ - Nodejs14.18
1577
+ - Nodejs16.13
1578
+ - Nodejs18.15
1579
+ - Php5.6
1580
+ - Php7(7.2版本)
1581
+ - Php7.4
1582
+ - Php8.0
1583
+ - Go1
1584
+ - Java8
1585
+ - CustomRuntime
1546
1586
  :rtype: str
1547
1587
  """
1548
1588
  return self._Runtime
@@ -12933,7 +12973,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
12933
12973
  :type MemorySize: int
12934
12974
  :param _Timeout: 函数最长执行时间,单位为秒,可选值范 1-900 秒,默认为 3 秒
12935
12975
  :type Timeout: int
12936
- :param _Runtime: 函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
12976
+ :param _Runtime: 函数运行环境,创建时指定,目前不支持修改。
12937
12977
  :type Runtime: str
12938
12978
  :param _Environment: 函数的环境变量
12939
12979
  :type Environment: :class:`tencentcloud.scf.v20180416.models.Environment`
@@ -13046,7 +13086,7 @@ class UpdateFunctionConfigurationRequest(AbstractModel):
13046
13086
 
13047
13087
  @property
13048
13088
  def Runtime(self):
13049
- """函数运行环境,目前仅支持 Python2.7,Python3.6,Nodejs6.10,Nodejs8.9,Nodejs10.15,Nodejs12.16, PHP5, PHP7,Go1 , Java8和CustomRuntime
13089
+ """函数运行环境,创建时指定,目前不支持修改。
13050
13090
  :rtype: str
13051
13091
  """
13052
13092
  return self._Runtime
@@ -4771,9 +4771,37 @@ class DeployCertificateInstanceRequest(AbstractModel):
4771
4771
  r"""
4772
4772
  :param _CertificateId: 待部署的证书ID
4773
4773
  :type CertificateId: str
4774
- :param _InstanceIdList: 需要部署实例列表
4774
+ :param _InstanceIdList: 证书部署的实例列表,不同云资源类型如下
4775
+ - clb:若监听器开启了SNI,则需要指定到域名LoadBalancerId|ListenerId|Domain,例:["lb-bid2fs4g|lbl-a8af11gs|tencent.com"],若监听器未开启SNI或者为四层监听器,则指定到监听器,例:["lb-bid2fs4g|lbl-1c6rp5eo"]
4776
+ - cdn:Domain|计费开关,例:["cdn2.tencent.com|off", "cdn.tencent.com|on"]
4777
+ - ddos:InsId|Domain|VirtualPort,例:["bgpip-000001ms|tencent.com|443"]
4778
+ - live:Domain,例:["live1.tencent.com", "live2.tencent.com"]
4779
+ - vod:Domain, 例:["vod1.tencent.com", "vod2.tencent.com"]
4780
+ - waf:Domain, 例:["waf1.tencent.com", "waf2.tencent.com"]
4781
+ - apigateway:ServiceId|Domain, 例:["service-8sk7cqmd|apigw1.tencent.com", "service-8sk7cqmd|apigw2.ninghhuang.online"]
4782
+ - teo:Domain, 例:["edgeone1.tencent.com", "edgeone2.tencent.com"]
4783
+ - tke:ClusterId|NameSpace|SecretName, 例:["cls-42sa0ae0|default|test-tencent"]
4784
+ - cos:Region#Bucket#Domain, 例:["ap-hongkong#ssl-server-1251810746#tencent.com"]
4785
+ - lighthouse:Region|InstanceId|Domain, 例:["ap-shanghai|lhins-nh7lql34|tencent.com"]
4786
+ - tse:GatewayId|CertificateId, 例:["gateway-s1da9151|fa61bc05-cc54-4eea-c932-24de52577372"]
4787
+ - tcb:Type|Region|EnvId|Domain, 例:["AccessService|ap-shanghai|ceshi-4s5h0ymg11c839c7|tencent.com"]
4788
+
4775
4789
  :type InstanceIdList: list of str
4776
- :param _ResourceType: 部署的云资源类型,如clb,cos
4790
+ :param _ResourceType: 证书部署云资源支持的云资源类型:
4791
+ - clb
4792
+ - cdn
4793
+ - ddos
4794
+ - live
4795
+ - vod
4796
+ - waf
4797
+ - apigateway
4798
+ - teo
4799
+ - tke
4800
+ - cos
4801
+ - lighthouse
4802
+ - tse
4803
+ - tcb
4804
+ <dx-alert infotype="explain" title="">当云资源类型传入clb、waf、apigateway、cos、lighthouse、tke、tse、tcb 时,公共参数Region必传。</dx-alert>
4777
4805
  :type ResourceType: str
4778
4806
  :param _Status: 部署云资源状态:
4779
4807
  云直播:
@@ -4781,7 +4809,7 @@ class DeployCertificateInstanceRequest(AbstractModel):
4781
4809
  1: 域名https已开启。
4782
4810
  0: 域名https已关闭。
4783
4811
  :type Status: int
4784
- :param _IsCache: 是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时
4812
+ :param _IsCache: 是否查询缓存,1:是; 0:否, 默认为查询缓存,默认缓存半小时
4785
4813
  :type IsCache: int
4786
4814
  """
4787
4815
  self._CertificateId = None
@@ -4803,7 +4831,21 @@ class DeployCertificateInstanceRequest(AbstractModel):
4803
4831
 
4804
4832
  @property
4805
4833
  def InstanceIdList(self):
4806
- """需要部署实例列表
4834
+ """证书部署的实例列表,不同云资源类型如下
4835
+ - clb:若监听器开启了SNI,则需要指定到域名LoadBalancerId|ListenerId|Domain,例:["lb-bid2fs4g|lbl-a8af11gs|tencent.com"],若监听器未开启SNI或者为四层监听器,则指定到监听器,例:["lb-bid2fs4g|lbl-1c6rp5eo"]
4836
+ - cdn:Domain|计费开关,例:["cdn2.tencent.com|off", "cdn.tencent.com|on"]
4837
+ - ddos:InsId|Domain|VirtualPort,例:["bgpip-000001ms|tencent.com|443"]
4838
+ - live:Domain,例:["live1.tencent.com", "live2.tencent.com"]
4839
+ - vod:Domain, 例:["vod1.tencent.com", "vod2.tencent.com"]
4840
+ - waf:Domain, 例:["waf1.tencent.com", "waf2.tencent.com"]
4841
+ - apigateway:ServiceId|Domain, 例:["service-8sk7cqmd|apigw1.tencent.com", "service-8sk7cqmd|apigw2.ninghhuang.online"]
4842
+ - teo:Domain, 例:["edgeone1.tencent.com", "edgeone2.tencent.com"]
4843
+ - tke:ClusterId|NameSpace|SecretName, 例:["cls-42sa0ae0|default|test-tencent"]
4844
+ - cos:Region#Bucket#Domain, 例:["ap-hongkong#ssl-server-1251810746#tencent.com"]
4845
+ - lighthouse:Region|InstanceId|Domain, 例:["ap-shanghai|lhins-nh7lql34|tencent.com"]
4846
+ - tse:GatewayId|CertificateId, 例:["gateway-s1da9151|fa61bc05-cc54-4eea-c932-24de52577372"]
4847
+ - tcb:Type|Region|EnvId|Domain, 例:["AccessService|ap-shanghai|ceshi-4s5h0ymg11c839c7|tencent.com"]
4848
+
4807
4849
  :rtype: list of str
4808
4850
  """
4809
4851
  return self._InstanceIdList
@@ -4814,7 +4856,21 @@ class DeployCertificateInstanceRequest(AbstractModel):
4814
4856
 
4815
4857
  @property
4816
4858
  def ResourceType(self):
4817
- """部署的云资源类型,如clb,cos
4859
+ """证书部署云资源支持的云资源类型:
4860
+ - clb
4861
+ - cdn
4862
+ - ddos
4863
+ - live
4864
+ - vod
4865
+ - waf
4866
+ - apigateway
4867
+ - teo
4868
+ - tke
4869
+ - cos
4870
+ - lighthouse
4871
+ - tse
4872
+ - tcb
4873
+ <dx-alert infotype="explain" title="">当云资源类型传入clb、waf、apigateway、cos、lighthouse、tke、tse、tcb 时,公共参数Region必传。</dx-alert>
4818
4874
  :rtype: str
4819
4875
  """
4820
4876
  return self._ResourceType
@@ -4840,7 +4896,7 @@ class DeployCertificateInstanceRequest(AbstractModel):
4840
4896
 
4841
4897
  @property
4842
4898
  def IsCache(self):
4843
- """是否查询缓存,1:是; 0:否, 默认为查询缓存,缓存半小时
4899
+ """是否查询缓存,1:是; 0:否, 默认为查询缓存,默认缓存半小时
4844
4900
  :rtype: int
4845
4901
  """
4846
4902
  return self._IsCache
@@ -4876,7 +4932,7 @@ class DeployCertificateInstanceResponse(AbstractModel):
4876
4932
  :param _DeployRecordId: 云资源部署任务ID
4877
4933
  注意:此字段可能返回 null,表示取不到有效值。
4878
4934
  :type DeployRecordId: int
4879
- :param _DeployStatus: 部署状态,1表示部署成功,0表示部署失败
4935
+ :param _DeployStatus: 部署任务创建状态;1表示创建成功; 0表示当前存在部署中的任务,未创建新的部署任务;返回值DeployRecordId为部署中的任务ID
4880
4936
  :type DeployStatus: int
4881
4937
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4882
4938
  :type RequestId: str
@@ -4899,7 +4955,7 @@ class DeployCertificateInstanceResponse(AbstractModel):
4899
4955
 
4900
4956
  @property
4901
4957
  def DeployStatus(self):
4902
- """部署状态,1表示部署成功,0表示部署失败
4958
+ """部署任务创建状态;1表示创建成功; 0表示当前存在部署中的任务,未创建新的部署任务;返回值DeployRecordId为部署中的任务ID
4903
4959
  :rtype: int
4904
4960
  """
4905
4961
  return self._DeployStatus
@@ -326,7 +326,14 @@ class SslClient(AbstractClient):
326
326
 
327
327
 
328
328
  def DeployCertificateInstance(self, request):
329
- """证书部署到云资源实例列表
329
+ """证书部署到云资源实例列表,本接口只会创建部署任务, 部署任务结果可通过DescribeHostDeployRecordDetail查询。本接口创建部署任务时,会校验证书和部署实例的匹配关系,存在不匹配的则会创建部署任务失败。以下为匹配关系校验规则:
330
+ - 若待部署的证书和传入实例域名的当前绑定的证书一致, 则不会创建成功
331
+ - 若待部署的证书和传入域名不匹配, 则不会创建成功
332
+ - 若部署clb实例时, 7层监听器下无规则,则不会创建成功
333
+ - 若部署clb实例时, 7层监听器未开启SNI,该监听器下存在任一域名和证书不匹配, 则不会创建成功
334
+ - 若部署clb实例是,监听器规则为正则表示式, 则不会创建成功
335
+
336
+ <dx-alert infotype="explain" title="">一个证书ID,相同的资源类型,只能创建一个部署任务,必须等部署任务执行完成,才能创建新的部署任务</dx-alert>
330
337
 
331
338
  :param request: Request instance for DeployCertificateInstance.
332
339
  :type request: :class:`tencentcloud.ssl.v20191205.models.DeployCertificateInstanceRequest`