tencentcloud-sdk-python 3.0.1226__py2.py3-none-any.whl → 3.0.1228__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/cfw/v20190904/cfw_client.py +0 -25
- tencentcloud/cfw/v20190904/models.py +0 -31
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- tencentcloud/cvm/v20170312/models.py +170 -0
- tencentcloud/cwp/v20180228/models.py +1 -1
- tencentcloud/dc/v20180410/dc_client.py +4 -4
- tencentcloud/dc/v20180410/models.py +6 -7
- tencentcloud/dcdb/v20180411/models.py +24 -0
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +142 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/emr/v20190103/emr_client.py +121 -6
- tencentcloud/emr/v20190103/models.py +1207 -38
- tencentcloud/es/v20180416/models.py +158 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +38 -3
- tencentcloud/ess/v20201111/models.py +273 -48
- tencentcloud/gme/v20180711/models.py +2 -2
- tencentcloud/mariadb/v20170312/models.py +25 -1
- tencentcloud/rce/v20201103/rce_client.py +2 -2
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/sms/v20210111/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +6 -4
- tencentcloud/trocket/v20230308/models.py +12 -0
- tencentcloud/trtc/v20190722/models.py +13 -0
- tencentcloud/tse/v20201207/models.py +24 -24
- tencentcloud/vclm/v20240523/models.py +18 -5
- tencentcloud/vclm/v20240523/vclm_client.py +53 -1
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/vtc/v20240223/models.py +19 -5
- tencentcloud/vtc/v20240223/vtc_client.py +53 -1
- {tencentcloud_sdk_python-3.0.1226.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1226.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1226.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1226.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1226.dist-info → tencentcloud_sdk_python-3.0.1228.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -716,31 +716,6 @@ class CfwClient(AbstractClient):
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
717
717
|
|
718
718
|
|
719
|
-
def DeleteVpcInstance(self, request):
|
720
|
-
"""接口废弃
|
721
|
-
|
722
|
-
删除防火墙实例
|
723
|
-
|
724
|
-
:param request: Request instance for DeleteVpcInstance.
|
725
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DeleteVpcInstanceRequest`
|
726
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DeleteVpcInstanceResponse`
|
727
|
-
|
728
|
-
"""
|
729
|
-
try:
|
730
|
-
params = request._serialize()
|
731
|
-
headers = request.headers
|
732
|
-
body = self.call("DeleteVpcInstance", params, headers=headers)
|
733
|
-
response = json.loads(body)
|
734
|
-
model = models.DeleteVpcInstanceResponse()
|
735
|
-
model._deserialize(response["Response"])
|
736
|
-
return model
|
737
|
-
except Exception as e:
|
738
|
-
if isinstance(e, TencentCloudSDKException):
|
739
|
-
raise
|
740
|
-
else:
|
741
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
742
|
-
|
743
|
-
|
744
719
|
def DescribeAcLists(self, request):
|
745
720
|
"""访问控制列表
|
746
721
|
|
@@ -5282,37 +5282,6 @@ class DeleteVpcFwGroupResponse(AbstractModel):
|
|
5282
5282
|
self._RequestId = params.get("RequestId")
|
5283
5283
|
|
5284
5284
|
|
5285
|
-
class DeleteVpcInstanceRequest(AbstractModel):
|
5286
|
-
"""DeleteVpcInstance请求参数结构体
|
5287
|
-
|
5288
|
-
"""
|
5289
|
-
|
5290
|
-
|
5291
|
-
class DeleteVpcInstanceResponse(AbstractModel):
|
5292
|
-
"""DeleteVpcInstance返回参数结构体
|
5293
|
-
|
5294
|
-
"""
|
5295
|
-
|
5296
|
-
def __init__(self):
|
5297
|
-
r"""
|
5298
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5299
|
-
:type RequestId: str
|
5300
|
-
"""
|
5301
|
-
self._RequestId = None
|
5302
|
-
|
5303
|
-
@property
|
5304
|
-
def RequestId(self):
|
5305
|
-
return self._RequestId
|
5306
|
-
|
5307
|
-
@RequestId.setter
|
5308
|
-
def RequestId(self, RequestId):
|
5309
|
-
self._RequestId = RequestId
|
5310
|
-
|
5311
|
-
|
5312
|
-
def _deserialize(self, params):
|
5313
|
-
self._RequestId = params.get("RequestId")
|
5314
|
-
|
5315
|
-
|
5316
5285
|
class DescAcItem(AbstractModel):
|
5317
5286
|
"""访问控制列表对象
|
5318
5287
|
|
@@ -151,6 +151,29 @@ class CvmClient(AbstractClient):
|
|
151
151
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
152
152
|
|
153
153
|
|
154
|
+
def ConvertOperatingSystems(self, request):
|
155
|
+
"""本接口(ConvertOperatingSystem)用于转换实例的操作系统,仅支持源操作系统为 CentOS 7、CentOS 8 的实例。
|
156
|
+
|
157
|
+
:param request: Request instance for ConvertOperatingSystems.
|
158
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.ConvertOperatingSystemsRequest`
|
159
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.ConvertOperatingSystemsResponse`
|
160
|
+
|
161
|
+
"""
|
162
|
+
try:
|
163
|
+
params = request._serialize()
|
164
|
+
headers = request.headers
|
165
|
+
body = self.call("ConvertOperatingSystems", params, headers=headers)
|
166
|
+
response = json.loads(body)
|
167
|
+
model = models.ConvertOperatingSystemsResponse()
|
168
|
+
model._deserialize(response["Response"])
|
169
|
+
return model
|
170
|
+
except Exception as e:
|
171
|
+
if isinstance(e, TencentCloudSDKException):
|
172
|
+
raise
|
173
|
+
else:
|
174
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
175
|
+
|
176
|
+
|
154
177
|
def CreateDisasterRecoverGroup(self, request):
|
155
178
|
"""本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。
|
156
179
|
|
@@ -35,6 +35,9 @@ FAILEDOPERATION_BYOLIMAGESHAREFAILED = 'FailedOperation.BYOLImageShareFailed'
|
|
35
35
|
# 未找到指定的容灾组
|
36
36
|
FAILEDOPERATION_DISASTERRECOVERGROUPNOTFOUND = 'FailedOperation.DisasterRecoverGroupNotFound'
|
37
37
|
|
38
|
+
# 获取实例的自动化助手状态失败
|
39
|
+
FAILEDOPERATION_GETINSTANCETATAGENTSTATUSFAILED = 'FailedOperation.GetInstanceTATAgentStatusFailed'
|
40
|
+
|
38
41
|
# 标签键存在不合法字符
|
39
42
|
FAILEDOPERATION_ILLEGALTAGKEY = 'FailedOperation.IllegalTagKey'
|
40
43
|
|
@@ -221,6 +224,9 @@ INVALIDPARAMETER = 'InvalidParameter'
|
|
221
224
|
# 最多指定一个参数。
|
222
225
|
INVALIDPARAMETER_ATMOSTONE = 'InvalidParameter.AtMostOne'
|
223
226
|
|
227
|
+
# 不支持自动制作快照。
|
228
|
+
INVALIDPARAMETER_AUTOSNAPSHOTNOTSUPPORTED = 'InvalidParameter.AutoSnapshotNotSupported'
|
229
|
+
|
224
230
|
# 不支持参数CdcId。
|
225
231
|
INVALIDPARAMETER_CDCNOTSUPPORTED = 'InvalidParameter.CdcNotSupported'
|
226
232
|
|
@@ -281,6 +287,9 @@ INVALIDPARAMETER_INVALIDPARAMETERCOEXISTIMAGEIDSFILTERS = 'InvalidParameter.Inva
|
|
281
287
|
# 错误的url地址。
|
282
288
|
INVALIDPARAMETER_INVALIDPARAMETERURLERROR = 'InvalidParameter.InvalidParameterUrlError'
|
283
289
|
|
290
|
+
# 输入的 TargetOSType 非法
|
291
|
+
INVALIDPARAMETER_INVALIDTARGETOSTYPE = 'InvalidParameter.InvalidTargetOSType'
|
292
|
+
|
284
293
|
# CoreCount和ThreadPerCore必须同时提供。
|
285
294
|
INVALIDPARAMETER_LACKCORECOUNTORTHREADPERCORE = 'InvalidParameter.LackCoreCountOrThreadPerCore'
|
286
295
|
|
@@ -890,6 +899,9 @@ UNSUPPORTEDOPERATION_INSTANCEMIXEDPRICINGMODEL = 'UnsupportedOperation.InstanceM
|
|
890
899
|
# 中心可用区和边缘可用区实例不能混用批量操作。
|
891
900
|
UNSUPPORTEDOPERATION_INSTANCEMIXEDZONETYPE = 'UnsupportedOperation.InstanceMixedZoneType'
|
892
901
|
|
902
|
+
# 指定实例不支持操作系统转换。
|
903
|
+
UNSUPPORTEDOPERATION_INSTANCEOSCONVERTOSNOTSUPPORT = 'UnsupportedOperation.InstanceOsConvertOsNotSupport'
|
904
|
+
|
893
905
|
# 请求不支持操作系统为`Xserver windows2012cndatacenterx86_64`的实例`ins-xxxxxx` 。
|
894
906
|
UNSUPPORTEDOPERATION_INSTANCEOSWINDOWS = 'UnsupportedOperation.InstanceOsWindows'
|
895
907
|
|
@@ -923,6 +935,9 @@ UNSUPPORTEDOPERATION_INSTANCESTATEISOLATING = 'UnsupportedOperation.InstanceStat
|
|
923
935
|
# 不支持操作创建失败的实例。
|
924
936
|
UNSUPPORTEDOPERATION_INSTANCESTATELAUNCHFAILED = 'UnsupportedOperation.InstanceStateLaunchFailed'
|
925
937
|
|
938
|
+
# 指定操作不支持非运行中状态的实例。
|
939
|
+
UNSUPPORTEDOPERATION_INSTANCESTATENOTRUNNING = 'UnsupportedOperation.InstanceStateNotRunning'
|
940
|
+
|
926
941
|
# 请求不支持创建未完成的实例
|
927
942
|
UNSUPPORTEDOPERATION_INSTANCESTATEPENDING = 'UnsupportedOperation.InstanceStatePending'
|
928
943
|
|
@@ -1013,6 +1028,9 @@ UNSUPPORTEDOPERATION_LOCALDISKMIGRATINGTOCLOUDDISK = 'UnsupportedOperation.Local
|
|
1013
1028
|
# 此请求不支持该区域镜像,请更换其他镜像。
|
1014
1029
|
UNSUPPORTEDOPERATION_LOCATIONIMAGENOTSUPPORTED = 'UnsupportedOperation.LocationImageNotSupported'
|
1015
1030
|
|
1031
|
+
# 市场镜像实例不支持操作系统转换
|
1032
|
+
UNSUPPORTEDOPERATION_MARKETIMAGECONVERTOSUNSUPPORTED = 'UnsupportedOperation.MarketImageConvertOSUnsupported'
|
1033
|
+
|
1016
1034
|
# 从市场镜像创建的自定义镜像不支持导出。
|
1017
1035
|
UNSUPPORTEDOPERATION_MARKETIMAGEEXPORTUNSUPPORTED = 'UnsupportedOperation.MarketImageExportUnsupported'
|
1018
1036
|
|
@@ -1094,6 +1112,9 @@ UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGINGSAMEFAMILY = 'UnsupportedOperation.S
|
|
1094
1112
|
# 请求不支持该类型系统盘。
|
1095
1113
|
UNSUPPORTEDOPERATION_SYSTEMDISKTYPE = 'UnsupportedOperation.SystemDiskType'
|
1096
1114
|
|
1115
|
+
# 自动化助手不在线情况下,不支持该操作。
|
1116
|
+
UNSUPPORTEDOPERATION_TATAGENTNOTONLINE = 'UnsupportedOperation.TatAgentNotOnline'
|
1117
|
+
|
1097
1118
|
# 包月转包销,不支持包销折扣高于现有包年包月折扣。
|
1098
1119
|
UNSUPPORTEDOPERATION_UNDERWRITEDISCOUNTGREATERTHANPREPAIDDISCOUNT = 'UnsupportedOperation.UnderwriteDiscountGreaterThanPrepaidDiscount'
|
1099
1120
|
|
@@ -1118,6 +1139,9 @@ UNSUPPORTEDOPERATION_UNSUPPORTEDINTERNATIONALUSER = 'UnsupportedOperation.Unsupp
|
|
1118
1139
|
# 指定的Pool非法。
|
1119
1140
|
UNSUPPORTEDOPERATION_UNSUPPORTEDPOOL = 'UnsupportedOperation.UnsupportedPool'
|
1120
1141
|
|
1142
|
+
# 指定用户不支持执行操作系统转换。
|
1143
|
+
UNSUPPORTEDOPERATION_USERCONVERTOSNOTSUPPORT = 'UnsupportedOperation.UserConvertOsNotSupport'
|
1144
|
+
|
1121
1145
|
# 用户限额操作的配额不足。
|
1122
1146
|
UNSUPPORTEDOPERATION_USERLIMITOPERATIONEXCEEDQUOTA = 'UnsupportedOperation.UserLimitOperationExceedQuota'
|
1123
1147
|
|
@@ -1157,6 +1157,131 @@ class ConfigureChcDeployVpcResponse(AbstractModel):
|
|
1157
1157
|
self._RequestId = params.get("RequestId")
|
1158
1158
|
|
1159
1159
|
|
1160
|
+
class ConvertOperatingSystemsRequest(AbstractModel):
|
1161
|
+
"""ConvertOperatingSystems请求参数结构体
|
1162
|
+
|
1163
|
+
"""
|
1164
|
+
|
1165
|
+
def __init__(self):
|
1166
|
+
r"""
|
1167
|
+
:param _InstanceIds: 执行操作系统转换的实例 ID
|
1168
|
+
:type InstanceIds: list of str
|
1169
|
+
:param _MinimalConversion: 是否最小规模转换
|
1170
|
+
:type MinimalConversion: bool
|
1171
|
+
:param _DryRun: 是否只预检
|
1172
|
+
:type DryRun: bool
|
1173
|
+
:param _TargetOSType: 转换的目标操作系统类型。仅支持 TencentOS。
|
1174
|
+
:type TargetOSType: str
|
1175
|
+
"""
|
1176
|
+
self._InstanceIds = None
|
1177
|
+
self._MinimalConversion = None
|
1178
|
+
self._DryRun = None
|
1179
|
+
self._TargetOSType = None
|
1180
|
+
|
1181
|
+
@property
|
1182
|
+
def InstanceIds(self):
|
1183
|
+
return self._InstanceIds
|
1184
|
+
|
1185
|
+
@InstanceIds.setter
|
1186
|
+
def InstanceIds(self, InstanceIds):
|
1187
|
+
self._InstanceIds = InstanceIds
|
1188
|
+
|
1189
|
+
@property
|
1190
|
+
def MinimalConversion(self):
|
1191
|
+
return self._MinimalConversion
|
1192
|
+
|
1193
|
+
@MinimalConversion.setter
|
1194
|
+
def MinimalConversion(self, MinimalConversion):
|
1195
|
+
self._MinimalConversion = MinimalConversion
|
1196
|
+
|
1197
|
+
@property
|
1198
|
+
def DryRun(self):
|
1199
|
+
return self._DryRun
|
1200
|
+
|
1201
|
+
@DryRun.setter
|
1202
|
+
def DryRun(self, DryRun):
|
1203
|
+
self._DryRun = DryRun
|
1204
|
+
|
1205
|
+
@property
|
1206
|
+
def TargetOSType(self):
|
1207
|
+
return self._TargetOSType
|
1208
|
+
|
1209
|
+
@TargetOSType.setter
|
1210
|
+
def TargetOSType(self, TargetOSType):
|
1211
|
+
self._TargetOSType = TargetOSType
|
1212
|
+
|
1213
|
+
|
1214
|
+
def _deserialize(self, params):
|
1215
|
+
self._InstanceIds = params.get("InstanceIds")
|
1216
|
+
self._MinimalConversion = params.get("MinimalConversion")
|
1217
|
+
self._DryRun = params.get("DryRun")
|
1218
|
+
self._TargetOSType = params.get("TargetOSType")
|
1219
|
+
memeber_set = set(params.keys())
|
1220
|
+
for name, value in vars(self).items():
|
1221
|
+
property_name = name[1:]
|
1222
|
+
if property_name in memeber_set:
|
1223
|
+
memeber_set.remove(property_name)
|
1224
|
+
if len(memeber_set) > 0:
|
1225
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
1226
|
+
|
1227
|
+
|
1228
|
+
|
1229
|
+
class ConvertOperatingSystemsResponse(AbstractModel):
|
1230
|
+
"""ConvertOperatingSystems返回参数结构体
|
1231
|
+
|
1232
|
+
"""
|
1233
|
+
|
1234
|
+
def __init__(self):
|
1235
|
+
r"""
|
1236
|
+
:param _SupportTargetOSList: 转换的目标操系统信息,仅在入参 DryRun 为 true 时返回。
|
1237
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1238
|
+
:type SupportTargetOSList: list of TargetOS
|
1239
|
+
:param _TaskId: 操作系统转换的任务 ID
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1241
|
+
:type TaskId: str
|
1242
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1243
|
+
:type RequestId: str
|
1244
|
+
"""
|
1245
|
+
self._SupportTargetOSList = None
|
1246
|
+
self._TaskId = None
|
1247
|
+
self._RequestId = None
|
1248
|
+
|
1249
|
+
@property
|
1250
|
+
def SupportTargetOSList(self):
|
1251
|
+
return self._SupportTargetOSList
|
1252
|
+
|
1253
|
+
@SupportTargetOSList.setter
|
1254
|
+
def SupportTargetOSList(self, SupportTargetOSList):
|
1255
|
+
self._SupportTargetOSList = SupportTargetOSList
|
1256
|
+
|
1257
|
+
@property
|
1258
|
+
def TaskId(self):
|
1259
|
+
return self._TaskId
|
1260
|
+
|
1261
|
+
@TaskId.setter
|
1262
|
+
def TaskId(self, TaskId):
|
1263
|
+
self._TaskId = TaskId
|
1264
|
+
|
1265
|
+
@property
|
1266
|
+
def RequestId(self):
|
1267
|
+
return self._RequestId
|
1268
|
+
|
1269
|
+
@RequestId.setter
|
1270
|
+
def RequestId(self, RequestId):
|
1271
|
+
self._RequestId = RequestId
|
1272
|
+
|
1273
|
+
|
1274
|
+
def _deserialize(self, params):
|
1275
|
+
if params.get("SupportTargetOSList") is not None:
|
1276
|
+
self._SupportTargetOSList = []
|
1277
|
+
for item in params.get("SupportTargetOSList"):
|
1278
|
+
obj = TargetOS()
|
1279
|
+
obj._deserialize(item)
|
1280
|
+
self._SupportTargetOSList.append(obj)
|
1281
|
+
self._TaskId = params.get("TaskId")
|
1282
|
+
self._RequestId = params.get("RequestId")
|
1283
|
+
|
1284
|
+
|
1160
1285
|
class CpuTopology(AbstractModel):
|
1161
1286
|
"""描述了实例CPU拓扑结构的相关信息。
|
1162
1287
|
|
@@ -18091,6 +18216,51 @@ class TagSpecification(AbstractModel):
|
|
18091
18216
|
|
18092
18217
|
|
18093
18218
|
|
18219
|
+
class TargetOS(AbstractModel):
|
18220
|
+
"""操作系统转换的目标操作系统信息
|
18221
|
+
|
18222
|
+
"""
|
18223
|
+
|
18224
|
+
def __init__(self):
|
18225
|
+
r"""
|
18226
|
+
:param _TargetOSType: 目标操作系统类型
|
18227
|
+
:type TargetOSType: str
|
18228
|
+
:param _TargetOSVersion: 目标操作系统版本
|
18229
|
+
:type TargetOSVersion: str
|
18230
|
+
"""
|
18231
|
+
self._TargetOSType = None
|
18232
|
+
self._TargetOSVersion = None
|
18233
|
+
|
18234
|
+
@property
|
18235
|
+
def TargetOSType(self):
|
18236
|
+
return self._TargetOSType
|
18237
|
+
|
18238
|
+
@TargetOSType.setter
|
18239
|
+
def TargetOSType(self, TargetOSType):
|
18240
|
+
self._TargetOSType = TargetOSType
|
18241
|
+
|
18242
|
+
@property
|
18243
|
+
def TargetOSVersion(self):
|
18244
|
+
return self._TargetOSVersion
|
18245
|
+
|
18246
|
+
@TargetOSVersion.setter
|
18247
|
+
def TargetOSVersion(self, TargetOSVersion):
|
18248
|
+
self._TargetOSVersion = TargetOSVersion
|
18249
|
+
|
18250
|
+
|
18251
|
+
def _deserialize(self, params):
|
18252
|
+
self._TargetOSType = params.get("TargetOSType")
|
18253
|
+
self._TargetOSVersion = params.get("TargetOSVersion")
|
18254
|
+
memeber_set = set(params.keys())
|
18255
|
+
for name, value in vars(self).items():
|
18256
|
+
property_name = name[1:]
|
18257
|
+
if property_name in memeber_set:
|
18258
|
+
memeber_set.remove(property_name)
|
18259
|
+
if len(memeber_set) > 0:
|
18260
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18261
|
+
|
18262
|
+
|
18263
|
+
|
18094
18264
|
class TerminateInstancesRequest(AbstractModel):
|
18095
18265
|
"""TerminateInstances请求参数结构体
|
18096
18266
|
|
@@ -69372,7 +69372,7 @@ class ModifyEventAttackStatusRequest(AbstractModel):
|
|
69372
69372
|
:type Ids: list of int non-negative
|
69373
69373
|
:param _All: 是否更新全部,即是否对所有的事件进行操作,当ids 不为空时,此参数无效
|
69374
69374
|
:type All: bool
|
69375
|
-
:param _Status: 0:待处理 1:已处理
|
69375
|
+
:param _Status: 0:待处理 1:已处理 3: 已忽略 4:已删除
|
69376
69376
|
:type Status: int
|
69377
69377
|
:param _Filters: 过滤条件。
|
69378
69378
|
<li>Type - String 攻击状态 0: 尝试攻击 1: 攻击成功 - 是否必填: 否</li>
|
@@ -27,7 +27,7 @@ class DcClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def AcceptDirectConnectTunnel(self, request):
|
30
|
-
"""
|
30
|
+
"""接受专用通道申请。
|
31
31
|
|
32
32
|
:param request: Request instance for AcceptDirectConnectTunnel.
|
33
33
|
:type request: :class:`tencentcloud.dc.v20180410.models.AcceptDirectConnectTunnelRequest`
|
@@ -168,7 +168,7 @@ class DcClient(AbstractClient):
|
|
168
168
|
|
169
169
|
|
170
170
|
def DescribeAccessPoints(self, request):
|
171
|
-
"""
|
171
|
+
"""查询物理专线接入点。
|
172
172
|
|
173
173
|
:param request: Request instance for DescribeAccessPoints.
|
174
174
|
:type request: :class:`tencentcloud.dc.v20180410.models.DescribeAccessPointsRequest`
|
@@ -191,7 +191,7 @@ class DcClient(AbstractClient):
|
|
191
191
|
|
192
192
|
|
193
193
|
def DescribeDirectConnectTunnelExtra(self, request):
|
194
|
-
"""
|
194
|
+
"""查询专用通道扩展信息。
|
195
195
|
|
196
196
|
:param request: Request instance for DescribeDirectConnectTunnelExtra.
|
197
197
|
:type request: :class:`tencentcloud.dc.v20180410.models.DescribeDirectConnectTunnelExtraRequest`
|
@@ -467,7 +467,7 @@ class DcClient(AbstractClient):
|
|
467
467
|
|
468
468
|
|
469
469
|
def RejectDirectConnectTunnel(self, request):
|
470
|
-
"""
|
470
|
+
"""拒绝专用通道申请。
|
471
471
|
|
472
472
|
:param request: Request instance for RejectDirectConnectTunnel.
|
473
473
|
:type request: :class:`tencentcloud.dc.v20180410.models.RejectDirectConnectTunnelRequest`
|
@@ -25,7 +25,7 @@ class AcceptDirectConnectTunnelRequest(AbstractModel):
|
|
25
25
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
|
-
:param _DirectConnectTunnelId:
|
28
|
+
:param _DirectConnectTunnelId: 专用通道ID。
|
29
29
|
:type DirectConnectTunnelId: str
|
30
30
|
"""
|
31
31
|
self._DirectConnectTunnelId = None
|
@@ -1259,8 +1259,7 @@ class DescribeAccessPointsRequest(AbstractModel):
|
|
1259
1259
|
|
1260
1260
|
def __init__(self):
|
1261
1261
|
r"""
|
1262
|
-
:param _RegionId: 接入点所在的地域。使用DescribeRegions
|
1263
|
-
|
1262
|
+
:param _RegionId: 接入点所在的地域。使用DescribeRegions查询。
|
1264
1263
|
您可以通过调用 DescribeRegions接口获取地域ID。
|
1265
1264
|
:type RegionId: str
|
1266
1265
|
:param _Offset: 偏移量,默认为0。
|
@@ -1320,7 +1319,7 @@ class DescribeAccessPointsResponse(AbstractModel):
|
|
1320
1319
|
r"""
|
1321
1320
|
:param _AccessPointSet: 接入点信息。
|
1322
1321
|
:type AccessPointSet: list of AccessPoint
|
1323
|
-
:param _TotalCount:
|
1322
|
+
:param _TotalCount: 接入点总数量。
|
1324
1323
|
:type TotalCount: int
|
1325
1324
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1326
1325
|
:type RequestId: str
|
@@ -1372,7 +1371,7 @@ class DescribeDirectConnectTunnelExtraRequest(AbstractModel):
|
|
1372
1371
|
|
1373
1372
|
def __init__(self):
|
1374
1373
|
r"""
|
1375
|
-
:param _DirectConnectTunnelId: 专用通道ID
|
1374
|
+
:param _DirectConnectTunnelId: 专用通道ID。
|
1376
1375
|
:type DirectConnectTunnelId: str
|
1377
1376
|
"""
|
1378
1377
|
self._DirectConnectTunnelId = None
|
@@ -1405,7 +1404,7 @@ class DescribeDirectConnectTunnelExtraResponse(AbstractModel):
|
|
1405
1404
|
|
1406
1405
|
def __init__(self):
|
1407
1406
|
r"""
|
1408
|
-
:param _DirectConnectTunnelExtra:
|
1407
|
+
:param _DirectConnectTunnelExtra: 专用通道扩展信息。
|
1409
1408
|
:type DirectConnectTunnelExtra: :class:`tencentcloud.dc.v20180410.models.DirectConnectTunnelExtra`
|
1410
1409
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1411
1410
|
:type RequestId: str
|
@@ -4732,7 +4731,7 @@ class RejectDirectConnectTunnelRequest(AbstractModel):
|
|
4732
4731
|
|
4733
4732
|
def __init__(self):
|
4734
4733
|
r"""
|
4735
|
-
:param _DirectConnectTunnelId:
|
4734
|
+
:param _DirectConnectTunnelId: 专用通道ID。
|
4736
4735
|
:type DirectConnectTunnelId: str
|
4737
4736
|
"""
|
4738
4737
|
self._DirectConnectTunnelId = None
|
@@ -938,6 +938,8 @@ class CreateAccountRequest(AbstractModel):
|
|
938
938
|
:type SlaveConst: int
|
939
939
|
:param _MaxUserConnections: 用户最大连接数限制参数。不传或者传0表示为不限制,对应max_user_connections参数,目前10.1内核版本不支持设置。
|
940
940
|
:type MaxUserConnections: int
|
941
|
+
:param _EncryptedPassword: 使用GetPublicKey返回的RSA2048公钥加密后的密码
|
942
|
+
:type EncryptedPassword: str
|
941
943
|
"""
|
942
944
|
self._InstanceId = None
|
943
945
|
self._UserName = None
|
@@ -948,6 +950,7 @@ class CreateAccountRequest(AbstractModel):
|
|
948
950
|
self._DelayThresh = None
|
949
951
|
self._SlaveConst = None
|
950
952
|
self._MaxUserConnections = None
|
953
|
+
self._EncryptedPassword = None
|
951
954
|
|
952
955
|
@property
|
953
956
|
def InstanceId(self):
|
@@ -1021,6 +1024,14 @@ class CreateAccountRequest(AbstractModel):
|
|
1021
1024
|
def MaxUserConnections(self, MaxUserConnections):
|
1022
1025
|
self._MaxUserConnections = MaxUserConnections
|
1023
1026
|
|
1027
|
+
@property
|
1028
|
+
def EncryptedPassword(self):
|
1029
|
+
return self._EncryptedPassword
|
1030
|
+
|
1031
|
+
@EncryptedPassword.setter
|
1032
|
+
def EncryptedPassword(self, EncryptedPassword):
|
1033
|
+
self._EncryptedPassword = EncryptedPassword
|
1034
|
+
|
1024
1035
|
|
1025
1036
|
def _deserialize(self, params):
|
1026
1037
|
self._InstanceId = params.get("InstanceId")
|
@@ -1032,6 +1043,7 @@ class CreateAccountRequest(AbstractModel):
|
|
1032
1043
|
self._DelayThresh = params.get("DelayThresh")
|
1033
1044
|
self._SlaveConst = params.get("SlaveConst")
|
1034
1045
|
self._MaxUserConnections = params.get("MaxUserConnections")
|
1046
|
+
self._EncryptedPassword = params.get("EncryptedPassword")
|
1035
1047
|
memeber_set = set(params.keys())
|
1036
1048
|
for name, value in vars(self).items():
|
1037
1049
|
property_name = name[1:]
|
@@ -11842,11 +11854,14 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
11842
11854
|
:type Host: str
|
11843
11855
|
:param _Password: 新密码,由字母、数字或常见符号组成,不能包含分号、单引号和双引号,长度为6~32位。
|
11844
11856
|
:type Password: str
|
11857
|
+
:param _EncryptedPassword: 使用GetPublicKey返回的RSA2048公钥加密后的密码,加密算法是PKCS1v15
|
11858
|
+
:type EncryptedPassword: str
|
11845
11859
|
"""
|
11846
11860
|
self._InstanceId = None
|
11847
11861
|
self._UserName = None
|
11848
11862
|
self._Host = None
|
11849
11863
|
self._Password = None
|
11864
|
+
self._EncryptedPassword = None
|
11850
11865
|
|
11851
11866
|
@property
|
11852
11867
|
def InstanceId(self):
|
@@ -11880,12 +11895,21 @@ class ResetAccountPasswordRequest(AbstractModel):
|
|
11880
11895
|
def Password(self, Password):
|
11881
11896
|
self._Password = Password
|
11882
11897
|
|
11898
|
+
@property
|
11899
|
+
def EncryptedPassword(self):
|
11900
|
+
return self._EncryptedPassword
|
11901
|
+
|
11902
|
+
@EncryptedPassword.setter
|
11903
|
+
def EncryptedPassword(self, EncryptedPassword):
|
11904
|
+
self._EncryptedPassword = EncryptedPassword
|
11905
|
+
|
11883
11906
|
|
11884
11907
|
def _deserialize(self, params):
|
11885
11908
|
self._InstanceId = params.get("InstanceId")
|
11886
11909
|
self._UserName = params.get("UserName")
|
11887
11910
|
self._Host = params.get("Host")
|
11888
11911
|
self._Password = params.get("Password")
|
11912
|
+
self._EncryptedPassword = params.get("EncryptedPassword")
|
11889
11913
|
memeber_set = set(params.keys())
|
11890
11914
|
for name, value in vars(self).items():
|
11891
11915
|
property_name = name[1:]
|
@@ -1084,6 +1084,29 @@ class DlcClient(AbstractClient):
|
|
1084
1084
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1085
1085
|
|
1086
1086
|
|
1087
|
+
def DeleteTable(self, request):
|
1088
|
+
"""删除表
|
1089
|
+
|
1090
|
+
:param request: Request instance for DeleteTable.
|
1091
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DeleteTableRequest`
|
1092
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DeleteTableResponse`
|
1093
|
+
|
1094
|
+
"""
|
1095
|
+
try:
|
1096
|
+
params = request._serialize()
|
1097
|
+
headers = request.headers
|
1098
|
+
body = self.call("DeleteTable", params, headers=headers)
|
1099
|
+
response = json.loads(body)
|
1100
|
+
model = models.DeleteTableResponse()
|
1101
|
+
model._deserialize(response["Response"])
|
1102
|
+
return model
|
1103
|
+
except Exception as e:
|
1104
|
+
if isinstance(e, TencentCloudSDKException):
|
1105
|
+
raise
|
1106
|
+
else:
|
1107
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1108
|
+
|
1109
|
+
|
1087
1110
|
def DeleteThirdPartyAccessUser(self, request):
|
1088
1111
|
"""本接口(RegisterThirdPartyAccessUser)用于移除第三方平台访问
|
1089
1112
|
|
@@ -2855,6 +2878,29 @@ class DlcClient(AbstractClient):
|
|
2855
2878
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2856
2879
|
|
2857
2880
|
|
2881
|
+
def QueryInternalTableWarehouse(self, request):
|
2882
|
+
"""本接口(QueryInternalTableWarehouse)用于获取原生表warehouse路径
|
2883
|
+
|
2884
|
+
:param request: Request instance for QueryInternalTableWarehouse.
|
2885
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.QueryInternalTableWarehouseRequest`
|
2886
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.QueryInternalTableWarehouseResponse`
|
2887
|
+
|
2888
|
+
"""
|
2889
|
+
try:
|
2890
|
+
params = request._serialize()
|
2891
|
+
headers = request.headers
|
2892
|
+
body = self.call("QueryInternalTableWarehouse", params, headers=headers)
|
2893
|
+
response = json.loads(body)
|
2894
|
+
model = models.QueryInternalTableWarehouseResponse()
|
2895
|
+
model._deserialize(response["Response"])
|
2896
|
+
return model
|
2897
|
+
except Exception as e:
|
2898
|
+
if isinstance(e, TencentCloudSDKException):
|
2899
|
+
raise
|
2900
|
+
else:
|
2901
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2902
|
+
|
2903
|
+
|
2858
2904
|
def QueryResult(self, request):
|
2859
2905
|
"""获取任务结果查询
|
2860
2906
|
|