tencentcloud-sdk-python 3.0.1413__py2.py3-none-any.whl → 3.0.1415__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/aiart/v20221229/aiart_client.py +48 -0
- tencentcloud/aiart/v20221229/errorcodes.py +3 -0
- tencentcloud/aiart/v20221229/models.py +570 -0
- tencentcloud/apm/v20210622/models.py +360 -0
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +248 -0
- tencentcloud/cdb/v20170320/models.py +144 -120
- tencentcloud/csip/v20221121/csip_client.py +69 -0
- tencentcloud/csip/v20221121/models.py +3253 -1734
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +82 -2
- tencentcloud/essbasic/v20210526/models.py +40 -0
- tencentcloud/mps/v20190612/models.py +10 -4
- tencentcloud/oceanus/v20190422/models.py +257 -0
- tencentcloud/redis/v20180412/models.py +15 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +12 -0
- tencentcloud/trocket/v20230308/models.py +2 -2
- tencentcloud/trtc/v20190722/models.py +47 -0
- tencentcloud/waf/v20180125/models.py +91 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1413.dist-info → tencentcloud_sdk_python-3.0.1415.dist-info}/top_level.txt +0 -0
@@ -4984,21 +4984,21 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
4984
4984
|
|
4985
4985
|
def __init__(self):
|
4986
4986
|
r"""
|
4987
|
-
:param _InstanceId: 实例
|
4987
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
4988
4988
|
:type InstanceId: str
|
4989
|
-
:param _Cpu: 实例CPU
|
4989
|
+
:param _Cpu: 实例 CPU 核数。当 InstanceId 为主实例时必传。
|
4990
4990
|
:type Cpu: int
|
4991
|
-
:param _Memory: 实例内存大小,单位:MB
|
4991
|
+
:param _Memory: 实例内存大小,单位:MB。当 InstanceId 为主实例时必传。
|
4992
4992
|
:type Memory: int
|
4993
|
-
:param _Volume: 实例硬盘大小,单位:GB
|
4993
|
+
:param _Volume: 实例硬盘大小,单位:GB。
|
4994
4994
|
:type Volume: int
|
4995
|
-
:param _DiskType: 磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD
|
4995
|
+
:param _DiskType: 磁盘类型。 CLOUD_SSD: SSD 云硬盘; CLOUD_HSSD: 增强型 SSD 云硬盘。
|
4996
4996
|
:type DiskType: str
|
4997
|
-
:param _ClusterTopology:
|
4997
|
+
:param _ClusterTopology: 云盘版节点拓扑配置。当 InstanceId 为主实例时必传。
|
4998
4998
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
4999
4999
|
:param _DeviceType: 迁移实例类型。支持值包括: "CLOUD_NATIVE_CLUSTER" - 标准型云盘版实例, "CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 加强型云盘版实例。
|
5000
5000
|
:type DeviceType: str
|
5001
|
-
:param _RoInfo:
|
5001
|
+
:param _RoInfo: 只读实例信息。
|
5002
5002
|
:type RoInfo: list of MigrateClusterRoInfo
|
5003
5003
|
"""
|
5004
5004
|
self._InstanceId = None
|
@@ -5012,7 +5012,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5012
5012
|
|
5013
5013
|
@property
|
5014
5014
|
def InstanceId(self):
|
5015
|
-
"""实例
|
5015
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
5016
5016
|
:rtype: str
|
5017
5017
|
"""
|
5018
5018
|
return self._InstanceId
|
@@ -5023,7 +5023,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5023
5023
|
|
5024
5024
|
@property
|
5025
5025
|
def Cpu(self):
|
5026
|
-
"""实例CPU
|
5026
|
+
"""实例 CPU 核数。当 InstanceId 为主实例时必传。
|
5027
5027
|
:rtype: int
|
5028
5028
|
"""
|
5029
5029
|
return self._Cpu
|
@@ -5034,7 +5034,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5034
5034
|
|
5035
5035
|
@property
|
5036
5036
|
def Memory(self):
|
5037
|
-
"""实例内存大小,单位:MB
|
5037
|
+
"""实例内存大小,单位:MB。当 InstanceId 为主实例时必传。
|
5038
5038
|
:rtype: int
|
5039
5039
|
"""
|
5040
5040
|
return self._Memory
|
@@ -5045,7 +5045,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5045
5045
|
|
5046
5046
|
@property
|
5047
5047
|
def Volume(self):
|
5048
|
-
"""实例硬盘大小,单位:GB
|
5048
|
+
"""实例硬盘大小,单位:GB。
|
5049
5049
|
:rtype: int
|
5050
5050
|
"""
|
5051
5051
|
return self._Volume
|
@@ -5056,7 +5056,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5056
5056
|
|
5057
5057
|
@property
|
5058
5058
|
def DiskType(self):
|
5059
|
-
"""磁盘类型。 CLOUD_SSD: SSD云硬盘; CLOUD_HSSD: 增强型SSD
|
5059
|
+
"""磁盘类型。 CLOUD_SSD: SSD 云硬盘; CLOUD_HSSD: 增强型 SSD 云硬盘。
|
5060
5060
|
:rtype: str
|
5061
5061
|
"""
|
5062
5062
|
return self._DiskType
|
@@ -5067,7 +5067,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5067
5067
|
|
5068
5068
|
@property
|
5069
5069
|
def ClusterTopology(self):
|
5070
|
-
"""
|
5070
|
+
"""云盘版节点拓扑配置。当 InstanceId 为主实例时必传。
|
5071
5071
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
5072
5072
|
"""
|
5073
5073
|
return self._ClusterTopology
|
@@ -5089,7 +5089,7 @@ class CheckMigrateClusterRequest(AbstractModel):
|
|
5089
5089
|
|
5090
5090
|
@property
|
5091
5091
|
def RoInfo(self):
|
5092
|
-
"""
|
5092
|
+
"""只读实例信息。
|
5093
5093
|
:rtype: list of MigrateClusterRoInfo
|
5094
5094
|
"""
|
5095
5095
|
return self._RoInfo
|
@@ -6485,18 +6485,15 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6485
6485
|
|
6486
6486
|
def __init__(self):
|
6487
6487
|
r"""
|
6488
|
-
:param _InstanceId: 实例 ID
|
6488
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
6489
6489
|
:type InstanceId: str
|
6490
|
-
:param _StartTime:
|
6490
|
+
:param _StartTime: 开始时间(建议开始到结束时间区间最大7天)。
|
6491
6491
|
:type StartTime: str
|
6492
|
-
:param _EndTime:
|
6492
|
+
:param _EndTime: 结束时间(建议开始到结束时间区间最大7天)。
|
6493
6493
|
:type EndTime: str
|
6494
|
-
:param _Order: 排序方式。支持值包括:"ASC" - 升序,"DESC" -
|
6494
|
+
:param _Order: 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序,默认降序排序。
|
6495
6495
|
:type Order: str
|
6496
|
-
:param _OrderBy:
|
6497
|
-
"timestamp" - 时间戳;
|
6498
|
-
"affectRows" - 影响行数;
|
6499
|
-
"execTime" - 执行时间。
|
6496
|
+
:param _OrderBy: 排序字段。支持值包括(默认按照时间戳排序): "timestamp" - 时间戳; "affectRows" - 影响行数; "execTime" - 执行时间。
|
6500
6497
|
:type OrderBy: str
|
6501
6498
|
:param _Filter: 已废弃。
|
6502
6499
|
:type Filter: :class:`tencentcloud.cdb.v20170320.models.AuditLogFilter`
|
@@ -6516,7 +6513,7 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6516
6513
|
|
6517
6514
|
@property
|
6518
6515
|
def InstanceId(self):
|
6519
|
-
"""实例 ID
|
6516
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
6520
6517
|
:rtype: str
|
6521
6518
|
"""
|
6522
6519
|
return self._InstanceId
|
@@ -6527,7 +6524,7 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6527
6524
|
|
6528
6525
|
@property
|
6529
6526
|
def StartTime(self):
|
6530
|
-
"""
|
6527
|
+
"""开始时间(建议开始到结束时间区间最大7天)。
|
6531
6528
|
:rtype: str
|
6532
6529
|
"""
|
6533
6530
|
return self._StartTime
|
@@ -6538,7 +6535,7 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6538
6535
|
|
6539
6536
|
@property
|
6540
6537
|
def EndTime(self):
|
6541
|
-
"""
|
6538
|
+
"""结束时间(建议开始到结束时间区间最大7天)。
|
6542
6539
|
:rtype: str
|
6543
6540
|
"""
|
6544
6541
|
return self._EndTime
|
@@ -6549,7 +6546,7 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6549
6546
|
|
6550
6547
|
@property
|
6551
6548
|
def Order(self):
|
6552
|
-
"""排序方式。支持值包括:"ASC" - 升序,"DESC" -
|
6549
|
+
"""排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序,默认降序排序。
|
6553
6550
|
:rtype: str
|
6554
6551
|
"""
|
6555
6552
|
return self._Order
|
@@ -6560,10 +6557,7 @@ class CreateAuditLogFileRequest(AbstractModel):
|
|
6560
6557
|
|
6561
6558
|
@property
|
6562
6559
|
def OrderBy(self):
|
6563
|
-
"""
|
6564
|
-
"timestamp" - 时间戳;
|
6565
|
-
"affectRows" - 影响行数;
|
6566
|
-
"execTime" - 执行时间。
|
6560
|
+
"""排序字段。支持值包括(默认按照时间戳排序): "timestamp" - 时间戳; "affectRows" - 影响行数; "execTime" - 执行时间。
|
6567
6561
|
:rtype: str
|
6568
6562
|
"""
|
6569
6563
|
return self._OrderBy
|
@@ -11121,14 +11115,14 @@ class DeleteAuditRuleTemplatesRequest(AbstractModel):
|
|
11121
11115
|
|
11122
11116
|
def __init__(self):
|
11123
11117
|
r"""
|
11124
|
-
:param _RuleTemplateIds: 审计规则模板ID
|
11118
|
+
:param _RuleTemplateIds: 审计规则模板ID,可通过[DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811)接口获取,单次允许最多删除5个规则模板。
|
11125
11119
|
:type RuleTemplateIds: list of str
|
11126
11120
|
"""
|
11127
11121
|
self._RuleTemplateIds = None
|
11128
11122
|
|
11129
11123
|
@property
|
11130
11124
|
def RuleTemplateIds(self):
|
11131
|
-
"""审计规则模板ID
|
11125
|
+
"""审计规则模板ID,可通过[DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811)接口获取,单次允许最多删除5个规则模板。
|
11132
11126
|
:rtype: list of str
|
11133
11127
|
"""
|
11134
11128
|
return self._RuleTemplateIds
|
@@ -12656,19 +12650,19 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12656
12650
|
|
12657
12651
|
def __init__(self):
|
12658
12652
|
r"""
|
12659
|
-
:param _InstanceId: 实例 ID
|
12653
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
12660
12654
|
:type InstanceId: str
|
12661
|
-
:param _StartTime:
|
12655
|
+
:param _StartTime: 开始时间(建议开始到结束时间区间最大7天)。
|
12662
12656
|
:type StartTime: str
|
12663
|
-
:param _EndTime:
|
12657
|
+
:param _EndTime: 结束时间(建议开始到结束时间区间最大7天)。
|
12664
12658
|
:type EndTime: str
|
12665
12659
|
:param _Limit: 分页参数,单次返回的数据条数。默认值为100,最大值为100。
|
12666
12660
|
:type Limit: int
|
12667
12661
|
:param _Offset: 日志偏移量,最多支持偏移查询65535条日志。可填写范围:0 - 65535。
|
12668
12662
|
:type Offset: int
|
12669
|
-
:param _Order: 排序方式。支持值包括:"ASC" - 升序,"DESC" -
|
12663
|
+
:param _Order: 排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序,默认降序排序。
|
12670
12664
|
:type Order: str
|
12671
|
-
:param _OrderBy:
|
12665
|
+
:param _OrderBy: 排序字段。支持值包括(默认按照时间戳排序):
|
12672
12666
|
"timestamp" - 时间戳;
|
12673
12667
|
"affectRows" - 影响行数;
|
12674
12668
|
"execTime" - 执行时间。
|
@@ -12687,7 +12681,7 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12687
12681
|
|
12688
12682
|
@property
|
12689
12683
|
def InstanceId(self):
|
12690
|
-
"""实例 ID
|
12684
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
12691
12685
|
:rtype: str
|
12692
12686
|
"""
|
12693
12687
|
return self._InstanceId
|
@@ -12698,7 +12692,7 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12698
12692
|
|
12699
12693
|
@property
|
12700
12694
|
def StartTime(self):
|
12701
|
-
"""
|
12695
|
+
"""开始时间(建议开始到结束时间区间最大7天)。
|
12702
12696
|
:rtype: str
|
12703
12697
|
"""
|
12704
12698
|
return self._StartTime
|
@@ -12709,7 +12703,7 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12709
12703
|
|
12710
12704
|
@property
|
12711
12705
|
def EndTime(self):
|
12712
|
-
"""
|
12706
|
+
"""结束时间(建议开始到结束时间区间最大7天)。
|
12713
12707
|
:rtype: str
|
12714
12708
|
"""
|
12715
12709
|
return self._EndTime
|
@@ -12742,7 +12736,7 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12742
12736
|
|
12743
12737
|
@property
|
12744
12738
|
def Order(self):
|
12745
|
-
"""排序方式。支持值包括:"ASC" - 升序,"DESC" -
|
12739
|
+
"""排序方式。支持值包括:"ASC" - 升序,"DESC" - 降序,默认降序排序。
|
12746
12740
|
:rtype: str
|
12747
12741
|
"""
|
12748
12742
|
return self._Order
|
@@ -12753,7 +12747,7 @@ class DescribeAuditLogsRequest(AbstractModel):
|
|
12753
12747
|
|
12754
12748
|
@property
|
12755
12749
|
def OrderBy(self):
|
12756
|
-
"""
|
12750
|
+
"""排序字段。支持值包括(默认按照时间戳排序):
|
12757
12751
|
"timestamp" - 时间戳;
|
12758
12752
|
"affectRows" - 影响行数;
|
12759
12753
|
"execTime" - 执行时间。
|
@@ -13064,17 +13058,17 @@ class DescribeAuditRuleTemplateModifyHistoryRequest(AbstractModel):
|
|
13064
13058
|
|
13065
13059
|
def __init__(self):
|
13066
13060
|
r"""
|
13067
|
-
:param _RuleTemplateIds:
|
13061
|
+
:param _RuleTemplateIds: 审计规则模板ID,可通过[DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811)接口获取。
|
13068
13062
|
:type RuleTemplateIds: list of str
|
13069
13063
|
:param _StartTime: 查询范围的开始时间。
|
13070
13064
|
:type StartTime: str
|
13071
13065
|
:param _EndTime: 查询范围的结束时间。
|
13072
13066
|
:type EndTime: str
|
13073
|
-
:param _Limit:
|
13067
|
+
:param _Limit: 返回条数,默认值-20,最大值-1000。
|
13074
13068
|
:type Limit: int
|
13075
13069
|
:param _Offset: 偏移量。
|
13076
13070
|
:type Offset: int
|
13077
|
-
:param _Order:
|
13071
|
+
:param _Order: 排序方式,DESC-按修改时间倒排,ASC-正序,默认:DESC。
|
13078
13072
|
:type Order: str
|
13079
13073
|
"""
|
13080
13074
|
self._RuleTemplateIds = None
|
@@ -13086,7 +13080,7 @@ class DescribeAuditRuleTemplateModifyHistoryRequest(AbstractModel):
|
|
13086
13080
|
|
13087
13081
|
@property
|
13088
13082
|
def RuleTemplateIds(self):
|
13089
|
-
"""
|
13083
|
+
"""审计规则模板ID,可通过[DescribeAuditRuleTemplates](https://cloud.tencent.com/document/api/236/101811)接口获取。
|
13090
13084
|
:rtype: list of str
|
13091
13085
|
"""
|
13092
13086
|
return self._RuleTemplateIds
|
@@ -13119,7 +13113,7 @@ class DescribeAuditRuleTemplateModifyHistoryRequest(AbstractModel):
|
|
13119
13113
|
|
13120
13114
|
@property
|
13121
13115
|
def Limit(self):
|
13122
|
-
"""
|
13116
|
+
"""返回条数,默认值-20,最大值-1000。
|
13123
13117
|
:rtype: int
|
13124
13118
|
"""
|
13125
13119
|
return self._Limit
|
@@ -13141,7 +13135,7 @@ class DescribeAuditRuleTemplateModifyHistoryRequest(AbstractModel):
|
|
13141
13135
|
|
13142
13136
|
@property
|
13143
13137
|
def Order(self):
|
13144
|
-
"""
|
13138
|
+
"""排序方式,DESC-按修改时间倒排,ASC-正序,默认:DESC。
|
13145
13139
|
:rtype: str
|
13146
13140
|
"""
|
13147
13141
|
return self._Order
|
@@ -15649,15 +15643,15 @@ class DescribeCpuExpandHistoryRequest(AbstractModel):
|
|
15649
15643
|
|
15650
15644
|
def __init__(self):
|
15651
15645
|
r"""
|
15652
|
-
:param _InstanceId: 实例 ID
|
15646
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
15653
15647
|
:type InstanceId: str
|
15654
15648
|
:param _ExpandStrategy: 扩容策略,值包括:all,manual,auto
|
15655
15649
|
:type ExpandStrategy: str
|
15656
15650
|
:param _Status: 扩容状态,值包括:all,extend,reduce,extend_failed
|
15657
15651
|
:type Status: str
|
15658
|
-
:param _StartTime: 查询的开始时间。只能查看30
|
15652
|
+
:param _StartTime: 查询的开始时间。只能查看30天内的扩容历史,格式为 Integer 的时间戳(秒级)。
|
15659
15653
|
:type StartTime: int
|
15660
|
-
:param _EndTime: 查询的结束时间。只能查看30
|
15654
|
+
:param _EndTime: 查询的结束时间。只能查看30天内的扩容历史,格式为 Integer 的时间戳(秒级)。
|
15661
15655
|
:type EndTime: int
|
15662
15656
|
:param _Offset: 分页入参
|
15663
15657
|
:type Offset: int
|
@@ -15674,7 +15668,7 @@ class DescribeCpuExpandHistoryRequest(AbstractModel):
|
|
15674
15668
|
|
15675
15669
|
@property
|
15676
15670
|
def InstanceId(self):
|
15677
|
-
"""实例 ID
|
15671
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
15678
15672
|
:rtype: str
|
15679
15673
|
"""
|
15680
15674
|
return self._InstanceId
|
@@ -15707,7 +15701,7 @@ class DescribeCpuExpandHistoryRequest(AbstractModel):
|
|
15707
15701
|
|
15708
15702
|
@property
|
15709
15703
|
def StartTime(self):
|
15710
|
-
"""查询的开始时间。只能查看30
|
15704
|
+
"""查询的开始时间。只能查看30天内的扩容历史,格式为 Integer 的时间戳(秒级)。
|
15711
15705
|
:rtype: int
|
15712
15706
|
"""
|
15713
15707
|
return self._StartTime
|
@@ -15718,7 +15712,7 @@ class DescribeCpuExpandHistoryRequest(AbstractModel):
|
|
15718
15712
|
|
15719
15713
|
@property
|
15720
15714
|
def EndTime(self):
|
15721
|
-
"""查询的结束时间。只能查看30
|
15715
|
+
"""查询的结束时间。只能查看30天内的扩容历史,格式为 Integer 的时间戳(秒级)。
|
15722
15716
|
:rtype: int
|
15723
15717
|
"""
|
15724
15718
|
return self._EndTime
|
@@ -19644,31 +19638,31 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19644
19638
|
|
19645
19639
|
def __init__(self):
|
19646
19640
|
r"""
|
19647
|
-
:param _InstanceId: 实例 ID
|
19641
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
19648
19642
|
:type InstanceId: str
|
19649
|
-
:param _DstCpu: 目标实例 CPU
|
19643
|
+
:param _DstCpu: 目标实例 CPU 的核数。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的 CPU 值范围。
|
19650
19644
|
:type DstCpu: float
|
19651
|
-
:param _DstMemory: 目标实例内存大小,单位:MB
|
19645
|
+
:param _DstMemory: 目标实例内存大小,单位:MB。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的内存大小范围。
|
19652
19646
|
:type DstMemory: int
|
19653
|
-
:param _DstDisk: 目标实例磁盘大小,单位:GB
|
19647
|
+
:param _DstDisk: 目标实例磁盘大小,单位:GB。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的磁盘大小范围。
|
19654
19648
|
:type DstDisk: int
|
19655
|
-
:param _DstVersion:
|
19649
|
+
:param _DstVersion: 目标实例数据库版本。可选值:5.6,5.7,8.0。
|
19656
19650
|
:type DstVersion: str
|
19657
|
-
:param _DstDeployMode:
|
19651
|
+
:param _DstDeployMode: 目标实例部署模型。默认为0,支持值包括:0 - 表示单可用区,1 - 表示多可用区。
|
19658
19652
|
:type DstDeployMode: int
|
19659
|
-
:param _DstProtectMode:
|
19653
|
+
:param _DstProtectMode: 目标实例复制类型,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
19660
19654
|
:type DstProtectMode: int
|
19661
|
-
:param _DstSlaveZone: 目标实例备机1
|
19655
|
+
:param _DstSlaveZone: 目标实例备机1可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19662
19656
|
:type DstSlaveZone: int
|
19663
|
-
:param _DstBackupZone: 目标实例备机2
|
19657
|
+
:param _DstBackupZone: 目标实例备机2可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19664
19658
|
:type DstBackupZone: int
|
19665
|
-
:param _DstCdbType:
|
19659
|
+
:param _DstCdbType: 目标实例类型。支持值包括:"CUSTOM" - 通用型实例,"EXCLUSIVE" - 独享型实例,"ONTKE" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。
|
19666
19660
|
:type DstCdbType: str
|
19667
|
-
:param _DstZoneId:
|
19661
|
+
:param _DstZoneId: 目标实例主可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19668
19662
|
:type DstZoneId: int
|
19669
19663
|
:param _NodeDistribution: 独享集群 CDB 实例的节点分布情况。
|
19670
19664
|
:type NodeDistribution: :class:`tencentcloud.cdb.v20170320.models.NodeDistribution`
|
19671
|
-
:param _ClusterTopology:
|
19665
|
+
:param _ClusterTopology: 集群版的节点拓扑配置。Nodeld信息可通过 [DescribeClusterInfo](https://cloud.tencent.com/document/api/236/105116) 接口获取。
|
19672
19666
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
19673
19667
|
"""
|
19674
19668
|
self._InstanceId = None
|
@@ -19687,7 +19681,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19687
19681
|
|
19688
19682
|
@property
|
19689
19683
|
def InstanceId(self):
|
19690
|
-
"""实例 ID
|
19684
|
+
"""实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
19691
19685
|
:rtype: str
|
19692
19686
|
"""
|
19693
19687
|
return self._InstanceId
|
@@ -19698,7 +19692,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19698
19692
|
|
19699
19693
|
@property
|
19700
19694
|
def DstCpu(self):
|
19701
|
-
"""目标实例 CPU
|
19695
|
+
"""目标实例 CPU 的核数。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的 CPU 值范围。
|
19702
19696
|
:rtype: float
|
19703
19697
|
"""
|
19704
19698
|
return self._DstCpu
|
@@ -19709,7 +19703,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19709
19703
|
|
19710
19704
|
@property
|
19711
19705
|
def DstMemory(self):
|
19712
|
-
"""目标实例内存大小,单位:MB
|
19706
|
+
"""目标实例内存大小,单位:MB。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的内存大小范围。
|
19713
19707
|
:rtype: int
|
19714
19708
|
"""
|
19715
19709
|
return self._DstMemory
|
@@ -19720,7 +19714,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19720
19714
|
|
19721
19715
|
@property
|
19722
19716
|
def DstDisk(self):
|
19723
|
-
"""目标实例磁盘大小,单位:GB
|
19717
|
+
"""目标实例磁盘大小,单位:GB。为保证传入值有效,请使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取实例可售卖的磁盘大小范围。
|
19724
19718
|
:rtype: int
|
19725
19719
|
"""
|
19726
19720
|
return self._DstDisk
|
@@ -19731,7 +19725,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19731
19725
|
|
19732
19726
|
@property
|
19733
19727
|
def DstVersion(self):
|
19734
|
-
"""
|
19728
|
+
"""目标实例数据库版本。可选值:5.6,5.7,8.0。
|
19735
19729
|
:rtype: str
|
19736
19730
|
"""
|
19737
19731
|
return self._DstVersion
|
@@ -19742,7 +19736,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19742
19736
|
|
19743
19737
|
@property
|
19744
19738
|
def DstDeployMode(self):
|
19745
|
-
"""
|
19739
|
+
"""目标实例部署模型。默认为0,支持值包括:0 - 表示单可用区,1 - 表示多可用区。
|
19746
19740
|
:rtype: int
|
19747
19741
|
"""
|
19748
19742
|
return self._DstDeployMode
|
@@ -19753,7 +19747,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19753
19747
|
|
19754
19748
|
@property
|
19755
19749
|
def DstProtectMode(self):
|
19756
|
-
"""
|
19750
|
+
"""目标实例复制类型,支持值包括:0 - 表示异步复制,1 - 表示半同步复制,2 - 表示强同步复制。
|
19757
19751
|
:rtype: int
|
19758
19752
|
"""
|
19759
19753
|
return self._DstProtectMode
|
@@ -19764,7 +19758,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19764
19758
|
|
19765
19759
|
@property
|
19766
19760
|
def DstSlaveZone(self):
|
19767
|
-
"""目标实例备机1
|
19761
|
+
"""目标实例备机1可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19768
19762
|
:rtype: int
|
19769
19763
|
"""
|
19770
19764
|
return self._DstSlaveZone
|
@@ -19775,7 +19769,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19775
19769
|
|
19776
19770
|
@property
|
19777
19771
|
def DstBackupZone(self):
|
19778
|
-
"""目标实例备机2
|
19772
|
+
"""目标实例备机2可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19779
19773
|
:rtype: int
|
19780
19774
|
"""
|
19781
19775
|
return self._DstBackupZone
|
@@ -19786,7 +19780,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19786
19780
|
|
19787
19781
|
@property
|
19788
19782
|
def DstCdbType(self):
|
19789
|
-
"""
|
19783
|
+
"""目标实例类型。支持值包括:"CUSTOM" - 通用型实例,"EXCLUSIVE" - 独享型实例,"ONTKE" - ONTKE 单节点实例,"CLOUD_NATIVE_CLUSTER" - 云盘版标准型,"CLOUD_NATIVE_CLUSTER_EXCLUSIVE" - 云盘版加强型。
|
19790
19784
|
:rtype: str
|
19791
19785
|
"""
|
19792
19786
|
return self._DstCdbType
|
@@ -19797,7 +19791,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19797
19791
|
|
19798
19792
|
@property
|
19799
19793
|
def DstZoneId(self):
|
19800
|
-
"""
|
19794
|
+
"""目标实例主可用区 ID。可使用 [DescribeCdbZoneConfig](https://cloud.tencent.com/document/product/236/80281) 获取可用区 ID。
|
19801
19795
|
:rtype: int
|
19802
19796
|
"""
|
19803
19797
|
return self._DstZoneId
|
@@ -19819,7 +19813,7 @@ class DescribeInstanceUpgradeTypeRequest(AbstractModel):
|
|
19819
19813
|
|
19820
19814
|
@property
|
19821
19815
|
def ClusterTopology(self):
|
19822
|
-
"""
|
19816
|
+
"""集群版的节点拓扑配置。Nodeld信息可通过 [DescribeClusterInfo](https://cloud.tencent.com/document/api/236/105116) 接口获取。
|
19823
19817
|
:rtype: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
19824
19818
|
"""
|
19825
19819
|
return self._ClusterTopology
|
@@ -19866,7 +19860,7 @@ class DescribeInstanceUpgradeTypeResponse(AbstractModel):
|
|
19866
19860
|
r"""
|
19867
19861
|
:param _InstanceId: 实例 ID。
|
19868
19862
|
:type InstanceId: str
|
19869
|
-
:param _UpgradeType: 实例升级类型。
|
19863
|
+
:param _UpgradeType: 实例升级类型。Trsf - 迁移升级,InPlace - 原地升级,Topology - 架构升级。
|
19870
19864
|
:type UpgradeType: str
|
19871
19865
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19872
19866
|
:type RequestId: str
|
@@ -19888,7 +19882,7 @@ class DescribeInstanceUpgradeTypeResponse(AbstractModel):
|
|
19888
19882
|
|
19889
19883
|
@property
|
19890
19884
|
def UpgradeType(self):
|
19891
|
-
"""实例升级类型。
|
19885
|
+
"""实例升级类型。Trsf - 迁移升级,InPlace - 原地升级,Topology - 架构升级。
|
19892
19886
|
:rtype: str
|
19893
19887
|
"""
|
19894
19888
|
return self._UpgradeType
|
@@ -23377,11 +23371,11 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
23377
23371
|
|
23378
23372
|
def __init__(self):
|
23379
23373
|
r"""
|
23380
|
-
:param _SecurityGroupId: 安全组 ID
|
23374
|
+
:param _SecurityGroupId: 安全组 ID。可通过 [DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/236/15854) 接口获取。
|
23381
23375
|
:type SecurityGroupId: str
|
23382
|
-
:param _InstanceIds: 实例 ID 列表,一个或者多个实例 ID
|
23376
|
+
:param _InstanceIds: 实例 ID 列表,一个或者多个实例 ID 组成的数组。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
23383
23377
|
:type InstanceIds: list of str
|
23384
|
-
:param _ForReadonlyInstance: 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID
|
23378
|
+
:param _ForReadonlyInstance: 当传入只读实例 ID 时,默认操作的是对应只读组的安全组。如果需要操作只读实例 ID 的安全组,需要将该入参置为 True,默认为 False。
|
23385
23379
|
:type ForReadonlyInstance: bool
|
23386
23380
|
"""
|
23387
23381
|
self._SecurityGroupId = None
|
@@ -23390,7 +23384,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
23390
23384
|
|
23391
23385
|
@property
|
23392
23386
|
def SecurityGroupId(self):
|
23393
|
-
"""安全组 ID
|
23387
|
+
"""安全组 ID。可通过 [DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/236/15854) 接口获取。
|
23394
23388
|
:rtype: str
|
23395
23389
|
"""
|
23396
23390
|
return self._SecurityGroupId
|
@@ -23401,7 +23395,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
23401
23395
|
|
23402
23396
|
@property
|
23403
23397
|
def InstanceIds(self):
|
23404
|
-
"""实例 ID 列表,一个或者多个实例 ID
|
23398
|
+
"""实例 ID 列表,一个或者多个实例 ID 组成的数组。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。
|
23405
23399
|
:rtype: list of str
|
23406
23400
|
"""
|
23407
23401
|
return self._InstanceIds
|
@@ -23412,7 +23406,7 @@ class DisassociateSecurityGroupsRequest(AbstractModel):
|
|
23412
23406
|
|
23413
23407
|
@property
|
23414
23408
|
def ForReadonlyInstance(self):
|
23415
|
-
"""当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID
|
23409
|
+
"""当传入只读实例 ID 时,默认操作的是对应只读组的安全组。如果需要操作只读实例 ID 的安全组,需要将该入参置为 True,默认为 False。
|
23416
23410
|
:rtype: bool
|
23417
23411
|
"""
|
23418
23412
|
return self._ForReadonlyInstance
|
@@ -24572,17 +24566,32 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24572
24566
|
:type AuditStatus: str
|
24573
24567
|
:param _AuditTask: 任务状态。0-无任务;1-审计开启中,2-审计关闭中。
|
24574
24568
|
:type AuditTask: int
|
24575
|
-
:param _LogExpireDay:
|
24569
|
+
:param _LogExpireDay: 日志保留时长。支持值包括:
|
24570
|
+
7 - 一周;
|
24571
|
+
30 - 一个月;
|
24572
|
+
90 - 三个月;
|
24573
|
+
180 - 六个月;
|
24574
|
+
365 - 一年;
|
24575
|
+
1095 - 三年;
|
24576
|
+
1825 - 五年。
|
24576
24577
|
:type LogExpireDay: int
|
24577
|
-
:param _HighLogExpireDay:
|
24578
|
+
:param _HighLogExpireDay: 高频存储时长。支持值包括:
|
24579
|
+
3 - 3天;
|
24580
|
+
7 - 一周;
|
24581
|
+
30 - 一个月;
|
24582
|
+
90 - 三个月;
|
24583
|
+
180 - 六个月;
|
24584
|
+
365 - 一年;
|
24585
|
+
1095 - 三年;
|
24586
|
+
1825 - 五年。
|
24578
24587
|
:type HighLogExpireDay: int
|
24579
|
-
:param _LowLogExpireDay:
|
24588
|
+
:param _LowLogExpireDay: 低频存储时长。单位:天,等于日志保存时长减去高频存储时长。
|
24580
24589
|
:type LowLogExpireDay: int
|
24581
|
-
:param _BillingAmount:
|
24590
|
+
:param _BillingAmount: 日志存储量(单位:GB)。
|
24582
24591
|
:type BillingAmount: float
|
24583
|
-
:param _HighRealStorage:
|
24592
|
+
:param _HighRealStorage: 高频存储量(单位:GB)。
|
24584
24593
|
:type HighRealStorage: float
|
24585
|
-
:param _LowRealStorage:
|
24594
|
+
:param _LowRealStorage: 低频存储量(单位:GB)。
|
24586
24595
|
:type LowRealStorage: float
|
24587
24596
|
:param _AuditAll: 是否为全审计。true-表示全审计。
|
24588
24597
|
:type AuditAll: bool
|
@@ -24590,7 +24599,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24590
24599
|
:type CreateAt: str
|
24591
24600
|
:param _InstanceInfo: 实例相关信息
|
24592
24601
|
:type InstanceInfo: :class:`tencentcloud.cdb.v20170320.models.AuditInstanceInfo`
|
24593
|
-
:param _RealStorage:
|
24602
|
+
:param _RealStorage: 总存储量(单位:GB)。
|
24594
24603
|
:type RealStorage: float
|
24595
24604
|
:param _OldRule: 是否包含审计策略
|
24596
24605
|
:type OldRule: bool
|
@@ -24648,7 +24657,14 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24648
24657
|
|
24649
24658
|
@property
|
24650
24659
|
def LogExpireDay(self):
|
24651
|
-
"""
|
24660
|
+
"""日志保留时长。支持值包括:
|
24661
|
+
7 - 一周;
|
24662
|
+
30 - 一个月;
|
24663
|
+
90 - 三个月;
|
24664
|
+
180 - 六个月;
|
24665
|
+
365 - 一年;
|
24666
|
+
1095 - 三年;
|
24667
|
+
1825 - 五年。
|
24652
24668
|
:rtype: int
|
24653
24669
|
"""
|
24654
24670
|
return self._LogExpireDay
|
@@ -24659,7 +24675,15 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24659
24675
|
|
24660
24676
|
@property
|
24661
24677
|
def HighLogExpireDay(self):
|
24662
|
-
"""
|
24678
|
+
"""高频存储时长。支持值包括:
|
24679
|
+
3 - 3天;
|
24680
|
+
7 - 一周;
|
24681
|
+
30 - 一个月;
|
24682
|
+
90 - 三个月;
|
24683
|
+
180 - 六个月;
|
24684
|
+
365 - 一年;
|
24685
|
+
1095 - 三年;
|
24686
|
+
1825 - 五年。
|
24663
24687
|
:rtype: int
|
24664
24688
|
"""
|
24665
24689
|
return self._HighLogExpireDay
|
@@ -24670,7 +24694,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24670
24694
|
|
24671
24695
|
@property
|
24672
24696
|
def LowLogExpireDay(self):
|
24673
|
-
"""
|
24697
|
+
"""低频存储时长。单位:天,等于日志保存时长减去高频存储时长。
|
24674
24698
|
:rtype: int
|
24675
24699
|
"""
|
24676
24700
|
return self._LowLogExpireDay
|
@@ -24681,7 +24705,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24681
24705
|
|
24682
24706
|
@property
|
24683
24707
|
def BillingAmount(self):
|
24684
|
-
"""
|
24708
|
+
"""日志存储量(单位:GB)。
|
24685
24709
|
:rtype: float
|
24686
24710
|
"""
|
24687
24711
|
return self._BillingAmount
|
@@ -24692,7 +24716,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24692
24716
|
|
24693
24717
|
@property
|
24694
24718
|
def HighRealStorage(self):
|
24695
|
-
"""
|
24719
|
+
"""高频存储量(单位:GB)。
|
24696
24720
|
:rtype: float
|
24697
24721
|
"""
|
24698
24722
|
return self._HighRealStorage
|
@@ -24703,7 +24727,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24703
24727
|
|
24704
24728
|
@property
|
24705
24729
|
def LowRealStorage(self):
|
24706
|
-
"""
|
24730
|
+
"""低频存储量(单位:GB)。
|
24707
24731
|
:rtype: float
|
24708
24732
|
"""
|
24709
24733
|
return self._LowRealStorage
|
@@ -24747,7 +24771,7 @@ class InstanceDbAuditStatus(AbstractModel):
|
|
24747
24771
|
|
24748
24772
|
@property
|
24749
24773
|
def RealStorage(self):
|
24750
|
-
"""
|
24774
|
+
"""总存储量(单位:GB)。
|
24751
24775
|
:rtype: float
|
24752
24776
|
"""
|
24753
24777
|
return self._RealStorage
|
@@ -26549,9 +26573,9 @@ class ModifyAccountDescriptionRequest(AbstractModel):
|
|
26549
26573
|
r"""
|
26550
26574
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
26551
26575
|
:type InstanceId: str
|
26552
|
-
:param _Accounts:
|
26576
|
+
:param _Accounts: 云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
26553
26577
|
:type Accounts: list of Account
|
26554
|
-
:param _Description:
|
26578
|
+
:param _Description: 数据库账号的备注信息。最多支持输入255个字符。
|
26555
26579
|
:type Description: str
|
26556
26580
|
"""
|
26557
26581
|
self._InstanceId = None
|
@@ -26571,7 +26595,7 @@ class ModifyAccountDescriptionRequest(AbstractModel):
|
|
26571
26595
|
|
26572
26596
|
@property
|
26573
26597
|
def Accounts(self):
|
26574
|
-
"""
|
26598
|
+
"""云数据库账号。可通过 [DescribeAccounts](https://cloud.tencent.com/document/api/236/17499) 接口获取。
|
26575
26599
|
:rtype: list of Account
|
26576
26600
|
"""
|
26577
26601
|
return self._Accounts
|
@@ -26582,7 +26606,7 @@ class ModifyAccountDescriptionRequest(AbstractModel):
|
|
26582
26606
|
|
26583
26607
|
@property
|
26584
26608
|
def Description(self):
|
26585
|
-
"""
|
26609
|
+
"""数据库账号的备注信息。最多支持输入255个字符。
|
26586
26610
|
:rtype: str
|
26587
26611
|
"""
|
26588
26612
|
return self._Description
|
@@ -29244,12 +29268,12 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
29244
29268
|
r"""
|
29245
29269
|
:param _InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
29246
29270
|
:type InstanceId: str
|
29247
|
-
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID
|
29271
|
+
:param _SecurityGroupIds: 要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。可通过 [DescribeDBSecurityGroups](hhttps://cloud.tencent.com/document/api/236/15854) 接口获取。输入的安全组 ID 数组无长度限制。
|
29248
29272
|
注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
29249
29273
|
:type SecurityGroupIds: list of str
|
29250
|
-
:param _ForReadonlyInstance: 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
|
29274
|
+
:param _ForReadonlyInstance: 当传入只读实例 ID 时,默认操作的是对应只读组的安全组。如果需要操作只读实例 ID 的安全组, 需要将该入参置为 True。默认为 False。
|
29251
29275
|
:type ForReadonlyInstance: bool
|
29252
|
-
:param _OpResourceId: 变更集群版实例只读组时,InstanceId传实例
|
29276
|
+
:param _OpResourceId: 变更集群版实例只读组时,InstanceId 传实例 ID,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
29253
29277
|
:type OpResourceId: str
|
29254
29278
|
"""
|
29255
29279
|
self._InstanceId = None
|
@@ -29270,7 +29294,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
29270
29294
|
|
29271
29295
|
@property
|
29272
29296
|
def SecurityGroupIds(self):
|
29273
|
-
"""要修改的安全组 ID 列表,一个或者多个安全组 ID
|
29297
|
+
"""要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。可通过 [DescribeDBSecurityGroups](hhttps://cloud.tencent.com/document/api/236/15854) 接口获取。输入的安全组 ID 数组无长度限制。
|
29274
29298
|
注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
29275
29299
|
:rtype: list of str
|
29276
29300
|
"""
|
@@ -29282,7 +29306,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
29282
29306
|
|
29283
29307
|
@property
|
29284
29308
|
def ForReadonlyInstance(self):
|
29285
|
-
"""当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
|
29309
|
+
"""当传入只读实例 ID 时,默认操作的是对应只读组的安全组。如果需要操作只读实例 ID 的安全组, 需要将该入参置为 True。默认为 False。
|
29286
29310
|
:rtype: bool
|
29287
29311
|
"""
|
29288
29312
|
return self._ForReadonlyInstance
|
@@ -29293,7 +29317,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
29293
29317
|
|
29294
29318
|
@property
|
29295
29319
|
def OpResourceId(self):
|
29296
|
-
"""变更集群版实例只读组时,InstanceId传实例
|
29320
|
+
"""变更集群版实例只读组时,InstanceId 传实例 ID,需要额外指定该参数表示操作只读组。 如果操作读写节点则不需指定该参数。
|
29297
29321
|
:rtype: str
|
29298
29322
|
"""
|
29299
29323
|
return self._OpResourceId
|
@@ -32469,9 +32493,9 @@ class ProxyGroupInfo(AbstractModel):
|
|
32469
32493
|
:type ProxyVersion: str
|
32470
32494
|
:param _SupportUpgradeProxyVersion: 代理支持升级版本
|
32471
32495
|
:type SupportUpgradeProxyVersion: str
|
32472
|
-
:param _Status:
|
32496
|
+
:param _Status: 代理状态。0 - 初始化中,1 - 在线中,2 - 在线中-读写分离中,3 - 下线,4 - 销毁。
|
32473
32497
|
:type Status: str
|
32474
|
-
:param _TaskStatus:
|
32498
|
+
:param _TaskStatus: 代理任务状态,Upgrading - 升级中,UpgradeTo - 升级待切换,UpgradeSwitching - 升级切换中,ProxyCreateAddress - 配置地址中,ProxyModifyAddress - 修改地址中,ProxyCloseAddress - 关闭地址中。
|
32475
32499
|
:type TaskStatus: str
|
32476
32500
|
:param _ProxyNode: 代理组节点信息
|
32477
32501
|
:type ProxyNode: list of ProxyNode
|
@@ -32530,7 +32554,7 @@ class ProxyGroupInfo(AbstractModel):
|
|
32530
32554
|
|
32531
32555
|
@property
|
32532
32556
|
def Status(self):
|
32533
|
-
"""
|
32557
|
+
"""代理状态。0 - 初始化中,1 - 在线中,2 - 在线中-读写分离中,3 - 下线,4 - 销毁。
|
32534
32558
|
:rtype: str
|
32535
32559
|
"""
|
32536
32560
|
return self._Status
|
@@ -32541,7 +32565,7 @@ class ProxyGroupInfo(AbstractModel):
|
|
32541
32565
|
|
32542
32566
|
@property
|
32543
32567
|
def TaskStatus(self):
|
32544
|
-
"""
|
32568
|
+
"""代理任务状态,Upgrading - 升级中,UpgradeTo - 升级待切换,UpgradeSwitching - 升级切换中,ProxyCreateAddress - 配置地址中,ProxyModifyAddress - 修改地址中,ProxyCloseAddress - 关闭地址中。
|
32545
32569
|
:rtype: str
|
32546
32570
|
"""
|
32547
32571
|
return self._TaskStatus
|
@@ -33299,9 +33323,9 @@ class ReloadBalanceProxyNodeRequest(AbstractModel):
|
|
33299
33323
|
|
33300
33324
|
def __init__(self):
|
33301
33325
|
r"""
|
33302
|
-
:param _ProxyGroupId: 代理组ID
|
33326
|
+
:param _ProxyGroupId: 代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
33303
33327
|
:type ProxyGroupId: str
|
33304
|
-
:param _ProxyAddressId: 代理组地址ID
|
33328
|
+
:param _ProxyAddressId: 代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。如果不传则会对所有代理组地址进行负载均衡。
|
33305
33329
|
:type ProxyAddressId: str
|
33306
33330
|
"""
|
33307
33331
|
self._ProxyGroupId = None
|
@@ -33309,7 +33333,7 @@ class ReloadBalanceProxyNodeRequest(AbstractModel):
|
|
33309
33333
|
|
33310
33334
|
@property
|
33311
33335
|
def ProxyGroupId(self):
|
33312
|
-
"""代理组ID
|
33336
|
+
"""代理组 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。
|
33313
33337
|
:rtype: str
|
33314
33338
|
"""
|
33315
33339
|
return self._ProxyGroupId
|
@@ -33320,7 +33344,7 @@ class ReloadBalanceProxyNodeRequest(AbstractModel):
|
|
33320
33344
|
|
33321
33345
|
@property
|
33322
33346
|
def ProxyAddressId(self):
|
33323
|
-
"""代理组地址ID
|
33347
|
+
"""代理组地址 ID。可通过 [DescribeCdbProxyInfo](https://cloud.tencent.com/document/api/236/90585) 接口获取。如果不传则会对所有代理组地址进行负载均衡。
|
33324
33348
|
:rtype: str
|
33325
33349
|
"""
|
33326
33350
|
return self._ProxyAddressId
|
@@ -37883,7 +37907,7 @@ class TaskDetail(AbstractModel):
|
|
37883
37907
|
|
37884
37908
|
def __init__(self):
|
37885
37909
|
r"""
|
37886
|
-
:param _Code: 错误码。
|
37910
|
+
:param _Code: 错误码。0代表成功,其他对应不同的报错场景。
|
37887
37911
|
:type Code: int
|
37888
37912
|
:param _Message: 错误信息。
|
37889
37913
|
:type Message: str
|
@@ -37941,7 +37965,7 @@ class TaskDetail(AbstractModel):
|
|
37941
37965
|
|
37942
37966
|
@property
|
37943
37967
|
def Code(self):
|
37944
|
-
"""错误码。
|
37968
|
+
"""错误码。0代表成功,其他对应不同的报错场景。
|
37945
37969
|
:rtype: int
|
37946
37970
|
"""
|
37947
37971
|
return self._Code
|