tencentcloud-sdk-python 3.0.1475__py2.py3-none-any.whl → 3.0.1478__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.
Potentially problematic release.
This version of tencentcloud-sdk-python might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +152 -18
- tencentcloud/cdn/v20180606/models.py +12 -2
- tencentcloud/cloudhsm/v20191112/models.py +15 -15
- tencentcloud/cls/v20201016/cls_client.py +4 -4
- tencentcloud/cls/v20201016/models.py +79 -58
- tencentcloud/ctem/v20231128/models.py +45 -0
- tencentcloud/dbbrain/v20210527/models.py +45 -24
- tencentcloud/dts/v20211206/dts_client.py +1 -1
- tencentcloud/dts/v20211206/models.py +33 -10
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/es/v20250101/es_client.py +23 -0
- tencentcloud/es/v20250101/models.py +259 -0
- tencentcloud/ess/v20201111/ess_client.py +97 -0
- tencentcloud/ess/v20201111/models.py +940 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -3
- tencentcloud/essbasic/v20210526/models.py +23 -16
- tencentcloud/gaap/v20180529/models.py +17 -2
- tencentcloud/gwlb/v20240906/gwlb_client.py +23 -0
- tencentcloud/gwlb/v20240906/models.py +150 -0
- tencentcloud/hunyuan/v20230901/models.py +16 -4
- tencentcloud/ioa/v20220601/errorcodes.py +6 -0
- tencentcloud/ioa/v20220601/ioa_client.py +115 -0
- tencentcloud/ioa/v20220601/models.py +1313 -46
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +92 -0
- tencentcloud/iotexplorer/v20190423/models.py +2022 -116
- tencentcloud/lcic/v20220817/models.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +71 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +7 -7
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +480 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +949 -90
- tencentcloud/mqtt/v20240516/models.py +15 -0
- tencentcloud/nlp/v20190408/nlp_client.py +9 -3
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +250 -2
- tencentcloud/oceanus/v20190422/oceanus_client.py +46 -0
- tencentcloud/ocr/v20181119/models.py +20 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +36 -0
- tencentcloud/privatedns/v20201028/models.py +1699 -86
- tencentcloud/privatedns/v20201028/privatedns_client.py +253 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/rum/v20210622/models.py +30 -0
- tencentcloud/teo/v20220901/errorcodes.py +1 -1
- tencentcloud/teo/v20220901/models.py +422 -123
- tencentcloud/teo/v20220901/teo_client.py +2 -2
- tencentcloud/tke/v20180525/models.py +55 -26
- tencentcloud/tmt/v20180321/models.py +139 -0
- tencentcloud/trtc/v20190722/models.py +15 -15
- tencentcloud/tse/v20201207/models.py +50 -0
- tencentcloud/vpc/v20170312/errorcodes.py +9 -0
- tencentcloud/vpc/v20170312/models.py +1839 -252
- tencentcloud/vpc/v20170312/vpc_client.py +276 -0
- tencentcloud/wedata/v20210820/errorcodes.py +3 -0
- tencentcloud/wedata/v20210820/models.py +1240 -81
- tencentcloud/wedata/v20210820/wedata_client.py +1 -1
- tencentcloud/wedata/v20250806/models.py +1243 -332
- tencentcloud/wedata/v20250806/wedata_client.py +95 -3
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/RECORD +68 -68
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1475.dist-info → tencentcloud_sdk_python-3.0.1478.dist-info}/top_level.txt +0 -0
|
@@ -9959,7 +9959,7 @@ class MemberRecord(AbstractModel):
|
|
|
9959
9959
|
:param _SubGroupId: 子上课班号
|
|
9960
9960
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9961
9961
|
:type SubGroupId: list of str
|
|
9962
|
-
:param _Stage:
|
|
9962
|
+
:param _Stage: 本堂课用户是否上过台。0 否;1 是
|
|
9963
9963
|
:type Stage: int
|
|
9964
9964
|
:param _CurrentState: 用户状态。0为未到,1为在线,2为离线,3为被踢,4为永久被踢,5为暂时掉线
|
|
9965
9965
|
:type CurrentState: int
|
|
@@ -10199,7 +10199,7 @@ class MemberRecord(AbstractModel):
|
|
|
10199
10199
|
|
|
10200
10200
|
@property
|
|
10201
10201
|
def Stage(self):
|
|
10202
|
-
r"""
|
|
10202
|
+
r"""本堂课用户是否上过台。0 否;1 是
|
|
10203
10203
|
:rtype: int
|
|
10204
10204
|
"""
|
|
10205
10205
|
return self._Stage
|
|
@@ -9596,6 +9596,57 @@ class DescribeZonesResponse(AbstractModel):
|
|
|
9596
9596
|
self._RequestId = params.get("RequestId")
|
|
9597
9597
|
|
|
9598
9598
|
|
|
9599
|
+
class DestinationRegionBlueprint(AbstractModel):
|
|
9600
|
+
r"""目标地域镜像信息。
|
|
9601
|
+
|
|
9602
|
+
"""
|
|
9603
|
+
|
|
9604
|
+
def __init__(self):
|
|
9605
|
+
r"""
|
|
9606
|
+
:param _Region: 目标地域。
|
|
9607
|
+
:type Region: str
|
|
9608
|
+
:param _BlueprintId: 目标地域镜像ID。
|
|
9609
|
+
:type BlueprintId: str
|
|
9610
|
+
"""
|
|
9611
|
+
self._Region = None
|
|
9612
|
+
self._BlueprintId = None
|
|
9613
|
+
|
|
9614
|
+
@property
|
|
9615
|
+
def Region(self):
|
|
9616
|
+
r"""目标地域。
|
|
9617
|
+
:rtype: str
|
|
9618
|
+
"""
|
|
9619
|
+
return self._Region
|
|
9620
|
+
|
|
9621
|
+
@Region.setter
|
|
9622
|
+
def Region(self, Region):
|
|
9623
|
+
self._Region = Region
|
|
9624
|
+
|
|
9625
|
+
@property
|
|
9626
|
+
def BlueprintId(self):
|
|
9627
|
+
r"""目标地域镜像ID。
|
|
9628
|
+
:rtype: str
|
|
9629
|
+
"""
|
|
9630
|
+
return self._BlueprintId
|
|
9631
|
+
|
|
9632
|
+
@BlueprintId.setter
|
|
9633
|
+
def BlueprintId(self, BlueprintId):
|
|
9634
|
+
self._BlueprintId = BlueprintId
|
|
9635
|
+
|
|
9636
|
+
|
|
9637
|
+
def _deserialize(self, params):
|
|
9638
|
+
self._Region = params.get("Region")
|
|
9639
|
+
self._BlueprintId = params.get("BlueprintId")
|
|
9640
|
+
memeber_set = set(params.keys())
|
|
9641
|
+
for name, value in vars(self).items():
|
|
9642
|
+
property_name = name[1:]
|
|
9643
|
+
if property_name in memeber_set:
|
|
9644
|
+
memeber_set.remove(property_name)
|
|
9645
|
+
if len(memeber_set) > 0:
|
|
9646
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9647
|
+
|
|
9648
|
+
|
|
9649
|
+
|
|
9599
9650
|
class DetachCcnRequest(AbstractModel):
|
|
9600
9651
|
r"""DetachCcn请求参数结构体
|
|
9601
9652
|
|
|
@@ -20452,11 +20503,25 @@ class SyncBlueprintResponse(AbstractModel):
|
|
|
20452
20503
|
|
|
20453
20504
|
def __init__(self):
|
|
20454
20505
|
r"""
|
|
20506
|
+
:param _DestinationRegionBlueprintSet: 目标地域镜像信息。
|
|
20507
|
+
:type DestinationRegionBlueprintSet: list of DestinationRegionBlueprint
|
|
20455
20508
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20456
20509
|
:type RequestId: str
|
|
20457
20510
|
"""
|
|
20511
|
+
self._DestinationRegionBlueprintSet = None
|
|
20458
20512
|
self._RequestId = None
|
|
20459
20513
|
|
|
20514
|
+
@property
|
|
20515
|
+
def DestinationRegionBlueprintSet(self):
|
|
20516
|
+
r"""目标地域镜像信息。
|
|
20517
|
+
:rtype: list of DestinationRegionBlueprint
|
|
20518
|
+
"""
|
|
20519
|
+
return self._DestinationRegionBlueprintSet
|
|
20520
|
+
|
|
20521
|
+
@DestinationRegionBlueprintSet.setter
|
|
20522
|
+
def DestinationRegionBlueprintSet(self, DestinationRegionBlueprintSet):
|
|
20523
|
+
self._DestinationRegionBlueprintSet = DestinationRegionBlueprintSet
|
|
20524
|
+
|
|
20460
20525
|
@property
|
|
20461
20526
|
def RequestId(self):
|
|
20462
20527
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -20470,6 +20535,12 @@ class SyncBlueprintResponse(AbstractModel):
|
|
|
20470
20535
|
|
|
20471
20536
|
|
|
20472
20537
|
def _deserialize(self, params):
|
|
20538
|
+
if params.get("DestinationRegionBlueprintSet") is not None:
|
|
20539
|
+
self._DestinationRegionBlueprintSet = []
|
|
20540
|
+
for item in params.get("DestinationRegionBlueprintSet"):
|
|
20541
|
+
obj = DestinationRegionBlueprint()
|
|
20542
|
+
obj._deserialize(item)
|
|
20543
|
+
self._DestinationRegionBlueprintSet.append(obj)
|
|
20473
20544
|
self._RequestId = params.get("RequestId")
|
|
20474
20545
|
|
|
20475
20546
|
|
|
@@ -13230,7 +13230,7 @@ class DescribeWorkflowRunResponse(AbstractModel):
|
|
|
13230
13230
|
|
|
13231
13231
|
def __init__(self):
|
|
13232
13232
|
r"""
|
|
13233
|
-
:param _WorkflowRun:
|
|
13233
|
+
:param _WorkflowRun: 工作流的详情
|
|
13234
13234
|
:type WorkflowRun: :class:`tencentcloud.lke.v20231130.models.WorkflowRunDetail`
|
|
13235
13235
|
:param _NodeRuns: 节点列表
|
|
13236
13236
|
:type NodeRuns: list of NodeRunBase
|
|
@@ -13243,7 +13243,7 @@ class DescribeWorkflowRunResponse(AbstractModel):
|
|
|
13243
13243
|
|
|
13244
13244
|
@property
|
|
13245
13245
|
def WorkflowRun(self):
|
|
13246
|
-
r"""
|
|
13246
|
+
r"""工作流的详情
|
|
13247
13247
|
:rtype: :class:`tencentcloud.lke.v20231130.models.WorkflowRunDetail`
|
|
13248
13248
|
"""
|
|
13249
13249
|
return self._WorkflowRun
|
|
@@ -20,16 +20,16 @@ FAILEDOPERATION = 'FailedOperation'
|
|
|
20
20
|
# 引擎层内部错误;
|
|
21
21
|
FAILEDOPERATION_ENGINESERVERERROR = 'FailedOperation.EngineServerError'
|
|
22
22
|
|
|
23
|
-
#
|
|
23
|
+
# 解析失败。
|
|
24
24
|
FAILEDOPERATION_FILEPARSEERROR = 'FailedOperation.FileParseError'
|
|
25
25
|
|
|
26
|
-
#
|
|
26
|
+
# 文档解析超时。
|
|
27
27
|
FAILEDOPERATION_FILEPARSETIMEOUT = 'FailedOperation.FileParseTimeout'
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# 内部错误。
|
|
30
30
|
FAILEDOPERATION_INTERNALERROR = 'FailedOperation.InternalError'
|
|
31
31
|
|
|
32
|
-
#
|
|
32
|
+
# 暂不支持解析该文件。
|
|
33
33
|
FAILEDOPERATION_NONSUPPORTPARSE = 'FailedOperation.NonsupportParse'
|
|
34
34
|
|
|
35
35
|
# FailedOperation.OcrFailed
|
|
@@ -50,13 +50,13 @@ INTERNALERROR = 'InternalError'
|
|
|
50
50
|
# 参数错误。
|
|
51
51
|
INVALIDPARAMETER = 'InvalidParameter'
|
|
52
52
|
|
|
53
|
-
# 文件url
|
|
53
|
+
# 文件url链接不正确。
|
|
54
54
|
INVALIDPARAMETER_FILEURLINVALID = 'InvalidParameter.FileURLInvalid'
|
|
55
55
|
|
|
56
|
-
#
|
|
56
|
+
# 无效的文件格式。
|
|
57
57
|
INVALIDPARAMETER_INVALIDFILEFORMAT = 'InvalidParameter.InvalidFileFormat'
|
|
58
58
|
|
|
59
|
-
#
|
|
59
|
+
# 无效的文件类型。
|
|
60
60
|
INVALIDPARAMETER_INVALIDFILETYPE = 'InvalidParameter.InvalidFileType'
|
|
61
61
|
|
|
62
62
|
# 参数值错误。
|
|
@@ -2550,7 +2550,7 @@ class GetEmbeddingRequest(AbstractModel):
|
|
|
2550
2550
|
:type Inputs: list of str
|
|
2551
2551
|
:param _TextType: 说明:文本向量化的类型,为使得检索任务有更好的检索效果,建议区分查询文本(query)和文档文本(document)类型, 聚类、分类等对称任务可以不用特殊指定,采用系统默认值document即可。
|
|
2552
2552
|
:type TextType: str
|
|
2553
|
-
:param _Instruction: 说明:自定义任务指令词,当且仅当TextType=query时,生效
|
|
2553
|
+
:param _Instruction: 说明:自定义任务指令词,当且仅当TextType=query且Model为youtu-embedding-llm-v1时,生效
|
|
2554
2554
|
:type Instruction: str
|
|
2555
2555
|
"""
|
|
2556
2556
|
self._Model = None
|
|
@@ -2594,7 +2594,7 @@ class GetEmbeddingRequest(AbstractModel):
|
|
|
2594
2594
|
|
|
2595
2595
|
@property
|
|
2596
2596
|
def Instruction(self):
|
|
2597
|
-
r"""说明:自定义任务指令词,当且仅当TextType=query时,生效
|
|
2597
|
+
r"""说明:自定义任务指令词,当且仅当TextType=query且Model为youtu-embedding-llm-v1时,生效
|
|
2598
2598
|
:rtype: str
|
|
2599
2599
|
"""
|
|
2600
2600
|
return self._Instruction
|
|
@@ -23175,6 +23175,109 @@ class DescribePrometheusScrapeJobsResponse(AbstractModel):
|
|
|
23175
23175
|
self._RequestId = params.get("RequestId")
|
|
23176
23176
|
|
|
23177
23177
|
|
|
23178
|
+
class DescribePrometheusScrapeStatisticsRequest(AbstractModel):
|
|
23179
|
+
r"""DescribePrometheusScrapeStatistics请求参数结构体
|
|
23180
|
+
|
|
23181
|
+
"""
|
|
23182
|
+
|
|
23183
|
+
def __init__(self):
|
|
23184
|
+
r"""
|
|
23185
|
+
:param _JobType: job 类型
|
|
23186
|
+
:type JobType: str
|
|
23187
|
+
"""
|
|
23188
|
+
self._JobType = None
|
|
23189
|
+
|
|
23190
|
+
@property
|
|
23191
|
+
def JobType(self):
|
|
23192
|
+
r"""job 类型
|
|
23193
|
+
:rtype: str
|
|
23194
|
+
"""
|
|
23195
|
+
return self._JobType
|
|
23196
|
+
|
|
23197
|
+
@JobType.setter
|
|
23198
|
+
def JobType(self, JobType):
|
|
23199
|
+
self._JobType = JobType
|
|
23200
|
+
|
|
23201
|
+
|
|
23202
|
+
def _deserialize(self, params):
|
|
23203
|
+
self._JobType = params.get("JobType")
|
|
23204
|
+
memeber_set = set(params.keys())
|
|
23205
|
+
for name, value in vars(self).items():
|
|
23206
|
+
property_name = name[1:]
|
|
23207
|
+
if property_name in memeber_set:
|
|
23208
|
+
memeber_set.remove(property_name)
|
|
23209
|
+
if len(memeber_set) > 0:
|
|
23210
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23211
|
+
|
|
23212
|
+
|
|
23213
|
+
|
|
23214
|
+
class DescribePrometheusScrapeStatisticsResponse(AbstractModel):
|
|
23215
|
+
r"""DescribePrometheusScrapeStatistics返回参数结构体
|
|
23216
|
+
|
|
23217
|
+
"""
|
|
23218
|
+
|
|
23219
|
+
def __init__(self):
|
|
23220
|
+
r"""
|
|
23221
|
+
:param _Total: 总个数
|
|
23222
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23223
|
+
:type Total: int
|
|
23224
|
+
:param _InstanceResults: 实例指标抓取速率详情
|
|
23225
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23226
|
+
:type InstanceResults: list of PrometheusInstanceScrapeStatistics
|
|
23227
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23228
|
+
:type RequestId: str
|
|
23229
|
+
"""
|
|
23230
|
+
self._Total = None
|
|
23231
|
+
self._InstanceResults = None
|
|
23232
|
+
self._RequestId = None
|
|
23233
|
+
|
|
23234
|
+
@property
|
|
23235
|
+
def Total(self):
|
|
23236
|
+
r"""总个数
|
|
23237
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23238
|
+
:rtype: int
|
|
23239
|
+
"""
|
|
23240
|
+
return self._Total
|
|
23241
|
+
|
|
23242
|
+
@Total.setter
|
|
23243
|
+
def Total(self, Total):
|
|
23244
|
+
self._Total = Total
|
|
23245
|
+
|
|
23246
|
+
@property
|
|
23247
|
+
def InstanceResults(self):
|
|
23248
|
+
r"""实例指标抓取速率详情
|
|
23249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
23250
|
+
:rtype: list of PrometheusInstanceScrapeStatistics
|
|
23251
|
+
"""
|
|
23252
|
+
return self._InstanceResults
|
|
23253
|
+
|
|
23254
|
+
@InstanceResults.setter
|
|
23255
|
+
def InstanceResults(self, InstanceResults):
|
|
23256
|
+
self._InstanceResults = InstanceResults
|
|
23257
|
+
|
|
23258
|
+
@property
|
|
23259
|
+
def RequestId(self):
|
|
23260
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23261
|
+
:rtype: str
|
|
23262
|
+
"""
|
|
23263
|
+
return self._RequestId
|
|
23264
|
+
|
|
23265
|
+
@RequestId.setter
|
|
23266
|
+
def RequestId(self, RequestId):
|
|
23267
|
+
self._RequestId = RequestId
|
|
23268
|
+
|
|
23269
|
+
|
|
23270
|
+
def _deserialize(self, params):
|
|
23271
|
+
self._Total = params.get("Total")
|
|
23272
|
+
if params.get("InstanceResults") is not None:
|
|
23273
|
+
self._InstanceResults = []
|
|
23274
|
+
for item in params.get("InstanceResults"):
|
|
23275
|
+
obj = PrometheusInstanceScrapeStatistics()
|
|
23276
|
+
obj._deserialize(item)
|
|
23277
|
+
self._InstanceResults.append(obj)
|
|
23278
|
+
self._RequestId = params.get("RequestId")
|
|
23279
|
+
|
|
23280
|
+
|
|
23178
23281
|
class DescribePrometheusTargetsTMPRequest(AbstractModel):
|
|
23179
23282
|
r"""DescribePrometheusTargetsTMP请求参数结构体
|
|
23180
23283
|
|
|
@@ -33446,6 +33549,98 @@ class PrometheusClusterAgentPodConfig(AbstractModel):
|
|
|
33446
33549
|
|
|
33447
33550
|
|
|
33448
33551
|
|
|
33552
|
+
class PrometheusClusterScrapeStatistics(AbstractModel):
|
|
33553
|
+
r"""集群指标抓取统计
|
|
33554
|
+
|
|
33555
|
+
"""
|
|
33556
|
+
|
|
33557
|
+
def __init__(self):
|
|
33558
|
+
r"""
|
|
33559
|
+
:param _ClusterID: 集群ID
|
|
33560
|
+
:type ClusterID: str
|
|
33561
|
+
:param _ScrapedRate: 被采集的点数
|
|
33562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33563
|
+
:type ScrapedRate: float
|
|
33564
|
+
:param _Jobs: Job列表
|
|
33565
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33566
|
+
:type Jobs: list of PrometheusJobScrapeStatistics
|
|
33567
|
+
:param _SamplesRate: 过滤前的指标采集速率
|
|
33568
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33569
|
+
:type SamplesRate: float
|
|
33570
|
+
"""
|
|
33571
|
+
self._ClusterID = None
|
|
33572
|
+
self._ScrapedRate = None
|
|
33573
|
+
self._Jobs = None
|
|
33574
|
+
self._SamplesRate = None
|
|
33575
|
+
|
|
33576
|
+
@property
|
|
33577
|
+
def ClusterID(self):
|
|
33578
|
+
r"""集群ID
|
|
33579
|
+
:rtype: str
|
|
33580
|
+
"""
|
|
33581
|
+
return self._ClusterID
|
|
33582
|
+
|
|
33583
|
+
@ClusterID.setter
|
|
33584
|
+
def ClusterID(self, ClusterID):
|
|
33585
|
+
self._ClusterID = ClusterID
|
|
33586
|
+
|
|
33587
|
+
@property
|
|
33588
|
+
def ScrapedRate(self):
|
|
33589
|
+
r"""被采集的点数
|
|
33590
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33591
|
+
:rtype: float
|
|
33592
|
+
"""
|
|
33593
|
+
return self._ScrapedRate
|
|
33594
|
+
|
|
33595
|
+
@ScrapedRate.setter
|
|
33596
|
+
def ScrapedRate(self, ScrapedRate):
|
|
33597
|
+
self._ScrapedRate = ScrapedRate
|
|
33598
|
+
|
|
33599
|
+
@property
|
|
33600
|
+
def Jobs(self):
|
|
33601
|
+
r"""Job列表
|
|
33602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33603
|
+
:rtype: list of PrometheusJobScrapeStatistics
|
|
33604
|
+
"""
|
|
33605
|
+
return self._Jobs
|
|
33606
|
+
|
|
33607
|
+
@Jobs.setter
|
|
33608
|
+
def Jobs(self, Jobs):
|
|
33609
|
+
self._Jobs = Jobs
|
|
33610
|
+
|
|
33611
|
+
@property
|
|
33612
|
+
def SamplesRate(self):
|
|
33613
|
+
r"""过滤前的指标采集速率
|
|
33614
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33615
|
+
:rtype: float
|
|
33616
|
+
"""
|
|
33617
|
+
return self._SamplesRate
|
|
33618
|
+
|
|
33619
|
+
@SamplesRate.setter
|
|
33620
|
+
def SamplesRate(self, SamplesRate):
|
|
33621
|
+
self._SamplesRate = SamplesRate
|
|
33622
|
+
|
|
33623
|
+
|
|
33624
|
+
def _deserialize(self, params):
|
|
33625
|
+
self._ClusterID = params.get("ClusterID")
|
|
33626
|
+
self._ScrapedRate = params.get("ScrapedRate")
|
|
33627
|
+
if params.get("Jobs") is not None:
|
|
33628
|
+
self._Jobs = []
|
|
33629
|
+
for item in params.get("Jobs"):
|
|
33630
|
+
obj = PrometheusJobScrapeStatistics()
|
|
33631
|
+
obj._deserialize(item)
|
|
33632
|
+
self._Jobs.append(obj)
|
|
33633
|
+
self._SamplesRate = params.get("SamplesRate")
|
|
33634
|
+
memeber_set = set(params.keys())
|
|
33635
|
+
for name, value in vars(self).items():
|
|
33636
|
+
property_name = name[1:]
|
|
33637
|
+
if property_name in memeber_set:
|
|
33638
|
+
memeber_set.remove(property_name)
|
|
33639
|
+
if len(memeber_set) > 0:
|
|
33640
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33641
|
+
|
|
33642
|
+
|
|
33643
|
+
|
|
33449
33644
|
class PrometheusConfigItem(AbstractModel):
|
|
33450
33645
|
r"""prometheus配置
|
|
33451
33646
|
|
|
@@ -33644,6 +33839,114 @@ class PrometheusInstanceGrantInfo(AbstractModel):
|
|
|
33644
33839
|
|
|
33645
33840
|
|
|
33646
33841
|
|
|
33842
|
+
class PrometheusInstanceScrapeStatistics(AbstractModel):
|
|
33843
|
+
r"""实例抓取指标统计
|
|
33844
|
+
|
|
33845
|
+
"""
|
|
33846
|
+
|
|
33847
|
+
def __init__(self):
|
|
33848
|
+
r"""
|
|
33849
|
+
:param _InstanceId: 实例ID
|
|
33850
|
+
:type InstanceId: str
|
|
33851
|
+
:param _ScrapedRate: 被采集的点数
|
|
33852
|
+
:type ScrapedRate: float
|
|
33853
|
+
:param _Clusters: 集群指标列表
|
|
33854
|
+
:type Clusters: list of PrometheusClusterScrapeStatistics
|
|
33855
|
+
:param _Global: 非容器指标列表
|
|
33856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33857
|
+
:type Global: list of PrometheusClusterScrapeStatistics
|
|
33858
|
+
:param _SamplesRate: 过滤前的指标采集速率
|
|
33859
|
+
:type SamplesRate: float
|
|
33860
|
+
"""
|
|
33861
|
+
self._InstanceId = None
|
|
33862
|
+
self._ScrapedRate = None
|
|
33863
|
+
self._Clusters = None
|
|
33864
|
+
self._Global = None
|
|
33865
|
+
self._SamplesRate = None
|
|
33866
|
+
|
|
33867
|
+
@property
|
|
33868
|
+
def InstanceId(self):
|
|
33869
|
+
r"""实例ID
|
|
33870
|
+
:rtype: str
|
|
33871
|
+
"""
|
|
33872
|
+
return self._InstanceId
|
|
33873
|
+
|
|
33874
|
+
@InstanceId.setter
|
|
33875
|
+
def InstanceId(self, InstanceId):
|
|
33876
|
+
self._InstanceId = InstanceId
|
|
33877
|
+
|
|
33878
|
+
@property
|
|
33879
|
+
def ScrapedRate(self):
|
|
33880
|
+
r"""被采集的点数
|
|
33881
|
+
:rtype: float
|
|
33882
|
+
"""
|
|
33883
|
+
return self._ScrapedRate
|
|
33884
|
+
|
|
33885
|
+
@ScrapedRate.setter
|
|
33886
|
+
def ScrapedRate(self, ScrapedRate):
|
|
33887
|
+
self._ScrapedRate = ScrapedRate
|
|
33888
|
+
|
|
33889
|
+
@property
|
|
33890
|
+
def Clusters(self):
|
|
33891
|
+
r"""集群指标列表
|
|
33892
|
+
:rtype: list of PrometheusClusterScrapeStatistics
|
|
33893
|
+
"""
|
|
33894
|
+
return self._Clusters
|
|
33895
|
+
|
|
33896
|
+
@Clusters.setter
|
|
33897
|
+
def Clusters(self, Clusters):
|
|
33898
|
+
self._Clusters = Clusters
|
|
33899
|
+
|
|
33900
|
+
@property
|
|
33901
|
+
def Global(self):
|
|
33902
|
+
r"""非容器指标列表
|
|
33903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
33904
|
+
:rtype: list of PrometheusClusterScrapeStatistics
|
|
33905
|
+
"""
|
|
33906
|
+
return self._Global
|
|
33907
|
+
|
|
33908
|
+
@Global.setter
|
|
33909
|
+
def Global(self, Global):
|
|
33910
|
+
self._Global = Global
|
|
33911
|
+
|
|
33912
|
+
@property
|
|
33913
|
+
def SamplesRate(self):
|
|
33914
|
+
r"""过滤前的指标采集速率
|
|
33915
|
+
:rtype: float
|
|
33916
|
+
"""
|
|
33917
|
+
return self._SamplesRate
|
|
33918
|
+
|
|
33919
|
+
@SamplesRate.setter
|
|
33920
|
+
def SamplesRate(self, SamplesRate):
|
|
33921
|
+
self._SamplesRate = SamplesRate
|
|
33922
|
+
|
|
33923
|
+
|
|
33924
|
+
def _deserialize(self, params):
|
|
33925
|
+
self._InstanceId = params.get("InstanceId")
|
|
33926
|
+
self._ScrapedRate = params.get("ScrapedRate")
|
|
33927
|
+
if params.get("Clusters") is not None:
|
|
33928
|
+
self._Clusters = []
|
|
33929
|
+
for item in params.get("Clusters"):
|
|
33930
|
+
obj = PrometheusClusterScrapeStatistics()
|
|
33931
|
+
obj._deserialize(item)
|
|
33932
|
+
self._Clusters.append(obj)
|
|
33933
|
+
if params.get("Global") is not None:
|
|
33934
|
+
self._Global = []
|
|
33935
|
+
for item in params.get("Global"):
|
|
33936
|
+
obj = PrometheusClusterScrapeStatistics()
|
|
33937
|
+
obj._deserialize(item)
|
|
33938
|
+
self._Global.append(obj)
|
|
33939
|
+
self._SamplesRate = params.get("SamplesRate")
|
|
33940
|
+
memeber_set = set(params.keys())
|
|
33941
|
+
for name, value in vars(self).items():
|
|
33942
|
+
property_name = name[1:]
|
|
33943
|
+
if property_name in memeber_set:
|
|
33944
|
+
memeber_set.remove(property_name)
|
|
33945
|
+
if len(memeber_set) > 0:
|
|
33946
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33947
|
+
|
|
33948
|
+
|
|
33949
|
+
|
|
33647
33950
|
class PrometheusInstanceTenantUsage(AbstractModel):
|
|
33648
33951
|
r"""Prometheus用量信息
|
|
33649
33952
|
|
|
@@ -34644,6 +34947,94 @@ class PrometheusInstancesOverview(AbstractModel):
|
|
|
34644
34947
|
|
|
34645
34948
|
|
|
34646
34949
|
|
|
34950
|
+
class PrometheusJobScrapeStatistics(AbstractModel):
|
|
34951
|
+
r"""Job抓取统计
|
|
34952
|
+
|
|
34953
|
+
"""
|
|
34954
|
+
|
|
34955
|
+
def __init__(self):
|
|
34956
|
+
r"""
|
|
34957
|
+
:param _JobName: Job 名
|
|
34958
|
+
:type JobName: str
|
|
34959
|
+
:param _ScrapedRate: 被采集的点数
|
|
34960
|
+
:type ScrapedRate: float
|
|
34961
|
+
:param _Metrics: 指标列表
|
|
34962
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34963
|
+
:type Metrics: list of PrometheusMetricScrapeStatistics
|
|
34964
|
+
:param _JobType: Job 类型
|
|
34965
|
+
:type JobType: str
|
|
34966
|
+
"""
|
|
34967
|
+
self._JobName = None
|
|
34968
|
+
self._ScrapedRate = None
|
|
34969
|
+
self._Metrics = None
|
|
34970
|
+
self._JobType = None
|
|
34971
|
+
|
|
34972
|
+
@property
|
|
34973
|
+
def JobName(self):
|
|
34974
|
+
r"""Job 名
|
|
34975
|
+
:rtype: str
|
|
34976
|
+
"""
|
|
34977
|
+
return self._JobName
|
|
34978
|
+
|
|
34979
|
+
@JobName.setter
|
|
34980
|
+
def JobName(self, JobName):
|
|
34981
|
+
self._JobName = JobName
|
|
34982
|
+
|
|
34983
|
+
@property
|
|
34984
|
+
def ScrapedRate(self):
|
|
34985
|
+
r"""被采集的点数
|
|
34986
|
+
:rtype: float
|
|
34987
|
+
"""
|
|
34988
|
+
return self._ScrapedRate
|
|
34989
|
+
|
|
34990
|
+
@ScrapedRate.setter
|
|
34991
|
+
def ScrapedRate(self, ScrapedRate):
|
|
34992
|
+
self._ScrapedRate = ScrapedRate
|
|
34993
|
+
|
|
34994
|
+
@property
|
|
34995
|
+
def Metrics(self):
|
|
34996
|
+
r"""指标列表
|
|
34997
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
34998
|
+
:rtype: list of PrometheusMetricScrapeStatistics
|
|
34999
|
+
"""
|
|
35000
|
+
return self._Metrics
|
|
35001
|
+
|
|
35002
|
+
@Metrics.setter
|
|
35003
|
+
def Metrics(self, Metrics):
|
|
35004
|
+
self._Metrics = Metrics
|
|
35005
|
+
|
|
35006
|
+
@property
|
|
35007
|
+
def JobType(self):
|
|
35008
|
+
r"""Job 类型
|
|
35009
|
+
:rtype: str
|
|
35010
|
+
"""
|
|
35011
|
+
return self._JobType
|
|
35012
|
+
|
|
35013
|
+
@JobType.setter
|
|
35014
|
+
def JobType(self, JobType):
|
|
35015
|
+
self._JobType = JobType
|
|
35016
|
+
|
|
35017
|
+
|
|
35018
|
+
def _deserialize(self, params):
|
|
35019
|
+
self._JobName = params.get("JobName")
|
|
35020
|
+
self._ScrapedRate = params.get("ScrapedRate")
|
|
35021
|
+
if params.get("Metrics") is not None:
|
|
35022
|
+
self._Metrics = []
|
|
35023
|
+
for item in params.get("Metrics"):
|
|
35024
|
+
obj = PrometheusMetricScrapeStatistics()
|
|
35025
|
+
obj._deserialize(item)
|
|
35026
|
+
self._Metrics.append(obj)
|
|
35027
|
+
self._JobType = params.get("JobType")
|
|
35028
|
+
memeber_set = set(params.keys())
|
|
35029
|
+
for name, value in vars(self).items():
|
|
35030
|
+
property_name = name[1:]
|
|
35031
|
+
if property_name in memeber_set:
|
|
35032
|
+
memeber_set.remove(property_name)
|
|
35033
|
+
if len(memeber_set) > 0:
|
|
35034
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35035
|
+
|
|
35036
|
+
|
|
35037
|
+
|
|
34647
35038
|
class PrometheusJobTargets(AbstractModel):
|
|
34648
35039
|
r"""prometheus一个job的targets
|
|
34649
35040
|
|
|
@@ -34730,6 +35121,95 @@ class PrometheusJobTargets(AbstractModel):
|
|
|
34730
35121
|
|
|
34731
35122
|
|
|
34732
35123
|
|
|
35124
|
+
class PrometheusMetricScrapeStatistics(AbstractModel):
|
|
35125
|
+
r"""指标抓取统计
|
|
35126
|
+
|
|
35127
|
+
"""
|
|
35128
|
+
|
|
35129
|
+
def __init__(self):
|
|
35130
|
+
r"""
|
|
35131
|
+
:param _MetricName: 指标名
|
|
35132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35133
|
+
:type MetricName: str
|
|
35134
|
+
:param _SamplesRate: 原始数据中的点数
|
|
35135
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35136
|
+
:type SamplesRate: float
|
|
35137
|
+
:param _ScrapedRate: 被采集的点数
|
|
35138
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35139
|
+
:type ScrapedRate: float
|
|
35140
|
+
:param _IsRecommended: 是否推荐采集
|
|
35141
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35142
|
+
:type IsRecommended: bool
|
|
35143
|
+
"""
|
|
35144
|
+
self._MetricName = None
|
|
35145
|
+
self._SamplesRate = None
|
|
35146
|
+
self._ScrapedRate = None
|
|
35147
|
+
self._IsRecommended = None
|
|
35148
|
+
|
|
35149
|
+
@property
|
|
35150
|
+
def MetricName(self):
|
|
35151
|
+
r"""指标名
|
|
35152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35153
|
+
:rtype: str
|
|
35154
|
+
"""
|
|
35155
|
+
return self._MetricName
|
|
35156
|
+
|
|
35157
|
+
@MetricName.setter
|
|
35158
|
+
def MetricName(self, MetricName):
|
|
35159
|
+
self._MetricName = MetricName
|
|
35160
|
+
|
|
35161
|
+
@property
|
|
35162
|
+
def SamplesRate(self):
|
|
35163
|
+
r"""原始数据中的点数
|
|
35164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35165
|
+
:rtype: float
|
|
35166
|
+
"""
|
|
35167
|
+
return self._SamplesRate
|
|
35168
|
+
|
|
35169
|
+
@SamplesRate.setter
|
|
35170
|
+
def SamplesRate(self, SamplesRate):
|
|
35171
|
+
self._SamplesRate = SamplesRate
|
|
35172
|
+
|
|
35173
|
+
@property
|
|
35174
|
+
def ScrapedRate(self):
|
|
35175
|
+
r"""被采集的点数
|
|
35176
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35177
|
+
:rtype: float
|
|
35178
|
+
"""
|
|
35179
|
+
return self._ScrapedRate
|
|
35180
|
+
|
|
35181
|
+
@ScrapedRate.setter
|
|
35182
|
+
def ScrapedRate(self, ScrapedRate):
|
|
35183
|
+
self._ScrapedRate = ScrapedRate
|
|
35184
|
+
|
|
35185
|
+
@property
|
|
35186
|
+
def IsRecommended(self):
|
|
35187
|
+
r"""是否推荐采集
|
|
35188
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35189
|
+
:rtype: bool
|
|
35190
|
+
"""
|
|
35191
|
+
return self._IsRecommended
|
|
35192
|
+
|
|
35193
|
+
@IsRecommended.setter
|
|
35194
|
+
def IsRecommended(self, IsRecommended):
|
|
35195
|
+
self._IsRecommended = IsRecommended
|
|
35196
|
+
|
|
35197
|
+
|
|
35198
|
+
def _deserialize(self, params):
|
|
35199
|
+
self._MetricName = params.get("MetricName")
|
|
35200
|
+
self._SamplesRate = params.get("SamplesRate")
|
|
35201
|
+
self._ScrapedRate = params.get("ScrapedRate")
|
|
35202
|
+
self._IsRecommended = params.get("IsRecommended")
|
|
35203
|
+
memeber_set = set(params.keys())
|
|
35204
|
+
for name, value in vars(self).items():
|
|
35205
|
+
property_name = name[1:]
|
|
35206
|
+
if property_name in memeber_set:
|
|
35207
|
+
memeber_set.remove(property_name)
|
|
35208
|
+
if len(memeber_set) > 0:
|
|
35209
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
35210
|
+
|
|
35211
|
+
|
|
35212
|
+
|
|
34733
35213
|
class PrometheusNotificationItem(AbstractModel):
|
|
34734
35214
|
r"""告警通知渠道配置
|
|
34735
35215
|
|