tencentcloud-sdk-python 3.0.1291__py2.py3-none-any.whl → 3.0.1293__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/apm_client.py +6 -6
- tencentcloud/apm/v20210622/errorcodes.py +6 -3
- tencentcloud/apm/v20210622/models.py +143 -295
- tencentcloud/autoscaling/v20180419/models.py +21 -2
- tencentcloud/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +15 -0
- tencentcloud/billing/v20180709/models.py +30 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -468
- tencentcloud/cdwdoris/v20211228/models.py +64 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cfs/v20190719/errorcodes.py +6 -3
- tencentcloud/ckafka/v20190819/models.py +45 -0
- tencentcloud/clb/v20180317/models.py +32 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +742 -25
- tencentcloud/cmq/v20190304/cmq_client.py +30 -10
- tencentcloud/cmq/v20190304/models.py +106 -106
- tencentcloud/cvm/v20170312/cvm_client.py +0 -115
- tencentcloud/cvm/v20170312/errorcodes.py +3 -9
- tencentcloud/cvm/v20170312/models.py +7379 -8874
- tencentcloud/cwp/v20180228/cwp_client.py +0 -25
- tencentcloud/cwp/v20180228/models.py +2 -51
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +3 -3
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +8 -32
- tencentcloud/dnspod/v20210323/models.py +37 -37
- tencentcloud/dts/v20180330/models.py +2 -2
- tencentcloud/dts/v20211206/models.py +17 -0
- tencentcloud/emr/v20190103/emr_client.py +207 -0
- tencentcloud/emr/v20190103/errorcodes.py +15 -0
- tencentcloud/emr/v20190103/models.py +2175 -248
- tencentcloud/ess/v20201111/models.py +99 -20
- tencentcloud/essbasic/v20210526/models.py +185 -20
- tencentcloud/faceid/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/errorcodes.py +15 -0
- tencentcloud/iai/v20200303/iai_client.py +28 -0
- tencentcloud/iai/v20200303/models.py +203 -0
- tencentcloud/iotexplorer/v20190423/models.py +15 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/live/v20180801/models.py +111 -56
- tencentcloud/mna/v20210119/mna_client.py +9 -3
- tencentcloud/mna/v20210119/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +75 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +3 -0
- tencentcloud/oceanus/v20190422/models.py +571 -2
- tencentcloud/ocr/v20181119/models.py +736 -8
- tencentcloud/ocr/v20181119/ocr_client.py +49 -3
- tencentcloud/sqlserver/v20180328/models.py +258 -92
- tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
- tencentcloud/ssl/v20191205/models.py +6 -6
- tencentcloud/tbaas/v20180416/tbaas_client.py +2 -2
- tencentcloud/tcr/v20190924/models.py +15 -0
- tencentcloud/tdmq/v20200217/models.py +573 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/tem/v20210701/models.py +2 -2
- tencentcloud/tem/v20210701/tem_client.py +3 -1
- tencentcloud/teo/v20220901/models.py +2 -0
- tencentcloud/teo/v20220901/teo_client.py +1 -1
- tencentcloud/thpc/v20211109/models.py +10 -12
- tencentcloud/thpc/v20220401/models.py +30 -36
- tencentcloud/thpc/v20230321/models.py +12 -14
- tencentcloud/tke/v20180525/models.py +21 -6
- tencentcloud/trocket/v20230308/models.py +396 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +17 -0
- tencentcloud/tse/v20201207/models.py +100 -0
- tencentcloud/tts/v20190823/models.py +2 -2
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +545 -88
- tencentcloud/vpc/v20170312/vpc_client.py +69 -0
- tencentcloud/waf/v20180125/models.py +546 -4
- tencentcloud/waf/v20180125/waf_client.py +73 -2
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/RECORD +79 -79
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1291.dist-info → tencentcloud_sdk_python-3.0.1293.dist-info}/top_level.txt +0 -0
@@ -1873,7 +1873,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1873
1873
|
"Key": "SyntaxRule", // 查不到这个字段也是老语法
|
1874
1874
|
"Value": "0"//0:Lucene, 1:CQL
|
1875
1875
|
}
|
1876
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1877
1876
|
:type ConfigInfo: list of AlarmAnalysisConfig
|
1878
1877
|
"""
|
1879
1878
|
self._Name = None
|
@@ -1960,7 +1959,6 @@ class AnalysisDimensional(AbstractModel):
|
|
1960
1959
|
"Key": "SyntaxRule", // 查不到这个字段也是老语法
|
1961
1960
|
"Value": "0"//0:Lucene, 1:CQL
|
1962
1961
|
}
|
1963
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1964
1962
|
:rtype: list of AlarmAnalysisConfig
|
1965
1963
|
"""
|
1966
1964
|
return self._ConfigInfo
|
@@ -6116,7 +6114,7 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6116
6114
|
:type ContainerFile: :class:`tencentcloud.cls.v20201016.models.ContainerFileInfo`
|
6117
6115
|
:param _ContainerStdout: 容器标准输出类型配置。
|
6118
6116
|
:type ContainerStdout: :class:`tencentcloud.cls.v20201016.models.ContainerStdoutInfo`
|
6119
|
-
:param _LogFormat: 日志格式化方式,用于容器采集场景。
|
6117
|
+
:param _LogFormat: 日志格式化方式,用于容器采集场景。 - 已废弃
|
6120
6118
|
- stdout-docker-json:用于docker容器采集场景
|
6121
6119
|
- stdout-containerd:用于containerd容器采集场景
|
6122
6120
|
:type LogFormat: str
|
@@ -6294,7 +6292,7 @@ class CreateConfigExtraRequest(AbstractModel):
|
|
6294
6292
|
|
6295
6293
|
@property
|
6296
6294
|
def LogFormat(self):
|
6297
|
-
"""日志格式化方式,用于容器采集场景。
|
6295
|
+
"""日志格式化方式,用于容器采集场景。 - 已废弃
|
6298
6296
|
- stdout-docker-json:用于docker容器采集场景
|
6299
6297
|
- stdout-containerd:用于containerd容器采集场景
|
6300
6298
|
:rtype: str
|
@@ -9484,6 +9482,153 @@ class CreateTopicResponse(AbstractModel):
|
|
9484
9482
|
self._RequestId = params.get("RequestId")
|
9485
9483
|
|
9486
9484
|
|
9485
|
+
class CreateWebCallbackRequest(AbstractModel):
|
9486
|
+
"""CreateWebCallback请求参数结构体
|
9487
|
+
|
9488
|
+
"""
|
9489
|
+
|
9490
|
+
def __init__(self):
|
9491
|
+
r"""
|
9492
|
+
:param _Name: 通知内容名称。
|
9493
|
+
:type Name: str
|
9494
|
+
:param _Type: 渠道类型。
|
9495
|
+
|
9496
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调。
|
9497
|
+
:type Type: str
|
9498
|
+
:param _Webhook: Webhook地址。
|
9499
|
+
:type Webhook: str
|
9500
|
+
:param _Method: 请求方式。 支持POST、PUT。
|
9501
|
+
|
9502
|
+
当Type为Http时,必填。
|
9503
|
+
:type Method: str
|
9504
|
+
:param _Key: 秘钥。
|
9505
|
+
:type Key: str
|
9506
|
+
"""
|
9507
|
+
self._Name = None
|
9508
|
+
self._Type = None
|
9509
|
+
self._Webhook = None
|
9510
|
+
self._Method = None
|
9511
|
+
self._Key = None
|
9512
|
+
|
9513
|
+
@property
|
9514
|
+
def Name(self):
|
9515
|
+
"""通知内容名称。
|
9516
|
+
:rtype: str
|
9517
|
+
"""
|
9518
|
+
return self._Name
|
9519
|
+
|
9520
|
+
@Name.setter
|
9521
|
+
def Name(self, Name):
|
9522
|
+
self._Name = Name
|
9523
|
+
|
9524
|
+
@property
|
9525
|
+
def Type(self):
|
9526
|
+
"""渠道类型。
|
9527
|
+
|
9528
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调。
|
9529
|
+
:rtype: str
|
9530
|
+
"""
|
9531
|
+
return self._Type
|
9532
|
+
|
9533
|
+
@Type.setter
|
9534
|
+
def Type(self, Type):
|
9535
|
+
self._Type = Type
|
9536
|
+
|
9537
|
+
@property
|
9538
|
+
def Webhook(self):
|
9539
|
+
"""Webhook地址。
|
9540
|
+
:rtype: str
|
9541
|
+
"""
|
9542
|
+
return self._Webhook
|
9543
|
+
|
9544
|
+
@Webhook.setter
|
9545
|
+
def Webhook(self, Webhook):
|
9546
|
+
self._Webhook = Webhook
|
9547
|
+
|
9548
|
+
@property
|
9549
|
+
def Method(self):
|
9550
|
+
"""请求方式。 支持POST、PUT。
|
9551
|
+
|
9552
|
+
当Type为Http时,必填。
|
9553
|
+
:rtype: str
|
9554
|
+
"""
|
9555
|
+
return self._Method
|
9556
|
+
|
9557
|
+
@Method.setter
|
9558
|
+
def Method(self, Method):
|
9559
|
+
self._Method = Method
|
9560
|
+
|
9561
|
+
@property
|
9562
|
+
def Key(self):
|
9563
|
+
"""秘钥。
|
9564
|
+
:rtype: str
|
9565
|
+
"""
|
9566
|
+
return self._Key
|
9567
|
+
|
9568
|
+
@Key.setter
|
9569
|
+
def Key(self, Key):
|
9570
|
+
self._Key = Key
|
9571
|
+
|
9572
|
+
|
9573
|
+
def _deserialize(self, params):
|
9574
|
+
self._Name = params.get("Name")
|
9575
|
+
self._Type = params.get("Type")
|
9576
|
+
self._Webhook = params.get("Webhook")
|
9577
|
+
self._Method = params.get("Method")
|
9578
|
+
self._Key = params.get("Key")
|
9579
|
+
memeber_set = set(params.keys())
|
9580
|
+
for name, value in vars(self).items():
|
9581
|
+
property_name = name[1:]
|
9582
|
+
if property_name in memeber_set:
|
9583
|
+
memeber_set.remove(property_name)
|
9584
|
+
if len(memeber_set) > 0:
|
9585
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9586
|
+
|
9587
|
+
|
9588
|
+
|
9589
|
+
class CreateWebCallbackResponse(AbstractModel):
|
9590
|
+
"""CreateWebCallback返回参数结构体
|
9591
|
+
|
9592
|
+
"""
|
9593
|
+
|
9594
|
+
def __init__(self):
|
9595
|
+
r"""
|
9596
|
+
:param _WebCallbackId: 回调配置ID。
|
9597
|
+
:type WebCallbackId: str
|
9598
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9599
|
+
:type RequestId: str
|
9600
|
+
"""
|
9601
|
+
self._WebCallbackId = None
|
9602
|
+
self._RequestId = None
|
9603
|
+
|
9604
|
+
@property
|
9605
|
+
def WebCallbackId(self):
|
9606
|
+
"""回调配置ID。
|
9607
|
+
:rtype: str
|
9608
|
+
"""
|
9609
|
+
return self._WebCallbackId
|
9610
|
+
|
9611
|
+
@WebCallbackId.setter
|
9612
|
+
def WebCallbackId(self, WebCallbackId):
|
9613
|
+
self._WebCallbackId = WebCallbackId
|
9614
|
+
|
9615
|
+
@property
|
9616
|
+
def RequestId(self):
|
9617
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9618
|
+
:rtype: str
|
9619
|
+
"""
|
9620
|
+
return self._RequestId
|
9621
|
+
|
9622
|
+
@RequestId.setter
|
9623
|
+
def RequestId(self, RequestId):
|
9624
|
+
self._RequestId = RequestId
|
9625
|
+
|
9626
|
+
|
9627
|
+
def _deserialize(self, params):
|
9628
|
+
self._WebCallbackId = params.get("WebCallbackId")
|
9629
|
+
self._RequestId = params.get("RequestId")
|
9630
|
+
|
9631
|
+
|
9487
9632
|
class CsvInfo(AbstractModel):
|
9488
9633
|
"""csv内容描述
|
9489
9634
|
|
@@ -11962,6 +12107,70 @@ class DeleteTopicResponse(AbstractModel):
|
|
11962
12107
|
self._RequestId = params.get("RequestId")
|
11963
12108
|
|
11964
12109
|
|
12110
|
+
class DeleteWebCallbackRequest(AbstractModel):
|
12111
|
+
"""DeleteWebCallback请求参数结构体
|
12112
|
+
|
12113
|
+
"""
|
12114
|
+
|
12115
|
+
def __init__(self):
|
12116
|
+
r"""
|
12117
|
+
:param _WebCallbackId: 告警渠道回调配置ID。
|
12118
|
+
:type WebCallbackId: str
|
12119
|
+
"""
|
12120
|
+
self._WebCallbackId = None
|
12121
|
+
|
12122
|
+
@property
|
12123
|
+
def WebCallbackId(self):
|
12124
|
+
"""告警渠道回调配置ID。
|
12125
|
+
:rtype: str
|
12126
|
+
"""
|
12127
|
+
return self._WebCallbackId
|
12128
|
+
|
12129
|
+
@WebCallbackId.setter
|
12130
|
+
def WebCallbackId(self, WebCallbackId):
|
12131
|
+
self._WebCallbackId = WebCallbackId
|
12132
|
+
|
12133
|
+
|
12134
|
+
def _deserialize(self, params):
|
12135
|
+
self._WebCallbackId = params.get("WebCallbackId")
|
12136
|
+
memeber_set = set(params.keys())
|
12137
|
+
for name, value in vars(self).items():
|
12138
|
+
property_name = name[1:]
|
12139
|
+
if property_name in memeber_set:
|
12140
|
+
memeber_set.remove(property_name)
|
12141
|
+
if len(memeber_set) > 0:
|
12142
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12143
|
+
|
12144
|
+
|
12145
|
+
|
12146
|
+
class DeleteWebCallbackResponse(AbstractModel):
|
12147
|
+
"""DeleteWebCallback返回参数结构体
|
12148
|
+
|
12149
|
+
"""
|
12150
|
+
|
12151
|
+
def __init__(self):
|
12152
|
+
r"""
|
12153
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12154
|
+
:type RequestId: str
|
12155
|
+
"""
|
12156
|
+
self._RequestId = None
|
12157
|
+
|
12158
|
+
@property
|
12159
|
+
def RequestId(self):
|
12160
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12161
|
+
:rtype: str
|
12162
|
+
"""
|
12163
|
+
return self._RequestId
|
12164
|
+
|
12165
|
+
@RequestId.setter
|
12166
|
+
def RequestId(self, RequestId):
|
12167
|
+
self._RequestId = RequestId
|
12168
|
+
|
12169
|
+
|
12170
|
+
def _deserialize(self, params):
|
12171
|
+
self._RequestId = params.get("RequestId")
|
12172
|
+
|
12173
|
+
|
11965
12174
|
class DeliverConfig(AbstractModel):
|
11966
12175
|
"""投递配置入参
|
11967
12176
|
|
@@ -16587,8 +16796,8 @@ class DescribeTopicsRequest(AbstractModel):
|
|
16587
16796
|
<li>3: topicName 和logsetName 都精确匹配</li></ul>
|
16588
16797
|
:type PreciseSearch: int
|
16589
16798
|
:param _BizType: 主题类型
|
16590
|
-
|
16591
|
-
|
16799
|
+
- 0:日志主题,默认值
|
16800
|
+
- 1:指标主题
|
16592
16801
|
:type BizType: int
|
16593
16802
|
"""
|
16594
16803
|
self._Filters = None
|
@@ -16655,8 +16864,8 @@ class DescribeTopicsRequest(AbstractModel):
|
|
16655
16864
|
@property
|
16656
16865
|
def BizType(self):
|
16657
16866
|
"""主题类型
|
16658
|
-
|
16659
|
-
|
16867
|
+
- 0:日志主题,默认值
|
16868
|
+
- 1:指标主题
|
16660
16869
|
:rtype: int
|
16661
16870
|
"""
|
16662
16871
|
return self._BizType
|
@@ -16750,34 +16959,196 @@ class DescribeTopicsResponse(AbstractModel):
|
|
16750
16959
|
self._RequestId = params.get("RequestId")
|
16751
16960
|
|
16752
16961
|
|
16753
|
-
class
|
16754
|
-
"""
|
16962
|
+
class DescribeWebCallbacksRequest(AbstractModel):
|
16963
|
+
"""DescribeWebCallbacks请求参数结构体
|
16755
16964
|
|
16756
16965
|
"""
|
16757
16966
|
|
16758
16967
|
def __init__(self):
|
16759
16968
|
r"""
|
16760
|
-
:param
|
16761
|
-
|
16762
|
-
|
16969
|
+
:param _Filters: <li> name
|
16970
|
+
按照【告警渠道回调配置名称】进行过滤。
|
16971
|
+
类型:String
|
16972
|
+
必选:否
|
16973
|
+
<li> webCallbackId
|
16974
|
+
按照【告警渠道回调配置ID】进行过滤。
|
16975
|
+
类型:String
|
16976
|
+
必选:否
|
16977
|
+
<li> type
|
16978
|
+
按照【告警渠道回调配置渠道类型】进行过滤。
|
16979
|
+
类型:String
|
16980
|
+
必选:否
|
16981
|
+
|
16982
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
16983
|
+
:type Filters: list of Filter
|
16984
|
+
:param _Offset: 分页的偏移量,默认值为0。
|
16985
|
+
:type Offset: int
|
16986
|
+
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
16987
|
+
:type Limit: int
|
16763
16988
|
"""
|
16764
|
-
self.
|
16989
|
+
self._Filters = None
|
16990
|
+
self._Offset = None
|
16991
|
+
self._Limit = None
|
16765
16992
|
|
16766
16993
|
@property
|
16767
|
-
def
|
16768
|
-
"""
|
16769
|
-
|
16770
|
-
|
16994
|
+
def Filters(self):
|
16995
|
+
"""<li> name
|
16996
|
+
按照【告警渠道回调配置名称】进行过滤。
|
16997
|
+
类型:String
|
16998
|
+
必选:否
|
16999
|
+
<li> webCallbackId
|
17000
|
+
按照【告警渠道回调配置ID】进行过滤。
|
17001
|
+
类型:String
|
17002
|
+
必选:否
|
17003
|
+
<li> type
|
17004
|
+
按照【告警渠道回调配置渠道类型】进行过滤。
|
17005
|
+
类型:String
|
17006
|
+
必选:否
|
17007
|
+
|
17008
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
17009
|
+
:rtype: list of Filter
|
16771
17010
|
"""
|
16772
|
-
return self.
|
17011
|
+
return self._Filters
|
16773
17012
|
|
16774
|
-
@
|
16775
|
-
def
|
16776
|
-
self.
|
17013
|
+
@Filters.setter
|
17014
|
+
def Filters(self, Filters):
|
17015
|
+
self._Filters = Filters
|
17016
|
+
|
17017
|
+
@property
|
17018
|
+
def Offset(self):
|
17019
|
+
"""分页的偏移量,默认值为0。
|
17020
|
+
:rtype: int
|
17021
|
+
"""
|
17022
|
+
return self._Offset
|
17023
|
+
|
17024
|
+
@Offset.setter
|
17025
|
+
def Offset(self, Offset):
|
17026
|
+
self._Offset = Offset
|
17027
|
+
|
17028
|
+
@property
|
17029
|
+
def Limit(self):
|
17030
|
+
"""分页单页限制数目,默认值为20,最大值100。
|
17031
|
+
:rtype: int
|
17032
|
+
"""
|
17033
|
+
return self._Limit
|
17034
|
+
|
17035
|
+
@Limit.setter
|
17036
|
+
def Limit(self, Limit):
|
17037
|
+
self._Limit = Limit
|
16777
17038
|
|
16778
17039
|
|
16779
17040
|
def _deserialize(self, params):
|
16780
|
-
|
17041
|
+
if params.get("Filters") is not None:
|
17042
|
+
self._Filters = []
|
17043
|
+
for item in params.get("Filters"):
|
17044
|
+
obj = Filter()
|
17045
|
+
obj._deserialize(item)
|
17046
|
+
self._Filters.append(obj)
|
17047
|
+
self._Offset = params.get("Offset")
|
17048
|
+
self._Limit = params.get("Limit")
|
17049
|
+
memeber_set = set(params.keys())
|
17050
|
+
for name, value in vars(self).items():
|
17051
|
+
property_name = name[1:]
|
17052
|
+
if property_name in memeber_set:
|
17053
|
+
memeber_set.remove(property_name)
|
17054
|
+
if len(memeber_set) > 0:
|
17055
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17056
|
+
|
17057
|
+
|
17058
|
+
|
17059
|
+
class DescribeWebCallbacksResponse(AbstractModel):
|
17060
|
+
"""DescribeWebCallbacks返回参数结构体
|
17061
|
+
|
17062
|
+
"""
|
17063
|
+
|
17064
|
+
def __init__(self):
|
17065
|
+
r"""
|
17066
|
+
:param _WebCallbacks: 告警渠道回调配置列表。
|
17067
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17068
|
+
:type WebCallbacks: list of WebCallbackInfo
|
17069
|
+
:param _TotalCount: 符合条件的通知内容配置总数。
|
17070
|
+
:type TotalCount: int
|
17071
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17072
|
+
:type RequestId: str
|
17073
|
+
"""
|
17074
|
+
self._WebCallbacks = None
|
17075
|
+
self._TotalCount = None
|
17076
|
+
self._RequestId = None
|
17077
|
+
|
17078
|
+
@property
|
17079
|
+
def WebCallbacks(self):
|
17080
|
+
"""告警渠道回调配置列表。
|
17081
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17082
|
+
:rtype: list of WebCallbackInfo
|
17083
|
+
"""
|
17084
|
+
return self._WebCallbacks
|
17085
|
+
|
17086
|
+
@WebCallbacks.setter
|
17087
|
+
def WebCallbacks(self, WebCallbacks):
|
17088
|
+
self._WebCallbacks = WebCallbacks
|
17089
|
+
|
17090
|
+
@property
|
17091
|
+
def TotalCount(self):
|
17092
|
+
"""符合条件的通知内容配置总数。
|
17093
|
+
:rtype: int
|
17094
|
+
"""
|
17095
|
+
return self._TotalCount
|
17096
|
+
|
17097
|
+
@TotalCount.setter
|
17098
|
+
def TotalCount(self, TotalCount):
|
17099
|
+
self._TotalCount = TotalCount
|
17100
|
+
|
17101
|
+
@property
|
17102
|
+
def RequestId(self):
|
17103
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17104
|
+
:rtype: str
|
17105
|
+
"""
|
17106
|
+
return self._RequestId
|
17107
|
+
|
17108
|
+
@RequestId.setter
|
17109
|
+
def RequestId(self, RequestId):
|
17110
|
+
self._RequestId = RequestId
|
17111
|
+
|
17112
|
+
|
17113
|
+
def _deserialize(self, params):
|
17114
|
+
if params.get("WebCallbacks") is not None:
|
17115
|
+
self._WebCallbacks = []
|
17116
|
+
for item in params.get("WebCallbacks"):
|
17117
|
+
obj = WebCallbackInfo()
|
17118
|
+
obj._deserialize(item)
|
17119
|
+
self._WebCallbacks.append(obj)
|
17120
|
+
self._TotalCount = params.get("TotalCount")
|
17121
|
+
self._RequestId = params.get("RequestId")
|
17122
|
+
|
17123
|
+
|
17124
|
+
class DynamicIndex(AbstractModel):
|
17125
|
+
"""键值索引自动配置,启用后自动将日志内的字段添加到键值索引中,包括日志中后续新增的字段。
|
17126
|
+
|
17127
|
+
"""
|
17128
|
+
|
17129
|
+
def __init__(self):
|
17130
|
+
r"""
|
17131
|
+
:param _Status: 键值索引自动配置开关
|
17132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17133
|
+
:type Status: bool
|
17134
|
+
"""
|
17135
|
+
self._Status = None
|
17136
|
+
|
17137
|
+
@property
|
17138
|
+
def Status(self):
|
17139
|
+
"""键值索引自动配置开关
|
17140
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17141
|
+
:rtype: bool
|
17142
|
+
"""
|
17143
|
+
return self._Status
|
17144
|
+
|
17145
|
+
@Status.setter
|
17146
|
+
def Status(self, Status):
|
17147
|
+
self._Status = Status
|
17148
|
+
|
17149
|
+
|
17150
|
+
def _deserialize(self, params):
|
17151
|
+
self._Status = params.get("Status")
|
16781
17152
|
memeber_set = set(params.keys())
|
16782
17153
|
for name, value in vars(self).items():
|
16783
17154
|
property_name = name[1:]
|
@@ -24716,6 +25087,157 @@ class ModifyTopicResponse(AbstractModel):
|
|
24716
25087
|
self._RequestId = params.get("RequestId")
|
24717
25088
|
|
24718
25089
|
|
25090
|
+
class ModifyWebCallbackRequest(AbstractModel):
|
25091
|
+
"""ModifyWebCallback请求参数结构体
|
25092
|
+
|
25093
|
+
"""
|
25094
|
+
|
25095
|
+
def __init__(self):
|
25096
|
+
r"""
|
25097
|
+
:param _WebCallbackId: 告警渠道回调配置ID。
|
25098
|
+
:type WebCallbackId: str
|
25099
|
+
:param _Name: 告警渠道回调配置名称。
|
25100
|
+
:type Name: str
|
25101
|
+
:param _Type: 渠道类型
|
25102
|
+
|
25103
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
25104
|
+
:type Type: str
|
25105
|
+
:param _Webhook: 回调地址。
|
25106
|
+
:type Webhook: str
|
25107
|
+
:param _Method: 请求方式。
|
25108
|
+
|
25109
|
+
支持POST、PUT。
|
25110
|
+
|
25111
|
+
注意:当Type为Http时,必填。
|
25112
|
+
:type Method: str
|
25113
|
+
:param _Key: 秘钥信息。
|
25114
|
+
:type Key: str
|
25115
|
+
"""
|
25116
|
+
self._WebCallbackId = None
|
25117
|
+
self._Name = None
|
25118
|
+
self._Type = None
|
25119
|
+
self._Webhook = None
|
25120
|
+
self._Method = None
|
25121
|
+
self._Key = None
|
25122
|
+
|
25123
|
+
@property
|
25124
|
+
def WebCallbackId(self):
|
25125
|
+
"""告警渠道回调配置ID。
|
25126
|
+
:rtype: str
|
25127
|
+
"""
|
25128
|
+
return self._WebCallbackId
|
25129
|
+
|
25130
|
+
@WebCallbackId.setter
|
25131
|
+
def WebCallbackId(self, WebCallbackId):
|
25132
|
+
self._WebCallbackId = WebCallbackId
|
25133
|
+
|
25134
|
+
@property
|
25135
|
+
def Name(self):
|
25136
|
+
"""告警渠道回调配置名称。
|
25137
|
+
:rtype: str
|
25138
|
+
"""
|
25139
|
+
return self._Name
|
25140
|
+
|
25141
|
+
@Name.setter
|
25142
|
+
def Name(self, Name):
|
25143
|
+
self._Name = Name
|
25144
|
+
|
25145
|
+
@property
|
25146
|
+
def Type(self):
|
25147
|
+
"""渠道类型
|
25148
|
+
|
25149
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
25150
|
+
:rtype: str
|
25151
|
+
"""
|
25152
|
+
return self._Type
|
25153
|
+
|
25154
|
+
@Type.setter
|
25155
|
+
def Type(self, Type):
|
25156
|
+
self._Type = Type
|
25157
|
+
|
25158
|
+
@property
|
25159
|
+
def Webhook(self):
|
25160
|
+
"""回调地址。
|
25161
|
+
:rtype: str
|
25162
|
+
"""
|
25163
|
+
return self._Webhook
|
25164
|
+
|
25165
|
+
@Webhook.setter
|
25166
|
+
def Webhook(self, Webhook):
|
25167
|
+
self._Webhook = Webhook
|
25168
|
+
|
25169
|
+
@property
|
25170
|
+
def Method(self):
|
25171
|
+
"""请求方式。
|
25172
|
+
|
25173
|
+
支持POST、PUT。
|
25174
|
+
|
25175
|
+
注意:当Type为Http时,必填。
|
25176
|
+
:rtype: str
|
25177
|
+
"""
|
25178
|
+
return self._Method
|
25179
|
+
|
25180
|
+
@Method.setter
|
25181
|
+
def Method(self, Method):
|
25182
|
+
self._Method = Method
|
25183
|
+
|
25184
|
+
@property
|
25185
|
+
def Key(self):
|
25186
|
+
"""秘钥信息。
|
25187
|
+
:rtype: str
|
25188
|
+
"""
|
25189
|
+
return self._Key
|
25190
|
+
|
25191
|
+
@Key.setter
|
25192
|
+
def Key(self, Key):
|
25193
|
+
self._Key = Key
|
25194
|
+
|
25195
|
+
|
25196
|
+
def _deserialize(self, params):
|
25197
|
+
self._WebCallbackId = params.get("WebCallbackId")
|
25198
|
+
self._Name = params.get("Name")
|
25199
|
+
self._Type = params.get("Type")
|
25200
|
+
self._Webhook = params.get("Webhook")
|
25201
|
+
self._Method = params.get("Method")
|
25202
|
+
self._Key = params.get("Key")
|
25203
|
+
memeber_set = set(params.keys())
|
25204
|
+
for name, value in vars(self).items():
|
25205
|
+
property_name = name[1:]
|
25206
|
+
if property_name in memeber_set:
|
25207
|
+
memeber_set.remove(property_name)
|
25208
|
+
if len(memeber_set) > 0:
|
25209
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25210
|
+
|
25211
|
+
|
25212
|
+
|
25213
|
+
class ModifyWebCallbackResponse(AbstractModel):
|
25214
|
+
"""ModifyWebCallback返回参数结构体
|
25215
|
+
|
25216
|
+
"""
|
25217
|
+
|
25218
|
+
def __init__(self):
|
25219
|
+
r"""
|
25220
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25221
|
+
:type RequestId: str
|
25222
|
+
"""
|
25223
|
+
self._RequestId = None
|
25224
|
+
|
25225
|
+
@property
|
25226
|
+
def RequestId(self):
|
25227
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25228
|
+
:rtype: str
|
25229
|
+
"""
|
25230
|
+
return self._RequestId
|
25231
|
+
|
25232
|
+
@RequestId.setter
|
25233
|
+
def RequestId(self, RequestId):
|
25234
|
+
self._RequestId = RequestId
|
25235
|
+
|
25236
|
+
|
25237
|
+
def _deserialize(self, params):
|
25238
|
+
self._RequestId = params.get("RequestId")
|
25239
|
+
|
25240
|
+
|
24719
25241
|
class MonitorTime(AbstractModel):
|
24720
25242
|
"""告警策略中监控任务的执行时间点
|
24721
25243
|
|
@@ -27920,7 +28442,7 @@ class SearchLogRequest(AbstractModel):
|
|
27920
28442
|
- 如需同时检索多个日志主题,请使用Topics参数。
|
27921
28443
|
- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
27922
28444
|
:type TopicId: str
|
27923
|
-
:param _Topics: - 要检索分析的日志主题列表,最大支持
|
28445
|
+
:param _Topics: - 要检索分析的日志主题列表,最大支持50个日志主题。
|
27924
28446
|
- 检索单个日志主题时请使用TopicId。
|
27925
28447
|
- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
27926
28448
|
:type Topics: list of MultiTopicSearchInformation
|
@@ -28040,7 +28562,7 @@ class SearchLogRequest(AbstractModel):
|
|
28040
28562
|
|
28041
28563
|
@property
|
28042
28564
|
def Topics(self):
|
28043
|
-
"""- 要检索分析的日志主题列表,最大支持
|
28565
|
+
"""- 要检索分析的日志主题列表,最大支持50个日志主题。
|
28044
28566
|
- 检索单个日志主题时请使用TopicId。
|
28045
28567
|
- TopicId 和 Topics 不能同时使用,在一次请求中有且只能选择一个。
|
28046
28568
|
:rtype: list of MultiTopicSearchInformation
|
@@ -30115,4 +30637,199 @@ class WebCallback(AbstractModel):
|
|
30115
30637
|
memeber_set.remove(property_name)
|
30116
30638
|
if len(memeber_set) > 0:
|
30117
30639
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
30640
|
+
|
30641
|
+
|
30642
|
+
|
30643
|
+
class WebCallbackInfo(AbstractModel):
|
30644
|
+
"""告警渠道回调配置信息
|
30645
|
+
|
30646
|
+
"""
|
30647
|
+
|
30648
|
+
def __init__(self):
|
30649
|
+
r"""
|
30650
|
+
:param _WebCallbackId: 告警渠道回调配置id。
|
30651
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30652
|
+
:type WebCallbackId: str
|
30653
|
+
:param _Name: 告警渠道回调配置名称。
|
30654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30655
|
+
:type Name: str
|
30656
|
+
:param _Type: 渠道类型
|
30657
|
+
|
30658
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30659
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30660
|
+
:type Type: str
|
30661
|
+
:param _Webhook: 回调地址。
|
30662
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30663
|
+
:type Webhook: str
|
30664
|
+
:param _Method: 请求方式。
|
30665
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30666
|
+
:type Method: str
|
30667
|
+
:param _Key: 秘钥信息。
|
30668
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30669
|
+
:type Key: str
|
30670
|
+
:param _Uin: 主账号。
|
30671
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30672
|
+
:type Uin: int
|
30673
|
+
:param _SubUin: 子账号。
|
30674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30675
|
+
:type SubUin: int
|
30676
|
+
:param _CreateTime: 创建时间。秒级时间戳
|
30677
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30678
|
+
:type CreateTime: int
|
30679
|
+
:param _UpdateTime: 更新时间。秒级时间戳
|
30680
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30681
|
+
:type UpdateTime: int
|
30682
|
+
"""
|
30683
|
+
self._WebCallbackId = None
|
30684
|
+
self._Name = None
|
30685
|
+
self._Type = None
|
30686
|
+
self._Webhook = None
|
30687
|
+
self._Method = None
|
30688
|
+
self._Key = None
|
30689
|
+
self._Uin = None
|
30690
|
+
self._SubUin = None
|
30691
|
+
self._CreateTime = None
|
30692
|
+
self._UpdateTime = None
|
30693
|
+
|
30694
|
+
@property
|
30695
|
+
def WebCallbackId(self):
|
30696
|
+
"""告警渠道回调配置id。
|
30697
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30698
|
+
:rtype: str
|
30699
|
+
"""
|
30700
|
+
return self._WebCallbackId
|
30701
|
+
|
30702
|
+
@WebCallbackId.setter
|
30703
|
+
def WebCallbackId(self, WebCallbackId):
|
30704
|
+
self._WebCallbackId = WebCallbackId
|
30705
|
+
|
30706
|
+
@property
|
30707
|
+
def Name(self):
|
30708
|
+
"""告警渠道回调配置名称。
|
30709
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30710
|
+
:rtype: str
|
30711
|
+
"""
|
30712
|
+
return self._Name
|
30713
|
+
|
30714
|
+
@Name.setter
|
30715
|
+
def Name(self, Name):
|
30716
|
+
self._Name = Name
|
30717
|
+
|
30718
|
+
@property
|
30719
|
+
def Type(self):
|
30720
|
+
"""渠道类型
|
30721
|
+
|
30722
|
+
WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
|
30723
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30724
|
+
:rtype: str
|
30725
|
+
"""
|
30726
|
+
return self._Type
|
30727
|
+
|
30728
|
+
@Type.setter
|
30729
|
+
def Type(self, Type):
|
30730
|
+
self._Type = Type
|
30731
|
+
|
30732
|
+
@property
|
30733
|
+
def Webhook(self):
|
30734
|
+
"""回调地址。
|
30735
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30736
|
+
:rtype: str
|
30737
|
+
"""
|
30738
|
+
return self._Webhook
|
30739
|
+
|
30740
|
+
@Webhook.setter
|
30741
|
+
def Webhook(self, Webhook):
|
30742
|
+
self._Webhook = Webhook
|
30743
|
+
|
30744
|
+
@property
|
30745
|
+
def Method(self):
|
30746
|
+
"""请求方式。
|
30747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30748
|
+
:rtype: str
|
30749
|
+
"""
|
30750
|
+
return self._Method
|
30751
|
+
|
30752
|
+
@Method.setter
|
30753
|
+
def Method(self, Method):
|
30754
|
+
self._Method = Method
|
30755
|
+
|
30756
|
+
@property
|
30757
|
+
def Key(self):
|
30758
|
+
"""秘钥信息。
|
30759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30760
|
+
:rtype: str
|
30761
|
+
"""
|
30762
|
+
return self._Key
|
30763
|
+
|
30764
|
+
@Key.setter
|
30765
|
+
def Key(self, Key):
|
30766
|
+
self._Key = Key
|
30767
|
+
|
30768
|
+
@property
|
30769
|
+
def Uin(self):
|
30770
|
+
"""主账号。
|
30771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30772
|
+
:rtype: int
|
30773
|
+
"""
|
30774
|
+
return self._Uin
|
30775
|
+
|
30776
|
+
@Uin.setter
|
30777
|
+
def Uin(self, Uin):
|
30778
|
+
self._Uin = Uin
|
30779
|
+
|
30780
|
+
@property
|
30781
|
+
def SubUin(self):
|
30782
|
+
"""子账号。
|
30783
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30784
|
+
:rtype: int
|
30785
|
+
"""
|
30786
|
+
return self._SubUin
|
30787
|
+
|
30788
|
+
@SubUin.setter
|
30789
|
+
def SubUin(self, SubUin):
|
30790
|
+
self._SubUin = SubUin
|
30791
|
+
|
30792
|
+
@property
|
30793
|
+
def CreateTime(self):
|
30794
|
+
"""创建时间。秒级时间戳
|
30795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30796
|
+
:rtype: int
|
30797
|
+
"""
|
30798
|
+
return self._CreateTime
|
30799
|
+
|
30800
|
+
@CreateTime.setter
|
30801
|
+
def CreateTime(self, CreateTime):
|
30802
|
+
self._CreateTime = CreateTime
|
30803
|
+
|
30804
|
+
@property
|
30805
|
+
def UpdateTime(self):
|
30806
|
+
"""更新时间。秒级时间戳
|
30807
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
30808
|
+
:rtype: int
|
30809
|
+
"""
|
30810
|
+
return self._UpdateTime
|
30811
|
+
|
30812
|
+
@UpdateTime.setter
|
30813
|
+
def UpdateTime(self, UpdateTime):
|
30814
|
+
self._UpdateTime = UpdateTime
|
30815
|
+
|
30816
|
+
|
30817
|
+
def _deserialize(self, params):
|
30818
|
+
self._WebCallbackId = params.get("WebCallbackId")
|
30819
|
+
self._Name = params.get("Name")
|
30820
|
+
self._Type = params.get("Type")
|
30821
|
+
self._Webhook = params.get("Webhook")
|
30822
|
+
self._Method = params.get("Method")
|
30823
|
+
self._Key = params.get("Key")
|
30824
|
+
self._Uin = params.get("Uin")
|
30825
|
+
self._SubUin = params.get("SubUin")
|
30826
|
+
self._CreateTime = params.get("CreateTime")
|
30827
|
+
self._UpdateTime = params.get("UpdateTime")
|
30828
|
+
memeber_set = set(params.keys())
|
30829
|
+
for name, value in vars(self).items():
|
30830
|
+
property_name = name[1:]
|
30831
|
+
if property_name in memeber_set:
|
30832
|
+
memeber_set.remove(property_name)
|
30833
|
+
if len(memeber_set) > 0:
|
30834
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
30118
30835
|
|