tencentcloud-sdk-python 3.0.1381__py2.py3-none-any.whl → 3.0.1383__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/cbs/v20170312/cbs_client.py +3 -3
- tencentcloud/cbs/v20170312/errorcodes.py +9 -0
- tencentcloud/cbs/v20170312/models.py +76 -55
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +20 -0
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfs/v20190719/cfs_client.py +2 -2
- tencentcloud/cfs/v20190719/models.py +46 -48
- tencentcloud/cfw/v20190904/cfw_client.py +1 -1
- tencentcloud/cfw/v20190904/models.py +2 -2
- tencentcloud/cvm/v20170312/models.py +36 -16
- tencentcloud/cynosdb/v20190107/models.py +252 -0
- tencentcloud/dnspod/v20210323/models.py +0 -2
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/errorcodes.py +9 -0
- tencentcloud/ess/v20201111/models.py +54 -26
- tencentcloud/essbasic/v20210526/errorcodes.py +3 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +40 -6
- tencentcloud/gs/v20191118/models.py +30 -0
- tencentcloud/hai/v20230812/hai_client.py +8 -6
- tencentcloud/hai/v20230812/models.py +72 -84
- tencentcloud/lke/v20231130/models.py +671 -2
- tencentcloud/mps/v20190612/models.py +887 -0
- tencentcloud/mps/v20190612/mps_client.py +70 -0
- tencentcloud/postgres/v20170312/models.py +0 -158
- tencentcloud/postgres/v20170312/postgres_client.py +0 -50
- tencentcloud/privatedns/v20201028/errorcodes.py +2 -2
- tencentcloud/privatedns/v20201028/models.py +8 -8
- tencentcloud/pts/v20210728/models.py +15 -0
- tencentcloud/ssl/v20191205/errorcodes.py +24 -0
- tencentcloud/ssl/v20191205/models.py +176 -6
- tencentcloud/teo/v20220901/teo_client.py +5 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +15 -184
- tencentcloud/tke/v20180525/tke_client.py +0 -23
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- tencentcloud/tms/v20201229/models.py +36 -4
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +18 -18
- {tencentcloud_sdk_python-3.0.1381.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1381.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/RECORD +46 -46
- {tencentcloud_sdk_python-3.0.1381.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1381.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1381.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/top_level.txt +0 -0
@@ -5151,11 +5151,96 @@ class CreateCertificateRequest(AbstractModel):
|
|
5151
5151
|
|
5152
5152
|
def __init__(self):
|
5153
5153
|
r"""
|
5154
|
-
:param _ProductId:
|
5154
|
+
:param _ProductId: 证书套餐类型:
|
5155
|
+
3:SecureSite 增强型企业版(EV Pro),
|
5156
|
+
4:SecureSite 增强型(EV),
|
5157
|
+
5:SecureSite 企业型专业版(OV Pro),
|
5158
|
+
6:SecureSite 企业型(OV),
|
5159
|
+
7:SecureSite 企业型(OV)通配符,
|
5160
|
+
8:Geotrust 增强型(EV),
|
5161
|
+
9:Geotrust 企业型(OV),
|
5162
|
+
10:Geotrust 企业型(OV)通配符,
|
5163
|
+
11:TrustAsia 域名型多域名 SSL 证书,
|
5164
|
+
12:TrustAsia 域名型(DV)通配符,
|
5165
|
+
13:TrustAsia 企业型通配符(OV)SSL 证书(D3),
|
5166
|
+
14:TrustAsia 企业型(OV)SSL 证书(D3),
|
5167
|
+
15:TrustAsia 企业型多域名 (OV)SSL 证书(D3),
|
5168
|
+
16:TrustAsia 增强型 (EV)SSL 证书(D3),
|
5169
|
+
17:TrustAsia 增强型多域名(EV)SSL 证书(D3),
|
5170
|
+
18:GlobalSign 企业型(OV)SSL 证书,
|
5171
|
+
19:GlobalSign 企业型通配符 (OV)SSL 证书,
|
5172
|
+
20:GlobalSign 增强型 (EV)SSL 证书,
|
5173
|
+
21:TrustAsia 企业型通配符多域名(OV)SSL 证书(D3),
|
5174
|
+
22:GlobalSign 企业型多域名(OV)SSL 证书,
|
5175
|
+
23:GlobalSign 企业型通配符多域名(OV)SSL 证书,
|
5176
|
+
24:GlobalSign 增强型多域名(EV)SSL 证书,
|
5177
|
+
25:Wotrus 域名型证书,
|
5178
|
+
26:Wotrus 域名型多域名证书,
|
5179
|
+
27:Wotrus 域名型通配符证书,
|
5180
|
+
28:Wotrus 企业型证书,
|
5181
|
+
29:Wotrus 企业型多域名证书,
|
5182
|
+
30:Wotrus 企业型通配符证书,
|
5183
|
+
31:Wotrus 增强型证书,
|
5184
|
+
32:Wotrus 增强型多域名证书,
|
5185
|
+
33:WoTrus-国密域名型证书,
|
5186
|
+
34:WoTrus-国密域名型证书(多域名),
|
5187
|
+
35:WoTrus-国密域名型证书(通配符),
|
5188
|
+
37:WoTrus-国密企业型证书,
|
5189
|
+
38:WoTrus-国密企业型证书(多域名),
|
5190
|
+
39:WoTrus-国密企业型证书(通配符),
|
5191
|
+
40:WoTrus-国密增强型证书,
|
5192
|
+
41:WoTrus-国密增强型证书(多域名),
|
5193
|
+
42:TrustAsia-域名型证书(通配符多域名),
|
5194
|
+
43:DNSPod-企业型(OV)SSL证书
|
5195
|
+
44:DNSPod-企业型(OV)通配符SSL证书
|
5196
|
+
45:DNSPod-企业型(OV)多域名SSL证书
|
5197
|
+
46:DNSPod-增强型(EV)SSL证书
|
5198
|
+
47:DNSPod-增强型(EV)多域名SSL证书
|
5199
|
+
48:DNSPod-域名型(DV)SSL证书
|
5200
|
+
49:DNSPod-域名型(DV)通配符SSL证书
|
5201
|
+
50:DNSPod-域名型(DV)多域名SSL证书
|
5202
|
+
51:DNSPod(国密)-企业型(OV)SSL证书
|
5203
|
+
52:DNSPod(国密)-企业型(OV)通配符SSL证书
|
5204
|
+
53:DNSPod(国密)-企业型(OV)多域名SSL证书
|
5205
|
+
54:DNSPod(国密)-域名型(DV)SSL证书
|
5206
|
+
55:DNSPod(国密)-域名型(DV)通配符SSL证书
|
5207
|
+
56:DNSPod(国密)-域名型(DV)多域名SSL证书
|
5208
|
+
57:SecureSite 企业型专业版多域名(OV Pro)
|
5209
|
+
58:SecureSite 企业型多域名(OV)
|
5210
|
+
59:SecureSite 增强型专业版多域名(EV Pro)
|
5211
|
+
60:SecureSite 增强型多域名(EV)
|
5212
|
+
61:Geotrust 增强型多域名(EV)
|
5213
|
+
75:SecureSite 企业型(OV)
|
5214
|
+
76:SecureSite 企业型(OV)通配符
|
5215
|
+
77:SecureSite 增强型(EV)
|
5216
|
+
78:Geotrust 企业型(OV)
|
5217
|
+
79:Geotrust 企业型(OV)通配符
|
5218
|
+
80:Geotrust 增强型(EV)
|
5219
|
+
81:GlobalSign 企业型(OV)SSL证书
|
5220
|
+
82:GlobalSign 企业型通配符 (OV)SSL证书
|
5221
|
+
85:GlobalSign 增强型 (EV)SSL证书
|
5222
|
+
88:GlobalSign 企业型通配符多域名 (OV)SSL证书
|
5223
|
+
89:GlobalSign 企业型多域名 (OV)SSL证书
|
5224
|
+
90:GlobalSign 增强型多域名(EV) SSL证书
|
5225
|
+
91:Geotrust 增强型多域名(EV)
|
5226
|
+
92:SecureSite 企业型专业版多域名(OV Pro)
|
5227
|
+
93:SecureSite 企业型多域名(OV)
|
5228
|
+
94:SecureSite 增强型专业版多域名(EV Pro)
|
5229
|
+
95:SecureSite 增强型多域名(EV)
|
5230
|
+
96:SecureSite 增强型专业版(EV Pro)
|
5231
|
+
97:SecureSite 企业型专业版(OV Pro)
|
5232
|
+
98:CFCA 企业型(OV)SSL证书
|
5233
|
+
99:CFCA 企业型多域名(OV)SSL证书,不支持多年期
|
5234
|
+
100:CFCA 企业型通配符(OV)SSL证书,不支持多年期
|
5235
|
+
101:CFCA 增强型(EV)SSL证书,不支持多年期
|
5236
|
+
102: Rapid-域名型(DV)SSL证书
|
5237
|
+
103: Rapid-域名型(DV)SSL证书(通配符)
|
5238
|
+
104: TrustAsia-域名型(单域名)
|
5239
|
+
105: SSL单域名证书(一年期)
|
5155
5240
|
:type ProductId: int
|
5156
|
-
:param _DomainNum:
|
5241
|
+
:param _DomainNum: 证书包含的域名数量。 多域名或者多泛域名证书类型必须大于1
|
5157
5242
|
:type DomainNum: int
|
5158
|
-
:param _TimeSpan:
|
5243
|
+
:param _TimeSpan: 证书年限。 支持多年期的证书才可以大于1年
|
5159
5244
|
:type TimeSpan: int
|
5160
5245
|
:param _AutoVoucher: 是否自动使用代金券:1是,0否;默认为1
|
5161
5246
|
:type AutoVoucher: int
|
@@ -5170,7 +5255,92 @@ class CreateCertificateRequest(AbstractModel):
|
|
5170
5255
|
|
5171
5256
|
@property
|
5172
5257
|
def ProductId(self):
|
5173
|
-
"""
|
5258
|
+
"""证书套餐类型:
|
5259
|
+
3:SecureSite 增强型企业版(EV Pro),
|
5260
|
+
4:SecureSite 增强型(EV),
|
5261
|
+
5:SecureSite 企业型专业版(OV Pro),
|
5262
|
+
6:SecureSite 企业型(OV),
|
5263
|
+
7:SecureSite 企业型(OV)通配符,
|
5264
|
+
8:Geotrust 增强型(EV),
|
5265
|
+
9:Geotrust 企业型(OV),
|
5266
|
+
10:Geotrust 企业型(OV)通配符,
|
5267
|
+
11:TrustAsia 域名型多域名 SSL 证书,
|
5268
|
+
12:TrustAsia 域名型(DV)通配符,
|
5269
|
+
13:TrustAsia 企业型通配符(OV)SSL 证书(D3),
|
5270
|
+
14:TrustAsia 企业型(OV)SSL 证书(D3),
|
5271
|
+
15:TrustAsia 企业型多域名 (OV)SSL 证书(D3),
|
5272
|
+
16:TrustAsia 增强型 (EV)SSL 证书(D3),
|
5273
|
+
17:TrustAsia 增强型多域名(EV)SSL 证书(D3),
|
5274
|
+
18:GlobalSign 企业型(OV)SSL 证书,
|
5275
|
+
19:GlobalSign 企业型通配符 (OV)SSL 证书,
|
5276
|
+
20:GlobalSign 增强型 (EV)SSL 证书,
|
5277
|
+
21:TrustAsia 企业型通配符多域名(OV)SSL 证书(D3),
|
5278
|
+
22:GlobalSign 企业型多域名(OV)SSL 证书,
|
5279
|
+
23:GlobalSign 企业型通配符多域名(OV)SSL 证书,
|
5280
|
+
24:GlobalSign 增强型多域名(EV)SSL 证书,
|
5281
|
+
25:Wotrus 域名型证书,
|
5282
|
+
26:Wotrus 域名型多域名证书,
|
5283
|
+
27:Wotrus 域名型通配符证书,
|
5284
|
+
28:Wotrus 企业型证书,
|
5285
|
+
29:Wotrus 企业型多域名证书,
|
5286
|
+
30:Wotrus 企业型通配符证书,
|
5287
|
+
31:Wotrus 增强型证书,
|
5288
|
+
32:Wotrus 增强型多域名证书,
|
5289
|
+
33:WoTrus-国密域名型证书,
|
5290
|
+
34:WoTrus-国密域名型证书(多域名),
|
5291
|
+
35:WoTrus-国密域名型证书(通配符),
|
5292
|
+
37:WoTrus-国密企业型证书,
|
5293
|
+
38:WoTrus-国密企业型证书(多域名),
|
5294
|
+
39:WoTrus-国密企业型证书(通配符),
|
5295
|
+
40:WoTrus-国密增强型证书,
|
5296
|
+
41:WoTrus-国密增强型证书(多域名),
|
5297
|
+
42:TrustAsia-域名型证书(通配符多域名),
|
5298
|
+
43:DNSPod-企业型(OV)SSL证书
|
5299
|
+
44:DNSPod-企业型(OV)通配符SSL证书
|
5300
|
+
45:DNSPod-企业型(OV)多域名SSL证书
|
5301
|
+
46:DNSPod-增强型(EV)SSL证书
|
5302
|
+
47:DNSPod-增强型(EV)多域名SSL证书
|
5303
|
+
48:DNSPod-域名型(DV)SSL证书
|
5304
|
+
49:DNSPod-域名型(DV)通配符SSL证书
|
5305
|
+
50:DNSPod-域名型(DV)多域名SSL证书
|
5306
|
+
51:DNSPod(国密)-企业型(OV)SSL证书
|
5307
|
+
52:DNSPod(国密)-企业型(OV)通配符SSL证书
|
5308
|
+
53:DNSPod(国密)-企业型(OV)多域名SSL证书
|
5309
|
+
54:DNSPod(国密)-域名型(DV)SSL证书
|
5310
|
+
55:DNSPod(国密)-域名型(DV)通配符SSL证书
|
5311
|
+
56:DNSPod(国密)-域名型(DV)多域名SSL证书
|
5312
|
+
57:SecureSite 企业型专业版多域名(OV Pro)
|
5313
|
+
58:SecureSite 企业型多域名(OV)
|
5314
|
+
59:SecureSite 增强型专业版多域名(EV Pro)
|
5315
|
+
60:SecureSite 增强型多域名(EV)
|
5316
|
+
61:Geotrust 增强型多域名(EV)
|
5317
|
+
75:SecureSite 企业型(OV)
|
5318
|
+
76:SecureSite 企业型(OV)通配符
|
5319
|
+
77:SecureSite 增强型(EV)
|
5320
|
+
78:Geotrust 企业型(OV)
|
5321
|
+
79:Geotrust 企业型(OV)通配符
|
5322
|
+
80:Geotrust 增强型(EV)
|
5323
|
+
81:GlobalSign 企业型(OV)SSL证书
|
5324
|
+
82:GlobalSign 企业型通配符 (OV)SSL证书
|
5325
|
+
85:GlobalSign 增强型 (EV)SSL证书
|
5326
|
+
88:GlobalSign 企业型通配符多域名 (OV)SSL证书
|
5327
|
+
89:GlobalSign 企业型多域名 (OV)SSL证书
|
5328
|
+
90:GlobalSign 增强型多域名(EV) SSL证书
|
5329
|
+
91:Geotrust 增强型多域名(EV)
|
5330
|
+
92:SecureSite 企业型专业版多域名(OV Pro)
|
5331
|
+
93:SecureSite 企业型多域名(OV)
|
5332
|
+
94:SecureSite 增强型专业版多域名(EV Pro)
|
5333
|
+
95:SecureSite 增强型多域名(EV)
|
5334
|
+
96:SecureSite 增强型专业版(EV Pro)
|
5335
|
+
97:SecureSite 企业型专业版(OV Pro)
|
5336
|
+
98:CFCA 企业型(OV)SSL证书
|
5337
|
+
99:CFCA 企业型多域名(OV)SSL证书,不支持多年期
|
5338
|
+
100:CFCA 企业型通配符(OV)SSL证书,不支持多年期
|
5339
|
+
101:CFCA 增强型(EV)SSL证书,不支持多年期
|
5340
|
+
102: Rapid-域名型(DV)SSL证书
|
5341
|
+
103: Rapid-域名型(DV)SSL证书(通配符)
|
5342
|
+
104: TrustAsia-域名型(单域名)
|
5343
|
+
105: SSL单域名证书(一年期)
|
5174
5344
|
:rtype: int
|
5175
5345
|
"""
|
5176
5346
|
return self._ProductId
|
@@ -5181,7 +5351,7 @@ class CreateCertificateRequest(AbstractModel):
|
|
5181
5351
|
|
5182
5352
|
@property
|
5183
5353
|
def DomainNum(self):
|
5184
|
-
"""
|
5354
|
+
"""证书包含的域名数量。 多域名或者多泛域名证书类型必须大于1
|
5185
5355
|
:rtype: int
|
5186
5356
|
"""
|
5187
5357
|
return self._DomainNum
|
@@ -5192,7 +5362,7 @@ class CreateCertificateRequest(AbstractModel):
|
|
5192
5362
|
|
5193
5363
|
@property
|
5194
5364
|
def TimeSpan(self):
|
5195
|
-
"""
|
5365
|
+
"""证书年限。 支持多年期的证书才可以大于1年
|
5196
5366
|
:rtype: int
|
5197
5367
|
"""
|
5198
5368
|
return self._TimeSpan
|
@@ -145,6 +145,7 @@ class TeoClient(AbstractClient):
|
|
145
145
|
|
146
146
|
def CreateAliasDomain(self, request):
|
147
147
|
"""创建别称域名。
|
148
|
+
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
|
148
149
|
|
149
150
|
:param request: Request instance for CreateAliasDomain.
|
150
151
|
:type request: :class:`tencentcloud.teo.v20220901.models.CreateAliasDomainRequest`
|
@@ -728,6 +729,7 @@ class TeoClient(AbstractClient):
|
|
728
729
|
|
729
730
|
def DeleteAliasDomain(self, request):
|
730
731
|
"""删除别称域名。
|
732
|
+
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
|
731
733
|
|
732
734
|
:param request: Request instance for DeleteAliasDomain.
|
733
735
|
:type request: :class:`tencentcloud.teo.v20220901.models.DeleteAliasDomainRequest`
|
@@ -1190,6 +1192,7 @@ class TeoClient(AbstractClient):
|
|
1190
1192
|
|
1191
1193
|
def DescribeAliasDomains(self, request):
|
1192
1194
|
"""查询别称域名信息列表。
|
1195
|
+
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
|
1193
1196
|
|
1194
1197
|
:param request: Request instance for DescribeAliasDomains.
|
1195
1198
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeAliasDomainsRequest`
|
@@ -2560,6 +2563,7 @@ class TeoClient(AbstractClient):
|
|
2560
2563
|
|
2561
2564
|
def ModifyAliasDomain(self, request):
|
2562
2565
|
"""修改别称域名。
|
2566
|
+
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
|
2563
2567
|
|
2564
2568
|
:param request: Request instance for ModifyAliasDomain.
|
2565
2569
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyAliasDomainRequest`
|
@@ -2583,6 +2587,7 @@ class TeoClient(AbstractClient):
|
|
2583
2587
|
|
2584
2588
|
def ModifyAliasDomainStatus(self, request):
|
2585
2589
|
"""修改别称域名状态。
|
2590
|
+
该功能仅企业版套餐支持,并且该功能当前仍在内测中,如需使用,请[联系我们](https://cloud.tencent.com/online-service?from=connect-us)。
|
2586
2591
|
|
2587
2592
|
:param request: Request instance for ModifyAliasDomainStatus.
|
2588
2593
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyAliasDomainStatusRequest`
|
@@ -584,6 +584,9 @@ RESOURCENOTFOUND_KUBERESOURCENOTFOUND = 'ResourceNotFound.KubeResourceNotFound'
|
|
584
584
|
# 未找到该kubernetes资源。
|
585
585
|
RESOURCENOTFOUND_KUBERNETESRESOURCENOTFOUND = 'ResourceNotFound.KubernetesResourceNotFound'
|
586
586
|
|
587
|
+
# CLS日志主题不存在。
|
588
|
+
RESOURCENOTFOUND_LOGCOLLECTORCLSLOGTOPICNOTEXISTS = 'ResourceNotFound.LogCollectorClsLogTopicNotExists'
|
589
|
+
|
587
590
|
# 资源未找到。
|
588
591
|
RESOURCENOTFOUND_NOTFOUND = 'ResourceNotFound.NotFound'
|
589
592
|
|
@@ -29033,175 +29033,6 @@ class Filter(AbstractModel):
|
|
29033
29033
|
|
29034
29034
|
|
29035
29035
|
|
29036
|
-
class ForwardApplicationRequestV3Request(AbstractModel):
|
29037
|
-
"""ForwardApplicationRequestV3请求参数结构体
|
29038
|
-
|
29039
|
-
"""
|
29040
|
-
|
29041
|
-
def __init__(self):
|
29042
|
-
r"""
|
29043
|
-
:param _Method: 请求集群addon的访问
|
29044
|
-
:type Method: str
|
29045
|
-
:param _Path: 请求集群addon的路径
|
29046
|
-
:type Path: str
|
29047
|
-
:param _Accept: 请求集群addon后允许接收的数据格式
|
29048
|
-
:type Accept: str
|
29049
|
-
:param _ContentType: 请求集群addon的数据格式
|
29050
|
-
:type ContentType: str
|
29051
|
-
:param _RequestBody: 请求集群addon的数据
|
29052
|
-
:type RequestBody: str
|
29053
|
-
:param _ClusterName: 集群名称
|
29054
|
-
:type ClusterName: str
|
29055
|
-
:param _EncodedBody: 是否编码请求内容
|
29056
|
-
:type EncodedBody: str
|
29057
|
-
"""
|
29058
|
-
self._Method = None
|
29059
|
-
self._Path = None
|
29060
|
-
self._Accept = None
|
29061
|
-
self._ContentType = None
|
29062
|
-
self._RequestBody = None
|
29063
|
-
self._ClusterName = None
|
29064
|
-
self._EncodedBody = None
|
29065
|
-
|
29066
|
-
@property
|
29067
|
-
def Method(self):
|
29068
|
-
"""请求集群addon的访问
|
29069
|
-
:rtype: str
|
29070
|
-
"""
|
29071
|
-
return self._Method
|
29072
|
-
|
29073
|
-
@Method.setter
|
29074
|
-
def Method(self, Method):
|
29075
|
-
self._Method = Method
|
29076
|
-
|
29077
|
-
@property
|
29078
|
-
def Path(self):
|
29079
|
-
"""请求集群addon的路径
|
29080
|
-
:rtype: str
|
29081
|
-
"""
|
29082
|
-
return self._Path
|
29083
|
-
|
29084
|
-
@Path.setter
|
29085
|
-
def Path(self, Path):
|
29086
|
-
self._Path = Path
|
29087
|
-
|
29088
|
-
@property
|
29089
|
-
def Accept(self):
|
29090
|
-
"""请求集群addon后允许接收的数据格式
|
29091
|
-
:rtype: str
|
29092
|
-
"""
|
29093
|
-
return self._Accept
|
29094
|
-
|
29095
|
-
@Accept.setter
|
29096
|
-
def Accept(self, Accept):
|
29097
|
-
self._Accept = Accept
|
29098
|
-
|
29099
|
-
@property
|
29100
|
-
def ContentType(self):
|
29101
|
-
"""请求集群addon的数据格式
|
29102
|
-
:rtype: str
|
29103
|
-
"""
|
29104
|
-
return self._ContentType
|
29105
|
-
|
29106
|
-
@ContentType.setter
|
29107
|
-
def ContentType(self, ContentType):
|
29108
|
-
self._ContentType = ContentType
|
29109
|
-
|
29110
|
-
@property
|
29111
|
-
def RequestBody(self):
|
29112
|
-
"""请求集群addon的数据
|
29113
|
-
:rtype: str
|
29114
|
-
"""
|
29115
|
-
return self._RequestBody
|
29116
|
-
|
29117
|
-
@RequestBody.setter
|
29118
|
-
def RequestBody(self, RequestBody):
|
29119
|
-
self._RequestBody = RequestBody
|
29120
|
-
|
29121
|
-
@property
|
29122
|
-
def ClusterName(self):
|
29123
|
-
"""集群名称
|
29124
|
-
:rtype: str
|
29125
|
-
"""
|
29126
|
-
return self._ClusterName
|
29127
|
-
|
29128
|
-
@ClusterName.setter
|
29129
|
-
def ClusterName(self, ClusterName):
|
29130
|
-
self._ClusterName = ClusterName
|
29131
|
-
|
29132
|
-
@property
|
29133
|
-
def EncodedBody(self):
|
29134
|
-
"""是否编码请求内容
|
29135
|
-
:rtype: str
|
29136
|
-
"""
|
29137
|
-
return self._EncodedBody
|
29138
|
-
|
29139
|
-
@EncodedBody.setter
|
29140
|
-
def EncodedBody(self, EncodedBody):
|
29141
|
-
self._EncodedBody = EncodedBody
|
29142
|
-
|
29143
|
-
|
29144
|
-
def _deserialize(self, params):
|
29145
|
-
self._Method = params.get("Method")
|
29146
|
-
self._Path = params.get("Path")
|
29147
|
-
self._Accept = params.get("Accept")
|
29148
|
-
self._ContentType = params.get("ContentType")
|
29149
|
-
self._RequestBody = params.get("RequestBody")
|
29150
|
-
self._ClusterName = params.get("ClusterName")
|
29151
|
-
self._EncodedBody = params.get("EncodedBody")
|
29152
|
-
memeber_set = set(params.keys())
|
29153
|
-
for name, value in vars(self).items():
|
29154
|
-
property_name = name[1:]
|
29155
|
-
if property_name in memeber_set:
|
29156
|
-
memeber_set.remove(property_name)
|
29157
|
-
if len(memeber_set) > 0:
|
29158
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
29159
|
-
|
29160
|
-
|
29161
|
-
|
29162
|
-
class ForwardApplicationRequestV3Response(AbstractModel):
|
29163
|
-
"""ForwardApplicationRequestV3返回参数结构体
|
29164
|
-
|
29165
|
-
"""
|
29166
|
-
|
29167
|
-
def __init__(self):
|
29168
|
-
r"""
|
29169
|
-
:param _ResponseBody: 请求集群addon后返回的数据
|
29170
|
-
:type ResponseBody: str
|
29171
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29172
|
-
:type RequestId: str
|
29173
|
-
"""
|
29174
|
-
self._ResponseBody = None
|
29175
|
-
self._RequestId = None
|
29176
|
-
|
29177
|
-
@property
|
29178
|
-
def ResponseBody(self):
|
29179
|
-
"""请求集群addon后返回的数据
|
29180
|
-
:rtype: str
|
29181
|
-
"""
|
29182
|
-
return self._ResponseBody
|
29183
|
-
|
29184
|
-
@ResponseBody.setter
|
29185
|
-
def ResponseBody(self, ResponseBody):
|
29186
|
-
self._ResponseBody = ResponseBody
|
29187
|
-
|
29188
|
-
@property
|
29189
|
-
def RequestId(self):
|
29190
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29191
|
-
:rtype: str
|
29192
|
-
"""
|
29193
|
-
return self._RequestId
|
29194
|
-
|
29195
|
-
@RequestId.setter
|
29196
|
-
def RequestId(self, RequestId):
|
29197
|
-
self._RequestId = RequestId
|
29198
|
-
|
29199
|
-
|
29200
|
-
def _deserialize(self, params):
|
29201
|
-
self._ResponseBody = params.get("ResponseBody")
|
29202
|
-
self._RequestId = params.get("RequestId")
|
29203
|
-
|
29204
|
-
|
29205
29036
|
class ForwardTKEEdgeApplicationRequestV3Request(AbstractModel):
|
29206
29037
|
"""ForwardTKEEdgeApplicationRequestV3请求参数结构体
|
29207
29038
|
|
@@ -36743,28 +36574,17 @@ class OpenConstraintInfo(AbstractModel):
|
|
36743
36574
|
|
36744
36575
|
def __init__(self):
|
36745
36576
|
r"""
|
36746
|
-
:param _Name: 策略实例名称
|
36747
|
-
:type Name: str
|
36748
36577
|
:param _EventNums: 策略实例关联事件数
|
36749
36578
|
:type EventNums: int
|
36579
|
+
:param _Name: 策略实例名称
|
36580
|
+
:type Name: str
|
36750
36581
|
:param _YamlDetail: 实例yaml详情base64编码
|
36751
36582
|
:type YamlDetail: str
|
36752
36583
|
"""
|
36753
|
-
self._Name = None
|
36754
36584
|
self._EventNums = None
|
36585
|
+
self._Name = None
|
36755
36586
|
self._YamlDetail = None
|
36756
36587
|
|
36757
|
-
@property
|
36758
|
-
def Name(self):
|
36759
|
-
"""策略实例名称
|
36760
|
-
:rtype: str
|
36761
|
-
"""
|
36762
|
-
return self._Name
|
36763
|
-
|
36764
|
-
@Name.setter
|
36765
|
-
def Name(self, Name):
|
36766
|
-
self._Name = Name
|
36767
|
-
|
36768
36588
|
@property
|
36769
36589
|
def EventNums(self):
|
36770
36590
|
"""策略实例关联事件数
|
@@ -36776,6 +36596,17 @@ class OpenConstraintInfo(AbstractModel):
|
|
36776
36596
|
def EventNums(self, EventNums):
|
36777
36597
|
self._EventNums = EventNums
|
36778
36598
|
|
36599
|
+
@property
|
36600
|
+
def Name(self):
|
36601
|
+
"""策略实例名称
|
36602
|
+
:rtype: str
|
36603
|
+
"""
|
36604
|
+
return self._Name
|
36605
|
+
|
36606
|
+
@Name.setter
|
36607
|
+
def Name(self, Name):
|
36608
|
+
self._Name = Name
|
36609
|
+
|
36779
36610
|
@property
|
36780
36611
|
def YamlDetail(self):
|
36781
36612
|
"""实例yaml详情base64编码
|
@@ -36789,8 +36620,8 @@ class OpenConstraintInfo(AbstractModel):
|
|
36789
36620
|
|
36790
36621
|
|
36791
36622
|
def _deserialize(self, params):
|
36792
|
-
self._Name = params.get("Name")
|
36793
36623
|
self._EventNums = params.get("EventNums")
|
36624
|
+
self._Name = params.get("Name")
|
36794
36625
|
self._YamlDetail = params.get("YamlDetail")
|
36795
36626
|
memeber_set = set(params.keys())
|
36796
36627
|
for name, value in vars(self).items():
|
@@ -4005,29 +4005,6 @@ class TkeClient(AbstractClient):
|
|
4005
4005
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4006
4006
|
|
4007
4007
|
|
4008
|
-
def ForwardApplicationRequestV3(self, request):
|
4009
|
-
"""操作TKE集群的addon
|
4010
|
-
|
4011
|
-
:param request: Request instance for ForwardApplicationRequestV3.
|
4012
|
-
:type request: :class:`tencentcloud.tke.v20180525.models.ForwardApplicationRequestV3Request`
|
4013
|
-
:rtype: :class:`tencentcloud.tke.v20180525.models.ForwardApplicationRequestV3Response`
|
4014
|
-
|
4015
|
-
"""
|
4016
|
-
try:
|
4017
|
-
params = request._serialize()
|
4018
|
-
headers = request.headers
|
4019
|
-
body = self.call("ForwardApplicationRequestV3", params, headers=headers)
|
4020
|
-
response = json.loads(body)
|
4021
|
-
model = models.ForwardApplicationRequestV3Response()
|
4022
|
-
model._deserialize(response["Response"])
|
4023
|
-
return model
|
4024
|
-
except Exception as e:
|
4025
|
-
if isinstance(e, TencentCloudSDKException):
|
4026
|
-
raise
|
4027
|
-
else:
|
4028
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
4029
|
-
|
4030
|
-
|
4031
4008
|
def ForwardTKEEdgeApplicationRequestV3(self, request):
|
4032
4009
|
"""操作TKEEdge集群的addon
|
4033
4010
|
|
@@ -38,6 +38,9 @@ INVALIDPARAMETERVALUE_ERRTEXTCONTENTLEN = 'InvalidParameterValue.ErrTextContentL
|
|
38
38
|
# 请求的文本格式错误(需要base64编码格式的文本)。
|
39
39
|
INVALIDPARAMETERVALUE_ERRTEXTCONTENTTYPE = 'InvalidParameterValue.ErrTextContentType'
|
40
40
|
|
41
|
+
# Type参数值不支持
|
42
|
+
INVALIDPARAMETERVALUE_ERRTYPE = 'InvalidParameterValue.ErrType'
|
43
|
+
|
41
44
|
# 请求的次数超过了频率限制。
|
42
45
|
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
43
46
|
|
@@ -789,7 +789,8 @@ class TextModerationRequest(AbstractModel):
|
|
789
789
|
r"""
|
790
790
|
:param _Content: 该字段表示待检测对象的文本内容,文本需要按utf-8格式编码,长度不能超过10000个字符(按unicode编码计算),并进行 Base64加密
|
791
791
|
:type Content: str
|
792
|
-
:param _BizType:
|
792
|
+
:param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置,控制台访问地址:。
|
793
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
793
794
|
:type BizType: str
|
794
795
|
:param _DataId: 该字段表示您为待检测对象分配的数据ID,传入后可方便您对文件进行标识和管理。<br>取值:由英文字母(大小写均可)、数字及四个特殊符号(_,-,@,#)组成,**长度不超过64个字符**
|
795
796
|
:type DataId: str
|
@@ -797,8 +798,10 @@ class TextModerationRequest(AbstractModel):
|
|
797
798
|
:type User: :class:`tencentcloud.tms.v20201229.models.User`
|
798
799
|
:param _Device: 该字段表示待检测对象对应的设备相关信息,传入后可便于甄别相应违规风险设备
|
799
800
|
:type Device: :class:`tencentcloud.tms.v20201229.models.Device`
|
800
|
-
:param _SourceLanguage: Content
|
801
|
+
:param _SourceLanguage: 表示Content的原始语种,枚举值("en","zh","")en表示英文,zh表示中文,空字符表示默认语种中文,非中文场景耗时会更高,具体由送审文本内容决定,非中文场景需要联系客服确认
|
801
802
|
:type SourceLanguage: str
|
803
|
+
:param _Type: 审核的业务类型,枚举值有{"","TEXT","TEXT_AIGC"},缺省值""和"TEXT"标识传统文本审核,"TEXT_AIGC"标识文本AIGC审核
|
804
|
+
:type Type: str
|
802
805
|
"""
|
803
806
|
self._Content = None
|
804
807
|
self._BizType = None
|
@@ -806,6 +809,7 @@ class TextModerationRequest(AbstractModel):
|
|
806
809
|
self._User = None
|
807
810
|
self._Device = None
|
808
811
|
self._SourceLanguage = None
|
812
|
+
self._Type = None
|
809
813
|
|
810
814
|
@property
|
811
815
|
def Content(self):
|
@@ -820,7 +824,8 @@ class TextModerationRequest(AbstractModel):
|
|
820
824
|
|
821
825
|
@property
|
822
826
|
def BizType(self):
|
823
|
-
"""
|
827
|
+
"""该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置,控制台访问地址:。
|
828
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
824
829
|
:rtype: str
|
825
830
|
"""
|
826
831
|
return self._BizType
|
@@ -864,7 +869,7 @@ class TextModerationRequest(AbstractModel):
|
|
864
869
|
|
865
870
|
@property
|
866
871
|
def SourceLanguage(self):
|
867
|
-
"""Content
|
872
|
+
"""表示Content的原始语种,枚举值("en","zh","")en表示英文,zh表示中文,空字符表示默认语种中文,非中文场景耗时会更高,具体由送审文本内容决定,非中文场景需要联系客服确认
|
868
873
|
:rtype: str
|
869
874
|
"""
|
870
875
|
return self._SourceLanguage
|
@@ -873,6 +878,17 @@ class TextModerationRequest(AbstractModel):
|
|
873
878
|
def SourceLanguage(self, SourceLanguage):
|
874
879
|
self._SourceLanguage = SourceLanguage
|
875
880
|
|
881
|
+
@property
|
882
|
+
def Type(self):
|
883
|
+
"""审核的业务类型,枚举值有{"","TEXT","TEXT_AIGC"},缺省值""和"TEXT"标识传统文本审核,"TEXT_AIGC"标识文本AIGC审核
|
884
|
+
:rtype: str
|
885
|
+
"""
|
886
|
+
return self._Type
|
887
|
+
|
888
|
+
@Type.setter
|
889
|
+
def Type(self, Type):
|
890
|
+
self._Type = Type
|
891
|
+
|
876
892
|
|
877
893
|
def _deserialize(self, params):
|
878
894
|
self._Content = params.get("Content")
|
@@ -885,6 +901,7 @@ class TextModerationRequest(AbstractModel):
|
|
885
901
|
self._Device = Device()
|
886
902
|
self._Device._deserialize(params.get("Device"))
|
887
903
|
self._SourceLanguage = params.get("SourceLanguage")
|
904
|
+
self._Type = params.get("Type")
|
888
905
|
memeber_set = set(params.keys())
|
889
906
|
for name, value in vars(self).items():
|
890
907
|
property_name = name[1:]
|
@@ -934,6 +951,8 @@ class TextModerationResponse(AbstractModel):
|
|
934
951
|
:param _SentimentAnalysis: 情感分析结果
|
935
952
|
注意:此字段可能返回 null,表示取不到有效值。
|
936
953
|
:type SentimentAnalysis: :class:`tencentcloud.tms.v20201229.models.SentimentAnalysis`
|
954
|
+
:param _HitType: 该字段用于标识本次审核决策归因,比如text_nlp_tianji标识是由nlp tianji模型给出的审核决策,text_keyword_public标识命中了业务的关键词库
|
955
|
+
:type HitType: str
|
937
956
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
938
957
|
:type RequestId: str
|
939
958
|
"""
|
@@ -949,6 +968,7 @@ class TextModerationResponse(AbstractModel):
|
|
949
968
|
self._SubLabel = None
|
950
969
|
self._ContextText = None
|
951
970
|
self._SentimentAnalysis = None
|
971
|
+
self._HitType = None
|
952
972
|
self._RequestId = None
|
953
973
|
|
954
974
|
@property
|
@@ -1091,6 +1111,17 @@ class TextModerationResponse(AbstractModel):
|
|
1091
1111
|
def SentimentAnalysis(self, SentimentAnalysis):
|
1092
1112
|
self._SentimentAnalysis = SentimentAnalysis
|
1093
1113
|
|
1114
|
+
@property
|
1115
|
+
def HitType(self):
|
1116
|
+
"""该字段用于标识本次审核决策归因,比如text_nlp_tianji标识是由nlp tianji模型给出的审核决策,text_keyword_public标识命中了业务的关键词库
|
1117
|
+
:rtype: str
|
1118
|
+
"""
|
1119
|
+
return self._HitType
|
1120
|
+
|
1121
|
+
@HitType.setter
|
1122
|
+
def HitType(self, HitType):
|
1123
|
+
self._HitType = HitType
|
1124
|
+
|
1094
1125
|
@property
|
1095
1126
|
def RequestId(self):
|
1096
1127
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -1128,6 +1159,7 @@ class TextModerationResponse(AbstractModel):
|
|
1128
1159
|
if params.get("SentimentAnalysis") is not None:
|
1129
1160
|
self._SentimentAnalysis = SentimentAnalysis()
|
1130
1161
|
self._SentimentAnalysis._deserialize(params.get("SentimentAnalysis"))
|
1162
|
+
self._HitType = params.get("HitType")
|
1131
1163
|
self._RequestId = params.get("RequestId")
|
1132
1164
|
|
1133
1165
|
|