tencentcloud-sdk-python 3.0.1301__py2.py3-none-any.whl → 3.0.1306__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/models.py +19 -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/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 +15 -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/config/v20220802/models.py +2 -2
- tencentcloud/cvm/v20170312/cvm_client.py +24 -0
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +188 -4
- tencentcloud/dc/v20180410/models.py +32 -16
- tencentcloud/dlc/v20210125/models.py +89 -0
- tencentcloud/emr/v20190103/models.py +50 -122
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/ess/v20201111/models.py +50 -38
- tencentcloud/essbasic/v20210526/models.py +78 -116
- tencentcloud/faceid/v20180301/models.py +14 -14
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +3 -1
- tencentcloud/hunyuan/v20230901/models.py +84 -2
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +422 -0
- tencentcloud/lcic/v20220817/models.py +4 -6
- tencentcloud/lighthouse/v20200324/models.py +30 -0
- tencentcloud/lke/v20231130/models.py +23 -14
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/mna/v20210119/models.py +0 -30
- 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/rum/v20210622/models.py +92 -2
- tencentcloud/ssl/v20191205/models.py +19 -4
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/tchd/v20230306/models.py +0 -2
- tencentcloud/teo/v20220901/models.py +8 -18
- tencentcloud/tiw/v20190919/models.py +6 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/tse/v20201207/models.py +17 -0
- tencentcloud/vod/v20180717/models.py +6 -6
- tencentcloud/vpc/v20170312/errorcodes.py +2 -1235
- tencentcloud/vpc/v20170312/models.py +47 -65928
- tencentcloud/vpc/v20170312/vpc_client.py +7 -9228
- tencentcloud/wedata/v20210820/models.py +1438 -198
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1301.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1301.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/RECORD +64 -64
- {tencentcloud_sdk_python-3.0.1301.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1301.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1301.dist-info → tencentcloud_sdk_python-3.0.1306.dist-info}/top_level.txt +0 -0
@@ -485,7 +485,6 @@ class AddDeviceResponse(AbstractModel):
|
|
485
485
|
:param _DeviceId: 设备ID
|
486
486
|
:type DeviceId: str
|
487
487
|
:param _Signature: 签名字符串
|
488
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
489
488
|
:type Signature: str
|
490
489
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
491
490
|
:type RequestId: str
|
@@ -520,7 +519,6 @@ class AddDeviceResponse(AbstractModel):
|
|
520
519
|
@property
|
521
520
|
def Signature(self):
|
522
521
|
"""签名字符串
|
523
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
524
522
|
:rtype: str
|
525
523
|
"""
|
526
524
|
return self._Signature
|
@@ -1800,19 +1798,14 @@ class DeviceBaseInfo(AbstractModel):
|
|
1800
1798
|
:param _Payer: 付费方 0:厂商付费 1:客户付费
|
1801
1799
|
:type Payer: int
|
1802
1800
|
:param _GroupId: 设备分组ID
|
1803
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1804
1801
|
:type GroupId: str
|
1805
1802
|
:param _GroupName: 设备分组名称
|
1806
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1807
1803
|
:type GroupName: str
|
1808
1804
|
:param _FlowTrunc: 设备无流量包处理方式,0: 按量付费,1: 截断加速
|
1809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1810
1805
|
:type FlowTrunc: int
|
1811
1806
|
:param _Sn: 设备sn
|
1812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1813
1807
|
:type Sn: str
|
1814
1808
|
:param _Vendor: 厂商
|
1815
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1816
1809
|
:type Vendor: str
|
1817
1810
|
"""
|
1818
1811
|
self._DeviceId = None
|
@@ -1920,7 +1913,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1920
1913
|
@property
|
1921
1914
|
def GroupId(self):
|
1922
1915
|
"""设备分组ID
|
1923
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1924
1916
|
:rtype: str
|
1925
1917
|
"""
|
1926
1918
|
return self._GroupId
|
@@ -1932,7 +1924,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1932
1924
|
@property
|
1933
1925
|
def GroupName(self):
|
1934
1926
|
"""设备分组名称
|
1935
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1936
1927
|
:rtype: str
|
1937
1928
|
"""
|
1938
1929
|
return self._GroupName
|
@@ -1944,7 +1935,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1944
1935
|
@property
|
1945
1936
|
def FlowTrunc(self):
|
1946
1937
|
"""设备无流量包处理方式,0: 按量付费,1: 截断加速
|
1947
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1948
1938
|
:rtype: int
|
1949
1939
|
"""
|
1950
1940
|
return self._FlowTrunc
|
@@ -1956,7 +1946,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1956
1946
|
@property
|
1957
1947
|
def Sn(self):
|
1958
1948
|
"""设备sn
|
1959
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1960
1949
|
:rtype: str
|
1961
1950
|
"""
|
1962
1951
|
return self._Sn
|
@@ -1968,7 +1957,6 @@ class DeviceBaseInfo(AbstractModel):
|
|
1968
1957
|
@property
|
1969
1958
|
def Vendor(self):
|
1970
1959
|
"""厂商
|
1971
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1972
1960
|
:rtype: str
|
1973
1961
|
"""
|
1974
1962
|
return self._Vendor
|
@@ -2012,16 +2000,12 @@ class DeviceDetails(AbstractModel):
|
|
2012
2000
|
:param _DeviceBaseInfo: 设备基本信息
|
2013
2001
|
:type DeviceBaseInfo: :class:`tencentcloud.mna.v20210119.models.DeviceBaseInfo`
|
2014
2002
|
:param _DeviceNetInfo: 设备网络信息
|
2015
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2016
2003
|
:type DeviceNetInfo: list of DeviceNetInfo
|
2017
2004
|
:param _GatewaySite: 聚合服务器地址
|
2018
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2019
2005
|
:type GatewaySite: str
|
2020
2006
|
:param _BusinessDownRate: 业务下行速率
|
2021
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2022
2007
|
:type BusinessDownRate: float
|
2023
2008
|
:param _BusinessUpRate: 业务上行速率
|
2024
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2025
2009
|
:type BusinessUpRate: float
|
2026
2010
|
"""
|
2027
2011
|
self._DeviceBaseInfo = None
|
@@ -2044,7 +2028,6 @@ class DeviceDetails(AbstractModel):
|
|
2044
2028
|
@property
|
2045
2029
|
def DeviceNetInfo(self):
|
2046
2030
|
"""设备网络信息
|
2047
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2048
2031
|
:rtype: list of DeviceNetInfo
|
2049
2032
|
"""
|
2050
2033
|
return self._DeviceNetInfo
|
@@ -2056,7 +2039,6 @@ class DeviceDetails(AbstractModel):
|
|
2056
2039
|
@property
|
2057
2040
|
def GatewaySite(self):
|
2058
2041
|
"""聚合服务器地址
|
2059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2060
2042
|
:rtype: str
|
2061
2043
|
"""
|
2062
2044
|
return self._GatewaySite
|
@@ -2068,7 +2050,6 @@ class DeviceDetails(AbstractModel):
|
|
2068
2050
|
@property
|
2069
2051
|
def BusinessDownRate(self):
|
2070
2052
|
"""业务下行速率
|
2071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2072
2053
|
:rtype: float
|
2073
2054
|
"""
|
2074
2055
|
return self._BusinessDownRate
|
@@ -2080,7 +2061,6 @@ class DeviceDetails(AbstractModel):
|
|
2080
2061
|
@property
|
2081
2062
|
def BusinessUpRate(self):
|
2082
2063
|
"""业务上行速率
|
2083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2084
2064
|
:rtype: float
|
2085
2065
|
"""
|
2086
2066
|
return self._BusinessUpRate
|
@@ -2248,7 +2228,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2248
2228
|
0:数据
|
2249
2229
|
1:Wi-Fi
|
2250
2230
|
2:有线
|
2251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2252
2231
|
:type Type: int
|
2253
2232
|
:param _DataEnable: 启用/禁用
|
2254
2233
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2322,7 +2301,6 @@ class DeviceNetInfo(AbstractModel):
|
|
2322
2301
|
0:数据
|
2323
2302
|
1:Wi-Fi
|
2324
2303
|
2:有线
|
2325
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2326
2304
|
:rtype: int
|
2327
2305
|
"""
|
2328
2306
|
return self._Type
|
@@ -3381,13 +3359,10 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3381
3359
|
def __init__(self):
|
3382
3360
|
r"""
|
3383
3361
|
:param _AlarmValue: 流量包的告警阈值
|
3384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3385
3362
|
:type AlarmValue: int
|
3386
3363
|
:param _NotifyUrl: 告警通知回调url
|
3387
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3388
3364
|
:type NotifyUrl: str
|
3389
3365
|
:param _CallbackKey: 告警通知回调key
|
3390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3391
3366
|
:type CallbackKey: str
|
3392
3367
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3393
3368
|
:type RequestId: str
|
@@ -3400,7 +3375,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3400
3375
|
@property
|
3401
3376
|
def AlarmValue(self):
|
3402
3377
|
"""流量包的告警阈值
|
3403
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3404
3378
|
:rtype: int
|
3405
3379
|
"""
|
3406
3380
|
return self._AlarmValue
|
@@ -3412,7 +3386,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3412
3386
|
@property
|
3413
3387
|
def NotifyUrl(self):
|
3414
3388
|
"""告警通知回调url
|
3415
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3416
3389
|
:rtype: str
|
3417
3390
|
"""
|
3418
3391
|
return self._NotifyUrl
|
@@ -3424,7 +3397,6 @@ class GetFlowAlarmInfoResponse(AbstractModel):
|
|
3424
3397
|
@property
|
3425
3398
|
def CallbackKey(self):
|
3426
3399
|
"""告警通知回调key
|
3427
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3428
3400
|
:rtype: str
|
3429
3401
|
"""
|
3430
3402
|
return self._CallbackKey
|
@@ -5156,7 +5128,6 @@ class GetNetMonitorResponse(AbstractModel):
|
|
5156
5128
|
def __init__(self):
|
5157
5129
|
r"""
|
5158
5130
|
:param _MonitorData: 监控数据
|
5159
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5160
5131
|
:type MonitorData: list of MonitorData
|
5161
5132
|
:param _AccessRegion: 接入区域。取值范围:['MC','AP','EU','AM']
|
5162
5133
|
MC=中国大陆
|
@@ -5174,7 +5145,6 @@ AM=美洲
|
|
5174
5145
|
@property
|
5175
5146
|
def MonitorData(self):
|
5176
5147
|
"""监控数据
|
5177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5178
5148
|
:rtype: list of MonitorData
|
5179
5149
|
"""
|
5180
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
|
|