tencentcloud-sdk-python 3.0.1136__py2.py3-none-any.whl → 3.0.1138__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/models.py +41 -36
- tencentcloud/ccc/v20200210/models.py +1 -1
- tencentcloud/cfs/v20190719/models.py +19 -5
- tencentcloud/cfw/v20190904/cfw_client.py +1 -1
- tencentcloud/cloudstudio/v20230508/models.py +48 -36
- tencentcloud/cls/v20201016/models.py +197 -23
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +190 -2
- tencentcloud/dcdb/v20180411/dcdb_client.py +1 -1
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +16 -3
- tencentcloud/domain/v20180808/domain_client.py +23 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +100 -0
- tencentcloud/dts/v20211206/models.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +158 -1
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/faceid/v20180301/models.py +56 -7
- tencentcloud/hunyuan/v20230901/errorcodes.py +3 -3
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +31 -5
- tencentcloud/hunyuan/v20230901/models.py +271 -23
- tencentcloud/ims/v20200713/errorcodes.py +3 -0
- tencentcloud/iotvideo/v20211125/models.py +13 -0
- tencentcloud/lcic/v20220817/models.py +1 -1
- tencentcloud/lke/v20231130/errorcodes.py +12 -0
- tencentcloud/lke/v20231130/lke_client.py +46 -0
- tencentcloud/lke/v20231130/models.py +673 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +1 -1
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +70 -0
- tencentcloud/ocr/v20181119/models.py +251 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/rce/v20201103/models.py +6 -1
- tencentcloud/rum/v20210622/models.py +16 -16
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +179 -15
- tencentcloud/tione/v20211111/errorcodes.py +12 -0
- tencentcloud/tms/v20201229/errorcodes.py +6 -0
- tencentcloud/tms/v20201229/models.py +70 -0
- tencentcloud/tms/v20201229/tms_client.py +23 -0
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/tse/v20201207/models.py +77 -1
- tencentcloud/waf/v20180125/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1136.dist-info → tencentcloud_sdk_python-3.0.1138.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1136.dist-info → tencentcloud_sdk_python-3.0.1138.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1136.dist-info → tencentcloud_sdk_python-3.0.1138.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1136.dist-info → tencentcloud_sdk_python-3.0.1138.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1136.dist-info → tencentcloud_sdk_python-3.0.1138.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -856,41 +856,45 @@ class SubmitDrawPortraitJobRequest(AbstractModel):
|
|
856
856
|
:param _ModelId: 写真模型 ID。
|
857
857
|
|
858
858
|
:type ModelId: str
|
859
|
-
:param _StyleId:
|
860
|
-
zhengjian_female
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
859
|
+
:param _StyleId: 写真风格模板,支持以下风格:
|
860
|
+
zhengjian_female:证件照-长发(女)
|
861
|
+
zhengjian_shorthair_female:证件照-短发(女)
|
862
|
+
zhengjian_male:证件照(男)
|
863
|
+
grey_suit_male:灰色西装(男)
|
864
|
+
beige_suit_male:米色西装(男)
|
865
|
+
white_sweater_male:白色毛衣(男)
|
866
|
+
hanfu_female:汉服(女)
|
867
|
+
hanfu2_female:汉服2(女)
|
868
|
+
green_female:绿色毛衣(女)
|
869
|
+
white_sweater_female:白色毛衣(女)
|
870
|
+
sports_female:蓝色运动装(女)
|
871
|
+
bow_female:蝴蝶结发饰(女)
|
872
|
+
wreath_female:头戴花环(女)
|
873
|
+
black_dress1_female:小黑裙1(女)
|
874
|
+
black_dress2_female:小黑裙2(女)
|
875
|
+
black_dress3_female:小黑裙3(女)
|
876
|
+
wedding_female:婚纱裙(女)
|
877
|
+
wedding2_female:婚纱裙2(女)
|
878
|
+
forest_female:树林(女)
|
879
|
+
flower_female:花丛(女)
|
880
|
+
qipao_female:旗袍(女)
|
881
|
+
feather_female:羽毛(女)
|
882
|
+
lolita_female:洛丽塔(女)
|
883
|
+
blue_shirt_female:蓝衬衣(女)
|
884
|
+
green_shirt_female:绿衬衣(女)
|
885
|
+
purple_shirt_female:紫衬衣(女)
|
886
|
+
fire_female:火焰(女)
|
887
|
+
christmas1_female: 圣诞1(女)
|
888
|
+
christmas2_female: 圣诞2(女)
|
888
889
|
christmas3_female: 圣诞3(适用女性)
|
889
|
-
newyear1_female:新春1
|
890
|
-
newyear2_female:新春2
|
891
|
-
newyear3_female:新春3
|
892
|
-
newyear5_female:新春5
|
893
|
-
|
890
|
+
newyear1_female:新春1(女)
|
891
|
+
newyear2_female:新春2(女)
|
892
|
+
newyear3_female:新春3(女)
|
893
|
+
newyear5_female:新春5(女)
|
894
|
+
elderly_female:中老年(女)
|
895
|
+
elderly_male:中老年(男)
|
896
|
+
labour_female:田野劳作(女)
|
897
|
+
simple:简洁风格(通用),一般用于写真模型的封面示意图,每个 ModelId 的生成结果固定,多次生成将返回相同图片
|
894
898
|
:type StyleId: str
|
895
899
|
:param _ImageNum: 本次生成的图片数量,取值范围[1,4]
|
896
900
|
:type ImageNum: int
|
@@ -1050,8 +1054,9 @@ class SubmitTextToImageProJobRequest(AbstractModel):
|
|
1050
1054
|
建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。
|
1051
1055
|
:type LogoAdd: int
|
1052
1056
|
:param _Engine: 文生图模型,默认使用engine1。
|
1053
|
-
|
1054
|
-
|
1057
|
+
取值:
|
1058
|
+
engine1
|
1059
|
+
engine2
|
1055
1060
|
:type Engine: str
|
1056
1061
|
:param _Revise: prompt 扩写开关。1为开启,0为关闭,不传默认开启。
|
1057
1062
|
开启扩写后,将自动扩写原始输入的 prompt 并使用扩写后的 prompt 生成图片,返回生成图片结果时将一并返回扩写后的 prompt 文本。
|
@@ -3815,7 +3815,7 @@ class DescribeChatMessagesRequest(AbstractModel):
|
|
3815
3815
|
r"""
|
3816
3816
|
:param _InstanceId: 实例 ID(废弃)
|
3817
3817
|
:type InstanceId: int
|
3818
|
-
:param _SdkAppId: 应用 ID
|
3818
|
+
:param _SdkAppId: 应用 ID,可以查看 https://console.cloud.tencent.com/ccc
|
3819
3819
|
:type SdkAppId: int
|
3820
3820
|
:param _CdrId: 服务记录ID(废弃)
|
3821
3821
|
:type CdrId: str
|
@@ -43,7 +43,7 @@ class AutoSnapshotPolicyInfo(AbstractModel):
|
|
43
43
|
:type NextActiveTime: str
|
44
44
|
:param _Status: 快照策略状态,1代表快照策略状态正常。这里只有一种状态
|
45
45
|
:type Status: str
|
46
|
-
:param _AppId:
|
46
|
+
:param _AppId: 账号ID
|
47
47
|
:type AppId: int
|
48
48
|
:param _AliveDays: 保留时间
|
49
49
|
:type AliveDays: int
|
@@ -1271,7 +1271,12 @@ class CreateCfsRuleRequest(AbstractModel):
|
|
1271
1271
|
:type Priority: int
|
1272
1272
|
:param _RWPermission: 读写权限, 值为 RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
|
1273
1273
|
:type RWPermission: str
|
1274
|
-
:param _UserPermission: 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash
|
1274
|
+
:param _UserPermission: 用户权限,值为 all_squash、no_all_squash、root_squash、no_root_squash。
|
1275
|
+
all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
1276
|
+
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
1277
|
+
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
1278
|
+
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
1279
|
+
|
1275
1280
|
:type UserPermission: str
|
1276
1281
|
"""
|
1277
1282
|
self._PGroupId = None
|
@@ -5123,7 +5128,11 @@ class PGroupRuleInfo(AbstractModel):
|
|
5123
5128
|
:type AuthClientIp: str
|
5124
5129
|
:param _RWPermission: 读写权限, ro为只读,rw为读写
|
5125
5130
|
:type RWPermission: str
|
5126
|
-
:param _UserPermission:
|
5131
|
+
:param _UserPermission: all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
5132
|
+
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
5133
|
+
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
5134
|
+
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
5135
|
+
|
5127
5136
|
:type UserPermission: str
|
5128
5137
|
:param _Priority: 规则优先级,1-100。 其中 1 为最高,100为最低
|
5129
5138
|
:type Priority: int
|
@@ -5459,7 +5468,7 @@ class SnapshotInfo(AbstractModel):
|
|
5459
5468
|
:type AliveDay: int
|
5460
5469
|
:param _Percent: 快照进度百分比,1表示1%
|
5461
5470
|
:type Percent: int
|
5462
|
-
:param _AppId:
|
5471
|
+
:param _AppId: 账号ID
|
5463
5472
|
:type AppId: int
|
5464
5473
|
:param _DeleteTime: 快照删除时间
|
5465
5474
|
:type DeleteTime: str
|
@@ -6588,7 +6597,12 @@ class UpdateCfsRuleRequest(AbstractModel):
|
|
6588
6597
|
:type AuthClientIp: str
|
6589
6598
|
:param _RWPermission: 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
|
6590
6599
|
:type RWPermission: str
|
6591
|
-
:param _UserPermission: 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash
|
6600
|
+
:param _UserPermission: 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。
|
6601
|
+
all_squash:所有访问用户(含 root 用户)都会被映射为匿名用户或用户组。
|
6602
|
+
no_all_squash:所有访问用户(含 root 用户)均保持原有的 UID/GID 信息。
|
6603
|
+
root_squash:将来访的 root 用户映射为匿名用户或用户组,非 root 用户保持原有的 UID/GID 信息。
|
6604
|
+
no_root_squash:与 no_all_squash 效果一致,所有访问用户(含 root 用户)均保持原有的 UID/GID 信息
|
6605
|
+
|
6592
6606
|
:type UserPermission: str
|
6593
6607
|
:param _Priority: 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
|
6594
6608
|
:type Priority: int
|
@@ -1085,7 +1085,7 @@ class CfwClient(AbstractClient):
|
|
1085
1085
|
|
1086
1086
|
|
1087
1087
|
def DescribeIPStatusList(self, request):
|
1088
|
-
"""
|
1088
|
+
"""IP防护状态查询
|
1089
1089
|
|
1090
1090
|
:param request: Request instance for DescribeIPStatusList.
|
1091
1091
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeIPStatusListRequest`
|
@@ -41,14 +41,16 @@ class CreateWorkspaceRequest(AbstractModel):
|
|
41
41
|
:type Extensions: list of str
|
42
42
|
:param _Lifecycle: 工作空间生命周期钩子. 分为三个阶段 init, start, destroy. 分别表示工作空间数据初始化阶段, 工作空间启动阶段, 工作空间关闭阶段. 用户可以自定义 shell 命令.
|
43
43
|
:type Lifecycle: :class:`tencentcloud.cloudstudio.v20230508.models.LifeCycle`
|
44
|
-
:param
|
45
|
-
:type
|
46
|
-
:param
|
47
|
-
:type
|
48
|
-
:param
|
49
|
-
:type
|
50
|
-
:param
|
51
|
-
:type
|
44
|
+
:param _TenantAppId: 应用名称
|
45
|
+
:type TenantAppId: int
|
46
|
+
:param _TenantUin: 用户UIN
|
47
|
+
:type TenantUin: str
|
48
|
+
:param _TenantUniqVpcId: VPCID
|
49
|
+
:type TenantUniqVpcId: str
|
50
|
+
:param _TenantSubnetId: 子网ID
|
51
|
+
:type TenantSubnetId: str
|
52
|
+
:param _Region: 地域
|
53
|
+
:type Region: str
|
52
54
|
"""
|
53
55
|
self._Name = None
|
54
56
|
self._Description = None
|
@@ -58,10 +60,11 @@ class CreateWorkspaceRequest(AbstractModel):
|
|
58
60
|
self._Envs = None
|
59
61
|
self._Extensions = None
|
60
62
|
self._Lifecycle = None
|
61
|
-
self.
|
62
|
-
self.
|
63
|
-
self.
|
64
|
-
self.
|
63
|
+
self._TenantAppId = None
|
64
|
+
self._TenantUin = None
|
65
|
+
self._TenantUniqVpcId = None
|
66
|
+
self._TenantSubnetId = None
|
67
|
+
self._Region = None
|
65
68
|
|
66
69
|
@property
|
67
70
|
def Name(self):
|
@@ -128,36 +131,44 @@ class CreateWorkspaceRequest(AbstractModel):
|
|
128
131
|
self._Lifecycle = Lifecycle
|
129
132
|
|
130
133
|
@property
|
131
|
-
def
|
132
|
-
return self.
|
134
|
+
def TenantAppId(self):
|
135
|
+
return self._TenantAppId
|
133
136
|
|
134
|
-
@
|
135
|
-
def
|
136
|
-
self.
|
137
|
+
@TenantAppId.setter
|
138
|
+
def TenantAppId(self, TenantAppId):
|
139
|
+
self._TenantAppId = TenantAppId
|
137
140
|
|
138
141
|
@property
|
139
|
-
def
|
140
|
-
return self.
|
142
|
+
def TenantUin(self):
|
143
|
+
return self._TenantUin
|
141
144
|
|
142
|
-
@
|
143
|
-
def
|
144
|
-
self.
|
145
|
+
@TenantUin.setter
|
146
|
+
def TenantUin(self, TenantUin):
|
147
|
+
self._TenantUin = TenantUin
|
145
148
|
|
146
149
|
@property
|
147
|
-
def
|
148
|
-
return self.
|
150
|
+
def TenantUniqVpcId(self):
|
151
|
+
return self._TenantUniqVpcId
|
149
152
|
|
150
|
-
@
|
151
|
-
def
|
152
|
-
self.
|
153
|
+
@TenantUniqVpcId.setter
|
154
|
+
def TenantUniqVpcId(self, TenantUniqVpcId):
|
155
|
+
self._TenantUniqVpcId = TenantUniqVpcId
|
153
156
|
|
154
157
|
@property
|
155
|
-
def
|
156
|
-
return self.
|
158
|
+
def TenantSubnetId(self):
|
159
|
+
return self._TenantSubnetId
|
157
160
|
|
158
|
-
@
|
159
|
-
def
|
160
|
-
self.
|
161
|
+
@TenantSubnetId.setter
|
162
|
+
def TenantSubnetId(self, TenantSubnetId):
|
163
|
+
self._TenantSubnetId = TenantSubnetId
|
164
|
+
|
165
|
+
@property
|
166
|
+
def Region(self):
|
167
|
+
return self._Region
|
168
|
+
|
169
|
+
@Region.setter
|
170
|
+
def Region(self, Region):
|
171
|
+
self._Region = Region
|
161
172
|
|
162
173
|
|
163
174
|
def _deserialize(self, params):
|
@@ -178,10 +189,11 @@ class CreateWorkspaceRequest(AbstractModel):
|
|
178
189
|
if params.get("Lifecycle") is not None:
|
179
190
|
self._Lifecycle = LifeCycle()
|
180
191
|
self._Lifecycle._deserialize(params.get("Lifecycle"))
|
181
|
-
self.
|
182
|
-
self.
|
183
|
-
self.
|
184
|
-
self.
|
192
|
+
self._TenantAppId = params.get("TenantAppId")
|
193
|
+
self._TenantUin = params.get("TenantUin")
|
194
|
+
self._TenantUniqVpcId = params.get("TenantUniqVpcId")
|
195
|
+
self._TenantSubnetId = params.get("TenantSubnetId")
|
196
|
+
self._Region = params.get("Region")
|
185
197
|
memeber_set = set(params.keys())
|
186
198
|
for name, value in vars(self).items():
|
187
199
|
property_name = name[1:]
|