tencentcloud-sdk-python 3.0.1328__py2.py3-none-any.whl → 3.0.1330__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/ams/v20201229/models.py +157 -0
- tencentcloud/asr/v20190614/asr_client.py +1 -1
- tencentcloud/batch/v20170312/models.py +2 -26
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/cfw/v20190904/cfw_client.py +9 -3
- tencentcloud/clb/v20180317/models.py +45 -0
- tencentcloud/cvm/v20170312/models.py +22 -38
- tencentcloud/cynosdb/v20190107/models.py +23 -4
- tencentcloud/dlc/v20210125/models.py +0 -10
- tencentcloud/emr/v20190103/models.py +4 -4
- tencentcloud/ess/v20201111/ess_client.py +27 -0
- tencentcloud/ess/v20201111/models.py +147 -316
- tencentcloud/essbasic/v20210526/essbasic_client.py +27 -0
- tencentcloud/essbasic/v20210526/models.py +146 -238
- tencentcloud/faceid/v20180301/models.py +20 -12
- tencentcloud/lcic/v20220817/models.py +12 -2
- tencentcloud/lighthouse/v20200324/models.py +12 -12
- tencentcloud/live/v20180801/models.py +10 -112
- tencentcloud/lke/v20231130/lke_client.py +23 -0
- tencentcloud/lke/v20231130/models.py +128 -4
- tencentcloud/ocr/v20181119/models.py +23 -0
- tencentcloud/ocr/v20181119/ocr_client.py +10 -0
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/rce/v20201103/models.py +18 -54
- tencentcloud/taf/v20200210/models.py +0 -2
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +18 -4
- tencentcloud/tke/v20180525/models.py +2 -320
- tencentcloud/tke/v20220501/models.py +0 -8
- tencentcloud/tse/v20201207/models.py +153 -0
- tencentcloud/vm/v20201229/models.py +615 -68
- tencentcloud/vm/v20210922/models.py +737 -102
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/weilingwith/v20230427/models.py +0 -20
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/RECORD +40 -55
- tencentcloud/lp/__init__.py +0 -0
- tencentcloud/lp/v20200224/__init__.py +0 -0
- tencentcloud/lp/v20200224/errorcodes.py +0 -78
- tencentcloud/lp/v20200224/lp_client.py +0 -49
- tencentcloud/lp/v20200224/models.py +0 -748
- tencentcloud/rkp/__init__.py +0 -0
- tencentcloud/rkp/v20191209/__init__.py +0 -0
- tencentcloud/rkp/v20191209/errorcodes.py +0 -102
- tencentcloud/rkp/v20191209/models.py +0 -1007
- tencentcloud/rkp/v20191209/rkp_client.py +0 -101
- tencentcloud/rp/__init__.py +0 -0
- tencentcloud/rp/v20200224/__init__.py +0 -0
- tencentcloud/rp/v20200224/errorcodes.py +0 -78
- tencentcloud/rp/v20200224/models.py +0 -655
- tencentcloud/rp/v20200224/rp_client.py +0 -49
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1330.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -2192,6 +2192,92 @@ class DescribeTasksResponse(AbstractModel):
|
|
2192
2192
|
self._RequestId = params.get("RequestId")
|
2193
2193
|
|
2194
2194
|
|
2195
|
+
class HitInfo(AbstractModel):
|
2196
|
+
"""关键词命中位置信息
|
2197
|
+
|
2198
|
+
"""
|
2199
|
+
|
2200
|
+
def __init__(self):
|
2201
|
+
r"""
|
2202
|
+
:param _Type: 标识模型命中还是关键词命中
|
2203
|
+
:type Type: str
|
2204
|
+
:param _Keyword: 命中关键词
|
2205
|
+
:type Keyword: str
|
2206
|
+
:param _LibName: 自定义词库名称
|
2207
|
+
:type LibName: str
|
2208
|
+
:param _Positions: 位置信息
|
2209
|
+
:type Positions: list of Position
|
2210
|
+
"""
|
2211
|
+
self._Type = None
|
2212
|
+
self._Keyword = None
|
2213
|
+
self._LibName = None
|
2214
|
+
self._Positions = None
|
2215
|
+
|
2216
|
+
@property
|
2217
|
+
def Type(self):
|
2218
|
+
"""标识模型命中还是关键词命中
|
2219
|
+
:rtype: str
|
2220
|
+
"""
|
2221
|
+
return self._Type
|
2222
|
+
|
2223
|
+
@Type.setter
|
2224
|
+
def Type(self, Type):
|
2225
|
+
self._Type = Type
|
2226
|
+
|
2227
|
+
@property
|
2228
|
+
def Keyword(self):
|
2229
|
+
"""命中关键词
|
2230
|
+
:rtype: str
|
2231
|
+
"""
|
2232
|
+
return self._Keyword
|
2233
|
+
|
2234
|
+
@Keyword.setter
|
2235
|
+
def Keyword(self, Keyword):
|
2236
|
+
self._Keyword = Keyword
|
2237
|
+
|
2238
|
+
@property
|
2239
|
+
def LibName(self):
|
2240
|
+
"""自定义词库名称
|
2241
|
+
:rtype: str
|
2242
|
+
"""
|
2243
|
+
return self._LibName
|
2244
|
+
|
2245
|
+
@LibName.setter
|
2246
|
+
def LibName(self, LibName):
|
2247
|
+
self._LibName = LibName
|
2248
|
+
|
2249
|
+
@property
|
2250
|
+
def Positions(self):
|
2251
|
+
""" 位置信息
|
2252
|
+
:rtype: list of Position
|
2253
|
+
"""
|
2254
|
+
return self._Positions
|
2255
|
+
|
2256
|
+
@Positions.setter
|
2257
|
+
def Positions(self, Positions):
|
2258
|
+
self._Positions = Positions
|
2259
|
+
|
2260
|
+
|
2261
|
+
def _deserialize(self, params):
|
2262
|
+
self._Type = params.get("Type")
|
2263
|
+
self._Keyword = params.get("Keyword")
|
2264
|
+
self._LibName = params.get("LibName")
|
2265
|
+
if params.get("Positions") is not None:
|
2266
|
+
self._Positions = []
|
2267
|
+
for item in params.get("Positions"):
|
2268
|
+
obj = Position()
|
2269
|
+
obj._deserialize(item)
|
2270
|
+
self._Positions.append(obj)
|
2271
|
+
memeber_set = set(params.keys())
|
2272
|
+
for name, value in vars(self).items():
|
2273
|
+
property_name = name[1:]
|
2274
|
+
if property_name in memeber_set:
|
2275
|
+
memeber_set.remove(property_name)
|
2276
|
+
if len(memeber_set) > 0:
|
2277
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2278
|
+
|
2279
|
+
|
2280
|
+
|
2195
2281
|
class InputInfo(AbstractModel):
|
2196
2282
|
"""输入信息详情
|
2197
2283
|
|
@@ -2623,6 +2709,57 @@ class MoanResult(AbstractModel):
|
|
2623
2709
|
|
2624
2710
|
|
2625
2711
|
|
2712
|
+
class Position(AbstractModel):
|
2713
|
+
"""标识命中的违规关键词位置信息
|
2714
|
+
|
2715
|
+
"""
|
2716
|
+
|
2717
|
+
def __init__(self):
|
2718
|
+
r"""
|
2719
|
+
:param _Start: 关键词起始位置
|
2720
|
+
:type Start: int
|
2721
|
+
:param _End: 关键词结束位置
|
2722
|
+
:type End: int
|
2723
|
+
"""
|
2724
|
+
self._Start = None
|
2725
|
+
self._End = None
|
2726
|
+
|
2727
|
+
@property
|
2728
|
+
def Start(self):
|
2729
|
+
"""关键词起始位置
|
2730
|
+
:rtype: int
|
2731
|
+
"""
|
2732
|
+
return self._Start
|
2733
|
+
|
2734
|
+
@Start.setter
|
2735
|
+
def Start(self, Start):
|
2736
|
+
self._Start = Start
|
2737
|
+
|
2738
|
+
@property
|
2739
|
+
def End(self):
|
2740
|
+
"""关键词结束位置
|
2741
|
+
:rtype: int
|
2742
|
+
"""
|
2743
|
+
return self._End
|
2744
|
+
|
2745
|
+
@End.setter
|
2746
|
+
def End(self, End):
|
2747
|
+
self._End = End
|
2748
|
+
|
2749
|
+
|
2750
|
+
def _deserialize(self, params):
|
2751
|
+
self._Start = params.get("Start")
|
2752
|
+
self._End = params.get("End")
|
2753
|
+
memeber_set = set(params.keys())
|
2754
|
+
for name, value in vars(self).items():
|
2755
|
+
property_name = name[1:]
|
2756
|
+
if property_name in memeber_set:
|
2757
|
+
memeber_set.remove(property_name)
|
2758
|
+
if len(memeber_set) > 0:
|
2759
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2760
|
+
|
2761
|
+
|
2762
|
+
|
2626
2763
|
class RecognitionResult(AbstractModel):
|
2627
2764
|
"""识别类标签结果信息
|
2628
2765
|
|
@@ -3530,6 +3667,8 @@ class TextResult(AbstractModel):
|
|
3530
3667
|
注意:此字段可能返回null,表示取不到有效值。
|
3531
3668
|
注意:此字段可能返回 null,表示取不到有效值。
|
3532
3669
|
:type SubLabel: str
|
3670
|
+
:param _HitInfos: 该字段用于返回违规文本命中信息
|
3671
|
+
:type HitInfos: list of HitInfo
|
3533
3672
|
"""
|
3534
3673
|
self._Label = None
|
3535
3674
|
self._Keywords = None
|
@@ -3539,6 +3678,7 @@ class TextResult(AbstractModel):
|
|
3539
3678
|
self._Suggestion = None
|
3540
3679
|
self._LibType = None
|
3541
3680
|
self._SubLabel = None
|
3681
|
+
self._HitInfos = None
|
3542
3682
|
|
3543
3683
|
@property
|
3544
3684
|
def Label(self):
|
@@ -3645,6 +3785,17 @@ class TextResult(AbstractModel):
|
|
3645
3785
|
def SubLabel(self, SubLabel):
|
3646
3786
|
self._SubLabel = SubLabel
|
3647
3787
|
|
3788
|
+
@property
|
3789
|
+
def HitInfos(self):
|
3790
|
+
"""该字段用于返回违规文本命中信息
|
3791
|
+
:rtype: list of HitInfo
|
3792
|
+
"""
|
3793
|
+
return self._HitInfos
|
3794
|
+
|
3795
|
+
@HitInfos.setter
|
3796
|
+
def HitInfos(self, HitInfos):
|
3797
|
+
self._HitInfos = HitInfos
|
3798
|
+
|
3648
3799
|
|
3649
3800
|
def _deserialize(self, params):
|
3650
3801
|
self._Label = params.get("Label")
|
@@ -3655,6 +3806,12 @@ class TextResult(AbstractModel):
|
|
3655
3806
|
self._Suggestion = params.get("Suggestion")
|
3656
3807
|
self._LibType = params.get("LibType")
|
3657
3808
|
self._SubLabel = params.get("SubLabel")
|
3809
|
+
if params.get("HitInfos") is not None:
|
3810
|
+
self._HitInfos = []
|
3811
|
+
for item in params.get("HitInfos"):
|
3812
|
+
obj = HitInfo()
|
3813
|
+
obj._deserialize(item)
|
3814
|
+
self._HitInfos.append(obj)
|
3658
3815
|
memeber_set = set(params.keys())
|
3659
3816
|
for name, value in vars(self).items():
|
3660
3817
|
property_name = name[1:]
|
@@ -164,7 +164,7 @@ class AsrClient(AbstractClient):
|
|
164
164
|
• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外
|
165
165
|
• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac
|
166
166
|
• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看
|
167
|
-
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL
|
167
|
+
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(可参考COS预签名指南:[使用预签名 URL 访问 COS](https://cloud.tencent.com/document/product/436/68284) ,获取COS预签名url)
|
168
168
|
• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
|
169
169
|
• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
|
170
170
|
• 识别结果有效时间:识别结果在服务端保存24小时
|
@@ -1880,10 +1880,8 @@ class DataDisk(AbstractModel):
|
|
1880
1880
|
默认取值:true<br />
|
1881
1881
|
该参数目前仅用于 `RunInstances` 接口。
|
1882
1882
|
</li>
|
1883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1884
1883
|
:type DeleteWithInstance: bool
|
1885
1884
|
:param _SnapshotId: 数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1887
1885
|
:type SnapshotId: str
|
1888
1886
|
:param _Encrypt: 数据盘是加密。取值范围:
|
1889
1887
|
<li>true:加密</li>
|
@@ -1892,23 +1890,18 @@ class DataDisk(AbstractModel):
|
|
1892
1890
|
默认取值:false<br />
|
1893
1891
|
该参数目前仅用于 `RunInstances` 接口。
|
1894
1892
|
</li>
|
1895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1896
1893
|
:type Encrypt: bool
|
1897
1894
|
:param _KmsKeyId: 自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
1898
1895
|
|
1899
1896
|
该参数目前仅用于 `RunInstances` 接口。
|
1900
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1901
1897
|
:type KmsKeyId: str
|
1902
1898
|
:param _ThroughputPerformance: 云硬盘性能,单位:MB/s
|
1903
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1904
1899
|
:type ThroughputPerformance: int
|
1905
1900
|
:param _CdcId: 所属的独享集群ID。
|
1906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1907
1901
|
:type CdcId: str
|
1908
1902
|
:param _BurstPerformance: 突发性能
|
1909
1903
|
|
1910
1904
|
<b>注:内测中。</b>
|
1911
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1912
1905
|
:type BurstPerformance: bool
|
1913
1906
|
:param _DiskName: 磁盘名称,长度不超过128 个字符。
|
1914
1907
|
|
@@ -1970,7 +1963,6 @@ class DataDisk(AbstractModel):
|
|
1970
1963
|
默认取值:true<br />
|
1971
1964
|
该参数目前仅用于 `RunInstances` 接口。
|
1972
1965
|
</li>
|
1973
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1974
1966
|
:rtype: bool
|
1975
1967
|
"""
|
1976
1968
|
return self._DeleteWithInstance
|
@@ -1982,7 +1974,6 @@ class DataDisk(AbstractModel):
|
|
1982
1974
|
@property
|
1983
1975
|
def SnapshotId(self):
|
1984
1976
|
"""数据盘快照ID。选择的数据盘快照大小需小于数据盘大小。
|
1985
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1986
1977
|
:rtype: str
|
1987
1978
|
"""
|
1988
1979
|
return self._SnapshotId
|
@@ -2000,7 +1991,6 @@ class DataDisk(AbstractModel):
|
|
2000
1991
|
默认取值:false<br />
|
2001
1992
|
该参数目前仅用于 `RunInstances` 接口。
|
2002
1993
|
</li>
|
2003
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2004
1994
|
:rtype: bool
|
2005
1995
|
"""
|
2006
1996
|
return self._Encrypt
|
@@ -2014,7 +2004,6 @@ class DataDisk(AbstractModel):
|
|
2014
2004
|
"""自定义CMK对应的ID,取值为UUID或者类似kms-abcd1234。用于加密云盘。
|
2015
2005
|
|
2016
2006
|
该参数目前仅用于 `RunInstances` 接口。
|
2017
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2018
2007
|
:rtype: str
|
2019
2008
|
"""
|
2020
2009
|
return self._KmsKeyId
|
@@ -2026,7 +2015,6 @@ class DataDisk(AbstractModel):
|
|
2026
2015
|
@property
|
2027
2016
|
def ThroughputPerformance(self):
|
2028
2017
|
"""云硬盘性能,单位:MB/s
|
2029
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2030
2018
|
:rtype: int
|
2031
2019
|
"""
|
2032
2020
|
return self._ThroughputPerformance
|
@@ -2038,7 +2026,6 @@ class DataDisk(AbstractModel):
|
|
2038
2026
|
@property
|
2039
2027
|
def CdcId(self):
|
2040
2028
|
"""所属的独享集群ID。
|
2041
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2042
2029
|
:rtype: str
|
2043
2030
|
"""
|
2044
2031
|
return self._CdcId
|
@@ -2052,7 +2039,6 @@ class DataDisk(AbstractModel):
|
|
2052
2039
|
"""突发性能
|
2053
2040
|
|
2054
2041
|
<b>注:内测中。</b>
|
2055
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2056
2042
|
:rtype: bool
|
2057
2043
|
"""
|
2058
2044
|
return self._BurstPerformance
|
@@ -6286,10 +6272,8 @@ class InstanceMarketOptionsRequest(AbstractModel):
|
|
6286
6272
|
def __init__(self):
|
6287
6273
|
r"""
|
6288
6274
|
:param _SpotOptions: 竞价相关选项
|
6289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6290
6275
|
:type SpotOptions: :class:`tencentcloud.batch.v20170312.models.SpotMarketOptions`
|
6291
6276
|
:param _MarketType: 市场选项类型,当前只支持取值:spot
|
6292
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6293
6277
|
:type MarketType: str
|
6294
6278
|
"""
|
6295
6279
|
self._SpotOptions = None
|
@@ -6298,7 +6282,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
|
|
6298
6282
|
@property
|
6299
6283
|
def SpotOptions(self):
|
6300
6284
|
"""竞价相关选项
|
6301
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6302
6285
|
:rtype: :class:`tencentcloud.batch.v20170312.models.SpotMarketOptions`
|
6303
6286
|
"""
|
6304
6287
|
return self._SpotOptions
|
@@ -6310,7 +6293,6 @@ class InstanceMarketOptionsRequest(AbstractModel):
|
|
6310
6293
|
@property
|
6311
6294
|
def MarketType(self):
|
6312
6295
|
"""市场选项类型,当前只支持取值:spot
|
6313
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6314
6296
|
:rtype: str
|
6315
6297
|
"""
|
6316
6298
|
return self._MarketType
|
@@ -9331,16 +9313,14 @@ class RunMonitorServiceEnabled(AbstractModel):
|
|
9331
9313
|
|
9332
9314
|
def __init__(self):
|
9333
9315
|
r"""
|
9334
|
-
:param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true
|
9335
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9316
|
+
:param _Enabled: 是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
|
9336
9317
|
:type Enabled: bool
|
9337
9318
|
"""
|
9338
9319
|
self._Enabled = None
|
9339
9320
|
|
9340
9321
|
@property
|
9341
9322
|
def Enabled(self):
|
9342
|
-
"""是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true
|
9343
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9323
|
+
"""是否开启[云监控](/document/product/248)服务。取值范围:<br><li>true:表示开启云监控服务</li><li>false:表示不开启云监控服务</li><br>默认取值:true。
|
9344
9324
|
:rtype: bool
|
9345
9325
|
"""
|
9346
9326
|
return self._Enabled
|
@@ -9406,10 +9386,8 @@ class SpotMarketOptions(AbstractModel):
|
|
9406
9386
|
def __init__(self):
|
9407
9387
|
r"""
|
9408
9388
|
:param _MaxPrice: 竞价出价
|
9409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9410
9389
|
:type MaxPrice: str
|
9411
9390
|
:param _SpotInstanceType: 竞价请求类型,当前仅支持类型:one-time
|
9412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9413
9391
|
:type SpotInstanceType: str
|
9414
9392
|
"""
|
9415
9393
|
self._MaxPrice = None
|
@@ -9418,7 +9396,6 @@ class SpotMarketOptions(AbstractModel):
|
|
9418
9396
|
@property
|
9419
9397
|
def MaxPrice(self):
|
9420
9398
|
"""竞价出价
|
9421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9422
9399
|
:rtype: str
|
9423
9400
|
"""
|
9424
9401
|
return self._MaxPrice
|
@@ -9430,7 +9407,6 @@ class SpotMarketOptions(AbstractModel):
|
|
9430
9407
|
@property
|
9431
9408
|
def SpotInstanceType(self):
|
9432
9409
|
"""竞价请求类型,当前仅支持类型:one-time
|
9433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9434
9410
|
:rtype: str
|
9435
9411
|
"""
|
9436
9412
|
return self._SpotInstanceType
|
@@ -1210,6 +1210,8 @@ class ClusterConfigsHistory(AbstractModel):
|
|
1210
1210
|
|
1211
1211
|
def __init__(self):
|
1212
1212
|
r"""
|
1213
|
+
:param _ComputeGroupId: 计算组id
|
1214
|
+
:type ComputeGroupId: str
|
1213
1215
|
:param _FileName: 配置文件名称
|
1214
1216
|
:type FileName: str
|
1215
1217
|
:param _NewConfValue: 修改后的配置文件内容,base64编码
|
@@ -1223,6 +1225,7 @@ class ClusterConfigsHistory(AbstractModel):
|
|
1223
1225
|
:param _UserUin: 修改子账号id
|
1224
1226
|
:type UserUin: str
|
1225
1227
|
"""
|
1228
|
+
self._ComputeGroupId = None
|
1226
1229
|
self._FileName = None
|
1227
1230
|
self._NewConfValue = None
|
1228
1231
|
self._OldConfValue = None
|
@@ -1230,6 +1233,17 @@ class ClusterConfigsHistory(AbstractModel):
|
|
1230
1233
|
self._ModifyTime = None
|
1231
1234
|
self._UserUin = None
|
1232
1235
|
|
1236
|
+
@property
|
1237
|
+
def ComputeGroupId(self):
|
1238
|
+
"""计算组id
|
1239
|
+
:rtype: str
|
1240
|
+
"""
|
1241
|
+
return self._ComputeGroupId
|
1242
|
+
|
1243
|
+
@ComputeGroupId.setter
|
1244
|
+
def ComputeGroupId(self, ComputeGroupId):
|
1245
|
+
self._ComputeGroupId = ComputeGroupId
|
1246
|
+
|
1233
1247
|
@property
|
1234
1248
|
def FileName(self):
|
1235
1249
|
"""配置文件名称
|
@@ -1298,6 +1312,7 @@ class ClusterConfigsHistory(AbstractModel):
|
|
1298
1312
|
|
1299
1313
|
|
1300
1314
|
def _deserialize(self, params):
|
1315
|
+
self._ComputeGroupId = params.get("ComputeGroupId")
|
1301
1316
|
self._FileName = params.get("FileName")
|
1302
1317
|
self._NewConfValue = params.get("NewConfValue")
|
1303
1318
|
self._OldConfValue = params.get("OldConfValue")
|
@@ -4207,6 +4222,8 @@ class DescribeClusterConfigsHistoryRequest(AbstractModel):
|
|
4207
4222
|
:param _ConfigFileNames: 需要查询的配置文件名称数组,如果为空则查询全部历史记录。目前支持的配置文件名称有:
|
4208
4223
|
apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、odbcinst.ini
|
4209
4224
|
:type ConfigFileNames: list of str
|
4225
|
+
:param _ComputeGroupIds: 需要查询的计算组列表
|
4226
|
+
:type ComputeGroupIds: list of str
|
4210
4227
|
"""
|
4211
4228
|
self._InstanceId = None
|
4212
4229
|
self._Offset = None
|
@@ -4214,6 +4231,7 @@ apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、od
|
|
4214
4231
|
self._StartTime = None
|
4215
4232
|
self._EndTime = None
|
4216
4233
|
self._ConfigFileNames = None
|
4234
|
+
self._ComputeGroupIds = None
|
4217
4235
|
|
4218
4236
|
@property
|
4219
4237
|
def InstanceId(self):
|
@@ -4282,6 +4300,17 @@ apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、od
|
|
4282
4300
|
def ConfigFileNames(self, ConfigFileNames):
|
4283
4301
|
self._ConfigFileNames = ConfigFileNames
|
4284
4302
|
|
4303
|
+
@property
|
4304
|
+
def ComputeGroupIds(self):
|
4305
|
+
"""需要查询的计算组列表
|
4306
|
+
:rtype: list of str
|
4307
|
+
"""
|
4308
|
+
return self._ComputeGroupIds
|
4309
|
+
|
4310
|
+
@ComputeGroupIds.setter
|
4311
|
+
def ComputeGroupIds(self, ComputeGroupIds):
|
4312
|
+
self._ComputeGroupIds = ComputeGroupIds
|
4313
|
+
|
4285
4314
|
|
4286
4315
|
def _deserialize(self, params):
|
4287
4316
|
self._InstanceId = params.get("InstanceId")
|
@@ -4290,6 +4319,7 @@ apache_hdfs_broker.conf、be.conf、fe.conf、core-site.xml、hdfs-site.xml、od
|
|
4290
4319
|
self._StartTime = params.get("StartTime")
|
4291
4320
|
self._EndTime = params.get("EndTime")
|
4292
4321
|
self._ConfigFileNames = params.get("ConfigFileNames")
|
4322
|
+
self._ComputeGroupIds = params.get("ComputeGroupIds")
|
4293
4323
|
memeber_set = set(params.keys())
|
4294
4324
|
for name, value in vars(self).items():
|
4295
4325
|
property_name = name[1:]
|
@@ -326,7 +326,9 @@ class CfwClient(AbstractClient):
|
|
326
326
|
|
327
327
|
|
328
328
|
def CreateIdsWhiteRule(self, request):
|
329
|
-
"""
|
329
|
+
"""CreateIdsWhiteRule
|
330
|
+
|
331
|
+
创建入侵防御规则白名单接口
|
330
332
|
|
331
333
|
:param request: Request instance for CreateIdsWhiteRule.
|
332
334
|
:type request: :class:`tencentcloud.cfw.v20190904.models.CreateIdsWhiteRuleRequest`
|
@@ -556,7 +558,9 @@ class CfwClient(AbstractClient):
|
|
556
558
|
|
557
559
|
|
558
560
|
def DeleteIdsWhiteRule(self, request):
|
559
|
-
"""
|
561
|
+
"""历史方案,业务已迁移,接口不再适用
|
562
|
+
|
563
|
+
删除入侵防御规则白名单接口
|
560
564
|
|
561
565
|
:param request: Request instance for DeleteIdsWhiteRule.
|
562
566
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DeleteIdsWhiteRuleRequest`
|
@@ -1108,7 +1112,9 @@ class CfwClient(AbstractClient):
|
|
1108
1112
|
|
1109
1113
|
|
1110
1114
|
def DescribeIdsWhiteRule(self, request):
|
1111
|
-
"""
|
1115
|
+
"""历史方案,业务已迁移,接口不再适用
|
1116
|
+
|
1117
|
+
查询入侵防御规则白名单接口
|
1112
1118
|
|
1113
1119
|
:param request: Request instance for DescribeIdsWhiteRule.
|
1114
1120
|
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeIdsWhiteRuleRequest`
|
@@ -1831,6 +1831,8 @@ class CertificateInput(AbstractModel):
|
|
1831
1831
|
r"""
|
1832
1832
|
:param _SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证
|
1833
1833
|
:type SSLMode: str
|
1834
|
+
:param _SSLVerifyClient: 双向认证时,是否开启客户端认证,ON:开启,OPTIONAL:自适应,默认ON。
|
1835
|
+
:type SSLVerifyClient: str
|
1834
1836
|
:param _CertId: 服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent,CertKey,CertName。
|
1835
1837
|
:type CertId: str
|
1836
1838
|
:param _CertCaId: 客户端证书的 ID,当监听器采用双向认证,即 SSLMode=MUTUAL 时,如果不填写此项则必须上传客户端证书,包括 CertCaContent,CertCaName。
|
@@ -1847,6 +1849,7 @@ class CertificateInput(AbstractModel):
|
|
1847
1849
|
:type CertCaContent: str
|
1848
1850
|
"""
|
1849
1851
|
self._SSLMode = None
|
1852
|
+
self._SSLVerifyClient = None
|
1850
1853
|
self._CertId = None
|
1851
1854
|
self._CertCaId = None
|
1852
1855
|
self._CertName = None
|
@@ -1866,6 +1869,17 @@ class CertificateInput(AbstractModel):
|
|
1866
1869
|
def SSLMode(self, SSLMode):
|
1867
1870
|
self._SSLMode = SSLMode
|
1868
1871
|
|
1872
|
+
@property
|
1873
|
+
def SSLVerifyClient(self):
|
1874
|
+
"""双向认证时,是否开启客户端认证,ON:开启,OPTIONAL:自适应,默认ON。
|
1875
|
+
:rtype: str
|
1876
|
+
"""
|
1877
|
+
return self._SSLVerifyClient
|
1878
|
+
|
1879
|
+
@SSLVerifyClient.setter
|
1880
|
+
def SSLVerifyClient(self, SSLVerifyClient):
|
1881
|
+
self._SSLVerifyClient = SSLVerifyClient
|
1882
|
+
|
1869
1883
|
@property
|
1870
1884
|
def CertId(self):
|
1871
1885
|
"""服务端证书的 ID,如果不填写此项则必须上传证书,包括 CertContent,CertKey,CertName。
|
@@ -1946,6 +1960,7 @@ class CertificateInput(AbstractModel):
|
|
1946
1960
|
|
1947
1961
|
def _deserialize(self, params):
|
1948
1962
|
self._SSLMode = params.get("SSLMode")
|
1963
|
+
self._SSLVerifyClient = params.get("SSLVerifyClient")
|
1949
1964
|
self._CertId = params.get("CertId")
|
1950
1965
|
self._CertCaId = params.get("CertCaId")
|
1951
1966
|
self._CertName = params.get("CertName")
|
@@ -1972,6 +1987,8 @@ class CertificateOutput(AbstractModel):
|
|
1972
1987
|
r"""
|
1973
1988
|
:param _SSLMode: 认证类型,UNIDIRECTIONAL:单向认证,MUTUAL:双向认证
|
1974
1989
|
:type SSLMode: str
|
1990
|
+
:param _SSLVerifyClient: 是否开启客户端证书验证,只在双向认证时生效。
|
1991
|
+
:type SSLVerifyClient: str
|
1975
1992
|
:param _CertId: 服务端证书的ID。
|
1976
1993
|
:type CertId: str
|
1977
1994
|
:param _CertCaId: 客户端证书的 ID。
|
@@ -1982,6 +1999,7 @@ class CertificateOutput(AbstractModel):
|
|
1982
1999
|
:type ExtCertIds: list of str
|
1983
2000
|
"""
|
1984
2001
|
self._SSLMode = None
|
2002
|
+
self._SSLVerifyClient = None
|
1985
2003
|
self._CertId = None
|
1986
2004
|
self._CertCaId = None
|
1987
2005
|
self._ExtCertIds = None
|
@@ -1997,6 +2015,17 @@ class CertificateOutput(AbstractModel):
|
|
1997
2015
|
def SSLMode(self, SSLMode):
|
1998
2016
|
self._SSLMode = SSLMode
|
1999
2017
|
|
2018
|
+
@property
|
2019
|
+
def SSLVerifyClient(self):
|
2020
|
+
"""是否开启客户端证书验证,只在双向认证时生效。
|
2021
|
+
:rtype: str
|
2022
|
+
"""
|
2023
|
+
return self._SSLVerifyClient
|
2024
|
+
|
2025
|
+
@SSLVerifyClient.setter
|
2026
|
+
def SSLVerifyClient(self, SSLVerifyClient):
|
2027
|
+
self._SSLVerifyClient = SSLVerifyClient
|
2028
|
+
|
2000
2029
|
@property
|
2001
2030
|
def CertId(self):
|
2002
2031
|
"""服务端证书的ID。
|
@@ -2035,6 +2064,7 @@ class CertificateOutput(AbstractModel):
|
|
2035
2064
|
|
2036
2065
|
def _deserialize(self, params):
|
2037
2066
|
self._SSLMode = params.get("SSLMode")
|
2067
|
+
self._SSLVerifyClient = params.get("SSLVerifyClient")
|
2038
2068
|
self._CertId = params.get("CertId")
|
2039
2069
|
self._CertCaId = params.get("CertCaId")
|
2040
2070
|
self._ExtCertIds = params.get("ExtCertIds")
|
@@ -17767,9 +17797,12 @@ class MultiCertInfo(AbstractModel):
|
|
17767
17797
|
:type SSLMode: str
|
17768
17798
|
:param _CertList: 监听器或规则证书列表,单双向认证,多本服务端证书算法类型不能重复;若SSLMode为双向认证,证书列表必须包含一本ca证书。
|
17769
17799
|
:type CertList: list of CertInfo
|
17800
|
+
:param _SSLVerifyClient: 双向认证时,是否开启客户端认证,ON:开启,OPTIONAL:自适应,默认ON
|
17801
|
+
:type SSLVerifyClient: str
|
17770
17802
|
"""
|
17771
17803
|
self._SSLMode = None
|
17772
17804
|
self._CertList = None
|
17805
|
+
self._SSLVerifyClient = None
|
17773
17806
|
|
17774
17807
|
@property
|
17775
17808
|
def SSLMode(self):
|
@@ -17793,6 +17826,17 @@ class MultiCertInfo(AbstractModel):
|
|
17793
17826
|
def CertList(self, CertList):
|
17794
17827
|
self._CertList = CertList
|
17795
17828
|
|
17829
|
+
@property
|
17830
|
+
def SSLVerifyClient(self):
|
17831
|
+
"""双向认证时,是否开启客户端认证,ON:开启,OPTIONAL:自适应,默认ON
|
17832
|
+
:rtype: str
|
17833
|
+
"""
|
17834
|
+
return self._SSLVerifyClient
|
17835
|
+
|
17836
|
+
@SSLVerifyClient.setter
|
17837
|
+
def SSLVerifyClient(self, SSLVerifyClient):
|
17838
|
+
self._SSLVerifyClient = SSLVerifyClient
|
17839
|
+
|
17796
17840
|
|
17797
17841
|
def _deserialize(self, params):
|
17798
17842
|
self._SSLMode = params.get("SSLMode")
|
@@ -17802,6 +17846,7 @@ class MultiCertInfo(AbstractModel):
|
|
17802
17846
|
obj = CertInfo()
|
17803
17847
|
obj._deserialize(item)
|
17804
17848
|
self._CertList.append(obj)
|
17849
|
+
self._SSLVerifyClient = params.get("SSLVerifyClient")
|
17805
17850
|
memeber_set = set(params.keys())
|
17806
17851
|
for name, value in vars(self).items():
|
17807
17852
|
property_name = name[1:]
|