tencentcloud-sdk-python 3.0.1382__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/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.1382.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/RECORD +44 -44
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1382.dist-info → tencentcloud_sdk_python-3.0.1383.dist-info}/top_level.txt +0 -0
@@ -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
|
|
@@ -515,6 +515,9 @@ INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = 'InvalidParameterValue.VpcCidrConflict'
|
|
515
515
|
# 辅助Cidr与自定义子网路由目的Cidr网段完全重叠。
|
516
516
|
INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = 'InvalidParameterValue.VpcCidrOverlapRoute'
|
517
517
|
|
518
|
+
# 流日志不能输入VPC唯一ID。
|
519
|
+
INVALIDPARAMETERVALUE_VPCIDNOTNEEDEDFORFLOWLOG = 'InvalidParameterValue.VpcIdNotNeededForFlowLog'
|
520
|
+
|
518
521
|
# 当前功能不支持此专线网关。
|
519
522
|
INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = 'InvalidParameterValue.VpgTypeNotMatch'
|
520
523
|
|
@@ -938,6 +941,9 @@ UNSUPPORTEDOPERATION_ENDPOINTMISMATCHENDPOINTSERVICECDCID = 'UnsupportedOperatio
|
|
938
941
|
# 终端节点服务本身不能是终端节点。
|
939
942
|
UNSUPPORTEDOPERATION_ENDPOINTSERVICE = 'UnsupportedOperation.EndPointService'
|
940
943
|
|
944
|
+
# 终端节点服务负载均衡类型不为内网负载均衡。
|
945
|
+
UNSUPPORTEDOPERATION_ENDPOINTSERVICELOADBALANCERINVALIDTYPE = 'UnsupportedOperation.EndPointServiceLoadBalancerInvalidType'
|
946
|
+
|
941
947
|
# 存在云联网自定义路由表不允许删除该云联网
|
942
948
|
UNSUPPORTEDOPERATION_EXISTCCNCUSTOMROUTETABLESNOTSUPPORTDELETECCN = 'UnsupportedOperation.ExistCcnCustomRouteTablesNotSupportDeleteCcn'
|
943
949
|
|
@@ -10732,9 +10732,9 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10732
10732
|
|
10733
10733
|
def __init__(self):
|
10734
10734
|
r"""
|
10735
|
-
:param _FlowLogName:
|
10735
|
+
:param _FlowLogName: 流日志实例名称。长度为不超过60个字符。
|
10736
10736
|
:type FlowLogName: str
|
10737
|
-
:param _ResourceType: 流日志所属资源类型,VPC
|
10737
|
+
:param _ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
|
10738
10738
|
:type ResourceType: str
|
10739
10739
|
:param _ResourceId: 资源唯一ID。
|
10740
10740
|
:type ResourceId: str
|
@@ -10742,15 +10742,15 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10742
10742
|
:type TrafficType: str
|
10743
10743
|
:param _VpcId: 私用网络唯一ID。当ResourceType为CCN时不填,其他类型必填。
|
10744
10744
|
:type VpcId: str
|
10745
|
-
:param _FlowLogDescription:
|
10745
|
+
:param _FlowLogDescription: 流日志实例描述。长度不超过512个字符。
|
10746
10746
|
:type FlowLogDescription: str
|
10747
10747
|
:param _CloudLogId: 流日志存储ID(cls的日志主题ID,
|
10748
|
-
可通过[DescribeTopics](https://cloud.tencent.com/document/
|
10748
|
+
可通过[DescribeTopics](https://cloud.tencent.com/document/product/614/56454)接口获取。
|
10749
10749
|
)。当StorageType为cls时,CloudLogId为必选。
|
10750
10750
|
:type CloudLogId: str
|
10751
10751
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
10752
10752
|
:type Tags: list of Tag
|
10753
|
-
:param _StorageType: 消费端类型:cls、ckafka。默认值cls。当选择
|
10753
|
+
:param _StorageType: 消费端类型:cls、ckafka。默认值cls。当选择ckafka时,请通过工单加入白名单。
|
10754
10754
|
:type StorageType: str
|
10755
10755
|
:param _FlowLogStorage: 流日志消费端信息,当消费端类型为ckafka时,必填。
|
10756
10756
|
:type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
|
@@ -10771,7 +10771,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10771
10771
|
|
10772
10772
|
@property
|
10773
10773
|
def FlowLogName(self):
|
10774
|
-
"""
|
10774
|
+
"""流日志实例名称。长度为不超过60个字符。
|
10775
10775
|
:rtype: str
|
10776
10776
|
"""
|
10777
10777
|
return self._FlowLogName
|
@@ -10782,7 +10782,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10782
10782
|
|
10783
10783
|
@property
|
10784
10784
|
def ResourceType(self):
|
10785
|
-
"""流日志所属资源类型,VPC
|
10785
|
+
"""流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。
|
10786
10786
|
:rtype: str
|
10787
10787
|
"""
|
10788
10788
|
return self._ResourceType
|
@@ -10826,7 +10826,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10826
10826
|
|
10827
10827
|
@property
|
10828
10828
|
def FlowLogDescription(self):
|
10829
|
-
"""
|
10829
|
+
"""流日志实例描述。长度不超过512个字符。
|
10830
10830
|
:rtype: str
|
10831
10831
|
"""
|
10832
10832
|
return self._FlowLogDescription
|
@@ -10838,7 +10838,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10838
10838
|
@property
|
10839
10839
|
def CloudLogId(self):
|
10840
10840
|
"""流日志存储ID(cls的日志主题ID,
|
10841
|
-
可通过[DescribeTopics](https://cloud.tencent.com/document/
|
10841
|
+
可通过[DescribeTopics](https://cloud.tencent.com/document/product/614/56454)接口获取。
|
10842
10842
|
)。当StorageType为cls时,CloudLogId为必选。
|
10843
10843
|
:rtype: str
|
10844
10844
|
"""
|
@@ -10861,7 +10861,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
10861
10861
|
|
10862
10862
|
@property
|
10863
10863
|
def StorageType(self):
|
10864
|
-
"""消费端类型:cls、ckafka。默认值cls。当选择
|
10864
|
+
"""消费端类型:cls、ckafka。默认值cls。当选择ckafka时,请通过工单加入白名单。
|
10865
10865
|
:rtype: str
|
10866
10866
|
"""
|
10867
10867
|
return self._StorageType
|
@@ -26468,9 +26468,9 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26468
26468
|
:type VpcId: str
|
26469
26469
|
:param _FlowLogId: 流日志唯一ID。可通过[CreateFlowLog](https://cloud.tencent.com/document/product/215/35015)接口创建。
|
26470
26470
|
:type FlowLogId: str
|
26471
|
-
:param _FlowLogName:
|
26471
|
+
:param _FlowLogName: 流日志实例名称。长度不超过60个字符。
|
26472
26472
|
:type FlowLogName: str
|
26473
|
-
:param _ResourceType:
|
26473
|
+
:param _ResourceType: 流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
|
26474
26474
|
|
26475
26475
|
:type ResourceType: str
|
26476
26476
|
:param _ResourceId: 资源唯一ID。
|
@@ -26535,7 +26535,7 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26535
26535
|
|
26536
26536
|
@property
|
26537
26537
|
def FlowLogName(self):
|
26538
|
-
"""
|
26538
|
+
"""流日志实例名称。长度不超过60个字符。
|
26539
26539
|
:rtype: str
|
26540
26540
|
"""
|
26541
26541
|
return self._FlowLogName
|
@@ -26546,7 +26546,7 @@ class DescribeFlowLogsRequest(AbstractModel):
|
|
26546
26546
|
|
26547
26547
|
@property
|
26548
26548
|
def ResourceType(self):
|
26549
|
-
"""
|
26549
|
+
"""流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。
|
26550
26550
|
|
26551
26551
|
:rtype: str
|
26552
26552
|
"""
|
@@ -49104,9 +49104,9 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49104
49104
|
:type FlowLogId: str
|
49105
49105
|
:param _VpcId: 私用网络唯一ID。修改云联网流日志属性时可不填,其他流日志类型必填。
|
49106
49106
|
:type VpcId: str
|
49107
|
-
:param _FlowLogName:
|
49107
|
+
:param _FlowLogName: 流日志实例名称。长度为不超过60字符。
|
49108
49108
|
:type FlowLogName: str
|
49109
|
-
:param _FlowLogDescription: 流日志实例描述。长度为不超过512
|
49109
|
+
:param _FlowLogDescription: 流日志实例描述。长度为不超过512个字符。
|
49110
49110
|
:type FlowLogDescription: str
|
49111
49111
|
"""
|
49112
49112
|
self._FlowLogId = None
|
@@ -49138,7 +49138,7 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49138
49138
|
|
49139
49139
|
@property
|
49140
49140
|
def FlowLogName(self):
|
49141
|
-
"""
|
49141
|
+
"""流日志实例名称。长度为不超过60字符。
|
49142
49142
|
:rtype: str
|
49143
49143
|
"""
|
49144
49144
|
return self._FlowLogName
|
@@ -49149,7 +49149,7 @@ class ModifyFlowLogAttributeRequest(AbstractModel):
|
|
49149
49149
|
|
49150
49150
|
@property
|
49151
49151
|
def FlowLogDescription(self):
|
49152
|
-
"""流日志实例描述。长度为不超过512
|
49152
|
+
"""流日志实例描述。长度为不超过512个字符。
|
49153
49153
|
:rtype: str
|
49154
49154
|
"""
|
49155
49155
|
return self._FlowLogDescription
|