tencentcloud-sdk-python 3.0.1236__py2.py3-none-any.whl → 3.0.1241__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 +34 -21
- tencentcloud/aiart/v20221229/models.py +6 -6
- tencentcloud/apigateway/v20180808/apigateway_client.py +23 -0
- tencentcloud/apigateway/v20180808/models.py +31 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -3
- tencentcloud/ca/__init__.py +0 -0
- tencentcloud/ca/v20230228/__init__.py +0 -0
- tencentcloud/ca/v20230228/ca_client.py +95 -0
- tencentcloud/ca/v20230228/errorcodes.py +30 -0
- tencentcloud/ca/v20230228/models.py +398 -0
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/models.py +331 -0
- tencentcloud/cdn/v20180606/models.py +32 -0
- tencentcloud/clb/v20180317/models.py +25 -1
- tencentcloud/cme/v20191029/models.py +12 -0
- tencentcloud/cvm/v20170312/models.py +14 -0
- tencentcloud/cwp/v20180228/cwp_client.py +3 -1
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +6 -31
- tencentcloud/cynosdb/v20190107/models.py +1 -131
- tencentcloud/dasb/v20191018/models.py +37 -0
- tencentcloud/dts/v20211206/models.py +16 -16
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/models.py +467 -3
- tencentcloud/ess/v20201111/ess_client.py +19 -12
- tencentcloud/ess/v20201111/models.py +58 -22
- tencentcloud/essbasic/v20210526/essbasic_client.py +11 -9
- tencentcloud/essbasic/v20210526/models.py +46 -4
- tencentcloud/faceid/v20180301/models.py +28 -0
- tencentcloud/hunyuan/v20230901/models.py +1 -0
- tencentcloud/iecp/v20210914/iecp_client.py +0 -500
- tencentcloud/iecp/v20210914/models.py +2130 -5305
- tencentcloud/ims/v20201229/ims_client.py +8 -3
- tencentcloud/ims/v20201229/models.py +2 -2
- tencentcloud/lcic/v20220817/models.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +0 -132
- tencentcloud/monitor/v20180724/monitor_client.py +0 -50
- tencentcloud/ocr/v20181119/models.py +21 -0
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/omics/v20221128/models.py +245 -29
- tencentcloud/organization/v20210331/errorcodes.py +54 -0
- tencentcloud/organization/v20210331/models.py +483 -3
- tencentcloud/organization/v20210331/organization_client.py +46 -0
- tencentcloud/postgres/v20170312/models.py +626 -13
- tencentcloud/postgres/v20170312/postgres_client.py +69 -0
- tencentcloud/rce/v20201103/models.py +33 -22
- tencentcloud/redis/v20180412/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +65 -0
- tencentcloud/sms/v20190711/models.py +3 -3
- tencentcloud/sms/v20210111/models.py +9 -8
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tcb/v20180608/models.py +25 -0
- tencentcloud/tcss/v20201101/models.py +257 -0
- tencentcloud/teo/v20220901/models.py +89 -7
- tencentcloud/tke/v20180525/models.py +1 -1
- tencentcloud/tke/v20220501/models.py +1 -1
- tencentcloud/tse/v20201207/models.py +26 -0
- tencentcloud/tsf/v20180326/models.py +0 -58
- tencentcloud/tsf/v20180326/tsf_client.py +0 -25
- tencentcloud/tts/v20190823/tts_client.py +4 -1
- tencentcloud/vod/v20180717/vod_client.py +9 -1
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +2107 -176
- tencentcloud/vpc/v20170312/vpc_client.py +506 -0
- tencentcloud/wedata/v20210820/models.py +18 -0
- {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/RECORD +71 -66
- {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1236.dist-info → tencentcloud_sdk_python-3.0.1241.dist-info}/top_level.txt +0 -0
@@ -16094,136 +16094,6 @@ class DescribeRollbackTimeRangeResponse(AbstractModel):
|
|
16094
16094
|
self._RequestId = params.get("RequestId")
|
16095
16095
|
|
16096
16096
|
|
16097
|
-
class DescribeRollbackTimeValidityRequest(AbstractModel):
|
16098
|
-
"""DescribeRollbackTimeValidity请求参数结构体
|
16099
|
-
|
16100
|
-
"""
|
16101
|
-
|
16102
|
-
def __init__(self):
|
16103
|
-
r"""
|
16104
|
-
:param _ClusterId: 集群ID
|
16105
|
-
:type ClusterId: str
|
16106
|
-
:param _ExpectTime: 期望回滚的时间点
|
16107
|
-
:type ExpectTime: str
|
16108
|
-
:param _ExpectTimeThresh: 回滚时间点的允许误差范围
|
16109
|
-
:type ExpectTimeThresh: int
|
16110
|
-
"""
|
16111
|
-
self._ClusterId = None
|
16112
|
-
self._ExpectTime = None
|
16113
|
-
self._ExpectTimeThresh = None
|
16114
|
-
|
16115
|
-
@property
|
16116
|
-
def ClusterId(self):
|
16117
|
-
return self._ClusterId
|
16118
|
-
|
16119
|
-
@ClusterId.setter
|
16120
|
-
def ClusterId(self, ClusterId):
|
16121
|
-
self._ClusterId = ClusterId
|
16122
|
-
|
16123
|
-
@property
|
16124
|
-
def ExpectTime(self):
|
16125
|
-
return self._ExpectTime
|
16126
|
-
|
16127
|
-
@ExpectTime.setter
|
16128
|
-
def ExpectTime(self, ExpectTime):
|
16129
|
-
self._ExpectTime = ExpectTime
|
16130
|
-
|
16131
|
-
@property
|
16132
|
-
def ExpectTimeThresh(self):
|
16133
|
-
return self._ExpectTimeThresh
|
16134
|
-
|
16135
|
-
@ExpectTimeThresh.setter
|
16136
|
-
def ExpectTimeThresh(self, ExpectTimeThresh):
|
16137
|
-
self._ExpectTimeThresh = ExpectTimeThresh
|
16138
|
-
|
16139
|
-
|
16140
|
-
def _deserialize(self, params):
|
16141
|
-
self._ClusterId = params.get("ClusterId")
|
16142
|
-
self._ExpectTime = params.get("ExpectTime")
|
16143
|
-
self._ExpectTimeThresh = params.get("ExpectTimeThresh")
|
16144
|
-
memeber_set = set(params.keys())
|
16145
|
-
for name, value in vars(self).items():
|
16146
|
-
property_name = name[1:]
|
16147
|
-
if property_name in memeber_set:
|
16148
|
-
memeber_set.remove(property_name)
|
16149
|
-
if len(memeber_set) > 0:
|
16150
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16151
|
-
|
16152
|
-
|
16153
|
-
|
16154
|
-
class DescribeRollbackTimeValidityResponse(AbstractModel):
|
16155
|
-
"""DescribeRollbackTimeValidity返回参数结构体
|
16156
|
-
|
16157
|
-
"""
|
16158
|
-
|
16159
|
-
def __init__(self):
|
16160
|
-
r"""
|
16161
|
-
:param _PoolId: 存储poolID
|
16162
|
-
:type PoolId: int
|
16163
|
-
:param _QueryId: 回滚任务ID,后续按该时间点回滚时,需要传入
|
16164
|
-
:type QueryId: int
|
16165
|
-
:param _Status: 时间点是否有效:pass,检测通过;fail,检测失败
|
16166
|
-
:type Status: str
|
16167
|
-
:param _SuggestTime: 建议时间点,在Status为fail时,该值才有效
|
16168
|
-
:type SuggestTime: str
|
16169
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
16170
|
-
:type RequestId: str
|
16171
|
-
"""
|
16172
|
-
self._PoolId = None
|
16173
|
-
self._QueryId = None
|
16174
|
-
self._Status = None
|
16175
|
-
self._SuggestTime = None
|
16176
|
-
self._RequestId = None
|
16177
|
-
|
16178
|
-
@property
|
16179
|
-
def PoolId(self):
|
16180
|
-
return self._PoolId
|
16181
|
-
|
16182
|
-
@PoolId.setter
|
16183
|
-
def PoolId(self, PoolId):
|
16184
|
-
self._PoolId = PoolId
|
16185
|
-
|
16186
|
-
@property
|
16187
|
-
def QueryId(self):
|
16188
|
-
return self._QueryId
|
16189
|
-
|
16190
|
-
@QueryId.setter
|
16191
|
-
def QueryId(self, QueryId):
|
16192
|
-
self._QueryId = QueryId
|
16193
|
-
|
16194
|
-
@property
|
16195
|
-
def Status(self):
|
16196
|
-
return self._Status
|
16197
|
-
|
16198
|
-
@Status.setter
|
16199
|
-
def Status(self, Status):
|
16200
|
-
self._Status = Status
|
16201
|
-
|
16202
|
-
@property
|
16203
|
-
def SuggestTime(self):
|
16204
|
-
return self._SuggestTime
|
16205
|
-
|
16206
|
-
@SuggestTime.setter
|
16207
|
-
def SuggestTime(self, SuggestTime):
|
16208
|
-
self._SuggestTime = SuggestTime
|
16209
|
-
|
16210
|
-
@property
|
16211
|
-
def RequestId(self):
|
16212
|
-
return self._RequestId
|
16213
|
-
|
16214
|
-
@RequestId.setter
|
16215
|
-
def RequestId(self, RequestId):
|
16216
|
-
self._RequestId = RequestId
|
16217
|
-
|
16218
|
-
|
16219
|
-
def _deserialize(self, params):
|
16220
|
-
self._PoolId = params.get("PoolId")
|
16221
|
-
self._QueryId = params.get("QueryId")
|
16222
|
-
self._Status = params.get("Status")
|
16223
|
-
self._SuggestTime = params.get("SuggestTime")
|
16224
|
-
self._RequestId = params.get("RequestId")
|
16225
|
-
|
16226
|
-
|
16227
16097
|
class DescribeServerlessStrategyRequest(AbstractModel):
|
16228
16098
|
"""DescribeServerlessStrategy请求参数结构体
|
16229
16099
|
|
@@ -21186,7 +21056,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
21186
21056
|
|
21187
21057
|
def __init__(self):
|
21188
21058
|
r"""
|
21189
|
-
:param _InstanceId:
|
21059
|
+
:param _InstanceId: 网络组id(cynosdbmysql-grp-前缀开头)或集群id
|
21190
21060
|
:type InstanceId: str
|
21191
21061
|
:param _SecurityGroupIds: 要修改的安全组ID列表,一个或者多个安全组ID组成的数组。
|
21192
21062
|
:type SecurityGroupIds: list of str
|
@@ -151,6 +151,9 @@ class Acl(AbstractModel):
|
|
151
151
|
:param _WhiteCmds: 关联的白命令命令
|
152
152
|
注意:此字段可能返回 null,表示取不到有效值。
|
153
153
|
:type WhiteCmds: list of str
|
154
|
+
:param _AllowKeyboardLogger: 是否允许记录键盘
|
155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
156
|
+
:type AllowKeyboardLogger: bool
|
154
157
|
"""
|
155
158
|
self._Id = None
|
156
159
|
self._Name = None
|
@@ -182,6 +185,7 @@ class Acl(AbstractModel):
|
|
182
185
|
self._AllowAccessCredential = None
|
183
186
|
self._ACTemplateSet = None
|
184
187
|
self._WhiteCmds = None
|
188
|
+
self._AllowKeyboardLogger = None
|
185
189
|
|
186
190
|
@property
|
187
191
|
def Id(self):
|
@@ -423,6 +427,14 @@ class Acl(AbstractModel):
|
|
423
427
|
def WhiteCmds(self, WhiteCmds):
|
424
428
|
self._WhiteCmds = WhiteCmds
|
425
429
|
|
430
|
+
@property
|
431
|
+
def AllowKeyboardLogger(self):
|
432
|
+
return self._AllowKeyboardLogger
|
433
|
+
|
434
|
+
@AllowKeyboardLogger.setter
|
435
|
+
def AllowKeyboardLogger(self, AllowKeyboardLogger):
|
436
|
+
self._AllowKeyboardLogger = AllowKeyboardLogger
|
437
|
+
|
426
438
|
|
427
439
|
def _deserialize(self, params):
|
428
440
|
self._Id = params.get("Id")
|
@@ -487,6 +499,7 @@ class Acl(AbstractModel):
|
|
487
499
|
obj._deserialize(item)
|
488
500
|
self._ACTemplateSet.append(obj)
|
489
501
|
self._WhiteCmds = params.get("WhiteCmds")
|
502
|
+
self._AllowKeyboardLogger = params.get("AllowKeyboardLogger")
|
490
503
|
memeber_set = set(params.keys())
|
491
504
|
for name, value in vars(self).items():
|
492
505
|
property_name = name[1:]
|
@@ -1839,6 +1852,8 @@ class CreateAclRequest(AbstractModel):
|
|
1839
1852
|
:type DepartmentId: str
|
1840
1853
|
:param _AllowAccessCredential: 是否允许使用访问串,默认允许
|
1841
1854
|
:type AllowAccessCredential: bool
|
1855
|
+
:param _AllowKeyboardLogger: 是否允许记录键盘
|
1856
|
+
:type AllowKeyboardLogger: bool
|
1842
1857
|
"""
|
1843
1858
|
self._Name = None
|
1844
1859
|
self._AllowDiskRedirect = None
|
@@ -1867,6 +1882,7 @@ class CreateAclRequest(AbstractModel):
|
|
1867
1882
|
self._ValidateTo = None
|
1868
1883
|
self._DepartmentId = None
|
1869
1884
|
self._AllowAccessCredential = None
|
1885
|
+
self._AllowKeyboardLogger = None
|
1870
1886
|
|
1871
1887
|
@property
|
1872
1888
|
def Name(self):
|
@@ -2084,6 +2100,14 @@ class CreateAclRequest(AbstractModel):
|
|
2084
2100
|
def AllowAccessCredential(self, AllowAccessCredential):
|
2085
2101
|
self._AllowAccessCredential = AllowAccessCredential
|
2086
2102
|
|
2103
|
+
@property
|
2104
|
+
def AllowKeyboardLogger(self):
|
2105
|
+
return self._AllowKeyboardLogger
|
2106
|
+
|
2107
|
+
@AllowKeyboardLogger.setter
|
2108
|
+
def AllowKeyboardLogger(self, AllowKeyboardLogger):
|
2109
|
+
self._AllowKeyboardLogger = AllowKeyboardLogger
|
2110
|
+
|
2087
2111
|
|
2088
2112
|
def _deserialize(self, params):
|
2089
2113
|
self._Name = params.get("Name")
|
@@ -2113,6 +2137,7 @@ class CreateAclRequest(AbstractModel):
|
|
2113
2137
|
self._ValidateTo = params.get("ValidateTo")
|
2114
2138
|
self._DepartmentId = params.get("DepartmentId")
|
2115
2139
|
self._AllowAccessCredential = params.get("AllowAccessCredential")
|
2140
|
+
self._AllowKeyboardLogger = params.get("AllowKeyboardLogger")
|
2116
2141
|
memeber_set = set(params.keys())
|
2117
2142
|
for name, value in vars(self).items():
|
2118
2143
|
property_name = name[1:]
|
@@ -7544,6 +7569,8 @@ class ModifyAclRequest(AbstractModel):
|
|
7544
7569
|
:type DepartmentId: str
|
7545
7570
|
:param _AllowAccessCredential: 是否允许使用访问串
|
7546
7571
|
:type AllowAccessCredential: bool
|
7572
|
+
:param _AllowKeyboardLogger: 是否允许键盘记录
|
7573
|
+
:type AllowKeyboardLogger: bool
|
7547
7574
|
"""
|
7548
7575
|
self._Name = None
|
7549
7576
|
self._AllowDiskRedirect = None
|
@@ -7573,6 +7600,7 @@ class ModifyAclRequest(AbstractModel):
|
|
7573
7600
|
self._ValidateTo = None
|
7574
7601
|
self._DepartmentId = None
|
7575
7602
|
self._AllowAccessCredential = None
|
7603
|
+
self._AllowKeyboardLogger = None
|
7576
7604
|
|
7577
7605
|
@property
|
7578
7606
|
def Name(self):
|
@@ -7798,6 +7826,14 @@ class ModifyAclRequest(AbstractModel):
|
|
7798
7826
|
def AllowAccessCredential(self, AllowAccessCredential):
|
7799
7827
|
self._AllowAccessCredential = AllowAccessCredential
|
7800
7828
|
|
7829
|
+
@property
|
7830
|
+
def AllowKeyboardLogger(self):
|
7831
|
+
return self._AllowKeyboardLogger
|
7832
|
+
|
7833
|
+
@AllowKeyboardLogger.setter
|
7834
|
+
def AllowKeyboardLogger(self, AllowKeyboardLogger):
|
7835
|
+
self._AllowKeyboardLogger = AllowKeyboardLogger
|
7836
|
+
|
7801
7837
|
|
7802
7838
|
def _deserialize(self, params):
|
7803
7839
|
self._Name = params.get("Name")
|
@@ -7828,6 +7864,7 @@ class ModifyAclRequest(AbstractModel):
|
|
7828
7864
|
self._ValidateTo = params.get("ValidateTo")
|
7829
7865
|
self._DepartmentId = params.get("DepartmentId")
|
7830
7866
|
self._AllowAccessCredential = params.get("AllowAccessCredential")
|
7867
|
+
self._AllowKeyboardLogger = params.get("AllowKeyboardLogger")
|
7831
7868
|
memeber_set = set(params.keys())
|
7832
7869
|
for name, value in vars(self).items():
|
7833
7870
|
property_name = name[1:]
|
@@ -1545,15 +1545,15 @@ class ConfigureSyncJobRequest(AbstractModel):
|
|
1545
1545
|
:type ExpectRunTime: str
|
1546
1546
|
:param _SrcConnectType: 源端tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,SrcInfos中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
1547
1547
|
:type SrcConnectType: str
|
1548
|
-
:param _SrcInfo:
|
1548
|
+
:param _SrcInfo: 源端信息,单机版类型数据库配置使用,且SrcNodeType传single。例如mysql、percona、mariadb等。
|
1549
1549
|
:type SrcInfo: :class:`tencentcloud.dts.v20211206.models.Endpoint`
|
1550
|
-
:param _SrcInfos:
|
1550
|
+
:param _SrcInfos: 源端信息,分布式类型数据库配置使用,且SrcNodeType传cluster。例如分布式数据库tdsqlmysql等。
|
1551
1551
|
:type SrcInfos: :class:`tencentcloud.dts.v20211206.models.SyncDBEndpointInfos`
|
1552
1552
|
:param _SrcNodeType: 枚举值:cluster、single。源库为单节点数据库使用single,多节点使用cluster
|
1553
1553
|
:type SrcNodeType: str
|
1554
|
-
:param _DstInfo:
|
1554
|
+
:param _DstInfo: 目标端信息,单机版类型数据库配置使用,且SrcNodeType传single。例如mysql、percona、mariadb等。
|
1555
1555
|
:type DstInfo: :class:`tencentcloud.dts.v20211206.models.Endpoint`
|
1556
|
-
:param _DstInfos:
|
1556
|
+
:param _DstInfos: 目标端信息,分布式类型数据库配置使用,且SrcNodeType传cluster。例如分布式数据库tdsqlmysql等。
|
1557
1557
|
:type DstInfos: :class:`tencentcloud.dts.v20211206.models.SyncDBEndpointInfos`
|
1558
1558
|
:param _DstNodeType: 枚举值:cluster、single。目标库为单节点数据库使用single,多节点使用cluster
|
1559
1559
|
:type DstNodeType: str
|
@@ -3175,13 +3175,13 @@ class DBInfo(AbstractModel):
|
|
3175
3175
|
:param _AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源)
|
3176
3176
|
注意:此字段可能返回 null,表示取不到有效值。
|
3177
3177
|
:type AccountMode: str
|
3178
|
-
:param _TmpSecretId: 临时密钥Id
|
3178
|
+
:param _TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3179
3179
|
注意:此字段可能返回 null,表示取不到有效值。
|
3180
3180
|
:type TmpSecretId: str
|
3181
|
-
:param _TmpSecretKey: 临时密钥
|
3181
|
+
:param _TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3182
3182
|
注意:此字段可能返回 null,表示取不到有效值。
|
3183
3183
|
:type TmpSecretKey: str
|
3184
|
-
:param _TmpToken:
|
3184
|
+
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
3185
3185
|
注意:此字段可能返回 null,表示取不到有效值。
|
3186
3186
|
:type TmpToken: str
|
3187
3187
|
:param _SetId: tdsql的分片id。如节点类型为set必填。
|
@@ -4818,11 +4818,11 @@ class DescribeMigrateDBInstancesRequest(AbstractModel):
|
|
4818
4818
|
:type Offset: int
|
4819
4819
|
:param _AccountMode: 资源所属账号 为空值或self(表示本账号内资源)、other(表示其他账户资源)
|
4820
4820
|
:type AccountMode: str
|
4821
|
-
:param _TmpSecretId: 临时密钥Id
|
4821
|
+
:param _TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4822
4822
|
:type TmpSecretId: str
|
4823
|
-
:param _TmpSecretKey: 临时密钥
|
4823
|
+
:param _TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4824
4824
|
:type TmpSecretKey: str
|
4825
|
-
:param _TmpToken: 临时密钥
|
4825
|
+
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
4826
4826
|
:type TmpToken: str
|
4827
4827
|
"""
|
4828
4828
|
self._DatabaseType = None
|
@@ -8080,13 +8080,13 @@ class Endpoint(AbstractModel):
|
|
8080
8080
|
:param _RoleExternalId: 外部角色id
|
8081
8081
|
注意:此字段可能返回 null,表示取不到有效值。
|
8082
8082
|
:type RoleExternalId: str
|
8083
|
-
:param _TmpSecretId: 临时密钥Id
|
8083
|
+
:param _TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
8084
8084
|
注意:此字段可能返回 null,表示取不到有效值。
|
8085
8085
|
:type TmpSecretId: str
|
8086
|
-
:param _TmpSecretKey: 临时密钥
|
8086
|
+
:param _TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
8087
8087
|
注意:此字段可能返回 null,表示取不到有效值。
|
8088
8088
|
:type TmpSecretKey: str
|
8089
|
-
:param _TmpToken:
|
8089
|
+
:param _TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
8090
8090
|
注意:此字段可能返回 null,表示取不到有效值。
|
8091
8091
|
:type TmpToken: str
|
8092
8092
|
:param _EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
@@ -9801,13 +9801,13 @@ class MigrateOption(AbstractModel):
|
|
9801
9801
|
:param _DatabaseTable: 迁移对象选项,需要告知迁移服务迁移哪些库表对象
|
9802
9802
|
注意:此字段可能返回 null,表示取不到有效值。
|
9803
9803
|
:type DatabaseTable: :class:`tencentcloud.dts.v20211206.models.DatabaseTableObject`
|
9804
|
-
:param _MigrateType: 迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement
|
9804
|
+
:param _MigrateType: 迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。
|
9805
9805
|
注意:此字段可能返回 null,表示取不到有效值。
|
9806
9806
|
:type MigrateType: str
|
9807
9807
|
:param _Consistency: 数据一致性校验选项, 默认为不开启一致性校验
|
9808
9808
|
注意:此字段可能返回 null,表示取不到有效值。
|
9809
9809
|
:type Consistency: :class:`tencentcloud.dts.v20211206.models.ConsistencyOption`
|
9810
|
-
:param _IsMigrateAccount: 是否迁移账号,
|
9810
|
+
:param _IsMigrateAccount: 是否迁移账号,true(迁移账号),false(不迁移账号)
|
9811
9811
|
注意:此字段可能返回 null,表示取不到有效值。
|
9812
9812
|
:type IsMigrateAccount: bool
|
9813
9813
|
:param _IsOverrideRoot: 是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效
|
@@ -9817,7 +9817,7 @@ class MigrateOption(AbstractModel):
|
|
9817
9817
|
注意:此字段可能返回 null,表示取不到有效值。
|
9818
9818
|
:type IsDstReadOnly: bool
|
9819
9819
|
:param _ExtraAttr: 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:
|
9820
|
-
["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒)]
|
9820
|
+
["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]
|
9821
9821
|
注意:此字段可能返回 null,表示取不到有效值。
|
9822
9822
|
:type ExtraAttr: list of KeyValuePairOption
|
9823
9823
|
:param _MigrateWay: pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
@@ -397,6 +397,29 @@ class EmrClient(AbstractClient):
|
|
397
397
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
398
398
|
|
399
399
|
|
400
|
+
def DescribeGlobalConfig(self, request):
|
401
|
+
"""查询YARN资源调度的全局配置
|
402
|
+
|
403
|
+
:param request: Request instance for DescribeGlobalConfig.
|
404
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeGlobalConfigRequest`
|
405
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeGlobalConfigResponse`
|
406
|
+
|
407
|
+
"""
|
408
|
+
try:
|
409
|
+
params = request._serialize()
|
410
|
+
headers = request.headers
|
411
|
+
body = self.call("DescribeGlobalConfig", params, headers=headers)
|
412
|
+
response = json.loads(body)
|
413
|
+
model = models.DescribeGlobalConfigResponse()
|
414
|
+
model._deserialize(response["Response"])
|
415
|
+
return model
|
416
|
+
except Exception as e:
|
417
|
+
if isinstance(e, TencentCloudSDKException):
|
418
|
+
raise
|
419
|
+
else:
|
420
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
421
|
+
|
422
|
+
|
400
423
|
def DescribeHBaseTableOverview(self, request):
|
401
424
|
"""获取Hbase表级监控数据概览接口
|
402
425
|
|
@@ -974,6 +997,29 @@ class EmrClient(AbstractClient):
|
|
974
997
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
975
998
|
|
976
999
|
|
1000
|
+
def ModifyGlobalConfig(self, request):
|
1001
|
+
"""修改YARN资源调度的全局配置
|
1002
|
+
|
1003
|
+
:param request: Request instance for ModifyGlobalConfig.
|
1004
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyGlobalConfigRequest`
|
1005
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyGlobalConfigResponse`
|
1006
|
+
|
1007
|
+
"""
|
1008
|
+
try:
|
1009
|
+
params = request._serialize()
|
1010
|
+
headers = request.headers
|
1011
|
+
body = self.call("ModifyGlobalConfig", params, headers=headers)
|
1012
|
+
response = json.loads(body)
|
1013
|
+
model = models.ModifyGlobalConfigResponse()
|
1014
|
+
model._deserialize(response["Response"])
|
1015
|
+
return model
|
1016
|
+
except Exception as e:
|
1017
|
+
if isinstance(e, TencentCloudSDKException):
|
1018
|
+
raise
|
1019
|
+
else:
|
1020
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1021
|
+
|
1022
|
+
|
977
1023
|
def ModifyResourcePools(self, request):
|
978
1024
|
"""刷新YARN的动态资源池。已废弃,请使用`DeployYarnConf`
|
979
1025
|
|