tencentcloud-sdk-python 3.0.1377__py2.py3-none-any.whl → 3.0.1379__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/apm/v20210622/models.py +34 -4
- tencentcloud/autoscaling/v20180419/models.py +45 -16
- tencentcloud/batch/v20170312/batch_client.py +3 -3
- tencentcloud/batch/v20170312/models.py +230 -168
- tencentcloud/billing/v20180709/billing_client.py +322 -0
- tencentcloud/billing/v20180709/errorcodes.py +9 -0
- tencentcloud/billing/v20180709/models.py +4894 -2542
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +18 -18
- tencentcloud/clb/v20180317/clb_client.py +7 -7
- tencentcloud/clb/v20180317/models.py +51 -41
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +46 -0
- tencentcloud/dbbrain/v20210527/models.py +368 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/models.py +503 -0
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +68 -44
- tencentcloud/hunyuan/v20230901/models.py +260 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +192 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/mps/v20190612/models.py +211 -2
- tencentcloud/postgres/v20170312/models.py +12 -4
- tencentcloud/tag/v20180813/models.py +8 -8
- tencentcloud/tcb/v20180608/models.py +34 -4
- tencentcloud/tdmq/v20200217/errorcodes.py +27 -0
- tencentcloud/teo/v20220901/models.py +0 -20
- tencentcloud/thpc/v20211109/models.py +2 -2
- tencentcloud/thpc/v20220401/models.py +4 -4
- tencentcloud/thpc/v20230321/errorcodes.py +9 -0
- tencentcloud/thpc/v20230321/models.py +85 -8
- tencentcloud/thpc/v20230321/thpc_client.py +23 -0
- tencentcloud/tione/v20211111/models.py +274 -0
- tencentcloud/tke/v20180525/models.py +10 -0
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +296 -1
- tencentcloud/tmt/v20180321/tmt_client.py +28 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/vpc/v20170312/models.py +24 -18
- tencentcloud/waf/v20180125/models.py +15 -0
- tencentcloud/wedata/v20210820/errorcodes.py +9 -0
- tencentcloud/wedata/v20210820/models.py +1078 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1377.dist-info → tencentcloud_sdk_python-3.0.1379.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,87 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class BoundingBox(AbstractModel):
|
22
|
+
"""段落文本框位置:x,y代表左上顶点,width和height代表宽高
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _X: 左上顶点x坐标
|
29
|
+
:type X: int
|
30
|
+
:param _Y: 左上顶点y坐标
|
31
|
+
:type Y: int
|
32
|
+
:param _Width: 宽
|
33
|
+
:type Width: int
|
34
|
+
:param _Height: 高
|
35
|
+
:type Height: int
|
36
|
+
"""
|
37
|
+
self._X = None
|
38
|
+
self._Y = None
|
39
|
+
self._Width = None
|
40
|
+
self._Height = None
|
41
|
+
|
42
|
+
@property
|
43
|
+
def X(self):
|
44
|
+
"""左上顶点x坐标
|
45
|
+
:rtype: int
|
46
|
+
"""
|
47
|
+
return self._X
|
48
|
+
|
49
|
+
@X.setter
|
50
|
+
def X(self, X):
|
51
|
+
self._X = X
|
52
|
+
|
53
|
+
@property
|
54
|
+
def Y(self):
|
55
|
+
"""左上顶点y坐标
|
56
|
+
:rtype: int
|
57
|
+
"""
|
58
|
+
return self._Y
|
59
|
+
|
60
|
+
@Y.setter
|
61
|
+
def Y(self, Y):
|
62
|
+
self._Y = Y
|
63
|
+
|
64
|
+
@property
|
65
|
+
def Width(self):
|
66
|
+
"""宽
|
67
|
+
:rtype: int
|
68
|
+
"""
|
69
|
+
return self._Width
|
70
|
+
|
71
|
+
@Width.setter
|
72
|
+
def Width(self, Width):
|
73
|
+
self._Width = Width
|
74
|
+
|
75
|
+
@property
|
76
|
+
def Height(self):
|
77
|
+
"""高
|
78
|
+
:rtype: int
|
79
|
+
"""
|
80
|
+
return self._Height
|
81
|
+
|
82
|
+
@Height.setter
|
83
|
+
def Height(self, Height):
|
84
|
+
self._Height = Height
|
85
|
+
|
86
|
+
|
87
|
+
def _deserialize(self, params):
|
88
|
+
self._X = params.get("X")
|
89
|
+
self._Y = params.get("Y")
|
90
|
+
self._Width = params.get("Width")
|
91
|
+
self._Height = params.get("Height")
|
92
|
+
memeber_set = set(params.keys())
|
93
|
+
for name, value in vars(self).items():
|
94
|
+
property_name = name[1:]
|
95
|
+
if property_name in memeber_set:
|
96
|
+
memeber_set.remove(property_name)
|
97
|
+
if len(memeber_set) > 0:
|
98
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
99
|
+
|
100
|
+
|
101
|
+
|
21
102
|
class FileTranslateRequest(AbstractModel):
|
22
103
|
"""FileTranslate请求参数结构体
|
23
104
|
|
@@ -519,6 +600,107 @@ class ImageRecord(AbstractModel):
|
|
519
600
|
|
520
601
|
|
521
602
|
|
603
|
+
class ImageTranslateLLMRequest(AbstractModel):
|
604
|
+
"""ImageTranslateLLM请求参数结构体
|
605
|
+
|
606
|
+
"""
|
607
|
+
|
608
|
+
def __init__(self):
|
609
|
+
r"""
|
610
|
+
:param _Url: 输入图 Url。 使用Url的时候,Data参数需要传入""。 图片限制:小于 10MB,分辨率建议600*800以上,格式支持 jpg、jpeg、png。
|
611
|
+
|
612
|
+
:type Url: str
|
613
|
+
"""
|
614
|
+
self._Url = None
|
615
|
+
|
616
|
+
@property
|
617
|
+
def Url(self):
|
618
|
+
"""输入图 Url。 使用Url的时候,Data参数需要传入""。 图片限制:小于 10MB,分辨率建议600*800以上,格式支持 jpg、jpeg、png。
|
619
|
+
|
620
|
+
:rtype: str
|
621
|
+
"""
|
622
|
+
return self._Url
|
623
|
+
|
624
|
+
@Url.setter
|
625
|
+
def Url(self, Url):
|
626
|
+
self._Url = Url
|
627
|
+
|
628
|
+
|
629
|
+
def _deserialize(self, params):
|
630
|
+
self._Url = params.get("Url")
|
631
|
+
memeber_set = set(params.keys())
|
632
|
+
for name, value in vars(self).items():
|
633
|
+
property_name = name[1:]
|
634
|
+
if property_name in memeber_set:
|
635
|
+
memeber_set.remove(property_name)
|
636
|
+
if len(memeber_set) > 0:
|
637
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
class ImageTranslateLLMResponse(AbstractModel):
|
642
|
+
"""ImageTranslateLLM返回参数结构体
|
643
|
+
|
644
|
+
"""
|
645
|
+
|
646
|
+
def __init__(self):
|
647
|
+
r"""
|
648
|
+
:param _Angle: 逆时针图片角度,取值范围为0-359
|
649
|
+
:type Angle: float
|
650
|
+
:param _TransDetails: 翻译详情信息
|
651
|
+
:type TransDetails: list of TransDetail
|
652
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
653
|
+
:type RequestId: str
|
654
|
+
"""
|
655
|
+
self._Angle = None
|
656
|
+
self._TransDetails = None
|
657
|
+
self._RequestId = None
|
658
|
+
|
659
|
+
@property
|
660
|
+
def Angle(self):
|
661
|
+
"""逆时针图片角度,取值范围为0-359
|
662
|
+
:rtype: float
|
663
|
+
"""
|
664
|
+
return self._Angle
|
665
|
+
|
666
|
+
@Angle.setter
|
667
|
+
def Angle(self, Angle):
|
668
|
+
self._Angle = Angle
|
669
|
+
|
670
|
+
@property
|
671
|
+
def TransDetails(self):
|
672
|
+
"""翻译详情信息
|
673
|
+
:rtype: list of TransDetail
|
674
|
+
"""
|
675
|
+
return self._TransDetails
|
676
|
+
|
677
|
+
@TransDetails.setter
|
678
|
+
def TransDetails(self, TransDetails):
|
679
|
+
self._TransDetails = TransDetails
|
680
|
+
|
681
|
+
@property
|
682
|
+
def RequestId(self):
|
683
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
684
|
+
:rtype: str
|
685
|
+
"""
|
686
|
+
return self._RequestId
|
687
|
+
|
688
|
+
@RequestId.setter
|
689
|
+
def RequestId(self, RequestId):
|
690
|
+
self._RequestId = RequestId
|
691
|
+
|
692
|
+
|
693
|
+
def _deserialize(self, params):
|
694
|
+
self._Angle = params.get("Angle")
|
695
|
+
if params.get("TransDetails") is not None:
|
696
|
+
self._TransDetails = []
|
697
|
+
for item in params.get("TransDetails"):
|
698
|
+
obj = TransDetail()
|
699
|
+
obj._deserialize(item)
|
700
|
+
self._TransDetails.append(obj)
|
701
|
+
self._RequestId = params.get("RequestId")
|
702
|
+
|
703
|
+
|
522
704
|
class ImageTranslateRequest(AbstractModel):
|
523
705
|
"""ImageTranslate请求参数结构体
|
524
706
|
|
@@ -1880,4 +2062,117 @@ class TextTranslateResponse(AbstractModel):
|
|
1880
2062
|
self._Source = params.get("Source")
|
1881
2063
|
self._Target = params.get("Target")
|
1882
2064
|
self._UsedAmount = params.get("UsedAmount")
|
1883
|
-
self._RequestId = params.get("RequestId")
|
2065
|
+
self._RequestId = params.get("RequestId")
|
2066
|
+
|
2067
|
+
|
2068
|
+
class TransDetail(AbstractModel):
|
2069
|
+
"""大模型图片翻译详情信息
|
2070
|
+
|
2071
|
+
"""
|
2072
|
+
|
2073
|
+
def __init__(self):
|
2074
|
+
r"""
|
2075
|
+
:param _SourceLineText: 当前行的原文本
|
2076
|
+
:type SourceLineText: str
|
2077
|
+
:param _TargetLineText: 当前行的译文
|
2078
|
+
:type TargetLineText: str
|
2079
|
+
:param _BoundingBox: 段落文本框位置
|
2080
|
+
:type BoundingBox: :class:`tencentcloud.tmt.v20180321.models.BoundingBox`
|
2081
|
+
:param _LinesCount: 行数
|
2082
|
+
:type LinesCount: int
|
2083
|
+
:param _LineHeight: 行高
|
2084
|
+
:type LineHeight: int
|
2085
|
+
:param _SpamCode: 正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。
|
2086
|
+
:type SpamCode: int
|
2087
|
+
"""
|
2088
|
+
self._SourceLineText = None
|
2089
|
+
self._TargetLineText = None
|
2090
|
+
self._BoundingBox = None
|
2091
|
+
self._LinesCount = None
|
2092
|
+
self._LineHeight = None
|
2093
|
+
self._SpamCode = None
|
2094
|
+
|
2095
|
+
@property
|
2096
|
+
def SourceLineText(self):
|
2097
|
+
"""当前行的原文本
|
2098
|
+
:rtype: str
|
2099
|
+
"""
|
2100
|
+
return self._SourceLineText
|
2101
|
+
|
2102
|
+
@SourceLineText.setter
|
2103
|
+
def SourceLineText(self, SourceLineText):
|
2104
|
+
self._SourceLineText = SourceLineText
|
2105
|
+
|
2106
|
+
@property
|
2107
|
+
def TargetLineText(self):
|
2108
|
+
"""当前行的译文
|
2109
|
+
:rtype: str
|
2110
|
+
"""
|
2111
|
+
return self._TargetLineText
|
2112
|
+
|
2113
|
+
@TargetLineText.setter
|
2114
|
+
def TargetLineText(self, TargetLineText):
|
2115
|
+
self._TargetLineText = TargetLineText
|
2116
|
+
|
2117
|
+
@property
|
2118
|
+
def BoundingBox(self):
|
2119
|
+
"""段落文本框位置
|
2120
|
+
:rtype: :class:`tencentcloud.tmt.v20180321.models.BoundingBox`
|
2121
|
+
"""
|
2122
|
+
return self._BoundingBox
|
2123
|
+
|
2124
|
+
@BoundingBox.setter
|
2125
|
+
def BoundingBox(self, BoundingBox):
|
2126
|
+
self._BoundingBox = BoundingBox
|
2127
|
+
|
2128
|
+
@property
|
2129
|
+
def LinesCount(self):
|
2130
|
+
"""行数
|
2131
|
+
:rtype: int
|
2132
|
+
"""
|
2133
|
+
return self._LinesCount
|
2134
|
+
|
2135
|
+
@LinesCount.setter
|
2136
|
+
def LinesCount(self, LinesCount):
|
2137
|
+
self._LinesCount = LinesCount
|
2138
|
+
|
2139
|
+
@property
|
2140
|
+
def LineHeight(self):
|
2141
|
+
"""行高
|
2142
|
+
:rtype: int
|
2143
|
+
"""
|
2144
|
+
return self._LineHeight
|
2145
|
+
|
2146
|
+
@LineHeight.setter
|
2147
|
+
def LineHeight(self, LineHeight):
|
2148
|
+
self._LineHeight = LineHeight
|
2149
|
+
|
2150
|
+
@property
|
2151
|
+
def SpamCode(self):
|
2152
|
+
"""正常段落spam_code字段为0;如果存在spam_code字段且值大于0(1: 命中垃圾检查;2: 命中安全策略;3: 其他。),则命中安全检查被过滤。
|
2153
|
+
:rtype: int
|
2154
|
+
"""
|
2155
|
+
return self._SpamCode
|
2156
|
+
|
2157
|
+
@SpamCode.setter
|
2158
|
+
def SpamCode(self, SpamCode):
|
2159
|
+
self._SpamCode = SpamCode
|
2160
|
+
|
2161
|
+
|
2162
|
+
def _deserialize(self, params):
|
2163
|
+
self._SourceLineText = params.get("SourceLineText")
|
2164
|
+
self._TargetLineText = params.get("TargetLineText")
|
2165
|
+
if params.get("BoundingBox") is not None:
|
2166
|
+
self._BoundingBox = BoundingBox()
|
2167
|
+
self._BoundingBox._deserialize(params.get("BoundingBox"))
|
2168
|
+
self._LinesCount = params.get("LinesCount")
|
2169
|
+
self._LineHeight = params.get("LineHeight")
|
2170
|
+
self._SpamCode = params.get("SpamCode")
|
2171
|
+
memeber_set = set(params.keys())
|
2172
|
+
for name, value in vars(self).items():
|
2173
|
+
property_name = name[1:]
|
2174
|
+
if property_name in memeber_set:
|
2175
|
+
memeber_set.remove(property_name)
|
2176
|
+
if len(memeber_set) > 0:
|
2177
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2178
|
+
|
@@ -98,6 +98,34 @@ class TmtClient(AbstractClient):
|
|
98
98
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
99
99
|
|
100
100
|
|
101
|
+
def ImageTranslateLLM(self, request):
|
102
|
+
"""提供18种语言的图片翻译服务,可自动识别图片中的文本内容并翻译成目标语言,识别后的文本按行翻译,后续会提供可按段落翻译的版本。
|
103
|
+
|
104
|
+
- 输入图片格式:png、jpg、jpeg等常用图片格式,不支持gif动图。
|
105
|
+
- 输出图片格式:jpg。
|
106
|
+
|
107
|
+
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
108
|
+
|
109
|
+
:param request: Request instance for ImageTranslateLLM.
|
110
|
+
:type request: :class:`tencentcloud.tmt.v20180321.models.ImageTranslateLLMRequest`
|
111
|
+
:rtype: :class:`tencentcloud.tmt.v20180321.models.ImageTranslateLLMResponse`
|
112
|
+
|
113
|
+
"""
|
114
|
+
try:
|
115
|
+
params = request._serialize()
|
116
|
+
headers = request.headers
|
117
|
+
body = self.call("ImageTranslateLLM", params, headers=headers)
|
118
|
+
response = json.loads(body)
|
119
|
+
model = models.ImageTranslateLLMResponse()
|
120
|
+
model._deserialize(response["Response"])
|
121
|
+
return model
|
122
|
+
except Exception as e:
|
123
|
+
if isinstance(e, TencentCloudSDKException):
|
124
|
+
raise
|
125
|
+
else:
|
126
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
127
|
+
|
128
|
+
|
101
129
|
def LanguageDetect(self, request):
|
102
130
|
"""可自动识别文本内容的语言种类,轻量高效,无需额外实现判断方式,使面向客户的服务体验更佳。 <br />
|
103
131
|
提示:对于一般开发者,我们建议优先使用SDK接入简化开发。SDK使用介绍请直接查看 5. 开发者资源 部分。
|
@@ -10054,11 +10054,14 @@ class RecognizeConfig(AbstractModel):
|
|
10054
10054
|
挪威语: no
|
10055
10055
|
丹麦语: da
|
10056
10056
|
:type TranslationLanguage: str
|
10057
|
+
:param _HotWordList: 热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持300个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
10058
|
+
:type HotWordList: str
|
10057
10059
|
"""
|
10058
10060
|
self._Language = None
|
10059
10061
|
self._AlternativeLanguage = None
|
10060
10062
|
self._Model = None
|
10061
10063
|
self._TranslationLanguage = None
|
10064
|
+
self._HotWordList = None
|
10062
10065
|
|
10063
10066
|
@property
|
10064
10067
|
def Language(self):
|
@@ -10177,12 +10180,24 @@ class RecognizeConfig(AbstractModel):
|
|
10177
10180
|
|
10178
10181
|
self._TranslationLanguage = TranslationLanguage
|
10179
10182
|
|
10183
|
+
@property
|
10184
|
+
def HotWordList(self):
|
10185
|
+
"""热词表:该参数用于提升识别准确率。 单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或 “ASR|11”; 热词表限制:多个热词用英文逗号分割,最多支持300个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
10186
|
+
:rtype: str
|
10187
|
+
"""
|
10188
|
+
return self._HotWordList
|
10189
|
+
|
10190
|
+
@HotWordList.setter
|
10191
|
+
def HotWordList(self, HotWordList):
|
10192
|
+
self._HotWordList = HotWordList
|
10193
|
+
|
10180
10194
|
|
10181
10195
|
def _deserialize(self, params):
|
10182
10196
|
self._Language = params.get("Language")
|
10183
10197
|
self._AlternativeLanguage = params.get("AlternativeLanguage")
|
10184
10198
|
self._Model = params.get("Model")
|
10185
10199
|
self._TranslationLanguage = params.get("TranslationLanguage")
|
10200
|
+
self._HotWordList = params.get("HotWordList")
|
10186
10201
|
memeber_set = set(params.keys())
|
10187
10202
|
for name, value in vars(self).items():
|
10188
10203
|
property_name = name[1:]
|
@@ -24817,7 +24817,7 @@ class DescribeCDNStatDetailsRequest(AbstractModel):
|
|
24817
24817
|
<li>Yunnan:云南。</li>
|
24818
24818
|
<li>Chongqing:重庆。</li>
|
24819
24819
|
<li>Sichuan:四川。</li>
|
24820
|
-
<li>
|
24820
|
+
<li>Xizang:西藏。</li>
|
24821
24821
|
<li>Guangdong:广东。</li>
|
24822
24822
|
<li>Guangxi:广西。</li>
|
24823
24823
|
<li>Hainan:海南。</li>
|
@@ -24962,7 +24962,7 @@ class DescribeCDNStatDetailsRequest(AbstractModel):
|
|
24962
24962
|
<li>Yunnan:云南。</li>
|
24963
24963
|
<li>Chongqing:重庆。</li>
|
24964
24964
|
<li>Sichuan:四川。</li>
|
24965
|
-
<li>
|
24965
|
+
<li>Xizang:西藏。</li>
|
24966
24966
|
<li>Guangdong:广东。</li>
|
24967
24967
|
<li>Guangxi:广西。</li>
|
24968
24968
|
<li>Hainan:海南。</li>
|
@@ -2550,13 +2550,16 @@ class AllocateIp6AddressesBandwidthRequest(AbstractModel):
|
|
2550
2550
|
|
2551
2551
|
def __init__(self):
|
2552
2552
|
r"""
|
2553
|
-
:param _Ip6Addresses: 需要开通公网访问能力的IPv6
|
2553
|
+
:param _Ip6Addresses: 需要开通公网访问能力的IPv6地址,可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询Ip6Addresses。
|
2554
|
+
|
2554
2555
|
:type Ip6Addresses: list of str
|
2555
|
-
:param _InternetMaxBandwidthOut:
|
2556
|
+
:param _InternetMaxBandwidthOut: 带宽上限,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
2557
|
+
默认值:1Mbps
|
2556
2558
|
:type InternetMaxBandwidthOut: int
|
2557
|
-
:param _InternetChargeType: 网络计费模式。IPv6
|
2559
|
+
:param _InternetChargeType: 网络计费模式。IPv6当前支持:<li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li><li>BANDWIDTH_PACKAGE:共享带宽包付费</li>
|
2560
|
+
默认值:TRAFFIC_POSTPAID_BY_HOUR
|
2558
2561
|
:type InternetChargeType: str
|
2559
|
-
:param _BandwidthPackageId: 带宽包id
|
2562
|
+
:param _BandwidthPackageId: 带宽包id,设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的IPv6加入该带宽包并采用带宽包计费。可以使用[DescribeBandwidthPackages](https://cloud.tencent.com/document/product/215/19209)接口查询BandwidthPackageId。
|
2560
2563
|
:type BandwidthPackageId: str
|
2561
2564
|
:param _Tags: 需要关联的标签列表。
|
2562
2565
|
:type Tags: list of Tag
|
@@ -2569,7 +2572,8 @@ class AllocateIp6AddressesBandwidthRequest(AbstractModel):
|
|
2569
2572
|
|
2570
2573
|
@property
|
2571
2574
|
def Ip6Addresses(self):
|
2572
|
-
"""需要开通公网访问能力的IPv6
|
2575
|
+
"""需要开通公网访问能力的IPv6地址,可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询Ip6Addresses。
|
2576
|
+
|
2573
2577
|
:rtype: list of str
|
2574
2578
|
"""
|
2575
2579
|
return self._Ip6Addresses
|
@@ -2580,7 +2584,8 @@ class AllocateIp6AddressesBandwidthRequest(AbstractModel):
|
|
2580
2584
|
|
2581
2585
|
@property
|
2582
2586
|
def InternetMaxBandwidthOut(self):
|
2583
|
-
"""
|
2587
|
+
"""带宽上限,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
2588
|
+
默认值:1Mbps
|
2584
2589
|
:rtype: int
|
2585
2590
|
"""
|
2586
2591
|
return self._InternetMaxBandwidthOut
|
@@ -2591,7 +2596,8 @@ class AllocateIp6AddressesBandwidthRequest(AbstractModel):
|
|
2591
2596
|
|
2592
2597
|
@property
|
2593
2598
|
def InternetChargeType(self):
|
2594
|
-
"""网络计费模式。IPv6
|
2599
|
+
"""网络计费模式。IPv6当前支持:<li>TRAFFIC_POSTPAID_BY_HOUR:流量按小时后付费</li><li>BANDWIDTH_PACKAGE:共享带宽包付费</li>
|
2600
|
+
默认值:TRAFFIC_POSTPAID_BY_HOUR
|
2595
2601
|
:rtype: str
|
2596
2602
|
"""
|
2597
2603
|
return self._InternetChargeType
|
@@ -2602,7 +2608,7 @@ class AllocateIp6AddressesBandwidthRequest(AbstractModel):
|
|
2602
2608
|
|
2603
2609
|
@property
|
2604
2610
|
def BandwidthPackageId(self):
|
2605
|
-
"""带宽包id
|
2611
|
+
"""带宽包id,设定该参数且InternetChargeType为BANDWIDTH_PACKAGE,则表示创建的IPv6加入该带宽包并采用带宽包计费。可以使用[DescribeBandwidthPackages](https://cloud.tencent.com/document/product/215/19209)接口查询BandwidthPackageId。
|
2606
2612
|
:rtype: str
|
2607
2613
|
"""
|
2608
2614
|
return self._BandwidthPackageId
|
@@ -28107,11 +28113,11 @@ class DescribeIp6AddressesRequest(AbstractModel):
|
|
28107
28113
|
|
28108
28114
|
def __init__(self):
|
28109
28115
|
r"""
|
28110
|
-
:param _Ip6AddressIds: 标识 IPv6 的唯一 ID 列表。IPv6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters
|
28116
|
+
:param _Ip6AddressIds: 标识 IPv6 的唯一 ID 列表。IPv6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询Ip6AddressIds。
|
28111
28117
|
:type Ip6AddressIds: list of str
|
28112
28118
|
:param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下:
|
28113
|
-
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPv6 的 IP
|
28114
|
-
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID
|
28119
|
+
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPv6 的 IP 地址过滤。可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询address-ip。</li>
|
28120
|
+
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。可以使用[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口查询network-interface-id。</li>
|
28115
28121
|
:type Filters: list of Filter
|
28116
28122
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
|
28117
28123
|
:type Offset: int
|
@@ -28125,7 +28131,7 @@ class DescribeIp6AddressesRequest(AbstractModel):
|
|
28125
28131
|
|
28126
28132
|
@property
|
28127
28133
|
def Ip6AddressIds(self):
|
28128
|
-
"""标识 IPv6 的唯一 ID 列表。IPv6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters
|
28134
|
+
"""标识 IPv6 的唯一 ID 列表。IPv6 唯一 ID 形如:`eip-11112222`。参数不支持同时指定`Ip6AddressIds`和`Filters`。可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询Ip6AddressIds。
|
28129
28135
|
:rtype: list of str
|
28130
28136
|
"""
|
28131
28137
|
return self._Ip6AddressIds
|
@@ -28137,8 +28143,8 @@ class DescribeIp6AddressesRequest(AbstractModel):
|
|
28137
28143
|
@property
|
28138
28144
|
def Filters(self):
|
28139
28145
|
"""每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下:
|
28140
|
-
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPv6 的 IP
|
28141
|
-
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID
|
28146
|
+
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 IPv6 的 IP 地址过滤。可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询address-ip。</li>
|
28147
|
+
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照弹性网卡的唯一ID过滤。可以使用[DescribeNetworkInterfaces](https://cloud.tencent.com/document/product/215/15817)接口查询network-interface-id。</li>
|
28142
28148
|
:rtype: list of Filter
|
28143
28149
|
"""
|
28144
28150
|
return self._Filters
|
@@ -49875,7 +49881,7 @@ class ModifyIPv6AddressesBandwidthRequest(AbstractModel):
|
|
49875
49881
|
r"""
|
49876
49882
|
:param _IPv6AddressIds: 弹性公网IPv6地址唯一ID,可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。
|
49877
49883
|
:type IPv6AddressIds: list of str
|
49878
|
-
:param _InternetMaxBandwidthOut: 弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49884
|
+
:param _InternetMaxBandwidthOut: 弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
49879
49885
|
:type InternetMaxBandwidthOut: int
|
49880
49886
|
"""
|
49881
49887
|
self._IPv6AddressIds = None
|
@@ -49894,7 +49900,7 @@ class ModifyIPv6AddressesBandwidthRequest(AbstractModel):
|
|
49894
49900
|
|
49895
49901
|
@property
|
49896
49902
|
def InternetMaxBandwidthOut(self):
|
49897
|
-
"""弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49903
|
+
"""弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
49898
49904
|
:rtype: int
|
49899
49905
|
"""
|
49900
49906
|
return self._InternetMaxBandwidthOut
|
@@ -49952,7 +49958,7 @@ class ModifyIp6AddressesBandwidthRequest(AbstractModel):
|
|
49952
49958
|
|
49953
49959
|
def __init__(self):
|
49954
49960
|
r"""
|
49955
|
-
:param _InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49961
|
+
:param _InternetMaxBandwidthOut: 修改的目标带宽,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
49956
49962
|
:type InternetMaxBandwidthOut: int
|
49957
49963
|
:param _Ip6Addresses: IPv6地址。可以使用[DescribeIp6Addresses](https://cloud.tencent.com/document/product/215/40089)接口查询Ip6Addresses。Ip6Addresses和Ip6AddressIds必须且只能传一个。
|
49958
49964
|
:type Ip6Addresses: list of str
|
@@ -49965,7 +49971,7 @@ class ModifyIp6AddressesBandwidthRequest(AbstractModel):
|
|
49965
49971
|
|
49966
49972
|
@property
|
49967
49973
|
def InternetMaxBandwidthOut(self):
|
49968
|
-
"""修改的目标带宽,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。
|
49974
|
+
"""修改的目标带宽,单位Mbps。可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369#IPv6)。
|
49969
49975
|
:rtype: int
|
49970
49976
|
"""
|
49971
49977
|
return self._InternetMaxBandwidthOut
|
@@ -27925,6 +27925,8 @@ class InstanceInfo(AbstractModel):
|
|
27925
27925
|
:type Last3MaxBandwidth: int
|
27926
27926
|
:param _MajorEventsProPkg: 重保增强包
|
27927
27927
|
:type MajorEventsProPkg: :class:`tencentcloud.waf.v20180125.models.MajorEventsProPkg`
|
27928
|
+
:param _BasicFlag: 1是基础2025版本;0不是
|
27929
|
+
:type BasicFlag: int
|
27928
27930
|
"""
|
27929
27931
|
self._InstanceId = None
|
27930
27932
|
self._InstanceName = None
|
@@ -27970,6 +27972,7 @@ class InstanceInfo(AbstractModel):
|
|
27970
27972
|
self._Last3MaxQPS = None
|
27971
27973
|
self._Last3MaxBandwidth = None
|
27972
27974
|
self._MajorEventsProPkg = None
|
27975
|
+
self._BasicFlag = None
|
27973
27976
|
|
27974
27977
|
@property
|
27975
27978
|
def InstanceId(self):
|
@@ -28465,6 +28468,17 @@ class InstanceInfo(AbstractModel):
|
|
28465
28468
|
def MajorEventsProPkg(self, MajorEventsProPkg):
|
28466
28469
|
self._MajorEventsProPkg = MajorEventsProPkg
|
28467
28470
|
|
28471
|
+
@property
|
28472
|
+
def BasicFlag(self):
|
28473
|
+
"""1是基础2025版本;0不是
|
28474
|
+
:rtype: int
|
28475
|
+
"""
|
28476
|
+
return self._BasicFlag
|
28477
|
+
|
28478
|
+
@BasicFlag.setter
|
28479
|
+
def BasicFlag(self, BasicFlag):
|
28480
|
+
self._BasicFlag = BasicFlag
|
28481
|
+
|
28468
28482
|
|
28469
28483
|
def _deserialize(self, params):
|
28470
28484
|
self._InstanceId = params.get("InstanceId")
|
@@ -28533,6 +28547,7 @@ class InstanceInfo(AbstractModel):
|
|
28533
28547
|
if params.get("MajorEventsProPkg") is not None:
|
28534
28548
|
self._MajorEventsProPkg = MajorEventsProPkg()
|
28535
28549
|
self._MajorEventsProPkg._deserialize(params.get("MajorEventsProPkg"))
|
28550
|
+
self._BasicFlag = params.get("BasicFlag")
|
28536
28551
|
memeber_set = set(params.keys())
|
28537
28552
|
for name, value in vars(self).items():
|
28538
28553
|
property_name = name[1:]
|
@@ -47,12 +47,21 @@ INTERNALERROR_INTERNALCALLCLOUDAPIERROR = 'InternalError.InternalCallCloudApiErr
|
|
47
47
|
# 参数错误。
|
48
48
|
INVALIDPARAMETER = 'InvalidParameter'
|
49
49
|
|
50
|
+
# 告警接收地址不存在。
|
51
|
+
INVALIDPARAMETER_ALARMRECEIVEADDRESSNOTEXIST = 'InvalidParameter.AlarmReceiveAddressNotExist'
|
52
|
+
|
53
|
+
# ClientIp未被授权。
|
54
|
+
INVALIDPARAMETER_CLIENTIPNOTAUTHORIZED = 'InvalidParameter.ClientIpNotAuthorized'
|
55
|
+
|
50
56
|
# 数据引擎实例不存在。
|
51
57
|
INVALIDPARAMETER_DATAENGINEINSTANCENOTEXISTS = 'InvalidParameter.DataEngineInstanceNotExists'
|
52
58
|
|
53
59
|
# 名称重复。
|
54
60
|
INVALIDPARAMETER_DUPLICATENAME = 'InvalidParameter.DuplicateName'
|
55
61
|
|
62
|
+
# 告警接收地址不合法。
|
63
|
+
INVALIDPARAMETER_INVALIDALARMURL = 'InvalidParameter.InvalidAlarmUrl'
|
64
|
+
|
56
65
|
# 查询过滤条件参数错误。
|
57
66
|
INVALIDPARAMETER_INVALIDFILTERPARAMETER = 'InvalidParameter.InvalidFilterParameter'
|
58
67
|
|