tencentcloud-sdk-python 3.0.1139__py2.py3-none-any.whl → 3.0.1141__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 +5 -42
- tencentcloud/cdb/v20170320/cdb_client.py +69 -0
- tencentcloud/cdb/v20170320/models.py +258 -0
- tencentcloud/clb/v20180317/models.py +24 -0
- tencentcloud/cls/v20201016/models.py +387 -30
- tencentcloud/csip/v20221121/models.py +204 -0
- tencentcloud/cvm/v20170312/models.py +1 -1
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +0 -250
- tencentcloud/cynosdb/v20190107/models.py +1 -1
- tencentcloud/ocr/v20181119/ocr_client.py +0 -2
- tencentcloud/rum/v20210622/models.py +7 -7
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/tke/v20180525/models.py +10 -53
- tencentcloud/tke/v20180525/tke_client.py +3 -3
- tencentcloud/tmt/v20180321/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +49 -0
- tencentcloud/vpc/v20170312/models.py +25 -12
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/wedata/v20210820/models.py +657 -0
- {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1139.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/top_level.txt +0 -0
@@ -25819,256 +25819,6 @@ class DescribeAttackEventsResponse(AbstractModel):
|
|
25819
25819
|
self._RequestId = params.get("RequestId")
|
25820
25820
|
|
25821
25821
|
|
25822
|
-
class DescribeAttackLogInfoRequest(AbstractModel):
|
25823
|
-
"""DescribeAttackLogInfo请求参数结构体
|
25824
|
-
|
25825
|
-
"""
|
25826
|
-
|
25827
|
-
def __init__(self):
|
25828
|
-
r"""
|
25829
|
-
:param _Id: 日志ID
|
25830
|
-
:type Id: int
|
25831
|
-
"""
|
25832
|
-
self._Id = None
|
25833
|
-
|
25834
|
-
@property
|
25835
|
-
def Id(self):
|
25836
|
-
return self._Id
|
25837
|
-
|
25838
|
-
@Id.setter
|
25839
|
-
def Id(self, Id):
|
25840
|
-
self._Id = Id
|
25841
|
-
|
25842
|
-
|
25843
|
-
def _deserialize(self, params):
|
25844
|
-
self._Id = params.get("Id")
|
25845
|
-
memeber_set = set(params.keys())
|
25846
|
-
for name, value in vars(self).items():
|
25847
|
-
property_name = name[1:]
|
25848
|
-
if property_name in memeber_set:
|
25849
|
-
memeber_set.remove(property_name)
|
25850
|
-
if len(memeber_set) > 0:
|
25851
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25852
|
-
|
25853
|
-
|
25854
|
-
|
25855
|
-
class DescribeAttackLogInfoResponse(AbstractModel):
|
25856
|
-
"""DescribeAttackLogInfo返回参数结构体
|
25857
|
-
|
25858
|
-
"""
|
25859
|
-
|
25860
|
-
def __init__(self):
|
25861
|
-
r"""
|
25862
|
-
:param _Id: 日志ID
|
25863
|
-
:type Id: int
|
25864
|
-
:param _Quuid: 主机ID
|
25865
|
-
:type Quuid: str
|
25866
|
-
:param _SrcPort: 攻击来源端口
|
25867
|
-
:type SrcPort: int
|
25868
|
-
:param _SrcIp: 攻击来源IP
|
25869
|
-
:type SrcIp: str
|
25870
|
-
:param _DstPort: 攻击目标端口
|
25871
|
-
:type DstPort: int
|
25872
|
-
:param _DstIp: 攻击目标IP
|
25873
|
-
:type DstIp: str
|
25874
|
-
:param _HttpMethod: 攻击方法
|
25875
|
-
:type HttpMethod: str
|
25876
|
-
:param _HttpHost: 攻击目标主机
|
25877
|
-
:type HttpHost: str
|
25878
|
-
:param _HttpHead: 攻击头信息
|
25879
|
-
:type HttpHead: str
|
25880
|
-
:param _HttpUserAgent: 攻击者浏览器标识
|
25881
|
-
:type HttpUserAgent: str
|
25882
|
-
:param _HttpReferer: 请求源
|
25883
|
-
:type HttpReferer: str
|
25884
|
-
:param _VulType: 威胁类型
|
25885
|
-
:type VulType: str
|
25886
|
-
:param _HttpCgi: 攻击路径
|
25887
|
-
:type HttpCgi: str
|
25888
|
-
:param _HttpParam: 攻击参数
|
25889
|
-
:type HttpParam: str
|
25890
|
-
:param _CreatedAt: 攻击时间
|
25891
|
-
:type CreatedAt: str
|
25892
|
-
:param _HttpContent: 攻击内容
|
25893
|
-
:type HttpContent: str
|
25894
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25895
|
-
:type RequestId: str
|
25896
|
-
"""
|
25897
|
-
self._Id = None
|
25898
|
-
self._Quuid = None
|
25899
|
-
self._SrcPort = None
|
25900
|
-
self._SrcIp = None
|
25901
|
-
self._DstPort = None
|
25902
|
-
self._DstIp = None
|
25903
|
-
self._HttpMethod = None
|
25904
|
-
self._HttpHost = None
|
25905
|
-
self._HttpHead = None
|
25906
|
-
self._HttpUserAgent = None
|
25907
|
-
self._HttpReferer = None
|
25908
|
-
self._VulType = None
|
25909
|
-
self._HttpCgi = None
|
25910
|
-
self._HttpParam = None
|
25911
|
-
self._CreatedAt = None
|
25912
|
-
self._HttpContent = None
|
25913
|
-
self._RequestId = None
|
25914
|
-
|
25915
|
-
@property
|
25916
|
-
def Id(self):
|
25917
|
-
return self._Id
|
25918
|
-
|
25919
|
-
@Id.setter
|
25920
|
-
def Id(self, Id):
|
25921
|
-
self._Id = Id
|
25922
|
-
|
25923
|
-
@property
|
25924
|
-
def Quuid(self):
|
25925
|
-
return self._Quuid
|
25926
|
-
|
25927
|
-
@Quuid.setter
|
25928
|
-
def Quuid(self, Quuid):
|
25929
|
-
self._Quuid = Quuid
|
25930
|
-
|
25931
|
-
@property
|
25932
|
-
def SrcPort(self):
|
25933
|
-
return self._SrcPort
|
25934
|
-
|
25935
|
-
@SrcPort.setter
|
25936
|
-
def SrcPort(self, SrcPort):
|
25937
|
-
self._SrcPort = SrcPort
|
25938
|
-
|
25939
|
-
@property
|
25940
|
-
def SrcIp(self):
|
25941
|
-
return self._SrcIp
|
25942
|
-
|
25943
|
-
@SrcIp.setter
|
25944
|
-
def SrcIp(self, SrcIp):
|
25945
|
-
self._SrcIp = SrcIp
|
25946
|
-
|
25947
|
-
@property
|
25948
|
-
def DstPort(self):
|
25949
|
-
return self._DstPort
|
25950
|
-
|
25951
|
-
@DstPort.setter
|
25952
|
-
def DstPort(self, DstPort):
|
25953
|
-
self._DstPort = DstPort
|
25954
|
-
|
25955
|
-
@property
|
25956
|
-
def DstIp(self):
|
25957
|
-
return self._DstIp
|
25958
|
-
|
25959
|
-
@DstIp.setter
|
25960
|
-
def DstIp(self, DstIp):
|
25961
|
-
self._DstIp = DstIp
|
25962
|
-
|
25963
|
-
@property
|
25964
|
-
def HttpMethod(self):
|
25965
|
-
return self._HttpMethod
|
25966
|
-
|
25967
|
-
@HttpMethod.setter
|
25968
|
-
def HttpMethod(self, HttpMethod):
|
25969
|
-
self._HttpMethod = HttpMethod
|
25970
|
-
|
25971
|
-
@property
|
25972
|
-
def HttpHost(self):
|
25973
|
-
return self._HttpHost
|
25974
|
-
|
25975
|
-
@HttpHost.setter
|
25976
|
-
def HttpHost(self, HttpHost):
|
25977
|
-
self._HttpHost = HttpHost
|
25978
|
-
|
25979
|
-
@property
|
25980
|
-
def HttpHead(self):
|
25981
|
-
return self._HttpHead
|
25982
|
-
|
25983
|
-
@HttpHead.setter
|
25984
|
-
def HttpHead(self, HttpHead):
|
25985
|
-
self._HttpHead = HttpHead
|
25986
|
-
|
25987
|
-
@property
|
25988
|
-
def HttpUserAgent(self):
|
25989
|
-
return self._HttpUserAgent
|
25990
|
-
|
25991
|
-
@HttpUserAgent.setter
|
25992
|
-
def HttpUserAgent(self, HttpUserAgent):
|
25993
|
-
self._HttpUserAgent = HttpUserAgent
|
25994
|
-
|
25995
|
-
@property
|
25996
|
-
def HttpReferer(self):
|
25997
|
-
return self._HttpReferer
|
25998
|
-
|
25999
|
-
@HttpReferer.setter
|
26000
|
-
def HttpReferer(self, HttpReferer):
|
26001
|
-
self._HttpReferer = HttpReferer
|
26002
|
-
|
26003
|
-
@property
|
26004
|
-
def VulType(self):
|
26005
|
-
return self._VulType
|
26006
|
-
|
26007
|
-
@VulType.setter
|
26008
|
-
def VulType(self, VulType):
|
26009
|
-
self._VulType = VulType
|
26010
|
-
|
26011
|
-
@property
|
26012
|
-
def HttpCgi(self):
|
26013
|
-
return self._HttpCgi
|
26014
|
-
|
26015
|
-
@HttpCgi.setter
|
26016
|
-
def HttpCgi(self, HttpCgi):
|
26017
|
-
self._HttpCgi = HttpCgi
|
26018
|
-
|
26019
|
-
@property
|
26020
|
-
def HttpParam(self):
|
26021
|
-
return self._HttpParam
|
26022
|
-
|
26023
|
-
@HttpParam.setter
|
26024
|
-
def HttpParam(self, HttpParam):
|
26025
|
-
self._HttpParam = HttpParam
|
26026
|
-
|
26027
|
-
@property
|
26028
|
-
def CreatedAt(self):
|
26029
|
-
return self._CreatedAt
|
26030
|
-
|
26031
|
-
@CreatedAt.setter
|
26032
|
-
def CreatedAt(self, CreatedAt):
|
26033
|
-
self._CreatedAt = CreatedAt
|
26034
|
-
|
26035
|
-
@property
|
26036
|
-
def HttpContent(self):
|
26037
|
-
return self._HttpContent
|
26038
|
-
|
26039
|
-
@HttpContent.setter
|
26040
|
-
def HttpContent(self, HttpContent):
|
26041
|
-
self._HttpContent = HttpContent
|
26042
|
-
|
26043
|
-
@property
|
26044
|
-
def RequestId(self):
|
26045
|
-
return self._RequestId
|
26046
|
-
|
26047
|
-
@RequestId.setter
|
26048
|
-
def RequestId(self, RequestId):
|
26049
|
-
self._RequestId = RequestId
|
26050
|
-
|
26051
|
-
|
26052
|
-
def _deserialize(self, params):
|
26053
|
-
self._Id = params.get("Id")
|
26054
|
-
self._Quuid = params.get("Quuid")
|
26055
|
-
self._SrcPort = params.get("SrcPort")
|
26056
|
-
self._SrcIp = params.get("SrcIp")
|
26057
|
-
self._DstPort = params.get("DstPort")
|
26058
|
-
self._DstIp = params.get("DstIp")
|
26059
|
-
self._HttpMethod = params.get("HttpMethod")
|
26060
|
-
self._HttpHost = params.get("HttpHost")
|
26061
|
-
self._HttpHead = params.get("HttpHead")
|
26062
|
-
self._HttpUserAgent = params.get("HttpUserAgent")
|
26063
|
-
self._HttpReferer = params.get("HttpReferer")
|
26064
|
-
self._VulType = params.get("VulType")
|
26065
|
-
self._HttpCgi = params.get("HttpCgi")
|
26066
|
-
self._HttpParam = params.get("HttpParam")
|
26067
|
-
self._CreatedAt = params.get("CreatedAt")
|
26068
|
-
self._HttpContent = params.get("HttpContent")
|
26069
|
-
self._RequestId = params.get("RequestId")
|
26070
|
-
|
26071
|
-
|
26072
25822
|
class DescribeAttackLogsRequest(AbstractModel):
|
26073
25823
|
"""DescribeAttackLogs请求参数结构体
|
26074
25824
|
|
@@ -9942,7 +9942,7 @@ class DescribeAuditInstanceListRequest(AbstractModel):
|
|
9942
9942
|
:type Filters: list of AuditInstanceFilters
|
9943
9943
|
:param _AuditMode: 实例的审计规则模式。1-规则审计;0-全审计。
|
9944
9944
|
:type AuditMode: int
|
9945
|
-
:param _Limit: 单次请求返回的数量。默认值为30,最大值为
|
9945
|
+
:param _Limit: 单次请求返回的数量。默认值为30,最大值为 100。
|
9946
9946
|
:type Limit: int
|
9947
9947
|
:param _Offset: 偏移量,默认值为 0。
|
9948
9948
|
:type Offset: int
|
@@ -1682,8 +1682,6 @@ class OcrClient(AbstractClient):
|
|
1682
1682
|
def RecognizeGeneralTextImageWarn(self, request):
|
1683
1683
|
"""本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。
|
1684
1684
|
|
1685
|
-
默认接口请求频率限制:10次/秒。
|
1686
|
-
|
1687
1685
|
:param request: Request instance for RecognizeGeneralTextImageWarn.
|
1688
1686
|
:type request: :class:`tencentcloud.ocr.v20181119.models.RecognizeGeneralTextImageWarnRequest`
|
1689
1687
|
:rtype: :class:`tencentcloud.ocr.v20181119.models.RecognizeGeneralTextImageWarnResponse`
|
@@ -2405,11 +2405,11 @@ class DescribeDataFetchProjectRequest(AbstractModel):
|
|
2405
2405
|
|
2406
2406
|
def __init__(self):
|
2407
2407
|
r"""
|
2408
|
-
:param _StartTime:
|
2408
|
+
:param _StartTime: 开始时间,示例值:1625454840
|
2409
2409
|
:type StartTime: int
|
2410
2410
|
:param _Type: allcount:性能视图,day:14天数据,condition:条件列表,area:请求速度分布,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等
|
2411
2411
|
:type Type: str
|
2412
|
-
:param _EndTime:
|
2412
|
+
:param _EndTime: 结束时间,示例值:1625454840
|
2413
2413
|
:type EndTime: int
|
2414
2414
|
:param _ID: 项目ID
|
2415
2415
|
:type ID: int
|
@@ -2421,7 +2421,7 @@ class DescribeDataFetchProjectRequest(AbstractModel):
|
|
2421
2421
|
:type Isp: str
|
2422
2422
|
:param _From: 来源页面
|
2423
2423
|
:type From: str
|
2424
|
-
:param _Level:
|
2424
|
+
:param _Level: 日志等级(1表示白名单日志,2表示一般日志,4表示错误日志,8表示Promise 错误,16表示Ajax 请求异常,32表示JS 加载异常,64表示图片加载异常,128表示css 加载异常,256表示console.error,512表示音视频资源异常,1024表示retcode 异常,2048表示aegis report,4096表示PV日志,8192表示自定义事件,16384表示小程序 页面不存在,32768表示websocket错误,65536表示js bridge错误)
|
2425
2425
|
:type Level: str
|
2426
2426
|
:param _Brand: 品牌
|
2427
2427
|
:type Brand: str
|
@@ -2435,7 +2435,7 @@ class DescribeDataFetchProjectRequest(AbstractModel):
|
|
2435
2435
|
:type ExtThird: str
|
2436
2436
|
:param _ExtFirst: 自定义1
|
2437
2437
|
:type ExtFirst: str
|
2438
|
-
:param _NetType:
|
2438
|
+
:param _NetType: 网络类型(1,2,3,4,5,100),1表示WIFI, 2表示2G, 3表示3G, 4表示4G, 5表示5G, 6表示6G, 100表示未知。
|
2439
2439
|
:type NetType: str
|
2440
2440
|
:param _Device: 机型
|
2441
2441
|
:type Device: str
|
@@ -4857,7 +4857,7 @@ class DescribeDataReportCountRequest(AbstractModel):
|
|
4857
4857
|
:type EndTime: int
|
4858
4858
|
:param _ID: 项目ID
|
4859
4859
|
:type ID: int
|
4860
|
-
:param _ReportType:
|
4860
|
+
:param _ReportType: 上报类型(custom,event,log,miniProgramData,performance,pv,speed,webvitals)
|
4861
4861
|
:type ReportType: str
|
4862
4862
|
:param _InstanceID: 实例ID
|
4863
4863
|
:type InstanceID: str
|
@@ -5401,7 +5401,7 @@ class DescribeDataStaticProjectRequest(AbstractModel):
|
|
5401
5401
|
:type Isp: str
|
5402
5402
|
:param _From: 来源页面
|
5403
5403
|
:type From: str
|
5404
|
-
:param _Level:
|
5404
|
+
:param _Level: 日志等级(1表示白名单日志,2表示一般日志,4表示错误日志,8表示Promise 错误,16表示Ajax 请求异常,32表示JS 加载异常,64表示图片加载异常,128表示css 加载异常,256表示console.error,512表示音视频资源异常,1024表示retcode 异常,2048表示aegis report,4096表示PV日志,8192表示自定义事件,16384表示小程序 页面不存在,32768表示websocket错误,65536表示js bridge错误)
|
5405
5405
|
:type Level: str
|
5406
5406
|
:param _Brand: 品牌
|
5407
5407
|
:type Brand: str
|
@@ -5415,7 +5415,7 @@ class DescribeDataStaticProjectRequest(AbstractModel):
|
|
5415
5415
|
:type ExtThird: str
|
5416
5416
|
:param _ExtFirst: 自定义1
|
5417
5417
|
:type ExtFirst: str
|
5418
|
-
:param _NetType:
|
5418
|
+
:param _NetType: 网络类型(1,2,3,4,5,100),1表示WIFI, 2表示2G, 3表示3G, 4表示4G, 5表示5G, 6表示6G, 100表示未知。
|
5419
5419
|
:type NetType: str
|
5420
5420
|
:param _Device: 机型
|
5421
5421
|
:type Device: str
|
@@ -176,13 +176,13 @@ class ApplyCertificateRequest(AbstractModel):
|
|
176
176
|
:type DomainName: str
|
177
177
|
:param _ProjectId: 项目 ID。
|
178
178
|
:type ProjectId: int
|
179
|
-
:param _PackageType: 证书类型,目前仅支持类型
|
179
|
+
:param _PackageType: 证书类型,目前仅支持类型83。83 = TrustAsia C1 DV Free。
|
180
180
|
:type PackageType: str
|
181
181
|
:param _ContactEmail: 邮箱。
|
182
182
|
:type ContactEmail: str
|
183
183
|
:param _ContactPhone: 手机。
|
184
184
|
:type ContactPhone: str
|
185
|
-
:param _ValidityPeriod: 有效期,默认
|
185
|
+
:param _ValidityPeriod: 有效期,默认3个月,目前仅支持3个月。
|
186
186
|
:type ValidityPeriod: str
|
187
187
|
:param _CsrEncryptAlgo: 加密算法,支持 RSA及ECC。
|
188
188
|
:type CsrEncryptAlgo: str
|
@@ -1420,7 +1420,7 @@ class CheckInstancesUpgradeAbleRequest(AbstractModel):
|
|
1420
1420
|
:type ClusterId: str
|
1421
1421
|
:param _InstanceIds: 节点列表,空为全部节点
|
1422
1422
|
:type InstanceIds: list of str
|
1423
|
-
:param _UpgradeType:
|
1423
|
+
:param _UpgradeType: 升级类型,枚举值:reset(重装升级,支持大版本和小版本),hot(原地滚动小版本升级),major(原地滚动大版本升级)
|
1424
1424
|
:type UpgradeType: str
|
1425
1425
|
:param _Offset: 分页Offset
|
1426
1426
|
:type Offset: int
|
@@ -10938,9 +10938,9 @@ class DescribeAvailableClusterVersionRequest(AbstractModel):
|
|
10938
10938
|
|
10939
10939
|
def __init__(self):
|
10940
10940
|
r"""
|
10941
|
-
:param _ClusterId: 集群 Id
|
10941
|
+
:param _ClusterId: 集群 Id。若只查询某个集群可升级的版本,需填写此项。
|
10942
10942
|
:type ClusterId: str
|
10943
|
-
:param _ClusterIds: 集群 Id
|
10943
|
+
:param _ClusterIds: 集群 Id 列表。若查询多个集群可升级的版本,需填写此项。
|
10944
10944
|
:type ClusterIds: list of str
|
10945
10945
|
"""
|
10946
10946
|
self._ClusterId = None
|
@@ -12775,22 +12775,17 @@ class DescribeClusterNodePoolsRequest(AbstractModel):
|
|
12775
12775
|
r"""
|
12776
12776
|
:param _ClusterId: ClusterId(集群id)
|
12777
12777
|
:type ClusterId: str
|
12778
|
-
:param _Filters: ·
|
12778
|
+
:param _Filters: · "Name":"NodePoolsName","Values": ["test"]
|
12779
12779
|
按照【节点池名】进行过滤。
|
12780
12780
|
类型:String
|
12781
12781
|
必选:否
|
12782
12782
|
|
12783
|
-
· NodePoolsId
|
12783
|
+
· "Name":"NodePoolsId","Values": ["np-d2mb2zb"]
|
12784
12784
|
按照【节点池id】进行过滤。
|
12785
12785
|
类型:String
|
12786
12786
|
必选:否
|
12787
12787
|
|
12788
|
-
·
|
12789
|
-
按照【标签键值对】进行过滤。
|
12790
|
-
类型:String
|
12791
|
-
必选:否
|
12792
|
-
|
12793
|
-
· tag:tag-key
|
12788
|
+
· "Name":"Tags","Values": ["abc:1"]
|
12794
12789
|
按照【标签键值对】进行过滤。
|
12795
12790
|
类型:String
|
12796
12791
|
必选:否
|
@@ -14097,45 +14092,7 @@ class DescribeClustersRequest(AbstractModel):
|
|
14097
14092
|
:type Offset: int
|
14098
14093
|
:param _Limit: 最大输出条数,默认20,最大为100
|
14099
14094
|
:type Limit: int
|
14100
|
-
:param _Filters: ·
|
14101
|
-
按照【集群名】进行过滤。
|
14102
|
-
类型:String
|
14103
|
-
必选:否
|
14104
|
-
|
14105
|
-
· ClusterType
|
14106
|
-
按照【集群类型】进行过滤。
|
14107
|
-
类型:String
|
14108
|
-
必选:否
|
14109
|
-
|
14110
|
-
· ClusterStatus
|
14111
|
-
按照【集群状态】进行过滤。
|
14112
|
-
类型:String
|
14113
|
-
必选:否
|
14114
|
-
|
14115
|
-
· Tags
|
14116
|
-
按照【标签键值对】进行过滤。
|
14117
|
-
类型:String
|
14118
|
-
必选:否
|
14119
|
-
|
14120
|
-
· vpc-id
|
14121
|
-
按照【VPC】进行过滤。
|
14122
|
-
类型:String
|
14123
|
-
必选:否
|
14124
|
-
|
14125
|
-
· tag-key
|
14126
|
-
按照【标签键】进行过滤。
|
14127
|
-
类型:String
|
14128
|
-
必选:否
|
14129
|
-
|
14130
|
-
· tag-value
|
14131
|
-
按照【标签值】进行过滤。
|
14132
|
-
类型:String
|
14133
|
-
必选:否
|
14134
|
-
|
14135
|
-
· tag:tag-key
|
14136
|
-
按照【标签键值对】进行过滤。
|
14137
|
-
类型:String
|
14138
|
-
必选:否
|
14095
|
+
:param _Filters: · "Name":"ClusterName","Values": ["test"] 按照【集群名】进行过滤。 类型:String 必选:否 · "Name":"ClusterType","Values": ["MANAGED_CLUSTER"] 按照【集群类型】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"ClusterStatus","Values": ["Running"] 按照【集群状态】进行过滤。 类型:String 必选:否 · "Name":"vpc-id","Values": ["vpc-123qajzs"] 按照【VPC】进行过滤。 类型:String 必选:否 · "Name":"tag-key","Values": ["testKey"] 按照【标签键】进行过滤。 类型:String 必选:否 · "Name":"tag-value","Values": ["testValue"] 按照【标签值】进行过滤。 类型:String 必选:否 · "Name":"Tags","Values": ["abc:1"] 按照【标签键值对】进行过滤。 类型:String 必选:否
|
14139
14096
|
:type Filters: list of Filter
|
14140
14097
|
:param _ClusterType: 集群类型,例如:MANAGED_CLUSTER
|
14141
14098
|
:type ClusterType: str
|
@@ -23858,7 +23815,7 @@ class ExistedInstancesPara(AbstractModel):
|
|
23858
23815
|
r"""
|
23859
23816
|
:param _InstanceIds: 集群ID
|
23860
23817
|
:type InstanceIds: list of str
|
23861
|
-
:param _InstanceAdvancedSettings:
|
23818
|
+
:param _InstanceAdvancedSettings: 实例额外需要设置参数信息(目前后端暂不支持此字段,我们将在未来的版本中实现)
|
23862
23819
|
:type InstanceAdvancedSettings: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
|
23863
23820
|
:param _EnhancedService: 增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认开启云监控、云安全服务。
|
23864
23821
|
:type EnhancedService: :class:`tencentcloud.tke.v20180525.models.EnhancedService`
|
@@ -28761,7 +28718,7 @@ class ModifyNodePoolInstanceTypesRequest(AbstractModel):
|
|
28761
28718
|
:type ClusterId: str
|
28762
28719
|
:param _NodePoolId: 节点池id
|
28763
28720
|
:type NodePoolId: str
|
28764
|
-
:param _InstanceTypes:
|
28721
|
+
:param _InstanceTypes: 机型列表,主实例机型不支持修改
|
28765
28722
|
:type InstanceTypes: list of str
|
28766
28723
|
"""
|
28767
28724
|
self._ClusterId = None
|
@@ -35974,7 +35931,7 @@ class ScaleInMaster(AbstractModel):
|
|
35974
35931
|
:type InstanceId: str
|
35975
35932
|
:param _NodeRole: 缩容的实例角色:MASTER,ETCD,MASTER_ETCD
|
35976
35933
|
:type NodeRole: str
|
35977
|
-
:param _InstanceDeleteMode:
|
35934
|
+
:param _InstanceDeleteMode: 实例删除时的策略:terminate(销毁实例,仅支持按量计费云主机实例) retain (仅移除,保留实例)
|
35978
35935
|
:type InstanceDeleteMode: str
|
35979
35936
|
"""
|
35980
35937
|
self._InstanceId = None
|
@@ -3799,7 +3799,7 @@ class TkeClient(AbstractClient):
|
|
3799
3799
|
|
3800
3800
|
|
3801
3801
|
def EnableEncryptionProtection(self, request):
|
3802
|
-
"""
|
3802
|
+
"""开启加密数据保护,需要先开启KMS能力,完成KMS授权
|
3803
3803
|
|
3804
3804
|
:param request: Request instance for EnableEncryptionProtection.
|
3805
3805
|
:type request: :class:`tencentcloud.tke.v20180525.models.EnableEncryptionProtectionRequest`
|
@@ -3983,7 +3983,7 @@ class TkeClient(AbstractClient):
|
|
3983
3983
|
|
3984
3984
|
|
3985
3985
|
def GetUpgradeInstanceProgress(self, request):
|
3986
|
-
"""
|
3986
|
+
"""获得节点升级当前的进度,若集群未处于节点升级状态,则接口会报错:任务未找到。
|
3987
3987
|
|
3988
3988
|
:param request: Request instance for GetUpgradeInstanceProgress.
|
3989
3989
|
:type request: :class:`tencentcloud.tke.v20180525.models.GetUpgradeInstanceProgressRequest`
|
@@ -4673,7 +4673,7 @@ class TkeClient(AbstractClient):
|
|
4673
4673
|
|
4674
4674
|
|
4675
4675
|
def ScaleInClusterMaster(self, request):
|
4676
|
-
"""缩容独立集群master
|
4676
|
+
"""缩容独立集群master节点,本功能为内测能力,使用之前请先提单联系我们。
|
4677
4677
|
|
4678
4678
|
:param request: Request instance for ScaleInClusterMaster.
|
4679
4679
|
:type request: :class:`tencentcloud.tke.v20180525.models.ScaleInClusterMasterRequest`
|
@@ -35,6 +35,12 @@ FAILEDOPERATION_SERVICEISOLATE = 'FailedOperation.ServiceIsolate'
|
|
35
35
|
# 账号已停服。
|
36
36
|
FAILEDOPERATION_STOPUSING = 'FailedOperation.StopUsing'
|
37
37
|
|
38
|
+
# 当日提交任务数达到上限
|
39
|
+
FAILEDOPERATION_SUBMISSIONLIMITREACHED = 'FailedOperation.SubmissionLimitReached'
|
40
|
+
|
41
|
+
# 过多未完成任务
|
42
|
+
FAILEDOPERATION_TOOMANYWAITPROCESS = 'FailedOperation.TooManyWaitProcess'
|
43
|
+
|
38
44
|
# 服务未开通,请在腾讯云官网机器翻译控制台开通服务。
|
39
45
|
FAILEDOPERATION_USERNOTREGISTERED = 'FailedOperation.UserNotRegistered'
|
40
46
|
|
@@ -3787,6 +3787,9 @@ class ClusterV2(AbstractModel):
|
|
3787
3787
|
:param _KuberneteNativeSecret: native secret
|
3788
3788
|
注意:此字段可能返回 null,表示取不到有效值。
|
3789
3789
|
:type KuberneteNativeSecret: str
|
3790
|
+
:param _EnableLogCollection: 是否开启cls日志功能
|
3791
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3792
|
+
:type EnableLogCollection: bool
|
3790
3793
|
"""
|
3791
3794
|
self._ClusterId = None
|
3792
3795
|
self._ClusterName = None
|
@@ -3824,6 +3827,7 @@ class ClusterV2(AbstractModel):
|
|
3824
3827
|
self._KuberneteApiServer = None
|
3825
3828
|
self._KuberneteNativeType = None
|
3826
3829
|
self._KuberneteNativeSecret = None
|
3830
|
+
self._EnableLogCollection = None
|
3827
3831
|
|
3828
3832
|
@property
|
3829
3833
|
def ClusterId(self):
|
@@ -4113,6 +4117,14 @@ class ClusterV2(AbstractModel):
|
|
4113
4117
|
def KuberneteNativeSecret(self, KuberneteNativeSecret):
|
4114
4118
|
self._KuberneteNativeSecret = KuberneteNativeSecret
|
4115
4119
|
|
4120
|
+
@property
|
4121
|
+
def EnableLogCollection(self):
|
4122
|
+
return self._EnableLogCollection
|
4123
|
+
|
4124
|
+
@EnableLogCollection.setter
|
4125
|
+
def EnableLogCollection(self, EnableLogCollection):
|
4126
|
+
self._EnableLogCollection = EnableLogCollection
|
4127
|
+
|
4116
4128
|
|
4117
4129
|
def _deserialize(self, params):
|
4118
4130
|
self._ClusterId = params.get("ClusterId")
|
@@ -4153,6 +4165,7 @@ class ClusterV2(AbstractModel):
|
|
4153
4165
|
self._KuberneteApiServer = params.get("KuberneteApiServer")
|
4154
4166
|
self._KuberneteNativeType = params.get("KuberneteNativeType")
|
4155
4167
|
self._KuberneteNativeSecret = params.get("KuberneteNativeSecret")
|
4168
|
+
self._EnableLogCollection = params.get("EnableLogCollection")
|
4156
4169
|
memeber_set = set(params.keys())
|
4157
4170
|
for name, value in vars(self).items():
|
4158
4171
|
property_name = name[1:]
|
@@ -7688,6 +7701,8 @@ class CreateClusterRequest(AbstractModel):
|
|
7688
7701
|
:type KuberneteNativeSecret: str
|
7689
7702
|
:param _ProgramIdList: 无
|
7690
7703
|
:type ProgramIdList: list of str
|
7704
|
+
:param _EnableLogCollection: 是否开启cls日志功能
|
7705
|
+
:type EnableLogCollection: bool
|
7691
7706
|
"""
|
7692
7707
|
self._ClusterName = None
|
7693
7708
|
self._ClusterType = None
|
@@ -7705,6 +7720,7 @@ class CreateClusterRequest(AbstractModel):
|
|
7705
7720
|
self._KuberneteNativeType = None
|
7706
7721
|
self._KuberneteNativeSecret = None
|
7707
7722
|
self._ProgramIdList = None
|
7723
|
+
self._EnableLogCollection = None
|
7708
7724
|
|
7709
7725
|
@property
|
7710
7726
|
def ClusterName(self):
|
@@ -7834,6 +7850,14 @@ class CreateClusterRequest(AbstractModel):
|
|
7834
7850
|
def ProgramIdList(self, ProgramIdList):
|
7835
7851
|
self._ProgramIdList = ProgramIdList
|
7836
7852
|
|
7853
|
+
@property
|
7854
|
+
def EnableLogCollection(self):
|
7855
|
+
return self._EnableLogCollection
|
7856
|
+
|
7857
|
+
@EnableLogCollection.setter
|
7858
|
+
def EnableLogCollection(self, EnableLogCollection):
|
7859
|
+
self._EnableLogCollection = EnableLogCollection
|
7860
|
+
|
7837
7861
|
|
7838
7862
|
def _deserialize(self, params):
|
7839
7863
|
self._ClusterName = params.get("ClusterName")
|
@@ -7852,6 +7876,7 @@ class CreateClusterRequest(AbstractModel):
|
|
7852
7876
|
self._KuberneteNativeType = params.get("KuberneteNativeType")
|
7853
7877
|
self._KuberneteNativeSecret = params.get("KuberneteNativeSecret")
|
7854
7878
|
self._ProgramIdList = params.get("ProgramIdList")
|
7879
|
+
self._EnableLogCollection = params.get("EnableLogCollection")
|
7855
7880
|
memeber_set = set(params.keys())
|
7856
7881
|
for name, value in vars(self).items():
|
7857
7882
|
property_name = name[1:]
|
@@ -32348,11 +32373,17 @@ class ModifyClusterRequest(AbstractModel):
|
|
32348
32373
|
:type ClusterDesc: str
|
32349
32374
|
:param _ClusterRemarkName: 备注名
|
32350
32375
|
:type ClusterRemarkName: str
|
32376
|
+
:param _EnableLogCollection: 是否开启cls日志功能
|
32377
|
+
:type EnableLogCollection: bool
|
32378
|
+
:param _RepairLog: 是否修复cls日志功能
|
32379
|
+
:type RepairLog: bool
|
32351
32380
|
"""
|
32352
32381
|
self._ClusterId = None
|
32353
32382
|
self._ClusterName = None
|
32354
32383
|
self._ClusterDesc = None
|
32355
32384
|
self._ClusterRemarkName = None
|
32385
|
+
self._EnableLogCollection = None
|
32386
|
+
self._RepairLog = None
|
32356
32387
|
|
32357
32388
|
@property
|
32358
32389
|
def ClusterId(self):
|
@@ -32386,12 +32417,30 @@ class ModifyClusterRequest(AbstractModel):
|
|
32386
32417
|
def ClusterRemarkName(self, ClusterRemarkName):
|
32387
32418
|
self._ClusterRemarkName = ClusterRemarkName
|
32388
32419
|
|
32420
|
+
@property
|
32421
|
+
def EnableLogCollection(self):
|
32422
|
+
return self._EnableLogCollection
|
32423
|
+
|
32424
|
+
@EnableLogCollection.setter
|
32425
|
+
def EnableLogCollection(self, EnableLogCollection):
|
32426
|
+
self._EnableLogCollection = EnableLogCollection
|
32427
|
+
|
32428
|
+
@property
|
32429
|
+
def RepairLog(self):
|
32430
|
+
return self._RepairLog
|
32431
|
+
|
32432
|
+
@RepairLog.setter
|
32433
|
+
def RepairLog(self, RepairLog):
|
32434
|
+
self._RepairLog = RepairLog
|
32435
|
+
|
32389
32436
|
|
32390
32437
|
def _deserialize(self, params):
|
32391
32438
|
self._ClusterId = params.get("ClusterId")
|
32392
32439
|
self._ClusterName = params.get("ClusterName")
|
32393
32440
|
self._ClusterDesc = params.get("ClusterDesc")
|
32394
32441
|
self._ClusterRemarkName = params.get("ClusterRemarkName")
|
32442
|
+
self._EnableLogCollection = params.get("EnableLogCollection")
|
32443
|
+
self._RepairLog = params.get("RepairLog")
|
32395
32444
|
memeber_set = set(params.keys())
|
32396
32445
|
for name, value in vars(self).items():
|
32397
32446
|
property_name = name[1:]
|