tencentcloud-sdk-python 3.0.1299__py2.py3-none-any.whl → 3.0.1307__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/aiart_client.py +55 -0
- tencentcloud/aiart/v20221229/models.py +386 -0
- tencentcloud/apm/v20210622/apm_client.py +3 -3
- tencentcloud/apm/v20210622/errorcodes.py +10 -10
- tencentcloud/apm/v20210622/models.py +586 -538
- tencentcloud/autoscaling/v20180419/models.py +141 -0
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/cat/v20180409/cat_client.py +1 -1
- tencentcloud/ccc/v20200210/ccc_client.py +25 -0
- tencentcloud/ccc/v20200210/models.py +159 -0
- tencentcloud/cdb/v20170320/models.py +42 -0
- tencentcloud/cdn/v20180606/models.py +2 -2
- tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +165 -380
- tencentcloud/cfs/v20190719/cfs_client.py +23 -0
- tencentcloud/cfs/v20190719/models.py +79 -0
- tencentcloud/clb/v20180317/models.py +146 -20
- tencentcloud/cmq/v20190304/cmq_client.py +0 -365
- tencentcloud/cmq/v20190304/models.py +324 -2473
- tencentcloud/config/v20220802/config_client.py +46 -0
- tencentcloud/config/v20220802/errorcodes.py +3 -0
- tencentcloud/config/v20220802/models.py +716 -26
- tencentcloud/csxg/v20230303/errorcodes.py +48 -0
- tencentcloud/cvm/v20170312/cvm_client.py +24 -0
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +198 -14
- tencentcloud/dc/v20180410/dc_client.py +1 -1
- tencentcloud/dc/v20180410/models.py +46 -48
- tencentcloud/dlc/v20210125/models.py +89 -0
- tencentcloud/ecm/v20190719/models.py +0 -18
- tencentcloud/emr/v20190103/models.py +50 -122
- tencentcloud/es/v20180416/models.py +17 -0
- tencentcloud/ess/v20201111/ess_client.py +26 -5
- tencentcloud/ess/v20201111/models.py +58 -86
- tencentcloud/essbasic/v20210526/models.py +86 -134
- tencentcloud/faceid/v20180301/models.py +14 -14
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +326 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +3 -1
- tencentcloud/hunyuan/v20230901/models.py +84 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +115 -0
- tencentcloud/iotexplorer/v20190423/models.py +1473 -75
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +23 -0
- tencentcloud/iotvideo/v20211125/models.py +135 -0
- tencentcloud/lcic/v20220817/lcic_client.py +1 -1
- tencentcloud/lcic/v20220817/models.py +6 -8
- tencentcloud/lighthouse/v20200324/models.py +30 -0
- tencentcloud/lke/v20231130/models.py +23 -14
- tencentcloud/lkeap/v20240522/errorcodes.py +3 -0
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +60 -18
- tencentcloud/mna/v20210119/models.py +0 -52
- tencentcloud/monitor/v20180724/models.py +57 -6
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +871 -18
- tencentcloud/mps/v20190612/mps_client.py +138 -0
- tencentcloud/ocr/v20181119/models.py +49 -4
- tencentcloud/postgres/v20170312/errorcodes.py +6 -0
- tencentcloud/postgres/v20170312/models.py +72 -30
- tencentcloud/pts/v20210728/models.py +0 -348
- tencentcloud/redis/v20180412/models.py +6 -2
- tencentcloud/rum/v20210622/models.py +92 -4
- tencentcloud/scf/v20180416/models.py +4 -4
- tencentcloud/sms/v20190711/errorcodes.py +6 -0
- tencentcloud/sms/v20190711/models.py +81 -0
- tencentcloud/sms/v20210111/errorcodes.py +6 -0
- tencentcloud/sms/v20210111/models.py +81 -0
- tencentcloud/ssl/v20191205/models.py +19 -4
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/tcb/v20180608/models.py +2 -86
- tencentcloud/tchd/v20230306/models.py +0 -2
- tencentcloud/teo/v20220901/models.py +8 -18
- tencentcloud/tiw/v20190919/models.py +6 -0
- tencentcloud/tke/v20220501/models.py +2 -2
- tencentcloud/trro/v20220325/models.py +15 -58
- tencentcloud/trtc/v20190722/models.py +30 -0
- tencentcloud/tse/v20201207/models.py +185 -0
- tencentcloud/tse/v20201207/tse_client.py +23 -0
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +508 -40
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +1368 -2
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1299.dist-info → tencentcloud_sdk_python-3.0.1307.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1299.dist-info → tencentcloud_sdk_python-3.0.1307.dist-info}/RECORD +91 -91
- {tencentcloud_sdk_python-3.0.1299.dist-info → tencentcloud_sdk_python-3.0.1307.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1299.dist-info → tencentcloud_sdk_python-3.0.1307.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1299.dist-info → tencentcloud_sdk_python-3.0.1307.dist-info}/top_level.txt +0 -0
@@ -26,15 +26,12 @@ class ActivateHardware(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _Vendor: 厂商名称
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type Vendor: str
|
31
30
|
:param _SN: 设备SN序列号
|
32
31
|
:type SN: str
|
33
32
|
:param _DeviceName: 设备名称
|
34
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
35
33
|
:type DeviceName: str
|
36
34
|
:param _Description: 备注
|
37
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
38
35
|
:type Description: str
|
39
36
|
:param _DataKey: 设备密钥
|
40
37
|
:type DataKey: str
|
@@ -46,19 +43,14 @@ class ActivateHardware(AbstractModel):
|
|
46
43
|
若不传则默认为月度授权。
|
47
44
|
当付费方为厂商时,此参数无效
|
48
45
|
|
49
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
50
46
|
:type LicensePayMode: int
|
51
47
|
:param _GroupId: 设备分组ID
|
52
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
53
48
|
:type GroupId: str
|
54
49
|
:param _GroupName: 设备分组名称,预留参数,需要分组时传入GroupId
|
55
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
56
50
|
:type GroupName: str
|
57
51
|
:param _FlowTrunc: 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
58
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
59
52
|
:type FlowTrunc: int
|
60
53
|
:param _DeviceId: 激活后的设备ID
|
61
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
62
54
|
:type DeviceId: str
|
63
55
|
"""
|
64
56
|
self._Vendor = None
|
@@ -76,7 +68,6 @@ class ActivateHardware(AbstractModel):
|
|
76
68
|
@property
|
77
69
|
def Vendor(self):
|
78
70
|
"""厂商名称
|
79
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
80
71
|
:rtype: str
|
81
72
|
"""
|
82
73
|
return self._Vendor
|
@@ -99,7 +90,6 @@ class ActivateHardware(AbstractModel):
|
|
99
90
|
@property
|
100
91
|
def DeviceName(self):
|
101
92
|
"""设备名称
|
102
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
103
93
|
:rtype: str
|
104
94
|
"""
|
105
95
|
return self._DeviceName
|
@@ -111,7 +101,6 @@ class ActivateHardware(AbstractModel):
|
|
111
101
|
@property
|
112
102
|
def Description(self):
|
113
103
|
"""备注
|
114
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
115
104
|
:rtype: str
|
116
105
|
"""
|
117
106
|
return self._Description
|
@@ -150,7 +139,6 @@ class ActivateHardware(AbstractModel):
|
|
150
139
|
若不传则默认为月度授权。
|
151
140
|
当付费方为厂商时,此参数无效
|
152
141
|
|
153
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
154
142
|
:rtype: int
|
155
143
|
"""
|
156
144
|
return self._LicensePayMode
|
@@ -162,7 +150,6 @@ class ActivateHardware(AbstractModel):
|
|
162
150
|
@property
|
163
151
|
def GroupId(self):
|
164
152
|
"""设备分组ID
|
165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
166
153
|
:rtype: str
|
167
154
|
"""
|
168
155
|
return self._GroupId
|
@@ -174,7 +161,6 @@ class ActivateHardware(AbstractModel):
|
|
174
161
|
@property
|
175
162
|
def GroupName(self):
|
176
163
|
"""设备分组名称,预留参数,需要分组时传入GroupId
|
177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
178
164
|
:rtype: str
|
179
165
|
"""
|
180
166
|
return self._GroupName
|
@@ -186,7 +172,6 @@ class ActivateHardware(AbstractModel):
|
|
186
172
|
@property
|
187
173
|
def FlowTrunc(self):
|
188
174
|
"""设备无流量包处理方式,0: 按量付费,1: 截断加速
|
189
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
190
175
|
:rtype: int
|
191
176
|
"""
|
192
177
|
return self._FlowTrunc
|
@@ -198,7 +183,6 @@ class ActivateHardware(AbstractModel):
|
|
198
183
|
@property
|
199
184
|
def DeviceId(self):
|
200
185
|
"""激活后的设备ID
|
201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
202
186
|
:rtype: str
|
203
187
|
"""
|
204
188
|
return self._DeviceId
|
@@ -279,7 +263,6 @@ class ActivateHardwareResponse(AbstractModel):
|
|
279
263
|
def __init__(self):
|
280
264
|
r"""
|
281
265
|
:param _HardwareInfo: 完成激活的设备信息
|
282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
283
266
|
:type HardwareInfo: list of ActivateHardware
|
284
267
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
285
268
|
:type RequestId: str
|
@@ -290,7 +273,6 @@ class ActivateHardwareResponse(AbstractModel):
|
|
290
273
|
@property
|
291
274
|
def HardwareInfo(self):
|
292
275
|
"""完成激活的设备信息
|
293
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
294
276
|
:rtype: list of ActivateHardware
|
295
277
|
"""
|
296
278
|
return self._HardwareInfo
|
@@ -503,7 +485,6 @@ class AddDeviceResponse(AbstractModel):
|
|
503
485
|
:param _DeviceId: 设备ID
|
504
486
|
:type DeviceId: str
|
505
487
|
:param _Signature: 签名字符串
|
506
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
507
488
|
:type Signature: str
|
508
489
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
509
490
|
:type RequestId: str
|
@@ -538,7 +519,6 @@ class AddDeviceResponse(AbstractModel):
|
|
538
519
|
@property
|
539
520
|
def Signature(self):
|
540
521
|
"""签名字符串
|
541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
542
522
|
:rtype: str
|
543
523
|
"""
|
544
524
|
return self._Signature
|
@@ -1814,25 +1794,18 @@ class DeviceBaseInfo(AbstractModel):
|
|
1814
1794
|
:param _AccessScope: 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
|
1815
1795
|
:type AccessScope: int
|
1816
1796
|
:param _LicensePayMode: license授权有效期 0:月度授权 1:永久授权
|
1817
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1818
1797
|
:type LicensePayMode: int
|
1819
1798
|
:param _Payer: 付费方 0:厂商付费 1:客户付费
|
1820
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1821
1799
|
:type Payer: int
|
1822
1800
|
:param _GroupId: 设备分组ID
|
1823
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1824
1801
|
:type GroupId: str
|
1825
1802
|
:param _GroupName: 设备分组名称
|
1826
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1827
1803
|
:type GroupName: str
|
1828
1804
|
:param _FlowTrunc: 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
1829
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1830
1805
|
:type FlowTrunc: int
|
1831
1806
|
:param _Sn: 设备sn
|
1832
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1833
1807
|
:type Sn: str
|
1834
1808
|
:param _Vendor: 厂商
|
1835
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1836
1809
|
:type Vendor: str
|
1837
1810
|
"""
|
1838
1811
|
self._DeviceId = None
|
@@ -1918,7 +1891,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1918
1891
|
@property
|
1919
1892
|
def LicensePayMode(self):
|
1920
1893
|
"""license授权有效期 0:月度授权 1:永久授权
|
1921
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1922
1894
|
:rtype: int
|
1923
1895
|
"""
|
1924
1896
|
return self._LicensePayMode
|
@@ -1930,7 +1902,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1930
1902
|
@property
|
1931
1903
|
def Payer(self):
|
1932
1904
|
"""付费方 0:厂商付费 1:客户付费
|
1933
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1934
1905
|
:rtype: int
|
1935
1906
|
"""
|
1936
1907
|
return self._Payer
|
@@ -1942,7 +1913,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1942
1913
|
@property
|
1943
1914
|
def GroupId(self):
|
1944
1915
|
"""设备分组ID
|
1945
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1946
1916
|
:rtype: str
|
1947
1917
|
"""
|
1948
1918
|
return self._GroupId
|
@@ -1954,7 +1924,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1954
1924
|
@property
|
1955
1925
|
def GroupName(self):
|
1956
1926
|
"""设备分组名称
|
1957
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1958
1927
|
:rtype: str
|
1959
1928
|
"""
|
1960
1929
|
return self._GroupName
|
@@ -1966,7 +1935,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1966
1935
|
@property
|
1967
1936
|
def FlowTrunc(self):
|
1968
1937
|
"""设备无流量包处理方式,0: 按量付费,1: 截断加速
|
1969
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1970
1938
|
:rtype: int
|
1971
1939
|
"""
|
1972
1940
|
return self._FlowTrunc
|
@@ -1978,7 +1946,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1978
1946
|
@property
|
1979
1947
|
def Sn(self):
|
1980
1948
|
"""设备sn
|
1981
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1982
1949
|
:rtype: str
|
1983
1950
|
"""
|
1984
1951
|
return self._Sn
|
@@ -1990,7 +1957,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1990
1957
|
@property
|
1991
1958
|
def Vendor(self):
|
1992
1959
|
"""厂商
|
1993
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1994
1960
|
:rtype: str
|
1995
1961
|
"""
|
1996
1962
|
return self._Vendor
|
@@ -2034,16 +2000,12 @@ class DeviceDetails(AbstractModel):
|
|
2034
2000
|
:param _DeviceBaseInfo: 设备基本信息
|
2035
2001
|
:type DeviceBaseInfo: :class:`tencentcloud.mna.v20210119.models.DeviceBaseInfo`
|
2036
2002
|
:param _DeviceNetInfo: 设备网络信息
|
2037
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2038
2003
|
:type DeviceNetInfo: list of DeviceNetInfo
|
2039
2004
|
:param _GatewaySite: 聚合服务器地址
|
2040
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2041
2005
|
:type GatewaySite: str
|
2042
2006
|
:param _BusinessDownRate: 业务下行速率
|
2043
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2044
2007
|
:type BusinessDownRate: float
|
2045
2008
|
:param _BusinessUpRate: 业务上行速率
|
2046
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2047
2009
|
:type BusinessUpRate: float
|
2048
2010
|
"""
|
2049
2011
|
self._DeviceBaseInfo = None
|
@@ -2066,7 +2028,6 @@ class DeviceDetails(AbstractModel):
|
|
2066
2028
|
@property
|
2067
2029
|
def DeviceNetInfo(self):
|
2068
2030
|
"""设备网络信息
|
2069
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2070
2031
|
:rtype: list of DeviceNetInfo
|
2071
2032
|
"""
|
2072
2033
|
return self._DeviceNetInfo
|
@@ -2078,7 +2039,6 @@ class DeviceDetails(AbstractModel):
|
|
2078
2039
|
@property
|
2079
2040
|
def GatewaySite(self):
|
2080
2041
|
"""聚合服务器地址
|
2081
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2082
2042
|
:rtype: str
|
2083
2043
|
"""
|
2084
2044
|
return self._GatewaySite
|
@@ -2090,7 +2050,6 @@ class DeviceDetails(AbstractModel):
|
|
2090
2050
|
@property
|
2091
2051
|
def BusinessDownRate(self):
|
2092
2052
|
"""业务下行速率
|
2093
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2094
2053
|
:rtype: float
|
2095
2054
|
"""
|
2096
2055
|
return self._BusinessDownRate
|
@@ -2102,7 +2061,6 @@ class DeviceDetails(AbstractModel):
|
|
2102
2061
|
@property
|
2103
2062
|
def BusinessUpRate(self):
|
2104
2063
|
"""业务上行速率
|
2105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2106
2064
|
:rtype: float
|
2107
2065
|
"""
|
2108
2066
|
return self._BusinessUpRate
|
@@ -2270,7 +2228,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2270
2228
|
0:数据
|
2271
2229
|
1:Wi-Fi
|
2272
2230
|
2:有线
|
2273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2274
2231
|
:type Type: int
|
2275
2232
|
:param _DataEnable: 启用/禁用
|
2276
2233
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2344,7 +2301,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2344
2301
|
0:数据
|
2345
2302
|
1:Wi-Fi
|
2346
2303
|
2:有线
|
2347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2348
2304
|
:rtype: int
|
2349
2305
|
"""
|
2350
2306
|
return self._Type
|
@@ -3403,13 +3359,10 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3403
3359
|
def __init__(self):
|
3404
3360
|
r"""
|
3405
3361
|
:param _AlarmValue: 流量包的告警阈值
|
3406
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3407
3362
|
:type AlarmValue: int
|
3408
3363
|
:param _NotifyUrl: 告警通知回调url
|
3409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3410
3364
|
:type NotifyUrl: str
|
3411
3365
|
:param _CallbackKey: 告警通知回调key
|
3412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3413
3366
|
:type CallbackKey: str
|
3414
3367
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3415
3368
|
:type RequestId: str
|
@@ -3422,7 +3375,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3422
3375
|
@property
|
3423
3376
|
def AlarmValue(self):
|
3424
3377
|
"""流量包的告警阈值
|
3425
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3426
3378
|
:rtype: int
|
3427
3379
|
"""
|
3428
3380
|
return self._AlarmValue
|
@@ -3434,7 +3386,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3434
3386
|
@property
|
3435
3387
|
def NotifyUrl(self):
|
3436
3388
|
"""告警通知回调url
|
3437
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3438
3389
|
:rtype: str
|
3439
3390
|
"""
|
3440
3391
|
return self._NotifyUrl
|
@@ -3446,7 +3397,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3446
3397
|
@property
|
3447
3398
|
def CallbackKey(self):
|
3448
3399
|
"""告警通知回调key
|
3449
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3450
3400
|
:rtype: str
|
3451
3401
|
"""
|
3452
3402
|
return self._CallbackKey
|
@@ -5178,7 +5128,6 @@ class GetNetMonitorResponse(AbstractModel):
|
|
5178
5128
|
def __init__(self):
|
5179
5129
|
r"""
|
5180
5130
|
:param _MonitorData: 监控数据
|
5181
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5182
5131
|
:type MonitorData: list of MonitorData
|
5183
5132
|
:param _AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM']
|
5184
5133
|
MC=中国大陆
|
@@ -5196,7 +5145,6 @@ AM=美洲
|
|
5196
5145
|
@property
|
5197
5146
|
def MonitorData(self):
|
5198
5147
|
"""监控数据
|
5199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5200
5148
|
:rtype: list of MonitorData
|
5201
5149
|
"""
|
5202
5150
|
return self._MonitorData
|
@@ -25269,7 +25269,7 @@ class GrafanaIntegrationConfig(AbstractModel):
|
|
25269
25269
|
:type Content: str
|
25270
25270
|
:param _Description: 集成描述
|
25271
25271
|
:type Description: str
|
25272
|
-
:param _GrafanaURL: Grafana 跳转地址
|
25272
|
+
:param _GrafanaURL: Grafana 跳转地址(目前未使用,默认为空)
|
25273
25273
|
注意:此字段可能返回 null,表示取不到有效值。
|
25274
25274
|
:type GrafanaURL: str
|
25275
25275
|
"""
|
@@ -25325,7 +25325,7 @@ class GrafanaIntegrationConfig(AbstractModel):
|
|
25325
25325
|
|
25326
25326
|
@property
|
25327
25327
|
def GrafanaURL(self):
|
25328
|
-
"""Grafana 跳转地址
|
25328
|
+
"""Grafana 跳转地址(目前未使用,默认为空)
|
25329
25329
|
注意:此字段可能返回 null,表示取不到有效值。
|
25330
25330
|
:rtype: str
|
25331
25331
|
"""
|
@@ -33369,9 +33369,9 @@ class PrometheusRecordRuleYamlItem(AbstractModel):
|
|
33369
33369
|
:type Name: str
|
33370
33370
|
:param _UpdateTime: 最近更新时间
|
33371
33371
|
:type UpdateTime: str
|
33372
|
-
:param _TemplateId:
|
33372
|
+
:param _TemplateId: 如果该聚合规则来至模板,则TemplateId为模板id
|
33373
33373
|
:type TemplateId: str
|
33374
|
-
:param _Content:
|
33374
|
+
:param _Content: Yaml内容
|
33375
33375
|
注意:此字段可能返回 null,表示取不到有效值。
|
33376
33376
|
:type Content: str
|
33377
33377
|
:param _ClusterId: 该聚合规则如果来源于用户集群crd资源定义,则ClusterId为所属集群ID
|
@@ -33420,7 +33420,7 @@ class PrometheusRecordRuleYamlItem(AbstractModel):
|
|
33420
33420
|
|
33421
33421
|
@property
|
33422
33422
|
def TemplateId(self):
|
33423
|
-
"""
|
33423
|
+
"""如果该聚合规则来至模板,则TemplateId为模板id
|
33424
33424
|
:rtype: str
|
33425
33425
|
"""
|
33426
33426
|
return self._TemplateId
|
@@ -33431,7 +33431,7 @@ class PrometheusRecordRuleYamlItem(AbstractModel):
|
|
33431
33431
|
|
33432
33432
|
@property
|
33433
33433
|
def Content(self):
|
33434
|
-
"""
|
33434
|
+
"""Yaml内容
|
33435
33435
|
注意:此字段可能返回 null,表示取不到有效值。
|
33436
33436
|
:rtype: str
|
33437
33437
|
"""
|
@@ -34064,6 +34064,57 @@ class PrometheusTarget(AbstractModel):
|
|
34064
34064
|
|
34065
34065
|
"""
|
34066
34066
|
|
34067
|
+
def __init__(self):
|
34068
|
+
r"""
|
34069
|
+
:param _Url: 抓取目标的URL
|
34070
|
+
:type Url: str
|
34071
|
+
:param _State: target当前状态,当前支持
|
34072
|
+
up = 健康
|
34073
|
+
down = 不健康
|
34074
|
+
unknown = 未知
|
34075
|
+
:type State: str
|
34076
|
+
"""
|
34077
|
+
self._Url = None
|
34078
|
+
self._State = None
|
34079
|
+
|
34080
|
+
@property
|
34081
|
+
def Url(self):
|
34082
|
+
"""抓取目标的URL
|
34083
|
+
:rtype: str
|
34084
|
+
"""
|
34085
|
+
return self._Url
|
34086
|
+
|
34087
|
+
@Url.setter
|
34088
|
+
def Url(self, Url):
|
34089
|
+
self._Url = Url
|
34090
|
+
|
34091
|
+
@property
|
34092
|
+
def State(self):
|
34093
|
+
"""target当前状态,当前支持
|
34094
|
+
up = 健康
|
34095
|
+
down = 不健康
|
34096
|
+
unknown = 未知
|
34097
|
+
:rtype: str
|
34098
|
+
"""
|
34099
|
+
return self._State
|
34100
|
+
|
34101
|
+
@State.setter
|
34102
|
+
def State(self, State):
|
34103
|
+
self._State = State
|
34104
|
+
|
34105
|
+
|
34106
|
+
def _deserialize(self, params):
|
34107
|
+
self._Url = params.get("Url")
|
34108
|
+
self._State = params.get("State")
|
34109
|
+
memeber_set = set(params.keys())
|
34110
|
+
for name, value in vars(self).items():
|
34111
|
+
property_name = name[1:]
|
34112
|
+
if property_name in memeber_set:
|
34113
|
+
memeber_set.remove(property_name)
|
34114
|
+
if len(memeber_set) > 0:
|
34115
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
34116
|
+
|
34117
|
+
|
34067
34118
|
|
34068
34119
|
class PrometheusTemp(AbstractModel):
|
34069
34120
|
"""模板实例
|
@@ -2974,7 +2974,7 @@ class MonitorClient(AbstractClient):
|
|
2974
2974
|
|
2975
2975
|
|
2976
2976
|
def ModifyPrometheusRecordRuleYaml(self, request):
|
2977
|
-
"""通过yaml的方式修改Prometheus
|
2977
|
+
"""通过yaml的方式修改Prometheus预聚合规则
|
2978
2978
|
|
2979
2979
|
:param request: Request instance for ModifyPrometheusRecordRuleYaml.
|
2980
2980
|
:type request: :class:`tencentcloud.monitor.v20180724.models.ModifyPrometheusRecordRuleYamlRequest`
|
@@ -56,6 +56,9 @@ INTERNALERROR_UPLOADWATERMARKERROR = 'InternalError.UploadWatermarkError'
|
|
56
56
|
# 参数错误。
|
57
57
|
INVALIDPARAMETER = 'InvalidParameter'
|
58
58
|
|
59
|
+
# InvalidParameter.AlreadyAssociatedInput
|
60
|
+
INVALIDPARAMETER_ALREADYASSOCIATEDINPUT = 'InvalidParameter.AlreadyAssociatedInput'
|
61
|
+
|
59
62
|
# InvalidParameter.EndTime
|
60
63
|
INVALIDPARAMETER_ENDTIME = 'InvalidParameter.EndTime'
|
61
64
|
|
@@ -116,6 +119,9 @@ INVALIDPARAMETER_STATE = 'InvalidParameter.State'
|
|
116
119
|
# InvalidParameter.Type
|
117
120
|
INVALIDPARAMETER_TYPE = 'InvalidParameter.Type'
|
118
121
|
|
122
|
+
# InvalidParameter.Whitelist
|
123
|
+
INVALIDPARAMETER_WHITELIST = 'InvalidParameter.Whitelist'
|
124
|
+
|
119
125
|
# 参数取值错误。
|
120
126
|
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
121
127
|
|