tencentcloud-sdk-python 3.0.1157__py2.py3-none-any.whl → 3.0.1158__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/cls/v20201016/models.py +48 -4
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/models.py +82 -0
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/faceid/v20180301/models.py +3 -2
- tencentcloud/iotexplorer/v20190423/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +21 -11
- tencentcloud/monitor/v20180724/models.py +26 -0
- tencentcloud/redis/v20180412/models.py +154 -43
- tencentcloud/tcb/v20180608/models.py +90 -0
- tencentcloud/teo/v20220901/errorcodes.py +24 -0
- tencentcloud/teo/v20220901/models.py +18 -18
- tencentcloud/trp/v20210515/models.py +235 -0
- {tencentcloud_sdk_python-3.0.1157.dist-info → tencentcloud_sdk_python-3.0.1158.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1157.dist-info → tencentcloud_sdk_python-3.0.1158.dist-info}/RECORD +20 -20
- {tencentcloud_sdk_python-3.0.1157.dist-info → tencentcloud_sdk_python-3.0.1158.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1157.dist-info → tencentcloud_sdk_python-3.0.1158.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1157.dist-info → tencentcloud_sdk_python-3.0.1158.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -10308,17 +10308,31 @@ class DescribeLogContextRequest(AbstractModel):
|
|
10308
10308
|
r"""
|
10309
10309
|
:param _TopicId: 要查询的日志主题ID
|
10310
10310
|
:type TopicId: str
|
10311
|
-
:param _BTime: 日志时间,
|
10311
|
+
:param _BTime: 日志时间, 即SearchLog接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。
|
10312
10312
|
:type BTime: str
|
10313
|
-
:param _PkgId:
|
10313
|
+
:param _PkgId: 日志包序号,即SearchLog接口返回信息中Results结构体中的PkgId。
|
10314
10314
|
:type PkgId: str
|
10315
|
-
:param _PkgLogId:
|
10316
|
-
SearchLog接口返回信息中Results结构中的PkgLogId。
|
10315
|
+
:param _PkgLogId: 日志包内一条日志的序号,即SearchLog接口返回信息中Results结构中的PkgLogId。
|
10317
10316
|
:type PkgLogId: int
|
10318
10317
|
:param _PrevLogs: 前${PrevLogs}条日志,默认值10。
|
10319
10318
|
:type PrevLogs: int
|
10320
10319
|
:param _NextLogs: 后${NextLogs}条日志,默认值10。
|
10321
10320
|
:type NextLogs: int
|
10321
|
+
:param _Query: 检索语句,对日志上下文进行过滤,最大长度为12KB
|
10322
|
+
语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a>构成,不支持SQL语句
|
10323
|
+
:type Query: str
|
10324
|
+
:param _From: 上下文检索的开始时间,单位:毫秒级时间戳
|
10325
|
+
注意:
|
10326
|
+
- From为空时,表示上下文检索的开始时间不做限制
|
10327
|
+
- From和To非空时,From < To
|
10328
|
+
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
10329
|
+
:type From: int
|
10330
|
+
:param _To: 上下文检索的结束时间,单位:毫秒级时间戳。
|
10331
|
+
注意:
|
10332
|
+
- To为空时,表示上下文检索的结束时间不做限制
|
10333
|
+
- From和To非空时,From < To
|
10334
|
+
- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域
|
10335
|
+
:type To: int
|
10322
10336
|
"""
|
10323
10337
|
self._TopicId = None
|
10324
10338
|
self._BTime = None
|
@@ -10326,6 +10340,9 @@ SearchLog接口返回信息中Results结构中的PkgLogId。
|
|
10326
10340
|
self._PkgLogId = None
|
10327
10341
|
self._PrevLogs = None
|
10328
10342
|
self._NextLogs = None
|
10343
|
+
self._Query = None
|
10344
|
+
self._From = None
|
10345
|
+
self._To = None
|
10329
10346
|
|
10330
10347
|
@property
|
10331
10348
|
def TopicId(self):
|
@@ -10375,6 +10392,30 @@ SearchLog接口返回信息中Results结构中的PkgLogId。
|
|
10375
10392
|
def NextLogs(self, NextLogs):
|
10376
10393
|
self._NextLogs = NextLogs
|
10377
10394
|
|
10395
|
+
@property
|
10396
|
+
def Query(self):
|
10397
|
+
return self._Query
|
10398
|
+
|
10399
|
+
@Query.setter
|
10400
|
+
def Query(self, Query):
|
10401
|
+
self._Query = Query
|
10402
|
+
|
10403
|
+
@property
|
10404
|
+
def From(self):
|
10405
|
+
return self._From
|
10406
|
+
|
10407
|
+
@From.setter
|
10408
|
+
def From(self, From):
|
10409
|
+
self._From = From
|
10410
|
+
|
10411
|
+
@property
|
10412
|
+
def To(self):
|
10413
|
+
return self._To
|
10414
|
+
|
10415
|
+
@To.setter
|
10416
|
+
def To(self, To):
|
10417
|
+
self._To = To
|
10418
|
+
|
10378
10419
|
|
10379
10420
|
def _deserialize(self, params):
|
10380
10421
|
self._TopicId = params.get("TopicId")
|
@@ -10383,6 +10424,9 @@ SearchLog接口返回信息中Results结构中的PkgLogId。
|
|
10383
10424
|
self._PkgLogId = params.get("PkgLogId")
|
10384
10425
|
self._PrevLogs = params.get("PrevLogs")
|
10385
10426
|
self._NextLogs = params.get("NextLogs")
|
10427
|
+
self._Query = params.get("Query")
|
10428
|
+
self._From = params.get("From")
|
10429
|
+
self._To = params.get("To")
|
10386
10430
|
memeber_set = set(params.keys())
|
10387
10431
|
for name, value in vars(self).items():
|
10388
10432
|
property_name = name[1:]
|
@@ -1345,6 +1345,29 @@ class DnspodClient(AbstractClient):
|
|
1345
1345
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1346
1346
|
|
1347
1347
|
|
1348
|
+
def ModifyDomainToGroup(self, request):
|
1349
|
+
"""修改域名所属分组
|
1350
|
+
|
1351
|
+
:param request: Request instance for ModifyDomainToGroup.
|
1352
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.ModifyDomainToGroupRequest`
|
1353
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.ModifyDomainToGroupResponse`
|
1354
|
+
|
1355
|
+
"""
|
1356
|
+
try:
|
1357
|
+
params = request._serialize()
|
1358
|
+
headers = request.headers
|
1359
|
+
body = self.call("ModifyDomainToGroup", params, headers=headers)
|
1360
|
+
response = json.loads(body)
|
1361
|
+
model = models.ModifyDomainToGroupResponse()
|
1362
|
+
model._deserialize(response["Response"])
|
1363
|
+
return model
|
1364
|
+
except Exception as e:
|
1365
|
+
if isinstance(e, TencentCloudSDKException):
|
1366
|
+
raise
|
1367
|
+
else:
|
1368
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1369
|
+
|
1370
|
+
|
1348
1371
|
def ModifyDomainUnlock(self, request):
|
1349
1372
|
"""域名锁定解锁
|
1350
1373
|
|
@@ -9506,6 +9506,88 @@ class ModifyDomainStatusResponse(AbstractModel):
|
|
9506
9506
|
self._RequestId = params.get("RequestId")
|
9507
9507
|
|
9508
9508
|
|
9509
|
+
class ModifyDomainToGroupRequest(AbstractModel):
|
9510
|
+
"""ModifyDomainToGroup请求参数结构体
|
9511
|
+
|
9512
|
+
"""
|
9513
|
+
|
9514
|
+
def __init__(self):
|
9515
|
+
r"""
|
9516
|
+
:param _Domain: 域名
|
9517
|
+
:type Domain: str
|
9518
|
+
:param _GroupId: 域名分组ID
|
9519
|
+
:type GroupId: int
|
9520
|
+
:param _DomainId: 域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain
|
9521
|
+
:type DomainId: int
|
9522
|
+
"""
|
9523
|
+
self._Domain = None
|
9524
|
+
self._GroupId = None
|
9525
|
+
self._DomainId = None
|
9526
|
+
|
9527
|
+
@property
|
9528
|
+
def Domain(self):
|
9529
|
+
return self._Domain
|
9530
|
+
|
9531
|
+
@Domain.setter
|
9532
|
+
def Domain(self, Domain):
|
9533
|
+
self._Domain = Domain
|
9534
|
+
|
9535
|
+
@property
|
9536
|
+
def GroupId(self):
|
9537
|
+
return self._GroupId
|
9538
|
+
|
9539
|
+
@GroupId.setter
|
9540
|
+
def GroupId(self, GroupId):
|
9541
|
+
self._GroupId = GroupId
|
9542
|
+
|
9543
|
+
@property
|
9544
|
+
def DomainId(self):
|
9545
|
+
return self._DomainId
|
9546
|
+
|
9547
|
+
@DomainId.setter
|
9548
|
+
def DomainId(self, DomainId):
|
9549
|
+
self._DomainId = DomainId
|
9550
|
+
|
9551
|
+
|
9552
|
+
def _deserialize(self, params):
|
9553
|
+
self._Domain = params.get("Domain")
|
9554
|
+
self._GroupId = params.get("GroupId")
|
9555
|
+
self._DomainId = params.get("DomainId")
|
9556
|
+
memeber_set = set(params.keys())
|
9557
|
+
for name, value in vars(self).items():
|
9558
|
+
property_name = name[1:]
|
9559
|
+
if property_name in memeber_set:
|
9560
|
+
memeber_set.remove(property_name)
|
9561
|
+
if len(memeber_set) > 0:
|
9562
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9563
|
+
|
9564
|
+
|
9565
|
+
|
9566
|
+
class ModifyDomainToGroupResponse(AbstractModel):
|
9567
|
+
"""ModifyDomainToGroup返回参数结构体
|
9568
|
+
|
9569
|
+
"""
|
9570
|
+
|
9571
|
+
def __init__(self):
|
9572
|
+
r"""
|
9573
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9574
|
+
:type RequestId: str
|
9575
|
+
"""
|
9576
|
+
self._RequestId = None
|
9577
|
+
|
9578
|
+
@property
|
9579
|
+
def RequestId(self):
|
9580
|
+
return self._RequestId
|
9581
|
+
|
9582
|
+
@RequestId.setter
|
9583
|
+
def RequestId(self, RequestId):
|
9584
|
+
self._RequestId = RequestId
|
9585
|
+
|
9586
|
+
|
9587
|
+
def _deserialize(self, params):
|
9588
|
+
self._RequestId = params.get("RequestId")
|
9589
|
+
|
9590
|
+
|
9509
9591
|
class ModifyDomainUnlockRequest(AbstractModel):
|
9510
9592
|
"""ModifyDomainUnlock请求参数结构体
|
9511
9593
|
|
@@ -261,7 +261,7 @@ class EssClient(AbstractClient):
|
|
261
261
|
- 使用此接口生成链接,需要贵企业先开通 <font color="red">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。
|
262
262
|
- 生成批量签署链接时,<font color="red">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。
|
263
263
|
- 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color="red">该签署方企业必须已完成腾讯电子签企业认证</font>
|
264
|
-
-
|
264
|
+
- 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
|
265
265
|
|
266
266
|
:param request: Request instance for CreateBatchSignUrl.
|
267
267
|
:type request: :class:`tencentcloud.ess.v20201111.models.CreateBatchSignUrlRequest`
|
@@ -215,9 +215,9 @@ class EssbasicClient(AbstractClient):
|
|
215
215
|
注:
|
216
216
|
- 使用此接口生成链接,需要提前开通 `使用手机号验证签署方身份` 功能,在 `腾讯电子签网页端-企业设置-拓展服务` 中可以找到。
|
217
217
|
- 参与人点击链接后需短信验证码才能查看合同内容。
|
218
|
-
- 企业用户批量签署,需要传OrganizationName
|
219
|
-
-
|
220
|
-
-
|
218
|
+
- 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,<font color="red">请确保此企业已完成腾讯电子签企业认证</font>。暂时仅支持给<font color="red">自建应用集成企业</font>生成员工批签链接,不支持子客企业。
|
219
|
+
- 生成批量签署链接时,合同目标参与方状态需为<font color="red">待签署</font>状态。
|
220
|
+
- 个人批量签署进行的合同的签名区, 全部变成<font color="red">手写签名</font>(不管合同里边设置的签名限制)来进行。
|
221
221
|
|
222
222
|
:param request: Request instance for ChannelCreateBatchSignUrl.
|
223
223
|
:type request: :class:`tencentcloud.essbasic.v20210526.models.ChannelCreateBatchSignUrlRequest`
|
@@ -2680,8 +2680,9 @@ class EncryptedPhoneVerificationRequest(AbstractModel):
|
|
2680
2680
|
:param _EncryptionMode: 敏感信息的加密方式,目前支持明文、MD5和SHA256加密传输,参数取值:
|
2681
2681
|
|
2682
2682
|
0:明文,不加密
|
2683
|
-
1
|
2684
|
-
2
|
2683
|
+
1:使用MD5加密
|
2684
|
+
2:使用SHA256
|
2685
|
+
3:使用SM3加密
|
2685
2686
|
:type EncryptionMode: str
|
2686
2687
|
"""
|
2687
2688
|
self._IdCard = None
|
@@ -11269,7 +11269,7 @@ class GenerateCloudStorageAIServiceTaskFileURLRequest(AbstractModel):
|
|
11269
11269
|
:type TaskId: str
|
11270
11270
|
:param _FileName: 文件名
|
11271
11271
|
:type FileName: str
|
11272
|
-
:param _ExpireTime: 过期时间 UNIX 时间戳(默认值为当前时间 1
|
11272
|
+
:param _ExpireTime: 过期时间 UNIX 时间戳(默认值为当前时间 1 小时后,最大不超过文件所属任务的过期时间)
|
11273
11273
|
:type ExpireTime: int
|
11274
11274
|
"""
|
11275
11275
|
self._TaskId = None
|
@@ -11324,7 +11324,7 @@ class GenerateCloudStorageAIServiceTaskFileURLResponse(AbstractModel):
|
|
11324
11324
|
r"""
|
11325
11325
|
:param _FileURL: 文件下载 URL
|
11326
11326
|
:type FileURL: str
|
11327
|
-
:param _ExpireTime: 过期时间 UNIX
|
11327
|
+
:param _ExpireTime: 过期时间 UNIX 时间戳(最大不超过文件所属任务的过期时间)
|
11328
11328
|
:type ExpireTime: int
|
11329
11329
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11330
11330
|
:type RequestId: str
|
@@ -182,9 +182,9 @@ class ApplyInstanceSnapshotRequest(AbstractModel):
|
|
182
182
|
|
183
183
|
def __init__(self):
|
184
184
|
r"""
|
185
|
-
:param _InstanceId: 实例 ID
|
185
|
+
:param _InstanceId: 实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。
|
186
186
|
:type InstanceId: str
|
187
|
-
:param _SnapshotId: 快照 ID
|
187
|
+
:param _SnapshotId: 快照 ID。可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。
|
188
188
|
:type SnapshotId: str
|
189
189
|
"""
|
190
190
|
self._InstanceId = None
|
@@ -2114,7 +2114,7 @@ class CreateInstanceSnapshotRequest(AbstractModel):
|
|
2114
2114
|
|
2115
2115
|
def __init__(self):
|
2116
2116
|
r"""
|
2117
|
-
:param _InstanceId: 需要创建快照的实例 ID
|
2117
|
+
:param _InstanceId: 需要创建快照的实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId 获取。
|
2118
2118
|
:type InstanceId: str
|
2119
2119
|
:param _SnapshotName: 快照名称,最长为 60 个字符。
|
2120
2120
|
:type SnapshotName: str
|
@@ -5968,7 +5968,8 @@ class DescribeInstancesDiskNumRequest(AbstractModel):
|
|
5968
5968
|
|
5969
5969
|
def __init__(self):
|
5970
5970
|
r"""
|
5971
|
-
:param _InstanceIds: 实例ID
|
5971
|
+
:param _InstanceIds: 实例ID列表。每次请求批量实例的上限为 100。
|
5972
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
5972
5973
|
:type InstanceIds: list of str
|
5973
5974
|
"""
|
5974
5975
|
self._InstanceIds = None
|
@@ -6565,12 +6566,13 @@ class DescribeModifyInstanceBundlesRequest(AbstractModel):
|
|
6565
6566
|
|
6566
6567
|
def __init__(self):
|
6567
6568
|
r"""
|
6568
|
-
:param _InstanceId: 实例 ID
|
6569
|
+
:param _InstanceId: 实例 ID。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
6569
6570
|
:type InstanceId: str
|
6570
6571
|
:param _Filters: 过滤器列表。
|
6571
6572
|
<li>bundle-id</li>按照【套餐 ID】进行过滤。
|
6572
6573
|
类型:String
|
6573
6574
|
必选:否
|
6575
|
+
可通过<a href="https://cloud.tencent.com/document/product/1207/47575"> DescribeBundles </a>接口返回值中的 BundleId 获取。
|
6574
6576
|
<li>support-platform-type</li>按照【系统类型】进行过滤。
|
6575
6577
|
取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)
|
6576
6578
|
类型:String
|
@@ -7102,22 +7104,30 @@ class DescribeSnapshotsRequest(AbstractModel):
|
|
7102
7104
|
|
7103
7105
|
def __init__(self):
|
7104
7106
|
r"""
|
7105
|
-
:param _SnapshotIds: 要查询快照的 ID
|
7107
|
+
:param _SnapshotIds: 要查询快照的 ID 列表。每次请求批量快照的上限为 100。
|
7108
|
+
可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId 获取。
|
7106
7109
|
参数不支持同时指定 SnapshotIds 和 Filters。
|
7107
7110
|
:type SnapshotIds: list of str
|
7108
7111
|
:param _Filters: 过滤器列表。
|
7109
7112
|
<li>snapshot-id</li>按照【快照 ID】进行过滤。
|
7110
7113
|
类型:String
|
7111
7114
|
必选:否
|
7115
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。
|
7116
|
+
|
7112
7117
|
<li>disk-id</li>按照【磁盘 ID】进行过滤。
|
7113
7118
|
类型:String
|
7114
7119
|
必选:否
|
7120
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/66093">DescribeDisks</a> 接口返回值中的 DiskId 获取。
|
7121
|
+
|
7115
7122
|
<li>snapshot-name</li>按照【快照名称】进行过滤。
|
7116
7123
|
类型:String
|
7117
7124
|
必选:否
|
7125
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/54388">DescribeSnapshots</a> 接口返回值中的 SnapshotName 获取。
|
7118
7126
|
<li>instance-id</li>按照【实例 ID 】进行过滤。
|
7119
7127
|
类型:String
|
7120
7128
|
必选:否
|
7129
|
+
可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
7130
|
+
|
7121
7131
|
每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。
|
7122
7132
|
:type Filters: list of Filter
|
7123
7133
|
:param _Offset: 偏移量,默认为 0。
|
@@ -13411,9 +13421,9 @@ class ReplaceFirewallTemplateRuleRequest(AbstractModel):
|
|
13411
13421
|
|
13412
13422
|
def __init__(self):
|
13413
13423
|
r"""
|
13414
|
-
:param _TemplateId: 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874)
|
13424
|
+
:param _TemplateId: 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。
|
13415
13425
|
:type TemplateId: str
|
13416
|
-
:param _TemplateRuleId: 防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875)
|
13426
|
+
:param _TemplateRuleId: 防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875) 接口返回值中的 TemplateRuleId 获取。
|
13417
13427
|
:type TemplateRuleId: str
|
13418
13428
|
:param _TemplateRule: 替换后的防火墙模板规则。
|
13419
13429
|
:type TemplateRule: :class:`tencentcloud.lighthouse.v20200324.models.FirewallRule`
|
@@ -13649,9 +13659,9 @@ class ResetFirewallTemplateRulesRequest(AbstractModel):
|
|
13649
13659
|
|
13650
13660
|
def __init__(self):
|
13651
13661
|
r"""
|
13652
|
-
:param _TemplateId:
|
13662
|
+
:param _TemplateId: 防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。
|
13653
13663
|
:type TemplateId: str
|
13654
|
-
:param _TemplateRules:
|
13664
|
+
:param _TemplateRules: 重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100。
|
13655
13665
|
:type TemplateRules: list of FirewallRule
|
13656
13666
|
"""
|
13657
13667
|
self._TemplateId = None
|
@@ -13896,7 +13906,7 @@ class ResetInstancesPasswordRequest(AbstractModel):
|
|
13896
13906
|
|
13897
13907
|
def __init__(self):
|
13898
13908
|
r"""
|
13899
|
-
:param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100
|
13909
|
+
:param _InstanceIds: 实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href="https://cloud.tencent.com/document/product/1207/47573">DescribeInstances</a> 接口返回值中的 InstanceId 获取。
|
13900
13910
|
:type InstanceIds: list of str
|
13901
13911
|
:param _Password: 实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:</br> `LINUX_UNIX` 实例密码必须 8-30 位,推荐使用 12 位以上密码,不能以“/”开头,至少包含以下字符中的三种不同字符,字符种类:</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字:0-9</br></li> <li>特殊字符: ()\`\~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</li></br> `WINDOWS` 实例密码必须 12-30 位,不能以“/”开头且不包括用户名,至少包含以下字符中的三种不同字符</br> <li>小写字母:[a-z]</br></li> <li>大写字母:[A-Z]</br></li> <li>数字: 0-9</br></li> <li>特殊字符:()\`~!@#$%^&\*-+=\_|{}[]:;' <>,.?/</br></li> <li>如果实例即包含 `LINUX_UNIX` 实例又包含 `WINDOWS` 实例,则密码复杂度限制按照 `WINDOWS` 实例的限制。</li>
|
13902
13912
|
:type Password: str
|
@@ -1822,6 +1822,9 @@ re=正则匹配
|
|
1822
1822
|
:param _HierarchicalValue: 告警分级阈值配置
|
1823
1823
|
注意:此字段可能返回 null,表示取不到有效值。
|
1824
1824
|
:type HierarchicalValue: :class:`tencentcloud.monitor.v20180724.models.AlarmHierarchicalValue`
|
1825
|
+
:param _IsLatenessMetric: 是否延迟指标
|
1826
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1827
|
+
:type IsLatenessMetric: int
|
1825
1828
|
"""
|
1826
1829
|
self._MetricName = None
|
1827
1830
|
self._Period = None
|
@@ -1840,6 +1843,7 @@ re=正则匹配
|
|
1840
1843
|
self._ValueMax = None
|
1841
1844
|
self._ValueMin = None
|
1842
1845
|
self._HierarchicalValue = None
|
1846
|
+
self._IsLatenessMetric = None
|
1843
1847
|
|
1844
1848
|
@property
|
1845
1849
|
def MetricName(self):
|
@@ -1977,6 +1981,14 @@ re=正则匹配
|
|
1977
1981
|
def HierarchicalValue(self, HierarchicalValue):
|
1978
1982
|
self._HierarchicalValue = HierarchicalValue
|
1979
1983
|
|
1984
|
+
@property
|
1985
|
+
def IsLatenessMetric(self):
|
1986
|
+
return self._IsLatenessMetric
|
1987
|
+
|
1988
|
+
@IsLatenessMetric.setter
|
1989
|
+
def IsLatenessMetric(self, IsLatenessMetric):
|
1990
|
+
self._IsLatenessMetric = IsLatenessMetric
|
1991
|
+
|
1980
1992
|
|
1981
1993
|
def _deserialize(self, params):
|
1982
1994
|
self._MetricName = params.get("MetricName")
|
@@ -2000,6 +2012,7 @@ re=正则匹配
|
|
2000
2012
|
if params.get("HierarchicalValue") is not None:
|
2001
2013
|
self._HierarchicalValue = AlarmHierarchicalValue()
|
2002
2014
|
self._HierarchicalValue._deserialize(params.get("HierarchicalValue"))
|
2015
|
+
self._IsLatenessMetric = params.get("IsLatenessMetric")
|
2003
2016
|
memeber_set = set(params.keys())
|
2004
2017
|
for name, value in vars(self).items():
|
2005
2018
|
property_name = name[1:]
|
@@ -21564,6 +21577,9 @@ class Metric(AbstractModel):
|
|
21564
21577
|
:param _Periods: 指标触发
|
21565
21578
|
注意:此字段可能返回 null,表示取不到有效值。
|
21566
21579
|
:type Periods: list of int
|
21580
|
+
:param _IsLatenessMetric: 是否延迟指标
|
21581
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
21582
|
+
:type IsLatenessMetric: int
|
21567
21583
|
"""
|
21568
21584
|
self._Namespace = None
|
21569
21585
|
self._MetricName = None
|
@@ -21578,6 +21594,7 @@ class Metric(AbstractModel):
|
|
21578
21594
|
self._ProductId = None
|
21579
21595
|
self._Operators = None
|
21580
21596
|
self._Periods = None
|
21597
|
+
self._IsLatenessMetric = None
|
21581
21598
|
|
21582
21599
|
@property
|
21583
21600
|
def Namespace(self):
|
@@ -21683,6 +21700,14 @@ class Metric(AbstractModel):
|
|
21683
21700
|
def Periods(self, Periods):
|
21684
21701
|
self._Periods = Periods
|
21685
21702
|
|
21703
|
+
@property
|
21704
|
+
def IsLatenessMetric(self):
|
21705
|
+
return self._IsLatenessMetric
|
21706
|
+
|
21707
|
+
@IsLatenessMetric.setter
|
21708
|
+
def IsLatenessMetric(self, IsLatenessMetric):
|
21709
|
+
self._IsLatenessMetric = IsLatenessMetric
|
21710
|
+
|
21686
21711
|
|
21687
21712
|
def _deserialize(self, params):
|
21688
21713
|
self._Namespace = params.get("Namespace")
|
@@ -21705,6 +21730,7 @@ class Metric(AbstractModel):
|
|
21705
21730
|
obj._deserialize(item)
|
21706
21731
|
self._Operators.append(obj)
|
21707
21732
|
self._Periods = params.get("Periods")
|
21733
|
+
self._IsLatenessMetric = params.get("IsLatenessMetric")
|
21708
21734
|
memeber_set = set(params.keys())
|
21709
21735
|
for name, value in vars(self).items():
|
21710
21736
|
property_name = name[1:]
|