tencentcloud-sdk-python 3.0.1302__py2.py3-none-any.whl → 3.0.1304__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/errorcodes.py +8 -8
- 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/cdwdoris/v20211228/cdwdoris_client.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +45 -306
- tencentcloud/clb/v20180317/models.py +146 -20
- tencentcloud/config/v20220802/models.py +2 -2
- tencentcloud/dc/v20180410/models.py +30 -2
- tencentcloud/dlc/v20210125/models.py +89 -0
- tencentcloud/emr/v20190103/models.py +50 -116
- tencentcloud/ess/v20201111/models.py +42 -24
- tencentcloud/essbasic/v20210526/models.py +64 -40
- tencentcloud/hunyuan/v20230901/models.py +40 -2
- tencentcloud/lke/v20231130/models.py +15 -0
- tencentcloud/lkeap/v20240522/models.py +8 -4
- tencentcloud/monitor/v20180724/models.py +55 -4
- tencentcloud/monitor/v20180724/monitor_client.py +1 -1
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +867 -8
- tencentcloud/mps/v20190612/mps_client.py +138 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/ssl/v20191205/models.py +4 -4
- tencentcloud/ssl/v20191205/ssl_client.py +1 -1
- tencentcloud/tchd/v20230306/models.py +0 -2
- tencentcloud/tiw/v20190919/models.py +6 -0
- tencentcloud/trtc/v20190722/models.py +15 -0
- tencentcloud/tse/v20201207/models.py +17 -0
- tencentcloud/vpc/v20170312/models.py +362 -12
- tencentcloud/wedata/v20210820/models.py +475 -0
- {tencentcloud_sdk_python-3.0.1302.dist-info → tencentcloud_sdk_python-3.0.1304.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1302.dist-info → tencentcloud_sdk_python-3.0.1304.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1302.dist-info → tencentcloud_sdk_python-3.0.1304.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1302.dist-info → tencentcloud_sdk_python-3.0.1304.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1302.dist-info → tencentcloud_sdk_python-3.0.1304.dist-info}/top_level.txt +0 -0
@@ -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
|
|