tencentcloud-sdk-python 3.0.1186__py2.py3-none-any.whl → 3.0.1188__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 +25 -0
- tencentcloud/aiart/v20221229/models.py +138 -0
- tencentcloud/asr/v20190614/models.py +12 -12
- tencentcloud/cam/v20190116/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/errorcodes.py +18 -0
- tencentcloud/clb/v20180317/clb_client.py +13 -16
- tencentcloud/cwp/v20180228/models.py +61 -0
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/ess/v20201111/ess_client.py +26 -0
- tencentcloud/ess/v20201111/models.py +107 -8
- tencentcloud/essbasic/v20210526/essbasic_client.py +26 -0
- tencentcloud/essbasic/v20210526/models.py +88 -11
- tencentcloud/gaap/v20180529/gaap_client.py +23 -0
- tencentcloud/gaap/v20180529/models.py +31 -0
- tencentcloud/lighthouse/v20200324/models.py +1 -1
- tencentcloud/lke/v20231130/lke_client.py +23 -0
- tencentcloud/lke/v20231130/models.py +240 -1
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +130 -0
- tencentcloud/mna/v20210119/mna_client.py +207 -0
- tencentcloud/mna/v20210119/models.py +1184 -115
- tencentcloud/mongodb/v20190725/models.py +58 -51
- tencentcloud/monitor/v20180724/models.py +1 -1
- tencentcloud/mps/v20190612/models.py +26 -0
- tencentcloud/oceanus/v20190422/models.py +31 -0
- tencentcloud/organization/v20210331/organization_client.py +1 -1
- tencentcloud/rum/v20210622/models.py +12 -0
- tencentcloud/thpc/v20230321/models.py +13 -1
- tencentcloud/trtc/v20190722/models.py +14 -2
- tencentcloud/trtc/v20190722/trtc_client.py +1 -1
- tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- tencentcloud/tsf/v20180326/models.py +222 -0
- tencentcloud/tsf/v20180326/tsf_client.py +46 -0
- tencentcloud/vpc/v20170312/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1186.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1186.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1186.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1186.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1186.dist-info → tencentcloud_sdk_python-3.0.1188.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -26,6 +26,31 @@ class AiartClient(AbstractClient):
|
|
26
26
|
_service = 'aiart'
|
27
27
|
|
28
28
|
|
29
|
+
def ChangeClothes(self, request):
|
30
|
+
"""上传正面全身模特照和服装平铺图,生成模特换装后的图片。
|
31
|
+
生成的换装图片分辨率和模特照分辨率一致。
|
32
|
+
模特换装默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
33
|
+
|
34
|
+
:param request: Request instance for ChangeClothes.
|
35
|
+
:type request: :class:`tencentcloud.aiart.v20221229.models.ChangeClothesRequest`
|
36
|
+
:rtype: :class:`tencentcloud.aiart.v20221229.models.ChangeClothesResponse`
|
37
|
+
|
38
|
+
"""
|
39
|
+
try:
|
40
|
+
params = request._serialize()
|
41
|
+
headers = request.headers
|
42
|
+
body = self.call("ChangeClothes", params, headers=headers)
|
43
|
+
response = json.loads(body)
|
44
|
+
model = models.ChangeClothesResponse()
|
45
|
+
model._deserialize(response["Response"])
|
46
|
+
return model
|
47
|
+
except Exception as e:
|
48
|
+
if isinstance(e, TencentCloudSDKException):
|
49
|
+
raise
|
50
|
+
else:
|
51
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
52
|
+
|
53
|
+
|
29
54
|
def GenerateAvatar(self, request):
|
30
55
|
"""百变头像接口将根据输入的人像照片,生成风格百变的头像。
|
31
56
|
百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
@@ -18,6 +18,144 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class ChangeClothesRequest(AbstractModel):
|
22
|
+
"""ChangeClothes请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _ModelUrl: 模特图片 Url。
|
29
|
+
图片限制:单边分辨率小于3000,且大于512,转成 Base64 字符串后小于 8MB。
|
30
|
+
输入要求:
|
31
|
+
1、建议上传正面模特图片,至少完整露出应穿着输入指定服装的身体部位(全身、上半身或下半身),无大角度身体偏转或异常姿势。
|
32
|
+
2、建议上传3:4比例的图片,生成效果更佳。
|
33
|
+
3、建议模特图片中的原始服装和更换后的服装类别一致,或原始服装在身体上的覆盖范围小于等于更换后的服装(例如需要给模特换上短裤,则原始模特图片中也建议穿短裤,不建议穿长裤),否则会影响人像生成效果。
|
34
|
+
|
35
|
+
:type ModelUrl: str
|
36
|
+
:param _ClothesUrl: 服装图片 Url。
|
37
|
+
图片限制:单边分辨率小于3000,大于512,转成 Base64 字符串后小于 8MB。
|
38
|
+
输入要求:
|
39
|
+
建议上传服装完整的正面平铺图片,仅包含1个服装主体,服装类型支持上衣、下装、连衣裙,三选一。算法将根据输入的图片,结合服装图片给模特换装。
|
40
|
+
:type ClothesUrl: str
|
41
|
+
:param _ClothesType: 服装类型,需要和服装图片保持一致。
|
42
|
+
取值:
|
43
|
+
Upper-body:上衣
|
44
|
+
Lower-body:下装
|
45
|
+
Dress:连衣裙
|
46
|
+
:type ClothesType: str
|
47
|
+
:param _LogoAdd: 为生成结果图添加标识的开关,默认为1。
|
48
|
+
1:添加标识。
|
49
|
+
0:不添加标识。
|
50
|
+
其他数值:默认按1处理。
|
51
|
+
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
52
|
+
:type LogoAdd: int
|
53
|
+
:param _RspImgType: 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。
|
54
|
+
生成图分辨率较大时建议选择 url,使用 base64 可能因图片过大导致返回失败。
|
55
|
+
:type RspImgType: str
|
56
|
+
"""
|
57
|
+
self._ModelUrl = None
|
58
|
+
self._ClothesUrl = None
|
59
|
+
self._ClothesType = None
|
60
|
+
self._LogoAdd = None
|
61
|
+
self._RspImgType = None
|
62
|
+
|
63
|
+
@property
|
64
|
+
def ModelUrl(self):
|
65
|
+
return self._ModelUrl
|
66
|
+
|
67
|
+
@ModelUrl.setter
|
68
|
+
def ModelUrl(self, ModelUrl):
|
69
|
+
self._ModelUrl = ModelUrl
|
70
|
+
|
71
|
+
@property
|
72
|
+
def ClothesUrl(self):
|
73
|
+
return self._ClothesUrl
|
74
|
+
|
75
|
+
@ClothesUrl.setter
|
76
|
+
def ClothesUrl(self, ClothesUrl):
|
77
|
+
self._ClothesUrl = ClothesUrl
|
78
|
+
|
79
|
+
@property
|
80
|
+
def ClothesType(self):
|
81
|
+
return self._ClothesType
|
82
|
+
|
83
|
+
@ClothesType.setter
|
84
|
+
def ClothesType(self, ClothesType):
|
85
|
+
self._ClothesType = ClothesType
|
86
|
+
|
87
|
+
@property
|
88
|
+
def LogoAdd(self):
|
89
|
+
return self._LogoAdd
|
90
|
+
|
91
|
+
@LogoAdd.setter
|
92
|
+
def LogoAdd(self, LogoAdd):
|
93
|
+
self._LogoAdd = LogoAdd
|
94
|
+
|
95
|
+
@property
|
96
|
+
def RspImgType(self):
|
97
|
+
return self._RspImgType
|
98
|
+
|
99
|
+
@RspImgType.setter
|
100
|
+
def RspImgType(self, RspImgType):
|
101
|
+
self._RspImgType = RspImgType
|
102
|
+
|
103
|
+
|
104
|
+
def _deserialize(self, params):
|
105
|
+
self._ModelUrl = params.get("ModelUrl")
|
106
|
+
self._ClothesUrl = params.get("ClothesUrl")
|
107
|
+
self._ClothesType = params.get("ClothesType")
|
108
|
+
self._LogoAdd = params.get("LogoAdd")
|
109
|
+
self._RspImgType = params.get("RspImgType")
|
110
|
+
memeber_set = set(params.keys())
|
111
|
+
for name, value in vars(self).items():
|
112
|
+
property_name = name[1:]
|
113
|
+
if property_name in memeber_set:
|
114
|
+
memeber_set.remove(property_name)
|
115
|
+
if len(memeber_set) > 0:
|
116
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
class ChangeClothesResponse(AbstractModel):
|
121
|
+
"""ChangeClothes返回参数结构体
|
122
|
+
|
123
|
+
"""
|
124
|
+
|
125
|
+
def __init__(self):
|
126
|
+
r"""
|
127
|
+
:param _ResultImage: 根据入参 RspImgType 填入不同,返回不同的内容。
|
128
|
+
如果传入 base64 则返回生成图 Base64 编码。
|
129
|
+
如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。
|
130
|
+
:type ResultImage: str
|
131
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
132
|
+
:type RequestId: str
|
133
|
+
"""
|
134
|
+
self._ResultImage = None
|
135
|
+
self._RequestId = None
|
136
|
+
|
137
|
+
@property
|
138
|
+
def ResultImage(self):
|
139
|
+
return self._ResultImage
|
140
|
+
|
141
|
+
@ResultImage.setter
|
142
|
+
def ResultImage(self, ResultImage):
|
143
|
+
self._ResultImage = ResultImage
|
144
|
+
|
145
|
+
@property
|
146
|
+
def RequestId(self):
|
147
|
+
return self._RequestId
|
148
|
+
|
149
|
+
@RequestId.setter
|
150
|
+
def RequestId(self, RequestId):
|
151
|
+
self._RequestId = RequestId
|
152
|
+
|
153
|
+
|
154
|
+
def _deserialize(self, params):
|
155
|
+
self._ResultImage = params.get("ResultImage")
|
156
|
+
self._RequestId = params.get("RequestId")
|
157
|
+
|
158
|
+
|
21
159
|
class Filter(AbstractModel):
|
22
160
|
"""训练图像质量过滤开关配置。
|
23
161
|
支持开启或关闭对训练图像分辨率下限、脸部区域大小、脸部遮挡、脸部角度的过滤,默认开启以上过滤。
|
@@ -4361,15 +4361,15 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4361
4361
|
:type VoiceFormat: int
|
4362
4362
|
:param _SampleRate: 音频采样率,目前支持16000,单位:Hz,必填
|
4363
4363
|
:type SampleRate: int
|
4364
|
-
:param _VoicePrintId: 说话人id, 说话人唯一标识
|
4365
|
-
:type VoicePrintId: str
|
4366
4364
|
:param _Data: 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
4367
4365
|
:type Data: str
|
4366
|
+
:param _VoicePrintId: 说话人id, 说话人唯一标识
|
4367
|
+
:type VoicePrintId: str
|
4368
4368
|
"""
|
4369
4369
|
self._VoiceFormat = None
|
4370
4370
|
self._SampleRate = None
|
4371
|
-
self._VoicePrintId = None
|
4372
4371
|
self._Data = None
|
4372
|
+
self._VoicePrintId = None
|
4373
4373
|
|
4374
4374
|
@property
|
4375
4375
|
def VoiceFormat(self):
|
@@ -4387,14 +4387,6 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4387
4387
|
def SampleRate(self, SampleRate):
|
4388
4388
|
self._SampleRate = SampleRate
|
4389
4389
|
|
4390
|
-
@property
|
4391
|
-
def VoicePrintId(self):
|
4392
|
-
return self._VoicePrintId
|
4393
|
-
|
4394
|
-
@VoicePrintId.setter
|
4395
|
-
def VoicePrintId(self, VoicePrintId):
|
4396
|
-
self._VoicePrintId = VoicePrintId
|
4397
|
-
|
4398
4390
|
@property
|
4399
4391
|
def Data(self):
|
4400
4392
|
return self._Data
|
@@ -4403,12 +4395,20 @@ class VoicePrintVerifyRequest(AbstractModel):
|
|
4403
4395
|
def Data(self, Data):
|
4404
4396
|
self._Data = Data
|
4405
4397
|
|
4398
|
+
@property
|
4399
|
+
def VoicePrintId(self):
|
4400
|
+
return self._VoicePrintId
|
4401
|
+
|
4402
|
+
@VoicePrintId.setter
|
4403
|
+
def VoicePrintId(self, VoicePrintId):
|
4404
|
+
self._VoicePrintId = VoicePrintId
|
4405
|
+
|
4406
4406
|
|
4407
4407
|
def _deserialize(self, params):
|
4408
4408
|
self._VoiceFormat = params.get("VoiceFormat")
|
4409
4409
|
self._SampleRate = params.get("SampleRate")
|
4410
|
-
self._VoicePrintId = params.get("VoicePrintId")
|
4411
4410
|
self._Data = params.get("Data")
|
4411
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
4412
4412
|
memeber_set = set(params.keys())
|
4413
4413
|
for name, value in vars(self).items():
|
4414
4414
|
property_name = name[1:]
|
@@ -26,6 +26,9 @@ FAILEDOPERATION_ACCESSKEY = 'FailedOperation.Accesskey'
|
|
26
26
|
# 生成AuthToken异常。
|
27
27
|
FAILEDOPERATION_BUILDAUTHTOKEN = 'FailedOperation.BuildAuthToken'
|
28
28
|
|
29
|
+
# CIC的身份提供商禁止操作
|
30
|
+
FAILEDOPERATION_CICIDENTITYFORBIDDEN = 'FailedOperation.CICIdentityForbidden'
|
31
|
+
|
29
32
|
# 凭据操作失败。
|
30
33
|
FAILEDOPERATION_FLOWAUTHILLEGAL = 'FailedOperation.FlowAuthIllegal'
|
31
34
|
|
@@ -50,6 +53,9 @@ FAILEDOPERATION_TAGRESOURCEFAILED = 'FailedOperation.TagResourceFailed'
|
|
50
53
|
# 解绑标签失败。
|
51
54
|
FAILEDOPERATION_UNTAGRESOURCEFAILED = 'FailedOperation.UnTagResourceFailed'
|
52
55
|
|
56
|
+
# 禁止变更
|
57
|
+
FAILEDOPERATION_UNMODIFIABLE = 'FailedOperation.Unmodifiable'
|
58
|
+
|
53
59
|
# 用户未绑定手机。
|
54
60
|
FAILEDOPERATION_USERNOTBINDPHONE = 'FailedOperation.UserNotBindPhone'
|
55
61
|
|
@@ -17,12 +17,27 @@
|
|
17
17
|
# 外呼失败。
|
18
18
|
FAILEDOPERATION_CALLOUTFAILED = 'FailedOperation.CallOutFailed'
|
19
19
|
|
20
|
+
# 高风险用户,请勿呼叫
|
21
|
+
FAILEDOPERATION_CALLEEISBLACKUSER = 'FailedOperation.CalleeIsBlackUser'
|
22
|
+
|
20
23
|
# 被叫号码外呼受限。
|
21
24
|
FAILEDOPERATION_CALLEEISLIMITED = 'FailedOperation.CalleeIsLimited'
|
22
25
|
|
23
26
|
# 主叫号码外呼超频。
|
24
27
|
FAILEDOPERATION_CALLEROVERFREQUENCY = 'FailedOperation.CallerOverFrequency'
|
25
28
|
|
29
|
+
# 触发默认被叫规则,呼叫盲区
|
30
|
+
FAILEDOPERATION_CALLOUTRULEBLINDAREA = 'FailedOperation.CalloutRuleBlindArea'
|
31
|
+
|
32
|
+
# 触发默认外呼规则,被叫一段时间内呼叫量
|
33
|
+
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEINTERVALTIME = 'FailedOperation.CalloutRuleMaxCallCountCalleeIntervalTime'
|
34
|
+
|
35
|
+
# 触发默认外呼规则,被叫每日最大呼叫量
|
36
|
+
FAILEDOPERATION_CALLOUTRULEMAXCALLCOUNTCALLEEPERDAYAPPID = 'FailedOperation.CalloutRuleMaxCallCountCalleePerDayAppID'
|
37
|
+
|
38
|
+
# 触发默认外呼规则,不在可外呼时间
|
39
|
+
FAILEDOPERATION_CALLOUTRULENOTWORKTIME = 'FailedOperation.CalloutRuleNotWorkTime'
|
40
|
+
|
26
41
|
# 当前号码状态不能被修改。
|
27
42
|
FAILEDOPERATION_CURSTATENOTALLOWMODIFY = 'FailedOperation.CurStateNotAllowModify'
|
28
43
|
|
@@ -125,6 +140,9 @@ INVALIDPARAMETERVALUE_WAITINGAPPROVALOVERFLOW = 'InvalidParameterValue.WaitingAp
|
|
125
140
|
# 超过配额限制。
|
126
141
|
LIMITEXCEEDED = 'LimitExceeded'
|
127
142
|
|
143
|
+
# 套餐包耗尽
|
144
|
+
LIMITEXCEEDED_BASEPACKAGEEXPIRED = 'LimitExceeded.BasePackageExpired'
|
145
|
+
|
128
146
|
# 超出数量限制。
|
129
147
|
LIMITEXCEEDED_OUTOFCOUNTLIMIT = 'LimitExceeded.OutOfCountLimit'
|
130
148
|
|
@@ -171,22 +171,19 @@ class ClbClient(AbstractClient):
|
|
171
171
|
|
172
172
|
注:查询实例创建状态可以根据返回值中的requestId访问[DescribeTaskStatus](https://cloud.tencent.com/document/product/214/30683)接口
|
173
173
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
当实例的监听器个数超过50个时,不支持克隆。
|
188
|
-
后端服务维度限制
|
189
|
-
不支持克隆绑定的后端服务类型为目标组和 SCF 云函数的实例。
|
174
|
+
限制说明
|
175
|
+
实例属性维度限制:
|
176
|
+
- 支持克隆网络计费模式为按量计费与包年包月的实例,包年包月实例克隆后的新实例网络计费模式会转换为按小时带宽计费,其带宽、规格与原实例设置保持一致。
|
177
|
+
- 不支持克隆未关联实例计费项的 CLB。
|
178
|
+
- 不支持克隆传统型负载均衡实例和高防 CLB。
|
179
|
+
- 不支持克隆基础网络类型的实例。
|
180
|
+
- 不支持克隆 Anycast 类型的实例。
|
181
|
+
- 不支持克隆 IPv6 NAT64 版本的实例。
|
182
|
+
- 不支持克隆被封禁或冻结的实例。
|
183
|
+
- 执行克隆操作前,请确保实例上没有使用已过期证书,否则会导致克隆失败。
|
184
|
+
配额维度限制:
|
185
|
+
- 当实例的监听器个数超过 50 个时,不支持克隆。
|
186
|
+
- 当共享型实例的公网带宽上限超过 2G 时,不支持克隆。
|
190
187
|
|
191
188
|
通过接口调用:
|
192
189
|
BGP带宽包必须传带宽包id
|
@@ -40170,6 +40170,10 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
40170
40170
|
:type EnableInspiredEngine: int
|
40171
40171
|
:param _EnableMemShellScan: 是否开启恶意进程查杀[0:未开启,1:开启]
|
40172
40172
|
:type EnableMemShellScan: int
|
40173
|
+
:param _ProtectMode: 防护模式 0 标准 1 重保
|
40174
|
+
:type ProtectMode: int
|
40175
|
+
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
40176
|
+
:type ProtectFileScope: int
|
40173
40177
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
40174
40178
|
:type RequestId: str
|
40175
40179
|
"""
|
@@ -40189,6 +40193,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
40189
40193
|
self._EngineType = None
|
40190
40194
|
self._EnableInspiredEngine = None
|
40191
40195
|
self._EnableMemShellScan = None
|
40196
|
+
self._ProtectMode = None
|
40197
|
+
self._ProtectFileScope = None
|
40192
40198
|
self._RequestId = None
|
40193
40199
|
|
40194
40200
|
@property
|
@@ -40319,6 +40325,22 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
40319
40325
|
def EnableMemShellScan(self, EnableMemShellScan):
|
40320
40326
|
self._EnableMemShellScan = EnableMemShellScan
|
40321
40327
|
|
40328
|
+
@property
|
40329
|
+
def ProtectMode(self):
|
40330
|
+
return self._ProtectMode
|
40331
|
+
|
40332
|
+
@ProtectMode.setter
|
40333
|
+
def ProtectMode(self, ProtectMode):
|
40334
|
+
self._ProtectMode = ProtectMode
|
40335
|
+
|
40336
|
+
@property
|
40337
|
+
def ProtectFileScope(self):
|
40338
|
+
return self._ProtectFileScope
|
40339
|
+
|
40340
|
+
@ProtectFileScope.setter
|
40341
|
+
def ProtectFileScope(self, ProtectFileScope):
|
40342
|
+
self._ProtectFileScope = ProtectFileScope
|
40343
|
+
|
40322
40344
|
@property
|
40323
40345
|
def RequestId(self):
|
40324
40346
|
return self._RequestId
|
@@ -40345,6 +40367,8 @@ class DescribeMalwareTimingScanSettingResponse(AbstractModel):
|
|
40345
40367
|
self._EngineType = params.get("EngineType")
|
40346
40368
|
self._EnableInspiredEngine = params.get("EnableInspiredEngine")
|
40347
40369
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
40370
|
+
self._ProtectMode = params.get("ProtectMode")
|
40371
|
+
self._ProtectFileScope = params.get("ProtectFileScope")
|
40348
40372
|
self._RequestId = params.get("RequestId")
|
40349
40373
|
|
40350
40374
|
|
@@ -71254,12 +71278,19 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
71254
71278
|
:type AutoIsolation: int
|
71255
71279
|
:param _KillProcess: 是否杀掉进程 1杀掉 0不杀掉
|
71256
71280
|
:type KillProcess: int
|
71281
|
+
:param _DoClean: 1 清理, 0 不清理
|
71282
|
+
<li>本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用</li>
|
71283
|
+
:type DoClean: int
|
71257
71284
|
:param _EngineType: 1标准模式(只报严重、高危)、2增强模式(报严重、高危、中危)、3严格模式(报严重、高、中、低、提示)
|
71258
71285
|
:type EngineType: int
|
71259
71286
|
:param _EnableInspiredEngine: 启发引擎开关 0 关闭 1开启
|
71260
71287
|
:type EnableInspiredEngine: int
|
71261
71288
|
:param _EnableMemShellScan: 是否开启恶意进程查杀[0:未开启,1:开启]
|
71262
71289
|
:type EnableMemShellScan: int
|
71290
|
+
:param _ProtectMode: 防护模式 0 标准 1重保
|
71291
|
+
:type ProtectMode: int
|
71292
|
+
:param _ProtectFileScope: 查杀范围 0 脚本类之外的恶意文件,1全部恶意文件
|
71293
|
+
:type ProtectFileScope: int
|
71263
71294
|
"""
|
71264
71295
|
self._CheckPattern = None
|
71265
71296
|
self._StartTime = None
|
@@ -71272,9 +71303,12 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
71272
71303
|
self._QuuidList = None
|
71273
71304
|
self._AutoIsolation = None
|
71274
71305
|
self._KillProcess = None
|
71306
|
+
self._DoClean = None
|
71275
71307
|
self._EngineType = None
|
71276
71308
|
self._EnableInspiredEngine = None
|
71277
71309
|
self._EnableMemShellScan = None
|
71310
|
+
self._ProtectMode = None
|
71311
|
+
self._ProtectFileScope = None
|
71278
71312
|
|
71279
71313
|
@property
|
71280
71314
|
def CheckPattern(self):
|
@@ -71364,6 +71398,14 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
71364
71398
|
def KillProcess(self, KillProcess):
|
71365
71399
|
self._KillProcess = KillProcess
|
71366
71400
|
|
71401
|
+
@property
|
71402
|
+
def DoClean(self):
|
71403
|
+
return self._DoClean
|
71404
|
+
|
71405
|
+
@DoClean.setter
|
71406
|
+
def DoClean(self, DoClean):
|
71407
|
+
self._DoClean = DoClean
|
71408
|
+
|
71367
71409
|
@property
|
71368
71410
|
def EngineType(self):
|
71369
71411
|
return self._EngineType
|
@@ -71388,6 +71430,22 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
71388
71430
|
def EnableMemShellScan(self, EnableMemShellScan):
|
71389
71431
|
self._EnableMemShellScan = EnableMemShellScan
|
71390
71432
|
|
71433
|
+
@property
|
71434
|
+
def ProtectMode(self):
|
71435
|
+
return self._ProtectMode
|
71436
|
+
|
71437
|
+
@ProtectMode.setter
|
71438
|
+
def ProtectMode(self, ProtectMode):
|
71439
|
+
self._ProtectMode = ProtectMode
|
71440
|
+
|
71441
|
+
@property
|
71442
|
+
def ProtectFileScope(self):
|
71443
|
+
return self._ProtectFileScope
|
71444
|
+
|
71445
|
+
@ProtectFileScope.setter
|
71446
|
+
def ProtectFileScope(self, ProtectFileScope):
|
71447
|
+
self._ProtectFileScope = ProtectFileScope
|
71448
|
+
|
71391
71449
|
|
71392
71450
|
def _deserialize(self, params):
|
71393
71451
|
self._CheckPattern = params.get("CheckPattern")
|
@@ -71401,9 +71459,12 @@ class ModifyMalwareTimingScanSettingsRequest(AbstractModel):
|
|
71401
71459
|
self._QuuidList = params.get("QuuidList")
|
71402
71460
|
self._AutoIsolation = params.get("AutoIsolation")
|
71403
71461
|
self._KillProcess = params.get("KillProcess")
|
71462
|
+
self._DoClean = params.get("DoClean")
|
71404
71463
|
self._EngineType = params.get("EngineType")
|
71405
71464
|
self._EnableInspiredEngine = params.get("EnableInspiredEngine")
|
71406
71465
|
self._EnableMemShellScan = params.get("EnableMemShellScan")
|
71466
|
+
self._ProtectMode = params.get("ProtectMode")
|
71467
|
+
self._ProtectFileScope = params.get("ProtectFileScope")
|
71407
71468
|
memeber_set = set(params.keys())
|
71408
71469
|
for name, value in vars(self).items():
|
71409
71470
|
property_name = name[1:]
|
@@ -2087,6 +2087,8 @@ class CreateRecordRequest(AbstractModel):
|
|
2087
2087
|
:type Remark: str
|
2088
2088
|
:param _DnssecConflictMode: 开启DNSSEC时,强制添加CNAME/URL记录
|
2089
2089
|
:type DnssecConflictMode: str
|
2090
|
+
:param _GroupId: 记录分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。
|
2091
|
+
:type GroupId: int
|
2090
2092
|
"""
|
2091
2093
|
self._Domain = None
|
2092
2094
|
self._RecordType = None
|
@@ -2101,6 +2103,7 @@ class CreateRecordRequest(AbstractModel):
|
|
2101
2103
|
self._Status = None
|
2102
2104
|
self._Remark = None
|
2103
2105
|
self._DnssecConflictMode = None
|
2106
|
+
self._GroupId = None
|
2104
2107
|
|
2105
2108
|
@property
|
2106
2109
|
def Domain(self):
|
@@ -2206,6 +2209,14 @@ class CreateRecordRequest(AbstractModel):
|
|
2206
2209
|
def DnssecConflictMode(self, DnssecConflictMode):
|
2207
2210
|
self._DnssecConflictMode = DnssecConflictMode
|
2208
2211
|
|
2212
|
+
@property
|
2213
|
+
def GroupId(self):
|
2214
|
+
return self._GroupId
|
2215
|
+
|
2216
|
+
@GroupId.setter
|
2217
|
+
def GroupId(self, GroupId):
|
2218
|
+
self._GroupId = GroupId
|
2219
|
+
|
2209
2220
|
|
2210
2221
|
def _deserialize(self, params):
|
2211
2222
|
self._Domain = params.get("Domain")
|
@@ -2221,6 +2232,7 @@ class CreateRecordRequest(AbstractModel):
|
|
2221
2232
|
self._Status = params.get("Status")
|
2222
2233
|
self._Remark = params.get("Remark")
|
2223
2234
|
self._DnssecConflictMode = params.get("DnssecConflictMode")
|
2235
|
+
self._GroupId = params.get("GroupId")
|
2224
2236
|
memeber_set = set(params.keys())
|
2225
2237
|
for name, value in vars(self).items():
|
2226
2238
|
property_name = name[1:]
|
@@ -405,6 +405,32 @@ class EssClient(AbstractClient):
|
|
405
405
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
406
406
|
|
407
407
|
|
408
|
+
def CreateEmployeeQualificationSealQrCode(self, request):
|
409
|
+
"""该接口用于获取个人授权执业章给企业的二维码,需要个人用户通过微信扫码。扫描后将跳转到腾讯电子签小程序,进入到授权执业章的流程。个人用户授权成功后,企业印章管理员需对印章进行审核,审核通过后,即可使用个人授权的执业章进行盖章操作。
|
410
|
+
|
411
|
+
**注意**
|
412
|
+
1. 该二维码**有效期为7天**,过期后将失效,可重新创建。
|
413
|
+
|
414
|
+
:param request: Request instance for CreateEmployeeQualificationSealQrCode.
|
415
|
+
:type request: :class:`tencentcloud.ess.v20201111.models.CreateEmployeeQualificationSealQrCodeRequest`
|
416
|
+
:rtype: :class:`tencentcloud.ess.v20201111.models.CreateEmployeeQualificationSealQrCodeResponse`
|
417
|
+
|
418
|
+
"""
|
419
|
+
try:
|
420
|
+
params = request._serialize()
|
421
|
+
headers = request.headers
|
422
|
+
body = self.call("CreateEmployeeQualificationSealQrCode", params, headers=headers)
|
423
|
+
response = json.loads(body)
|
424
|
+
model = models.CreateEmployeeQualificationSealQrCodeResponse()
|
425
|
+
model._deserialize(response["Response"])
|
426
|
+
return model
|
427
|
+
except Exception as e:
|
428
|
+
if isinstance(e, TencentCloudSDKException):
|
429
|
+
raise
|
430
|
+
else:
|
431
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
432
|
+
|
433
|
+
|
408
434
|
def CreateExtendedServiceAuthInfos(self, request):
|
409
435
|
"""创建企业扩展服务授权,当前仅支持授权 “企业自动签” 和 “批量签署” 给企业员工。
|
410
436
|
该接口作用和电子签控制台 企业设置-扩展服务-企业自动签署和批量签署授权 两个模块功能相同,可通过该接口授权给企业员工。
|