tencentcloud-sdk-python 3.0.1263__py2.py3-none-any.whl → 3.0.1265__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 (48) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +234 -156
  3. tencentcloud/ccc/v20200210/models.py +148 -236
  4. tencentcloud/cdb/v20170320/cdb_client.py +40 -17
  5. tencentcloud/cdb/v20170320/models.py +215 -68
  6. tencentcloud/cdc/v20201214/models.py +20 -20
  7. tencentcloud/cls/v20201016/cls_client.py +92 -0
  8. tencentcloud/cls/v20201016/models.py +862 -12
  9. tencentcloud/cwp/v20180228/cwp_client.py +0 -25
  10. tencentcloud/cwp/v20180228/models.py +352 -1771
  11. tencentcloud/dasb/v20191018/models.py +0 -8
  12. tencentcloud/emr/v20190103/models.py +58 -2
  13. tencentcloud/ess/v20201111/models.py +10 -8
  14. tencentcloud/essbasic/v20210526/models.py +10 -12
  15. tencentcloud/hai/v20230812/errorcodes.py +18 -0
  16. tencentcloud/hai/v20230812/models.py +229 -4
  17. tencentcloud/hunyuan/v20230901/errorcodes.py +2 -2
  18. tencentcloud/hunyuan/v20230901/hunyuan_client.py +1 -1
  19. tencentcloud/hunyuan/v20230901/models.py +19 -4
  20. tencentcloud/iai/v20180301/models.py +4 -4
  21. tencentcloud/iai/v20200303/models.py +728 -528
  22. tencentcloud/ig/__init__.py +0 -0
  23. tencentcloud/ig/v20210518/__init__.py +0 -0
  24. tencentcloud/ig/v20210518/errorcodes.py +24 -0
  25. tencentcloud/ig/v20210518/ig_client.py +49 -0
  26. tencentcloud/ig/v20210518/models.py +142 -0
  27. tencentcloud/iss/v20230517/errorcodes.py +0 -9
  28. tencentcloud/iss/v20230517/iss_client.py +0 -23
  29. tencentcloud/iss/v20230517/models.py +0 -94
  30. tencentcloud/lke/v20231130/errorcodes.py +3 -0
  31. tencentcloud/lke/v20231130/models.py +16 -16
  32. tencentcloud/mrs/v20200910/models.py +30 -0
  33. tencentcloud/redis/v20180412/models.py +6 -10
  34. tencentcloud/redis/v20180412/redis_client.py +1 -1
  35. tencentcloud/soe/v20180724/models.py +2 -2
  36. tencentcloud/ssl/v20191205/models.py +148 -0
  37. tencentcloud/tat/v20201028/models.py +2 -20
  38. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  39. tencentcloud/vpc/v20170312/models.py +79 -0
  40. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  41. tencentcloud/wedata/v20210820/errorcodes.py +9 -0
  42. tencentcloud/wedata/v20210820/models.py +447 -0
  43. tencentcloud/wedata/v20210820/wedata_client.py +69 -0
  44. {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/METADATA +1 -1
  45. {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/RECORD +48 -43
  46. {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/LICENSE +0 -0
  47. {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/WHEEL +0 -0
  48. {tencentcloud_sdk_python-3.0.1263.dist-info → tencentcloud_sdk_python-3.0.1265.dist-info}/top_level.txt +0 -0
@@ -206,7 +206,7 @@ class AddTimeWindowRequest(AbstractModel):
206
206
 
207
207
  def __init__(self):
208
208
  r"""
209
- :param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
209
+ :param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
210
210
  :type InstanceId: str
211
211
  :param _Monday: 星期一的可维护时间段,其中每一个时间段的格式形如:10:00-12:00;起始时间按半个小时对齐;最短半个小时,最长三个小时;可设置多个时间段。 一周中应至少设置一天的时间窗。下同。
212
212
  :type Monday: list of str
@@ -222,7 +222,7 @@ class AddTimeWindowRequest(AbstractModel):
222
222
  :type Saturday: list of str
223
223
  :param _Sunday: 星期日的可维护时间窗口。 一周中应至少设置一天的时间窗。
224
224
  :type Sunday: list of str
225
- :param _MaxDelayTime: 最大延迟阈值,仅对主实例和灾备实例有效
225
+ :param _MaxDelayTime: 最大延迟阈值,仅对主实例和灾备实例有效。
226
226
  :type MaxDelayTime: int
227
227
  """
228
228
  self._InstanceId = None
@@ -237,7 +237,7 @@ class AddTimeWindowRequest(AbstractModel):
237
237
 
238
238
  @property
239
239
  def InstanceId(self):
240
- """实例ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
240
+ """实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
241
241
  :rtype: str
242
242
  """
243
243
  return self._InstanceId
@@ -325,7 +325,7 @@ class AddTimeWindowRequest(AbstractModel):
325
325
 
326
326
  @property
327
327
  def MaxDelayTime(self):
328
- """最大延迟阈值,仅对主实例和灾备实例有效
328
+ """最大延迟阈值,仅对主实例和灾备实例有效。
329
329
  :rtype: int
330
330
  """
331
331
  return self._MaxDelayTime
@@ -10140,8 +10140,10 @@ class DBSwitchInfo(AbstractModel):
10140
10140
  def __init__(self):
10141
10141
  r"""
10142
10142
  :param _SwitchTime: 切换时间,格式为:2017-09-03 01:34:31
10143
+ 注意:此字段可能返回 null,表示取不到有效值。
10143
10144
  :type SwitchTime: str
10144
10145
  :param _SwitchType: 切换类型,可能的返回值为:TRANSFER - 数据迁移;MASTER2SLAVE - 主备切换;RECOVERY - 主从恢复
10146
+ 注意:此字段可能返回 null,表示取不到有效值。
10145
10147
  :type SwitchType: str
10146
10148
  """
10147
10149
  self._SwitchTime = None
@@ -10150,6 +10152,7 @@ class DBSwitchInfo(AbstractModel):
10150
10152
  @property
10151
10153
  def SwitchTime(self):
10152
10154
  """切换时间,格式为:2017-09-03 01:34:31
10155
+ 注意:此字段可能返回 null,表示取不到有效值。
10153
10156
  :rtype: str
10154
10157
  """
10155
10158
  return self._SwitchTime
@@ -10161,6 +10164,7 @@ class DBSwitchInfo(AbstractModel):
10161
10164
  @property
10162
10165
  def SwitchType(self):
10163
10166
  """切换类型,可能的返回值为:TRANSFER - 数据迁移;MASTER2SLAVE - 主备切换;RECOVERY - 主从恢复
10167
+ 注意:此字段可能返回 null,表示取不到有效值。
10164
10168
  :rtype: str
10165
10169
  """
10166
10170
  return self._SwitchType
@@ -14846,14 +14850,14 @@ class DescribeClusterInfoRequest(AbstractModel):
14846
14850
 
14847
14851
  def __init__(self):
14848
14852
  r"""
14849
- :param _InstanceId: 实例id
14853
+ :param _InstanceId: 实例 ID
14850
14854
  :type InstanceId: str
14851
14855
  """
14852
14856
  self._InstanceId = None
14853
14857
 
14854
14858
  @property
14855
14859
  def InstanceId(self):
14856
- """实例id
14860
+ """实例 ID
14857
14861
  :rtype: str
14858
14862
  """
14859
14863
  return self._InstanceId
@@ -15805,14 +15809,14 @@ class DescribeDBInstanceInfoRequest(AbstractModel):
15805
15809
 
15806
15810
  def __init__(self):
15807
15811
  r"""
15808
- :param _InstanceId: 实例 ID
15812
+ :param _InstanceId: 实例 ID。
15809
15813
  :type InstanceId: str
15810
15814
  """
15811
15815
  self._InstanceId = None
15812
15816
 
15813
15817
  @property
15814
15818
  def InstanceId(self):
15815
- """实例 ID
15819
+ """实例 ID。
15816
15820
  :rtype: str
15817
15821
  """
15818
15822
  return self._InstanceId
@@ -16083,6 +16087,11 @@ class DescribeDBInstanceRebootTimeRequest(AbstractModel):
16083
16087
  def __init__(self):
16084
16088
  r"""
16085
16089
  :param _InstanceIds: 实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
16090
+ 说明:可输入多个实例 ID 进行查询,json 格式如下。
16091
+ [
16092
+ "cdb-30z11v8s",
16093
+ "cdb-93h11efg"
16094
+ ]
16086
16095
  :type InstanceIds: list of str
16087
16096
  """
16088
16097
  self._InstanceIds = None
@@ -16090,6 +16099,11 @@ class DescribeDBInstanceRebootTimeRequest(AbstractModel):
16090
16099
  @property
16091
16100
  def InstanceIds(self):
16092
16101
  """实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
16102
+ 说明:可输入多个实例 ID 进行查询,json 格式如下。
16103
+ [
16104
+ "cdb-30z11v8s",
16105
+ "cdb-93h11efg"
16106
+ ]
16093
16107
  :rtype: list of str
16094
16108
  """
16095
16109
  return self._InstanceIds
@@ -16816,9 +16830,9 @@ class DescribeDBPriceRequest(AbstractModel):
16816
16830
  :type Zone: str
16817
16831
  :param _GoodsNum: 实例数量,默认值为 1,最小值 1,最大值为 100。InstanceId为空时该参数为必填项。
16818
16832
  :type GoodsNum: int
16819
- :param _Memory: 实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
16833
+ :param _Memory: 实例内存大小,单位:MB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的实例内存大小范围。
16820
16834
  :type Memory: int
16821
- :param _Volume: 实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
16835
+ :param _Volume: 实例硬盘大小,单位:GB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的硬盘大小范围。
16822
16836
  :type Volume: int
16823
16837
  :param _InstanceRole: 实例类型,默认为 master,支持值包括:master - 表示主实例,ro - 表示只读实例,dr - 表示灾备实例。InstanceId为空时该参数为必填项。
16824
16838
  :type InstanceRole: str
@@ -16886,7 +16900,7 @@ class DescribeDBPriceRequest(AbstractModel):
16886
16900
 
16887
16901
  @property
16888
16902
  def Memory(self):
16889
- """实例内存大小,单位:MB。InstanceId为空时该参数为必填项。
16903
+ """实例内存大小,单位:MB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的实例内存大小范围。
16890
16904
  :rtype: int
16891
16905
  """
16892
16906
  return self._Memory
@@ -16897,7 +16911,7 @@ class DescribeDBPriceRequest(AbstractModel):
16897
16911
 
16898
16912
  @property
16899
16913
  def Volume(self):
16900
- """实例硬盘大小,单位:GB。InstanceId为空时该参数为必填项。
16914
+ """实例硬盘大小,单位:GB。InstanceId 为空时该参数为必填项。为保证传入值有效,请使用 [获取云数据库可售卖规格](https://cloud.tencent.com/document/product/236/17229) 接口获取可售卖的硬盘大小范围。
16901
16915
  :rtype: int
16902
16916
  """
16903
16917
  return self._Volume
@@ -17217,7 +17231,7 @@ class DescribeDBSwitchRecordsRequest(AbstractModel):
17217
17231
  :type InstanceId: str
17218
17232
  :param _Offset: 分页偏移量。
17219
17233
  :type Offset: int
17220
- :param _Limit: 分页大小,默认值为 50,最小值为 1,最大值为 2000
17234
+ :param _Limit: 分页大小,默认值为50,最小值为1,最大值为1000
17221
17235
  :type Limit: int
17222
17236
  """
17223
17237
  self._InstanceId = None
@@ -17248,7 +17262,7 @@ class DescribeDBSwitchRecordsRequest(AbstractModel):
17248
17262
 
17249
17263
  @property
17250
17264
  def Limit(self):
17251
- """分页大小,默认值为 50,最小值为 1,最大值为 2000
17265
+ """分页大小,默认值为50,最小值为1,最大值为1000
17252
17266
  :rtype: int
17253
17267
  """
17254
17268
  return self._Limit
@@ -18729,29 +18743,29 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18729
18743
 
18730
18744
  def __init__(self):
18731
18745
  r"""
18732
- :param _InstanceId: 实例id
18746
+ :param _InstanceId: 实例 ID。
18733
18747
  :type InstanceId: str
18734
- :param _DstCpu: 目标实例cpu
18748
+ :param _DstCpu: 目标实例 CPU 的核数。
18735
18749
  :type DstCpu: float
18736
- :param _DstMemory: 目标实例内存
18750
+ :param _DstMemory: 目标实例内存大小,单位:MB。
18737
18751
  :type DstMemory: int
18738
- :param _DstDisk: 目标实例磁盘
18752
+ :param _DstDisk: 目标实例磁盘大小,单位:GB。
18739
18753
  :type DstDisk: int
18740
- :param _DstVersion: 目标实例版本
18754
+ :param _DstVersion: 目标实例数据库版本。
18741
18755
  :type DstVersion: str
18742
- :param _DstDeployMode: 目标实例部署模型
18756
+ :param _DstDeployMode: 目标实例部署模型。
18743
18757
  :type DstDeployMode: int
18744
- :param _DstProtectMode: 目标实例复制类型
18758
+ :param _DstProtectMode: 目标实例复制类型。
18745
18759
  :type DstProtectMode: int
18746
- :param _DstSlaveZone: 目标实例备机1可用区
18760
+ :param _DstSlaveZone: 目标实例备机1可用区。
18747
18761
  :type DstSlaveZone: int
18748
- :param _DstBackupZone: 目标实例备机2可用区
18762
+ :param _DstBackupZone: 目标实例备机2可用区。
18749
18763
  :type DstBackupZone: int
18750
- :param _DstCdbType: 目标实例类型
18764
+ :param _DstCdbType: 目标实例类型。
18751
18765
  :type DstCdbType: str
18752
- :param _DstZoneId: 目标实例主可用区
18766
+ :param _DstZoneId: 目标实例主可用区。
18753
18767
  :type DstZoneId: int
18754
- :param _NodeDistribution: 独享集群CDB实例的节点分布情况
18768
+ :param _NodeDistribution: 独享集群 CDB 实例的节点分布情况。
18755
18769
  :type NodeDistribution: :class:`tencentcloud.cdb.v20170320.models.NodeDistribution`
18756
18770
  :param _ClusterTopology: 集群版的节点拓扑配置
18757
18771
  :type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
@@ -18772,7 +18786,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18772
18786
 
18773
18787
  @property
18774
18788
  def InstanceId(self):
18775
- """实例id
18789
+ """实例 ID。
18776
18790
  :rtype: str
18777
18791
  """
18778
18792
  return self._InstanceId
@@ -18783,7 +18797,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18783
18797
 
18784
18798
  @property
18785
18799
  def DstCpu(self):
18786
- """目标实例cpu
18800
+ """目标实例 CPU 的核数。
18787
18801
  :rtype: float
18788
18802
  """
18789
18803
  return self._DstCpu
@@ -18794,7 +18808,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18794
18808
 
18795
18809
  @property
18796
18810
  def DstMemory(self):
18797
- """目标实例内存
18811
+ """目标实例内存大小,单位:MB。
18798
18812
  :rtype: int
18799
18813
  """
18800
18814
  return self._DstMemory
@@ -18805,7 +18819,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18805
18819
 
18806
18820
  @property
18807
18821
  def DstDisk(self):
18808
- """目标实例磁盘
18822
+ """目标实例磁盘大小,单位:GB。
18809
18823
  :rtype: int
18810
18824
  """
18811
18825
  return self._DstDisk
@@ -18816,7 +18830,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18816
18830
 
18817
18831
  @property
18818
18832
  def DstVersion(self):
18819
- """目标实例版本
18833
+ """目标实例数据库版本。
18820
18834
  :rtype: str
18821
18835
  """
18822
18836
  return self._DstVersion
@@ -18827,7 +18841,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18827
18841
 
18828
18842
  @property
18829
18843
  def DstDeployMode(self):
18830
- """目标实例部署模型
18844
+ """目标实例部署模型。
18831
18845
  :rtype: int
18832
18846
  """
18833
18847
  return self._DstDeployMode
@@ -18838,7 +18852,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18838
18852
 
18839
18853
  @property
18840
18854
  def DstProtectMode(self):
18841
- """目标实例复制类型
18855
+ """目标实例复制类型。
18842
18856
  :rtype: int
18843
18857
  """
18844
18858
  return self._DstProtectMode
@@ -18849,7 +18863,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18849
18863
 
18850
18864
  @property
18851
18865
  def DstSlaveZone(self):
18852
- """目标实例备机1可用区
18866
+ """目标实例备机1可用区。
18853
18867
  :rtype: int
18854
18868
  """
18855
18869
  return self._DstSlaveZone
@@ -18860,7 +18874,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18860
18874
 
18861
18875
  @property
18862
18876
  def DstBackupZone(self):
18863
- """目标实例备机2可用区
18877
+ """目标实例备机2可用区。
18864
18878
  :rtype: int
18865
18879
  """
18866
18880
  return self._DstBackupZone
@@ -18871,7 +18885,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18871
18885
 
18872
18886
  @property
18873
18887
  def DstCdbType(self):
18874
- """目标实例类型
18888
+ """目标实例类型。
18875
18889
  :rtype: str
18876
18890
  """
18877
18891
  return self._DstCdbType
@@ -18882,7 +18896,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18882
18896
 
18883
18897
  @property
18884
18898
  def DstZoneId(self):
18885
- """目标实例主可用区
18899
+ """目标实例主可用区。
18886
18900
  :rtype: int
18887
18901
  """
18888
18902
  return self._DstZoneId
@@ -18893,7 +18907,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
18893
18907
 
18894
18908
  @property
18895
18909
  def NodeDistribution(self):
18896
- """独享集群CDB实例的节点分布情况
18910
+ """独享集群 CDB 实例的节点分布情况。
18897
18911
  :rtype: :class:`tencentcloud.cdb.v20170320.models.NodeDistribution`
18898
18912
  """
18899
18913
  return self._NodeDistribution
@@ -18949,9 +18963,9 @@ class DescribeInstanceUpgradeTypeResponse(AbstractModel):
18949
18963
 
18950
18964
  def __init__(self):
18951
18965
  r"""
18952
- :param _InstanceId: 实例id
18966
+ :param _InstanceId: 实例 ID。
18953
18967
  :type InstanceId: str
18954
- :param _UpgradeType: 实例升级类型
18968
+ :param _UpgradeType: 实例升级类型。
18955
18969
  :type UpgradeType: str
18956
18970
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18957
18971
  :type RequestId: str
@@ -18962,7 +18976,7 @@ class DescribeInstanceUpgradeTypeResponse(AbstractModel):
18962
18976
 
18963
18977
  @property
18964
18978
  def InstanceId(self):
18965
- """实例id
18979
+ """实例 ID。
18966
18980
  :rtype: str
18967
18981
  """
18968
18982
  return self._InstanceId
@@ -18973,7 +18987,7 @@ class DescribeInstanceUpgradeTypeResponse(AbstractModel):
18973
18987
 
18974
18988
  @property
18975
18989
  def UpgradeType(self):
18976
- """实例升级类型
18990
+ """实例升级类型。
18977
18991
  :rtype: str
18978
18992
  """
18979
18993
  return self._UpgradeType
@@ -20061,14 +20075,14 @@ class DescribeRoGroupsRequest(AbstractModel):
20061
20075
 
20062
20076
  def __init__(self):
20063
20077
  r"""
20064
- :param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv或者cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
20078
+ :param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
20065
20079
  :type InstanceId: str
20066
20080
  """
20067
20081
  self._InstanceId = None
20068
20082
 
20069
20083
  @property
20070
20084
  def InstanceId(self):
20071
- """实例ID,格式如:cdb-c1nl9rpv或者cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
20085
+ """实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
20072
20086
  :rtype: str
20073
20087
  """
20074
20088
  return self._InstanceId
@@ -20097,7 +20111,7 @@ class DescribeRoGroupsResponse(AbstractModel):
20097
20111
 
20098
20112
  def __init__(self):
20099
20113
  r"""
20100
- :param _RoGroups: RO组信息数组,一个实例可关联多个RO组。
20114
+ :param _RoGroups: RO 组信息数组,一个实例可关联多个 RO 组。
20101
20115
  :type RoGroups: list of RoGroup
20102
20116
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20103
20117
  :type RequestId: str
@@ -20107,7 +20121,7 @@ class DescribeRoGroupsResponse(AbstractModel):
20107
20121
 
20108
20122
  @property
20109
20123
  def RoGroups(self):
20110
- """RO组信息数组,一个实例可关联多个RO组。
20124
+ """RO 组信息数组,一个实例可关联多个 RO 组。
20111
20125
  :rtype: list of RoGroup
20112
20126
  """
20113
20127
  return self._RoGroups
@@ -24371,8 +24385,10 @@ class InstanceRebootTime(AbstractModel):
24371
24385
  def __init__(self):
24372
24386
  r"""
24373
24387
  :param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同
24388
+ 注意:此字段可能返回 null,表示取不到有效值。
24374
24389
  :type InstanceId: str
24375
24390
  :param _TimeInSeconds: 预期重启时间
24391
+ 注意:此字段可能返回 null,表示取不到有效值。
24376
24392
  :type TimeInSeconds: int
24377
24393
  """
24378
24394
  self._InstanceId = None
@@ -24381,6 +24397,7 @@ class InstanceRebootTime(AbstractModel):
24381
24397
  @property
24382
24398
  def InstanceId(self):
24383
24399
  """实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同
24400
+ 注意:此字段可能返回 null,表示取不到有效值。
24384
24401
  :rtype: str
24385
24402
  """
24386
24403
  return self._InstanceId
@@ -24392,6 +24409,7 @@ class InstanceRebootTime(AbstractModel):
24392
24409
  @property
24393
24410
  def TimeInSeconds(self):
24394
24411
  """预期重启时间
24412
+ 注意:此字段可能返回 null,表示取不到有效值。
24395
24413
  :rtype: int
24396
24414
  """
24397
24415
  return self._TimeInSeconds
@@ -26377,6 +26395,11 @@ class ModifyAutoRenewFlagRequest(AbstractModel):
26377
26395
  def __init__(self):
26378
26396
  r"""
26379
26397
  :param _InstanceIds: 实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
26398
+ 说明:可输入多个实例 ID 进行修改,json 格式如下。
26399
+ [
26400
+ "cdb-30z11v8s",
26401
+ "cdb-93h11efg"
26402
+ ]
26380
26403
  :type InstanceIds: list of str
26381
26404
  :param _AutoRenew: 自动续费标记,可取值的有:0 - 不自动续费,1 - 自动续费。
26382
26405
  :type AutoRenew: int
@@ -26387,6 +26410,11 @@ class ModifyAutoRenewFlagRequest(AbstractModel):
26387
26410
  @property
26388
26411
  def InstanceIds(self):
26389
26412
  """实例的 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
26413
+ 说明:可输入多个实例 ID 进行修改,json 格式如下。
26414
+ [
26415
+ "cdb-30z11v8s",
26416
+ "cdb-93h11efg"
26417
+ ]
26390
26418
  :rtype: list of str
26391
26419
  """
26392
26420
  return self._InstanceIds
@@ -27636,9 +27664,14 @@ class ModifyDBInstanceProjectRequest(AbstractModel):
27636
27664
 
27637
27665
  def __init__(self):
27638
27666
  r"""
27639
- :param _InstanceIds: 实例 ID 数组,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27667
+ :param _InstanceIds: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27668
+ 说明:可输入多个实例 ID 进行修改,json 格式如下。
27669
+ [
27670
+ "cdb-30z11v8s",
27671
+ "cdb-93h11efg"
27672
+ ]
27640
27673
  :type InstanceIds: list of str
27641
- :param _NewProjectId: 项目的 ID
27674
+ :param _NewProjectId: 实例所属项目的 ID,可在账号中心下的项目管理页面查询。
27642
27675
  :type NewProjectId: int
27643
27676
  """
27644
27677
  self._InstanceIds = None
@@ -27646,7 +27679,12 @@ class ModifyDBInstanceProjectRequest(AbstractModel):
27646
27679
 
27647
27680
  @property
27648
27681
  def InstanceIds(self):
27649
- """实例 ID 数组,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27682
+ """实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27683
+ 说明:可输入多个实例 ID 进行修改,json 格式如下。
27684
+ [
27685
+ "cdb-30z11v8s",
27686
+ "cdb-93h11efg"
27687
+ ]
27650
27688
  :rtype: list of str
27651
27689
  """
27652
27690
  return self._InstanceIds
@@ -27657,7 +27695,7 @@ class ModifyDBInstanceProjectRequest(AbstractModel):
27657
27695
 
27658
27696
  @property
27659
27697
  def NewProjectId(self):
27660
- """项目的 ID
27698
+ """实例所属项目的 ID,可在账号中心下的项目管理页面查询。
27661
27699
  :rtype: int
27662
27700
  """
27663
27701
  return self._NewProjectId
@@ -27708,6 +27746,85 @@ class ModifyDBInstanceProjectResponse(AbstractModel):
27708
27746
  self._RequestId = params.get("RequestId")
27709
27747
 
27710
27748
 
27749
+ class ModifyDBInstanceReadOnlyStatusRequest(AbstractModel):
27750
+ """ModifyDBInstanceReadOnlyStatus请求参数结构体
27751
+
27752
+ """
27753
+
27754
+ def __init__(self):
27755
+ r"""
27756
+ :param _InstanceId: 实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27757
+ :type InstanceId: str
27758
+ :param _ReadOnly: 是否设置为只读。其中:1表示设置实例为只读,0表示解除只读状态
27759
+ :type ReadOnly: int
27760
+ """
27761
+ self._InstanceId = None
27762
+ self._ReadOnly = None
27763
+
27764
+ @property
27765
+ def InstanceId(self):
27766
+ """实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,可使用[查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
27767
+ :rtype: str
27768
+ """
27769
+ return self._InstanceId
27770
+
27771
+ @InstanceId.setter
27772
+ def InstanceId(self, InstanceId):
27773
+ self._InstanceId = InstanceId
27774
+
27775
+ @property
27776
+ def ReadOnly(self):
27777
+ """是否设置为只读。其中:1表示设置实例为只读,0表示解除只读状态
27778
+ :rtype: int
27779
+ """
27780
+ return self._ReadOnly
27781
+
27782
+ @ReadOnly.setter
27783
+ def ReadOnly(self, ReadOnly):
27784
+ self._ReadOnly = ReadOnly
27785
+
27786
+
27787
+ def _deserialize(self, params):
27788
+ self._InstanceId = params.get("InstanceId")
27789
+ self._ReadOnly = params.get("ReadOnly")
27790
+ memeber_set = set(params.keys())
27791
+ for name, value in vars(self).items():
27792
+ property_name = name[1:]
27793
+ if property_name in memeber_set:
27794
+ memeber_set.remove(property_name)
27795
+ if len(memeber_set) > 0:
27796
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
27797
+
27798
+
27799
+
27800
+ class ModifyDBInstanceReadOnlyStatusResponse(AbstractModel):
27801
+ """ModifyDBInstanceReadOnlyStatus返回参数结构体
27802
+
27803
+ """
27804
+
27805
+ def __init__(self):
27806
+ r"""
27807
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
27808
+ :type RequestId: str
27809
+ """
27810
+ self._RequestId = None
27811
+
27812
+ @property
27813
+ def RequestId(self):
27814
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
27815
+ :rtype: str
27816
+ """
27817
+ return self._RequestId
27818
+
27819
+ @RequestId.setter
27820
+ def RequestId(self, RequestId):
27821
+ self._RequestId = RequestId
27822
+
27823
+
27824
+ def _deserialize(self, params):
27825
+ self._RequestId = params.get("RequestId")
27826
+
27827
+
27711
27828
  class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
27712
27829
  """ModifyDBInstanceSecurityGroups请求参数结构体
27713
27830
 
@@ -28934,8 +29051,18 @@ class ModifyTimeWindowRequest(AbstractModel):
28934
29051
  :param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
28935
29052
  :type InstanceId: str
28936
29053
  :param _TimeRanges: 修改后的可维护时间段,其中每一个时间段的格式形如:10:00-12:00;起止时间按半个小时对齐;最短半个小时,最长三个小时;最多设置两个时间段;起止时间范围为:[00:00, 24:00]。
29054
+ 说明:设置两个时间段的 json 示例如下。
29055
+ [
29056
+ "01:00-01:30",
29057
+ "02:00-02:30"
29058
+ ]
28937
29059
  :type TimeRanges: list of str
28938
- :param _Weekdays: 指定修改哪一天的客户时间段,可能的取值为:monday,tuesday,wednesday,thursday,friday,saturday,sunday。如果不指定该值或者为空,则默认一周七天都修改。
29060
+ :param _Weekdays: 指定修改哪一天的可维护时间段,可能的取值为:monday,tuesday,wednesday,thursday,friday,saturday,sunday。如果不指定该值或者为空,则默认一周七天都修改。
29061
+ 说明:指定修改多天的 json 示例如下。
29062
+ [
29063
+ "monday",
29064
+ "tuesday"
29065
+ ]
28939
29066
  :type Weekdays: list of str
28940
29067
  :param _MaxDelayTime: 数据延迟阈值,仅对主实例和灾备实例有效,不传默认修改为10
28941
29068
  :type MaxDelayTime: int
@@ -28959,6 +29086,11 @@ class ModifyTimeWindowRequest(AbstractModel):
28959
29086
  @property
28960
29087
  def TimeRanges(self):
28961
29088
  """修改后的可维护时间段,其中每一个时间段的格式形如:10:00-12:00;起止时间按半个小时对齐;最短半个小时,最长三个小时;最多设置两个时间段;起止时间范围为:[00:00, 24:00]。
29089
+ 说明:设置两个时间段的 json 示例如下。
29090
+ [
29091
+ "01:00-01:30",
29092
+ "02:00-02:30"
29093
+ ]
28962
29094
  :rtype: list of str
28963
29095
  """
28964
29096
  return self._TimeRanges
@@ -28969,7 +29101,12 @@ class ModifyTimeWindowRequest(AbstractModel):
28969
29101
 
28970
29102
  @property
28971
29103
  def Weekdays(self):
28972
- """指定修改哪一天的客户时间段,可能的取值为:monday,tuesday,wednesday,thursday,friday,saturday,sunday。如果不指定该值或者为空,则默认一周七天都修改。
29104
+ """指定修改哪一天的可维护时间段,可能的取值为:monday,tuesday,wednesday,thursday,friday,saturday,sunday。如果不指定该值或者为空,则默认一周七天都修改。
29105
+ 说明:指定修改多天的 json 示例如下。
29106
+ [
29107
+ "monday",
29108
+ "tuesday"
29109
+ ]
28973
29110
  :rtype: list of str
28974
29111
  """
28975
29112
  return self._Weekdays
@@ -29334,9 +29471,9 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
29334
29471
  r"""
29335
29472
  :param _InstanceId: 云数据库实例 ID。
29336
29473
  :type InstanceId: str
29337
- :param _KeyId: 用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。
29474
+ :param _KeyId: 用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。
29338
29475
  :type KeyId: str
29339
- :param _KeyRegion: 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。
29476
+ :param _KeyRegion: 用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。
29340
29477
  :type KeyRegion: str
29341
29478
  """
29342
29479
  self._InstanceId = None
@@ -29356,7 +29493,7 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
29356
29493
 
29357
29494
  @property
29358
29495
  def KeyId(self):
29359
- """用户自定义密钥ID,CMK唯一标识符。该值为空时,将使用腾讯云自动生成的密钥KMS-CDB。
29496
+ """用户自定义密钥 ID,CMK 唯一标识符。该值为空时,将使用腾讯云自动生成的密钥 KMS-CDB。
29360
29497
  :rtype: str
29361
29498
  """
29362
29499
  return self._KeyId
@@ -29367,7 +29504,7 @@ class OpenDBInstanceEncryptionRequest(AbstractModel):
29367
29504
 
29368
29505
  @property
29369
29506
  def KeyRegion(self):
29370
- """用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId不为空时,该参数必填。
29507
+ """用户自定义密钥的存储地域。如:ap-guangzhou 。KeyId 不为空时,该参数必填。
29371
29508
  :rtype: str
29372
29509
  """
29373
29510
  return self._KeyRegion
@@ -31488,14 +31625,24 @@ class ReleaseIsolatedDBInstancesRequest(AbstractModel):
31488
31625
 
31489
31626
  def __init__(self):
31490
31627
  r"""
31491
- :param _InstanceIds: 实例 ID 数组,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
31628
+ :param _InstanceIds: 实例 ID,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
31629
+ 说明:可输入多个实例 ID 进行操作,json 格式如下。
31630
+ [
31631
+ "cdb-30z11v8s",
31632
+ "cdb-93h11efg"
31633
+ ]
31492
31634
  :type InstanceIds: list of str
31493
31635
  """
31494
31636
  self._InstanceIds = None
31495
31637
 
31496
31638
  @property
31497
31639
  def InstanceIds(self):
31498
- """实例 ID 数组,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
31640
+ """实例 ID,单个实例 ID 格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同,可使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口获取,其值为输出参数中字段 InstanceId 的值。
31641
+ 说明:可输入多个实例 ID 进行操作,json 格式如下。
31642
+ [
31643
+ "cdb-30z11v8s",
31644
+ "cdb-93h11efg"
31645
+ ]
31499
31646
  :rtype: list of str
31500
31647
  """
31501
31648
  return self._InstanceIds
@@ -35269,9 +35416,9 @@ class SubmitInstanceUpgradeCheckJobRequest(AbstractModel):
35269
35416
 
35270
35417
  def __init__(self):
35271
35418
  r"""
35272
- :param _InstanceId: 实例D
35419
+ :param _InstanceId: 实例 ID。
35273
35420
  :type InstanceId: str
35274
- :param _DstMysqlVersion: 目标数据库版本
35421
+ :param _DstMysqlVersion: 目标数据库版本。
35275
35422
  :type DstMysqlVersion: str
35276
35423
  """
35277
35424
  self._InstanceId = None
@@ -35279,7 +35426,7 @@ class SubmitInstanceUpgradeCheckJobRequest(AbstractModel):
35279
35426
 
35280
35427
  @property
35281
35428
  def InstanceId(self):
35282
- """实例D
35429
+ """实例 ID。
35283
35430
  :rtype: str
35284
35431
  """
35285
35432
  return self._InstanceId
@@ -35290,7 +35437,7 @@ class SubmitInstanceUpgradeCheckJobRequest(AbstractModel):
35290
35437
 
35291
35438
  @property
35292
35439
  def DstMysqlVersion(self):
35293
- """目标数据库版本
35440
+ """目标数据库版本。
35294
35441
  :rtype: str
35295
35442
  """
35296
35443
  return self._DstMysqlVersion
@@ -35320,7 +35467,7 @@ class SubmitInstanceUpgradeCheckJobResponse(AbstractModel):
35320
35467
 
35321
35468
  def __init__(self):
35322
35469
  r"""
35323
- :param _JobId: 任务ID
35470
+ :param _JobId: 任务 ID
35324
35471
  :type JobId: int
35325
35472
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
35326
35473
  :type RequestId: str
@@ -35330,7 +35477,7 @@ class SubmitInstanceUpgradeCheckJobResponse(AbstractModel):
35330
35477
 
35331
35478
  @property
35332
35479
  def JobId(self):
35333
- """任务ID
35480
+ """任务 ID
35334
35481
  :rtype: int
35335
35482
  """
35336
35483
  return self._JobId
@@ -35450,7 +35597,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
35450
35597
  :type ForceSwitch: bool
35451
35598
  :param _WaitSwitch: 是否时间窗内切换。默认为 False,即不在时间窗内切换。注意,如果设置了 ForceSwitch 参数为 True,则该参数不生效。
35452
35599
  :type WaitSwitch: bool
35453
- :param _DstNodeId: 集群版实例指定节点id发起主从切换。
35600
+ :param _DstNodeId: 集群版实例指定节点 ID 发起主从切换。
35454
35601
  :type DstNodeId: str
35455
35602
  """
35456
35603
  self._InstanceId = None
@@ -35505,7 +35652,7 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
35505
35652
 
35506
35653
  @property
35507
35654
  def DstNodeId(self):
35508
- """集群版实例指定节点id发起主从切换。
35655
+ """集群版实例指定节点 ID 发起主从切换。
35509
35656
  :rtype: str
35510
35657
  """
35511
35658
  return self._DstNodeId
@@ -35581,14 +35728,14 @@ class SwitchDrInstanceToMasterRequest(AbstractModel):
35581
35728
 
35582
35729
  def __init__(self):
35583
35730
  r"""
35584
- :param _InstanceId: 灾备实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
35731
+ :param _InstanceId: 灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
35585
35732
  :type InstanceId: str
35586
35733
  """
35587
35734
  self._InstanceId = None
35588
35735
 
35589
35736
  @property
35590
35737
  def InstanceId(self):
35591
- """灾备实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同。
35738
+ """灾备实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
35592
35739
  :rtype: str
35593
35740
  """
35594
35741
  return self._InstanceId