tencentcloud-sdk-python 3.0.1260__py2.py3-none-any.whl → 3.0.1261__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/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +24 -0
- tencentcloud/cdb/v20170320/errorcodes.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +39 -0
- tencentcloud/cfs/v20190719/models.py +109 -0
- tencentcloud/cfw/v20190904/cfw_client.py +3 -1
- tencentcloud/cls/v20201016/models.py +14 -14
- tencentcloud/dlc/v20210125/models.py +15 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +115 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +48 -0
- tencentcloud/dnspod/v20210323/models.py +736 -14
- tencentcloud/ess/v20201111/models.py +2 -6
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +12 -11
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +170 -0
- tencentcloud/hunyuan/v20230901/models.py +2069 -162
- tencentcloud/kms/v20190118/models.py +24 -0
- tencentcloud/ssm/v20190923/models.py +6 -36
- tencentcloud/tdmq/v20200217/models.py +3 -4
- tencentcloud/teo/v20220901/errorcodes.py +45 -0
- tencentcloud/teo/v20220901/models.py +52 -3
- tencentcloud/thpc/v20230321/models.py +3 -3
- tencentcloud/tke/v20180525/models.py +2 -2
- tencentcloud/vod/v20180717/models.py +343 -18
- tencentcloud/waf/v20180125/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/RECORD +31 -31
- {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1260.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -62,6 +62,9 @@ FAILEDOPERATION_INSTANCENOTFOUND = 'FailedOperation.InstanceNotFound'
|
|
62
62
|
# 非法实例id。
|
63
63
|
FAILEDOPERATION_INVALIDINSTANCEID = 'FailedOperation.InvalidInstanceID'
|
64
64
|
|
65
|
+
# 不合法入参
|
66
|
+
FAILEDOPERATION_INVALIDPARAM = 'FailedOperation.InvalidParam'
|
67
|
+
|
65
68
|
# 非法的正则表达式。
|
66
69
|
FAILEDOPERATION_INVALIDREGEX = 'FailedOperation.InvalidRegex'
|
67
70
|
|
@@ -2857,6 +2857,10 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
2857
2857
|
:type PayMode: int
|
2858
2858
|
:param _ResponseDurationWarningThreshold: 响应时间满意阈值
|
2859
2859
|
:type ResponseDurationWarningThreshold: int
|
2860
|
+
:param _IsRelatedDashboard: 是否关联dashboard: 0 关 1 开
|
2861
|
+
:type IsRelatedDashboard: int
|
2862
|
+
:param _DashboardTopicID: dashboard ID
|
2863
|
+
:type DashboardTopicID: str
|
2860
2864
|
"""
|
2861
2865
|
self._InstanceId = None
|
2862
2866
|
self._Name = None
|
@@ -2877,6 +2881,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
2877
2881
|
self._CustomShowTags = None
|
2878
2882
|
self._PayMode = None
|
2879
2883
|
self._ResponseDurationWarningThreshold = None
|
2884
|
+
self._IsRelatedDashboard = None
|
2885
|
+
self._DashboardTopicID = None
|
2880
2886
|
|
2881
2887
|
@property
|
2882
2888
|
def InstanceId(self):
|
@@ -3030,6 +3036,22 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
3030
3036
|
def ResponseDurationWarningThreshold(self, ResponseDurationWarningThreshold):
|
3031
3037
|
self._ResponseDurationWarningThreshold = ResponseDurationWarningThreshold
|
3032
3038
|
|
3039
|
+
@property
|
3040
|
+
def IsRelatedDashboard(self):
|
3041
|
+
return self._IsRelatedDashboard
|
3042
|
+
|
3043
|
+
@IsRelatedDashboard.setter
|
3044
|
+
def IsRelatedDashboard(self, IsRelatedDashboard):
|
3045
|
+
self._IsRelatedDashboard = IsRelatedDashboard
|
3046
|
+
|
3047
|
+
@property
|
3048
|
+
def DashboardTopicID(self):
|
3049
|
+
return self._DashboardTopicID
|
3050
|
+
|
3051
|
+
@DashboardTopicID.setter
|
3052
|
+
def DashboardTopicID(self, DashboardTopicID):
|
3053
|
+
self._DashboardTopicID = DashboardTopicID
|
3054
|
+
|
3033
3055
|
|
3034
3056
|
def _deserialize(self, params):
|
3035
3057
|
self._InstanceId = params.get("InstanceId")
|
@@ -3056,6 +3078,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
3056
3078
|
self._CustomShowTags = params.get("CustomShowTags")
|
3057
3079
|
self._PayMode = params.get("PayMode")
|
3058
3080
|
self._ResponseDurationWarningThreshold = params.get("ResponseDurationWarningThreshold")
|
3081
|
+
self._IsRelatedDashboard = params.get("IsRelatedDashboard")
|
3082
|
+
self._DashboardTopicID = params.get("DashboardTopicID")
|
3059
3083
|
memeber_set = set(params.keys())
|
3060
3084
|
for name, value in vars(self).items():
|
3061
3085
|
property_name = name[1:]
|
@@ -197,7 +197,7 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
197
197
|
# 数据库操作失败。
|
198
198
|
INTERNALERROR_DBOPERATIONERROR = 'InternalError.DBOperationError'
|
199
199
|
|
200
|
-
#
|
200
|
+
# 数据库实例不存在。
|
201
201
|
INTERNALERROR_DBRECORDNOTEXISTERROR = 'InternalError.DBRecordNotExistError'
|
202
202
|
|
203
203
|
# 数据库内部错误。
|
@@ -2503,6 +2503,9 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2503
2503
|
:param _Catalog: catalog名称
|
2504
2504
|
注意:此字段可能返回 null,表示取不到有效值。
|
2505
2505
|
:type Catalog: str
|
2506
|
+
:param _State: 状态
|
2507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2508
|
+
:type State: str
|
2506
2509
|
"""
|
2507
2510
|
self._OsUser = None
|
2508
2511
|
self._InitialQueryId = None
|
@@ -2517,6 +2520,7 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2517
2520
|
self._DbName = None
|
2518
2521
|
self._SqlType = None
|
2519
2522
|
self._Catalog = None
|
2523
|
+
self._State = None
|
2520
2524
|
|
2521
2525
|
@property
|
2522
2526
|
def OsUser(self):
|
@@ -2622,6 +2626,14 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2622
2626
|
def Catalog(self, Catalog):
|
2623
2627
|
self._Catalog = Catalog
|
2624
2628
|
|
2629
|
+
@property
|
2630
|
+
def State(self):
|
2631
|
+
return self._State
|
2632
|
+
|
2633
|
+
@State.setter
|
2634
|
+
def State(self, State):
|
2635
|
+
self._State = State
|
2636
|
+
|
2625
2637
|
|
2626
2638
|
def _deserialize(self, params):
|
2627
2639
|
self._OsUser = params.get("OsUser")
|
@@ -2637,6 +2649,7 @@ class DataBaseAuditRecord(AbstractModel):
|
|
2637
2649
|
self._DbName = params.get("DbName")
|
2638
2650
|
self._SqlType = params.get("SqlType")
|
2639
2651
|
self._Catalog = params.get("Catalog")
|
2652
|
+
self._State = params.get("State")
|
2640
2653
|
memeber_set = set(params.keys())
|
2641
2654
|
for name, value in vars(self).items():
|
2642
2655
|
property_name = name[1:]
|
@@ -3123,10 +3136,18 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3123
3136
|
:param _BackUpJobs: 任务列表
|
3124
3137
|
注意:此字段可能返回 null,表示取不到有效值。
|
3125
3138
|
:type BackUpJobs: list of BackUpJobDisplay
|
3139
|
+
:param _ErrorMsg: 错误信息
|
3140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3141
|
+
:type ErrorMsg: str
|
3142
|
+
:param _TotalCount: 总数
|
3143
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3144
|
+
:type TotalCount: int
|
3126
3145
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3127
3146
|
:type RequestId: str
|
3128
3147
|
"""
|
3129
3148
|
self._BackUpJobs = None
|
3149
|
+
self._ErrorMsg = None
|
3150
|
+
self._TotalCount = None
|
3130
3151
|
self._RequestId = None
|
3131
3152
|
|
3132
3153
|
@property
|
@@ -3137,6 +3158,22 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3137
3158
|
def BackUpJobs(self, BackUpJobs):
|
3138
3159
|
self._BackUpJobs = BackUpJobs
|
3139
3160
|
|
3161
|
+
@property
|
3162
|
+
def ErrorMsg(self):
|
3163
|
+
return self._ErrorMsg
|
3164
|
+
|
3165
|
+
@ErrorMsg.setter
|
3166
|
+
def ErrorMsg(self, ErrorMsg):
|
3167
|
+
self._ErrorMsg = ErrorMsg
|
3168
|
+
|
3169
|
+
@property
|
3170
|
+
def TotalCount(self):
|
3171
|
+
return self._TotalCount
|
3172
|
+
|
3173
|
+
@TotalCount.setter
|
3174
|
+
def TotalCount(self, TotalCount):
|
3175
|
+
self._TotalCount = TotalCount
|
3176
|
+
|
3140
3177
|
@property
|
3141
3178
|
def RequestId(self):
|
3142
3179
|
return self._RequestId
|
@@ -3153,6 +3190,8 @@ class DescribeBackUpJobResponse(AbstractModel):
|
|
3153
3190
|
obj = BackUpJobDisplay()
|
3154
3191
|
obj._deserialize(item)
|
3155
3192
|
self._BackUpJobs.append(obj)
|
3193
|
+
self._ErrorMsg = params.get("ErrorMsg")
|
3194
|
+
self._TotalCount = params.get("TotalCount")
|
3156
3195
|
self._RequestId = params.get("RequestId")
|
3157
3196
|
|
3158
3197
|
|
@@ -18,6 +18,63 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AutoScaleUpRule(AbstractModel):
|
22
|
+
"""自动扩容规则
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _Status: 自动扩容策略开启,关闭
|
29
|
+
:type Status: str
|
30
|
+
:param _ScaleThreshold: 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
31
|
+
:type ScaleThreshold: int
|
32
|
+
:param _TargetThreshold: 扩容后使用量跟集群总量比例,范围[1-90]
|
33
|
+
:type TargetThreshold: int
|
34
|
+
"""
|
35
|
+
self._Status = None
|
36
|
+
self._ScaleThreshold = None
|
37
|
+
self._TargetThreshold = None
|
38
|
+
|
39
|
+
@property
|
40
|
+
def Status(self):
|
41
|
+
return self._Status
|
42
|
+
|
43
|
+
@Status.setter
|
44
|
+
def Status(self, Status):
|
45
|
+
self._Status = Status
|
46
|
+
|
47
|
+
@property
|
48
|
+
def ScaleThreshold(self):
|
49
|
+
return self._ScaleThreshold
|
50
|
+
|
51
|
+
@ScaleThreshold.setter
|
52
|
+
def ScaleThreshold(self, ScaleThreshold):
|
53
|
+
self._ScaleThreshold = ScaleThreshold
|
54
|
+
|
55
|
+
@property
|
56
|
+
def TargetThreshold(self):
|
57
|
+
return self._TargetThreshold
|
58
|
+
|
59
|
+
@TargetThreshold.setter
|
60
|
+
def TargetThreshold(self, TargetThreshold):
|
61
|
+
self._TargetThreshold = TargetThreshold
|
62
|
+
|
63
|
+
|
64
|
+
def _deserialize(self, params):
|
65
|
+
self._Status = params.get("Status")
|
66
|
+
self._ScaleThreshold = params.get("ScaleThreshold")
|
67
|
+
self._TargetThreshold = params.get("TargetThreshold")
|
68
|
+
memeber_set = set(params.keys())
|
69
|
+
for name, value in vars(self).items():
|
70
|
+
property_name = name[1:]
|
71
|
+
if property_name in memeber_set:
|
72
|
+
memeber_set.remove(property_name)
|
73
|
+
if len(memeber_set) > 0:
|
74
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
75
|
+
|
76
|
+
|
77
|
+
|
21
78
|
class AutoSnapshotPolicyInfo(AbstractModel):
|
22
79
|
"""快照策略信息
|
23
80
|
|
@@ -4057,6 +4114,10 @@ class FileSystemInfo(AbstractModel):
|
|
4057
4114
|
:type AppId: int
|
4058
4115
|
:param _BandwidthLimit: 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定. 单位MiB/s
|
4059
4116
|
:type BandwidthLimit: float
|
4117
|
+
:param _AutoSnapshotPolicyId: 文件系统关联的快照策略
|
4118
|
+
:type AutoSnapshotPolicyId: str
|
4119
|
+
:param _SnapStatus: 文件系统处理快照状态
|
4120
|
+
:type SnapStatus: str
|
4060
4121
|
:param _Capacity: 文件系统容量规格上限
|
4061
4122
|
单位:GiB
|
4062
4123
|
:type Capacity: int
|
@@ -4069,6 +4130,12 @@ Available:可用
|
|
4069
4130
|
:param _TieringDetail: 分层存储详情
|
4070
4131
|
注意:此字段可能返回 null,表示取不到有效值。
|
4071
4132
|
:type TieringDetail: :class:`tencentcloud.cfs.v20190719.models.TieringDetailInfo`
|
4133
|
+
:param _AutoScaleUpRule: 文件系统自动扩容策略
|
4134
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4135
|
+
:type AutoScaleUpRule: :class:`tencentcloud.cfs.v20190719.models.AutoScaleUpRule`
|
4136
|
+
:param _Version: 文件系统版本
|
4137
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4138
|
+
:type Version: str
|
4072
4139
|
"""
|
4073
4140
|
self._CreationTime = None
|
4074
4141
|
self._CreationToken = None
|
@@ -4088,10 +4155,14 @@ Available:可用
|
|
4088
4155
|
self._KmsKeyId = None
|
4089
4156
|
self._AppId = None
|
4090
4157
|
self._BandwidthLimit = None
|
4158
|
+
self._AutoSnapshotPolicyId = None
|
4159
|
+
self._SnapStatus = None
|
4091
4160
|
self._Capacity = None
|
4092
4161
|
self._Tags = None
|
4093
4162
|
self._TieringState = None
|
4094
4163
|
self._TieringDetail = None
|
4164
|
+
self._AutoScaleUpRule = None
|
4165
|
+
self._Version = None
|
4095
4166
|
|
4096
4167
|
@property
|
4097
4168
|
def CreationTime(self):
|
@@ -4237,6 +4308,22 @@ Available:可用
|
|
4237
4308
|
def BandwidthLimit(self, BandwidthLimit):
|
4238
4309
|
self._BandwidthLimit = BandwidthLimit
|
4239
4310
|
|
4311
|
+
@property
|
4312
|
+
def AutoSnapshotPolicyId(self):
|
4313
|
+
return self._AutoSnapshotPolicyId
|
4314
|
+
|
4315
|
+
@AutoSnapshotPolicyId.setter
|
4316
|
+
def AutoSnapshotPolicyId(self, AutoSnapshotPolicyId):
|
4317
|
+
self._AutoSnapshotPolicyId = AutoSnapshotPolicyId
|
4318
|
+
|
4319
|
+
@property
|
4320
|
+
def SnapStatus(self):
|
4321
|
+
return self._SnapStatus
|
4322
|
+
|
4323
|
+
@SnapStatus.setter
|
4324
|
+
def SnapStatus(self, SnapStatus):
|
4325
|
+
self._SnapStatus = SnapStatus
|
4326
|
+
|
4240
4327
|
@property
|
4241
4328
|
def Capacity(self):
|
4242
4329
|
return self._Capacity
|
@@ -4269,6 +4356,22 @@ Available:可用
|
|
4269
4356
|
def TieringDetail(self, TieringDetail):
|
4270
4357
|
self._TieringDetail = TieringDetail
|
4271
4358
|
|
4359
|
+
@property
|
4360
|
+
def AutoScaleUpRule(self):
|
4361
|
+
return self._AutoScaleUpRule
|
4362
|
+
|
4363
|
+
@AutoScaleUpRule.setter
|
4364
|
+
def AutoScaleUpRule(self, AutoScaleUpRule):
|
4365
|
+
self._AutoScaleUpRule = AutoScaleUpRule
|
4366
|
+
|
4367
|
+
@property
|
4368
|
+
def Version(self):
|
4369
|
+
return self._Version
|
4370
|
+
|
4371
|
+
@Version.setter
|
4372
|
+
def Version(self, Version):
|
4373
|
+
self._Version = Version
|
4374
|
+
|
4272
4375
|
|
4273
4376
|
def _deserialize(self, params):
|
4274
4377
|
self._CreationTime = params.get("CreationTime")
|
@@ -4291,6 +4394,8 @@ Available:可用
|
|
4291
4394
|
self._KmsKeyId = params.get("KmsKeyId")
|
4292
4395
|
self._AppId = params.get("AppId")
|
4293
4396
|
self._BandwidthLimit = params.get("BandwidthLimit")
|
4397
|
+
self._AutoSnapshotPolicyId = params.get("AutoSnapshotPolicyId")
|
4398
|
+
self._SnapStatus = params.get("SnapStatus")
|
4294
4399
|
self._Capacity = params.get("Capacity")
|
4295
4400
|
if params.get("Tags") is not None:
|
4296
4401
|
self._Tags = []
|
@@ -4302,6 +4407,10 @@ Available:可用
|
|
4302
4407
|
if params.get("TieringDetail") is not None:
|
4303
4408
|
self._TieringDetail = TieringDetailInfo()
|
4304
4409
|
self._TieringDetail._deserialize(params.get("TieringDetail"))
|
4410
|
+
if params.get("AutoScaleUpRule") is not None:
|
4411
|
+
self._AutoScaleUpRule = AutoScaleUpRule()
|
4412
|
+
self._AutoScaleUpRule._deserialize(params.get("AutoScaleUpRule"))
|
4413
|
+
self._Version = params.get("Version")
|
4305
4414
|
memeber_set = set(params.keys())
|
4306
4415
|
for name, value in vars(self).items():
|
4307
4416
|
property_name = name[1:]
|
@@ -27,7 +27,9 @@ class CfwClient(AbstractClient):
|
|
27
27
|
|
28
28
|
|
29
29
|
def AddAcRule(self, request):
|
30
|
-
"""
|
30
|
+
"""接口不再使用,已有新接口AddAclRule
|
31
|
+
|
32
|
+
添加互联网边界规则
|
31
33
|
|
32
34
|
:param request: Request instance for AddAcRule.
|
33
35
|
:type request: :class:`tencentcloud.cfw.v20190904.models.AddAcRuleRequest`
|
@@ -6643,11 +6643,11 @@ class CreateNoticeContentRequest(AbstractModel):
|
|
6643
6643
|
|
6644
6644
|
def __init__(self):
|
6645
6645
|
r"""
|
6646
|
-
:param _Name:
|
6646
|
+
:param _Name: 模板名称。
|
6647
6647
|
:type Name: str
|
6648
|
-
:param _Type:
|
6648
|
+
:param _Type: 模板内容语言。0:中文1:英文
|
6649
6649
|
:type Type: int
|
6650
|
-
:param _NoticeContents:
|
6650
|
+
:param _NoticeContents: 模板详细配置。
|
6651
6651
|
:type NoticeContents: list of NoticeContent
|
6652
6652
|
"""
|
6653
6653
|
self._Name = None
|
@@ -9181,7 +9181,7 @@ class DeleteNoticeContentRequest(AbstractModel):
|
|
9181
9181
|
|
9182
9182
|
def __init__(self):
|
9183
9183
|
r"""
|
9184
|
-
:param _NoticeContentId:
|
9184
|
+
:param _NoticeContentId: 通知内容模板ID
|
9185
9185
|
:type NoticeContentId: str
|
9186
9186
|
"""
|
9187
9187
|
self._NoticeContentId = None
|
@@ -12454,12 +12454,12 @@ class DescribeNoticeContentsRequest(AbstractModel):
|
|
12454
12454
|
def __init__(self):
|
12455
12455
|
r"""
|
12456
12456
|
:param _Filters: <li> name
|
12457
|
-
|
12457
|
+
按照【通知内容模板名称】进行过滤。
|
12458
12458
|
类型:String
|
12459
12459
|
必选:否
|
12460
12460
|
</li>
|
12461
12461
|
<li> noticeContentId
|
12462
|
-
|
12462
|
+
按照【通知内容模板ID】进行过滤。
|
12463
12463
|
类型:String
|
12464
12464
|
必选:否
|
12465
12465
|
</li>
|
@@ -12525,10 +12525,10 @@ class DescribeNoticeContentsResponse(AbstractModel):
|
|
12525
12525
|
|
12526
12526
|
def __init__(self):
|
12527
12527
|
r"""
|
12528
|
-
:param _NoticeContents:
|
12528
|
+
:param _NoticeContents: 通知内容模板列表。
|
12529
12529
|
注意:此字段可能返回 null,表示取不到有效值。
|
12530
12530
|
:type NoticeContents: list of NoticeContentTemplate
|
12531
|
-
:param _TotalCount:
|
12531
|
+
:param _TotalCount: 符合条件的通知内容模板总数。
|
12532
12532
|
:type TotalCount: int
|
12533
12533
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12534
12534
|
:type RequestId: str
|
@@ -18810,15 +18810,15 @@ class ModifyNoticeContentRequest(AbstractModel):
|
|
18810
18810
|
|
18811
18811
|
def __init__(self):
|
18812
18812
|
r"""
|
18813
|
-
:param _NoticeContentId:
|
18813
|
+
:param _NoticeContentId: 通知内容模板ID。
|
18814
18814
|
:type NoticeContentId: str
|
18815
|
-
:param _Name:
|
18815
|
+
:param _Name: 通知内容模板名称。
|
18816
18816
|
:type Name: str
|
18817
18817
|
:param _Type: 通知内容语言。
|
18818
18818
|
|
18819
18819
|
0:中文 1:英文
|
18820
18820
|
:type Type: int
|
18821
|
-
:param _NoticeContents:
|
18821
|
+
:param _NoticeContents: 通知内容模板详细信息。
|
18822
18822
|
:type NoticeContents: list of NoticeContent
|
18823
18823
|
"""
|
18824
18824
|
self._NoticeContentId = None
|
@@ -19675,7 +19675,7 @@ class MultiTopicSearchInformation(AbstractModel):
|
|
19675
19675
|
|
19676
19676
|
|
19677
19677
|
class NoticeContent(AbstractModel):
|
19678
|
-
"""
|
19678
|
+
"""通知内容模板详细配置
|
19679
19679
|
|
19680
19680
|
"""
|
19681
19681
|
|
@@ -19685,10 +19685,10 @@ class NoticeContent(AbstractModel):
|
|
19685
19685
|
|
19686
19686
|
Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
19687
19687
|
:type Type: str
|
19688
|
-
:param _TriggerContent:
|
19688
|
+
:param _TriggerContent: 告警触发通知内容模板。
|
19689
19689
|
注意:此字段可能返回 null,表示取不到有效值。
|
19690
19690
|
:type TriggerContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
19691
|
-
:param _RecoveryContent:
|
19691
|
+
:param _RecoveryContent: 告警恢复通知内容模板。
|
19692
19692
|
注意:此字段可能返回 null,表示取不到有效值。
|
19693
19693
|
:type RecoveryContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
|
19694
19694
|
"""
|
@@ -29330,6 +29330,9 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
29330
29330
|
:param _RowFilterInfo: 行过滤信息集合
|
29331
29331
|
注意:此字段可能返回 null,表示取不到有效值。
|
29332
29332
|
:type RowFilterInfo: :class:`tencentcloud.dlc.v20210125.models.Policys`
|
29333
|
+
:param _CatalogPolicyInfo: 数据目录权限集
|
29334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
29335
|
+
:type CatalogPolicyInfo: :class:`tencentcloud.dlc.v20210125.models.Policy`
|
29333
29336
|
"""
|
29334
29337
|
self._WorkGroupId = None
|
29335
29338
|
self._WorkGroupName = None
|
@@ -29339,6 +29342,7 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
29339
29342
|
self._EnginePolicyInfo = None
|
29340
29343
|
self._WorkGroupDescription = None
|
29341
29344
|
self._RowFilterInfo = None
|
29345
|
+
self._CatalogPolicyInfo = None
|
29342
29346
|
|
29343
29347
|
@property
|
29344
29348
|
def WorkGroupId(self):
|
@@ -29404,6 +29408,14 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
29404
29408
|
def RowFilterInfo(self, RowFilterInfo):
|
29405
29409
|
self._RowFilterInfo = RowFilterInfo
|
29406
29410
|
|
29411
|
+
@property
|
29412
|
+
def CatalogPolicyInfo(self):
|
29413
|
+
return self._CatalogPolicyInfo
|
29414
|
+
|
29415
|
+
@CatalogPolicyInfo.setter
|
29416
|
+
def CatalogPolicyInfo(self, CatalogPolicyInfo):
|
29417
|
+
self._CatalogPolicyInfo = CatalogPolicyInfo
|
29418
|
+
|
29407
29419
|
|
29408
29420
|
def _deserialize(self, params):
|
29409
29421
|
self._WorkGroupId = params.get("WorkGroupId")
|
@@ -29422,6 +29434,9 @@ class WorkGroupDetailInfo(AbstractModel):
|
|
29422
29434
|
if params.get("RowFilterInfo") is not None:
|
29423
29435
|
self._RowFilterInfo = Policys()
|
29424
29436
|
self._RowFilterInfo._deserialize(params.get("RowFilterInfo"))
|
29437
|
+
if params.get("CatalogPolicyInfo") is not None:
|
29438
|
+
self._CatalogPolicyInfo = Policy()
|
29439
|
+
self._CatalogPolicyInfo._deserialize(params.get("CatalogPolicyInfo"))
|
29425
29440
|
memeber_set = set(params.keys())
|
29426
29441
|
for name, value in vars(self).items():
|
29427
29442
|
property_name = name[1:]
|
@@ -212,6 +212,52 @@ class DnspodClient(AbstractClient):
|
|
212
212
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
213
213
|
|
214
214
|
|
215
|
+
def CreateLineGroup(self, request):
|
216
|
+
"""创建域名的线路分组
|
217
|
+
|
218
|
+
:param request: Request instance for CreateLineGroup.
|
219
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.CreateLineGroupRequest`
|
220
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.CreateLineGroupResponse`
|
221
|
+
|
222
|
+
"""
|
223
|
+
try:
|
224
|
+
params = request._serialize()
|
225
|
+
headers = request.headers
|
226
|
+
body = self.call("CreateLineGroup", params, headers=headers)
|
227
|
+
response = json.loads(body)
|
228
|
+
model = models.CreateLineGroupResponse()
|
229
|
+
model._deserialize(response["Response"])
|
230
|
+
return model
|
231
|
+
except Exception as e:
|
232
|
+
if isinstance(e, TencentCloudSDKException):
|
233
|
+
raise
|
234
|
+
else:
|
235
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
236
|
+
|
237
|
+
|
238
|
+
def CreateLineGroupCopy(self, request):
|
239
|
+
"""复制域名的线路分组
|
240
|
+
|
241
|
+
:param request: Request instance for CreateLineGroupCopy.
|
242
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.CreateLineGroupCopyRequest`
|
243
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.CreateLineGroupCopyResponse`
|
244
|
+
|
245
|
+
"""
|
246
|
+
try:
|
247
|
+
params = request._serialize()
|
248
|
+
headers = request.headers
|
249
|
+
body = self.call("CreateLineGroupCopy", params, headers=headers)
|
250
|
+
response = json.loads(body)
|
251
|
+
model = models.CreateLineGroupCopyResponse()
|
252
|
+
model._deserialize(response["Response"])
|
253
|
+
return model
|
254
|
+
except Exception as e:
|
255
|
+
if isinstance(e, TencentCloudSDKException):
|
256
|
+
raise
|
257
|
+
else:
|
258
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
259
|
+
|
260
|
+
|
215
261
|
def CreateRecord(self, request):
|
216
262
|
"""添加记录
|
217
263
|
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
@@ -421,6 +467,29 @@ class DnspodClient(AbstractClient):
|
|
421
467
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
422
468
|
|
423
469
|
|
470
|
+
def DeleteLineGroup(self, request):
|
471
|
+
"""删除域名的线路分组
|
472
|
+
|
473
|
+
:param request: Request instance for DeleteLineGroup.
|
474
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DeleteLineGroupRequest`
|
475
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DeleteLineGroupResponse`
|
476
|
+
|
477
|
+
"""
|
478
|
+
try:
|
479
|
+
params = request._serialize()
|
480
|
+
headers = request.headers
|
481
|
+
body = self.call("DeleteLineGroup", params, headers=headers)
|
482
|
+
response = json.loads(body)
|
483
|
+
model = models.DeleteLineGroupResponse()
|
484
|
+
model._deserialize(response["Response"])
|
485
|
+
return model
|
486
|
+
except Exception as e:
|
487
|
+
if isinstance(e, TencentCloudSDKException):
|
488
|
+
raise
|
489
|
+
else:
|
490
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
491
|
+
|
492
|
+
|
424
493
|
def DeleteRecord(self, request):
|
425
494
|
"""删除记录
|
426
495
|
|
@@ -860,6 +929,29 @@ class DnspodClient(AbstractClient):
|
|
860
929
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
861
930
|
|
862
931
|
|
932
|
+
def DescribeLineGroupList(self, request):
|
933
|
+
"""获取域名的线路分组列表
|
934
|
+
|
935
|
+
:param request: Request instance for DescribeLineGroupList.
|
936
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.DescribeLineGroupListRequest`
|
937
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.DescribeLineGroupListResponse`
|
938
|
+
|
939
|
+
"""
|
940
|
+
try:
|
941
|
+
params = request._serialize()
|
942
|
+
headers = request.headers
|
943
|
+
body = self.call("DescribeLineGroupList", params, headers=headers)
|
944
|
+
response = json.loads(body)
|
945
|
+
model = models.DescribeLineGroupListResponse()
|
946
|
+
model._deserialize(response["Response"])
|
947
|
+
return model
|
948
|
+
except Exception as e:
|
949
|
+
if isinstance(e, TencentCloudSDKException):
|
950
|
+
raise
|
951
|
+
else:
|
952
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
953
|
+
|
954
|
+
|
863
955
|
def DescribePackageDetail(self, request):
|
864
956
|
"""获取各套餐配置详情
|
865
957
|
|
@@ -1464,6 +1556,29 @@ class DnspodClient(AbstractClient):
|
|
1464
1556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1465
1557
|
|
1466
1558
|
|
1559
|
+
def ModifyLineGroup(self, request):
|
1560
|
+
"""修改域名的线路分组
|
1561
|
+
|
1562
|
+
:param request: Request instance for ModifyLineGroup.
|
1563
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.ModifyLineGroupRequest`
|
1564
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.ModifyLineGroupResponse`
|
1565
|
+
|
1566
|
+
"""
|
1567
|
+
try:
|
1568
|
+
params = request._serialize()
|
1569
|
+
headers = request.headers
|
1570
|
+
body = self.call("ModifyLineGroup", params, headers=headers)
|
1571
|
+
response = json.loads(body)
|
1572
|
+
model = models.ModifyLineGroupResponse()
|
1573
|
+
model._deserialize(response["Response"])
|
1574
|
+
return model
|
1575
|
+
except Exception as e:
|
1576
|
+
if isinstance(e, TencentCloudSDKException):
|
1577
|
+
raise
|
1578
|
+
else:
|
1579
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1580
|
+
|
1581
|
+
|
1467
1582
|
def ModifyPackageAutoRenew(self, request):
|
1468
1583
|
"""DNS 解析套餐自动续费设置
|
1469
1584
|
|