tencentcloud-sdk-python 3.0.1140__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/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 +76 -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/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.1140.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1140.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/RECORD +23 -23
- {tencentcloud_sdk_python-3.0.1140.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1140.dist-info → tencentcloud_sdk_python-3.0.1141.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1140.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
|
@@ -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:]
|
@@ -10986,9 +10986,9 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
10986
10986
|
:type IntegrityAlgorithm: str
|
10987
10987
|
:param _EncryptAlgorithm: 加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 'NONE',默认NONE。
|
10988
10988
|
:type EncryptAlgorithm: str
|
10989
|
-
:param _Compress:
|
10989
|
+
:param _Compress: 是否支持压缩。当前不支持压缩,默认False。
|
10990
10990
|
:type Compress: bool
|
10991
|
-
:param _SsoEnabled: 是否开启SSO认证。默认为False
|
10991
|
+
:param _SsoEnabled: 是否开启SSO认证。默认为False。该功能当前需要申请开白使用。
|
10992
10992
|
:type SsoEnabled: bool
|
10993
10993
|
:param _AccessPolicyEnabled: 是否开启策略访问控制。默认为False
|
10994
10994
|
:type AccessPolicyEnabled: bool
|
@@ -24554,7 +24554,7 @@ class DescribeVpnGatewaySslServersRequest(AbstractModel):
|
|
24554
24554
|
:type Offset: int
|
24555
24555
|
:param _Limit: 请求对象个数。
|
24556
24556
|
:type Limit: int
|
24557
|
-
:param _SslVpnServerIds: SSL-VPN-SERVER实例ID。形如:
|
24557
|
+
:param _SslVpnServerIds: SSL-VPN-SERVER实例ID。形如:vpns-0p4rj60。每次请求的实例的上限为100。参数不支持同时指定SslVpnServerIds和Filters。
|
24558
24558
|
:type SslVpnServerIds: list of str
|
24559
24559
|
:param _Filters: 过滤条件,参数不支持同时指定SslVpnServerIds和Filters。
|
24560
24560
|
<li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
|
@@ -29174,15 +29174,15 @@ class InquiryPriceCreateVpnGatewayRequest(AbstractModel):
|
|
29174
29174
|
|
29175
29175
|
def __init__(self):
|
29176
29176
|
r"""
|
29177
|
-
:param _InternetMaxBandwidthOut: 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps。
|
29177
|
+
:param _InternetMaxBandwidthOut: 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000, 3000;单位:Mbps。
|
29178
29178
|
:type InternetMaxBandwidthOut: int
|
29179
29179
|
:param _InstanceChargeType: VPN网关计费模式,PREPAID:表示预付费,即包年包月,POSTPAID_BY_HOUR:表示后付费,即按量计费。默认:POSTPAID_BY_HOUR,如果指定预付费模式,参数InstanceChargePrepaid必填。
|
29180
29180
|
:type InstanceChargeType: str
|
29181
29181
|
:param _InstanceChargePrepaid: 预付费模式,即包年包月相关参数设置。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。若指定实例的付费模式为预付费则该参数必传。
|
29182
29182
|
:type InstanceChargePrepaid: :class:`tencentcloud.vpc.v20170312.models.InstanceChargePrepaid`
|
29183
|
-
:param _MaxConnection: SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100;单位:个。
|
29183
|
+
:param _MaxConnection: SSL VPN连接数设置,可选规格:5, 10, 20, 50, 100, 200, 500, 1000;单位:个。
|
29184
29184
|
:type MaxConnection: int
|
29185
|
-
:param _Type: 查询的VPN类型,支持IPSEC
|
29185
|
+
:param _Type: 查询的VPN类型,支持IPSEC、SSL两种类型,为SSL类型时,MaxConnection参数必传。
|
29186
29186
|
:type Type: str
|
29187
29187
|
"""
|
29188
29188
|
self._InternetMaxBandwidthOut = None
|
@@ -29384,7 +29384,7 @@ class InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest(AbstractModel):
|
|
29384
29384
|
r"""
|
29385
29385
|
:param _VpnGatewayId: VPN网关实例ID。
|
29386
29386
|
:type VpnGatewayId: str
|
29387
|
-
:param _InternetMaxBandwidthOut: 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100;单位:Mbps。
|
29387
|
+
:param _InternetMaxBandwidthOut: 公网带宽设置。可选带宽规格:5, 10, 20, 50, 100, 200, 500, 1000;单位:Mbps。
|
29388
29388
|
:type InternetMaxBandwidthOut: int
|
29389
29389
|
"""
|
29390
29390
|
self._VpnGatewayId = None
|
@@ -29427,7 +29427,7 @@ class InquiryPriceResetVpnGatewayInternetMaxBandwidthResponse(AbstractModel):
|
|
29427
29427
|
|
29428
29428
|
def __init__(self):
|
29429
29429
|
r"""
|
29430
|
-
:param _Price:
|
29430
|
+
:param _Price: 商品价格。仅支持未过期的预付费网关。
|
29431
29431
|
:type Price: :class:`tencentcloud.vpc.v20170312.models.Price`
|
29432
29432
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
29433
29433
|
:type RequestId: str
|
@@ -35018,7 +35018,7 @@ class ModifyVpnGatewayCcnRoutesRequest(AbstractModel):
|
|
35018
35018
|
r"""
|
35019
35019
|
:param _VpnGatewayId: VPN网关实例ID。
|
35020
35020
|
:type VpnGatewayId: str
|
35021
|
-
:param _Routes: 云联网路由(IDC
|
35021
|
+
:param _Routes: 云联网路由(IDC网段)列表。其中RouteId可通过[DescribeVpnGatewayCcnRoutes](https://cloud.tencent.com/document/product/215/43514)接口获取。
|
35022
35022
|
:type Routes: list of VpngwCcnRoutes
|
35023
35023
|
"""
|
35024
35024
|
self._VpnGatewayId = None
|
@@ -35200,9 +35200,9 @@ class ModifyVpnGatewaySslServerRequest(AbstractModel):
|
|
35200
35200
|
:type EncryptAlgorithm: str
|
35201
35201
|
:param _IntegrityAlgorithm: 认证算法。可选 'SHA1', 'MD5', 'NONE'。默认NONE
|
35202
35202
|
:type IntegrityAlgorithm: str
|
35203
|
-
:param _Compress:
|
35203
|
+
:param _Compress: 是否支持压缩。当前不支持压缩。默认False。
|
35204
35204
|
:type Compress: bool
|
35205
|
-
:param _SsoEnabled: 是否开启SSO
|
35205
|
+
:param _SsoEnabled: 是否开启SSO认证。默认为False。该功能当前需要申请开白使用。
|
35206
35206
|
:type SsoEnabled: bool
|
35207
35207
|
:param _SamlData: SAML-DATA
|
35208
35208
|
:type SamlData: str
|
@@ -41659,7 +41659,7 @@ class SetVpnGatewaysRenewFlagRequest(AbstractModel):
|
|
41659
41659
|
|
41660
41660
|
def __init__(self):
|
41661
41661
|
r"""
|
41662
|
-
:param _VpnGatewayIds: VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId
|
41662
|
+
:param _VpnGatewayIds: VPNGW字符型ID列表。可通过[DescribeVpnGateways](https://cloud.tencent.com/document/api/215/17514)接口返回值VpnGatewaySet中的VpnGatewayId获取,只能选择包年包月的VPN实例。
|
41663
41663
|
:type VpnGatewayIds: list of str
|
41664
41664
|
:param _AutoRenewFlag: 自动续费标记 [0, 1, 2]
|
41665
41665
|
0表示默认状态(初始状态), 1表示自动续费,2表示明确不自动续费。
|
@@ -42444,6 +42444,9 @@ class SslVpnSever(AbstractModel):
|
|
42444
42444
|
:type AccessPolicyEnabled: int
|
42445
42445
|
:param _AccessPolicy: 策略信息
|
42446
42446
|
:type AccessPolicy: list of AccessPolicy
|
42447
|
+
:param _SpName: CAM服务提供商Name
|
42448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
42449
|
+
:type SpName: str
|
42447
42450
|
"""
|
42448
42451
|
self._VpcId = None
|
42449
42452
|
self._SslVpnServerId = None
|
@@ -42464,6 +42467,7 @@ class SslVpnSever(AbstractModel):
|
|
42464
42467
|
self._EiamApplicationId = None
|
42465
42468
|
self._AccessPolicyEnabled = None
|
42466
42469
|
self._AccessPolicy = None
|
42470
|
+
self._SpName = None
|
42467
42471
|
|
42468
42472
|
@property
|
42469
42473
|
def VpcId(self):
|
@@ -42617,6 +42621,14 @@ class SslVpnSever(AbstractModel):
|
|
42617
42621
|
def AccessPolicy(self, AccessPolicy):
|
42618
42622
|
self._AccessPolicy = AccessPolicy
|
42619
42623
|
|
42624
|
+
@property
|
42625
|
+
def SpName(self):
|
42626
|
+
return self._SpName
|
42627
|
+
|
42628
|
+
@SpName.setter
|
42629
|
+
def SpName(self, SpName):
|
42630
|
+
self._SpName = SpName
|
42631
|
+
|
42620
42632
|
|
42621
42633
|
def _deserialize(self, params):
|
42622
42634
|
self._VpcId = params.get("VpcId")
|
@@ -42643,6 +42655,7 @@ class SslVpnSever(AbstractModel):
|
|
42643
42655
|
obj = AccessPolicy()
|
42644
42656
|
obj._deserialize(item)
|
42645
42657
|
self._AccessPolicy.append(obj)
|
42658
|
+
self._SpName = params.get("SpName")
|
42646
42659
|
memeber_set = set(params.keys())
|
42647
42660
|
for name, value in vars(self).items():
|
42648
42661
|
property_name = name[1:]
|
@@ -2691,7 +2691,7 @@ class VpcClient(AbstractClient):
|
|
2691
2691
|
|
2692
2692
|
|
2693
2693
|
def DeleteVpnGateway(self, request):
|
2694
|
-
"""本接口(DeleteVpnGateway)用于删除VPN
|
2694
|
+
"""本接口(DeleteVpnGateway)用于删除VPN网关。
|
2695
2695
|
|
2696
2696
|
:param request: Request instance for DeleteVpnGateway.
|
2697
2697
|
:type request: :class:`tencentcloud.vpc.v20170312.models.DeleteVpnGatewayRequest`
|
@@ -5532,7 +5532,7 @@ class VpcClient(AbstractClient):
|
|
5532
5532
|
|
5533
5533
|
|
5534
5534
|
def InquiryPriceResetVpnGatewayInternetMaxBandwidth(self, request):
|
5535
|
-
"""本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth
|
5535
|
+
"""本接口(InquiryPriceResetVpnGatewayInternetMaxBandwidth)用于调整VPN网关带宽上限询价。
|
5536
5536
|
|
5537
5537
|
:param request: Request instance for InquiryPriceResetVpnGatewayInternetMaxBandwidth.
|
5538
5538
|
:type request: :class:`tencentcloud.vpc.v20170312.models.InquiryPriceResetVpnGatewayInternetMaxBandwidthRequest`
|