tccli 3.0.1387.1__py2.py3-none-any.whl → 3.0.1389.1__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.
- tccli/__init__.py +1 -1
- tccli/services/bi/v20220105/api.json +8 -8
- tccli/services/bi/v20220105/examples.json +4 -4
- tccli/services/cdc/v20201214/api.json +1 -1
- tccli/services/cdc/v20201214/examples.json +2 -2
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/chc/v20230418/api.json +69 -1
- tccli/services/ckafka/v20190819/api.json +112 -103
- tccli/services/ckafka/v20190819/examples.json +7 -7
- tccli/services/cls/v20201016/api.json +81 -4
- tccli/services/cls/v20201016/examples.json +1 -1
- tccli/services/ctem/v20231128/api.json +40 -0
- tccli/services/dc/v20180410/api.json +26 -6
- tccli/services/dts/v20211206/api.json +6 -6
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +172 -11
- tccli/services/es/v20180416/api.json +4 -4
- tccli/services/es/v20250101/api.json +119 -8
- tccli/services/ess/v20201111/api.json +30 -1
- tccli/services/essbasic/v20210526/api.json +21 -3
- tccli/services/gme/gme_client.py +509 -32
- tccli/services/gme/v20180711/api.json +1172 -46
- tccli/services/gme/v20180711/examples.json +72 -0
- tccli/services/hunyuan/v20230901/api.json +18 -0
- tccli/services/ioa/v20220601/api.json +44 -8
- tccli/services/ioa/v20220601/examples.json +4 -4
- tccli/services/iotexplorer/iotexplorer_client.py +432 -8
- tccli/services/iotexplorer/v20190423/api.json +979 -43
- tccli/services/iotexplorer/v20190423/examples.json +64 -0
- tccli/services/lighthouse/v20200324/api.json +18 -0
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/lkeap/v20240522/api.json +18 -0
- tccli/services/mqtt/v20240516/api.json +89 -0
- tccli/services/ocr/ocr_client.py +114 -8
- tccli/services/ocr/v20181119/api.json +225 -0
- tccli/services/ocr/v20181119/examples.json +28 -0
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/thpc/v20230321/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +9 -9
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/wsa/v20250508/api.json +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1387.1.dist-info → tccli-3.0.1389.1.dist-info}/license_files/LICENSE +0 -0
@@ -27,8 +27,8 @@
|
|
27
27
|
"BatchModifyTopicAttributes": [
|
28
28
|
{
|
29
29
|
"document": "批量设置主题属性",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-
|
31
|
-
"output": "{\n \"Response\": {\n \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchModifyTopicAttributes\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-o99zq5mv\",\n \"Topic\": [\n {\n \"TopicName\": \"test_leader\",\n \"RetentionMs\": 3600000,\n \"SegmentMs\": 86400000,\n \"MaxMessageBytes\": 1024,\n \"RetentionBytes\": 1099511627776,\n \"LogMsgTimestampType\": null\n }\n ]\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cb00bc01-cda1-40b9-9c39-edad90b802d6\",\n \"Result\": [\n {\n \"InstanceId\": \"ckafka-o99zq5mv\",\n \"Message\": \"ok[apply success]\",\n \"ReturnCode\": \"0\",\n \"TopicName\": \"test_leader\"\n }\n ]\n }\n}",
|
32
32
|
"title": "批量设置主题属性"
|
33
33
|
}
|
34
34
|
],
|
@@ -147,7 +147,7 @@
|
|
147
147
|
"CreatePostPaidInstance": [
|
148
148
|
{
|
149
149
|
"document": "创建硬盘大小 200GB,峰值带宽 20MB/s 的专业版后付费实例",
|
150
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePostPaidInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"test55\",\n \"VpcId\": \"vpc-rmcgxxxx\",\n \"SubnetId\": \"subnet-mnzcxxxx\",\n \"ZoneId\": 450001,\n \"InstanceType\": 1,\n \"KafkaVersion\": \"
|
150
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePostPaidInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"test55\",\n \"VpcId\": \"vpc-rmcgxxxx\",\n \"SubnetId\": \"subnet-mnzcxxxx\",\n \"ZoneId\": 450001,\n \"InstanceType\": 1,\n \"KafkaVersion\": \"2.4.2\",\n \"SpecificationsType\": \"profession\",\n \"DiskSize\": 200,\n \"BandWidth\": 20,\n \"Partition\": 400,\n \"DiskType\": \"CLOUD_BASIC\",\n \"PublicNetworkMonthly\": 0\n}",
|
151
151
|
"output": "{\n \"Response\": {\n \"RequestId\": \"323c3bbe-db79-48c3-9b76-63aacd65b169\",\n \"Result\": {\n \"Data\": {\n \"DealNameInstanceIdMapping\": [\n {\n \"DealName\": \"20230608002033899990000\",\n \"InstanceIdList\": [\n \"ckafka-mom5xxxx\"\n ]\n }\n ],\n \"DealNames\": [\n \"2023060800203389990000\"\n ],\n \"FlowId\": 0,\n \"InstanceId\": \"ckafka-mom5xxxx\"\n },\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply ok]\"\n }\n }\n}",
|
152
152
|
"title": "创建后付费专业版实例"
|
153
153
|
},
|
@@ -159,7 +159,7 @@
|
|
159
159
|
},
|
160
160
|
{
|
161
161
|
"document": "创建一个三可用区的专业版实例",
|
162
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePostPaidInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"test55\",\n \"VpcId\": \"vpc-rmcgxxxx\",\n \"SubnetId\": \"subnet-mnzcxxxx\",\n \"ZoneId\": 450001,\n \"InstanceType\": 1,\n \"KafkaVersion\": \"
|
162
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePostPaidInstance\n<公共请求参数>\n\n{\n \"InstanceName\": \"test55\",\n \"VpcId\": \"vpc-rmcgxxxx\",\n \"SubnetId\": \"subnet-mnzcxxxx\",\n \"ZoneId\": 450001,\n \"InstanceType\": 1,\n \"KafkaVersion\": \"2.4.2\",\n \"SpecificationsType\": \"profession\",\n \"DiskSize\": 200,\n \"BandWidth\": 20,\n \"Partition\": 400,\n \"DiskType\": \"CLOUD_BASIC\",\n \"PublicNetworkMonthly\": 0,\n \"MultiZoneFlag\": true,\n \"ZoneIds\": [\n 450001,\n 450002,\n 450003\n ]\n}",
|
163
163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"323c3bbe-db79-48c3-9b76-63aacd65b169\",\n \"Result\": {\n \"Data\": {\n \"DealNameInstanceIdMapping\": [\n {\n \"DealName\": \"20230608002033899990000\",\n \"InstanceIdList\": [\n \"ckafka-mom5xxxx\"\n ]\n }\n ],\n \"DealNames\": [\n \"2023060800203389990000\"\n ],\n \"FlowId\": 0,\n \"InstanceId\": \"ckafka-mom5xxxx\"\n },\n \"ReturnCode\": \"0\",\n \"ReturnMessage\": \"ok[apply ok]\"\n }\n }\n}",
|
164
164
|
"title": "创建后付费多可用区专业版实例"
|
165
165
|
}
|
@@ -359,7 +359,7 @@
|
|
359
359
|
"DescribeConnectResources": [
|
360
360
|
{
|
361
361
|
"document": "查询Datahub连接源列表",
|
362
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConnectResources\n<公共请求参数>\n\n{\n \"Limit\":
|
362
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConnectResources\n<公共请求参数>\n\n{\n \"Limit\": 20,\n \"Type\": \"KAFKA\",\n \"SearchWord\": \"mytest\",\n \"Offset\": 0\n}",
|
363
363
|
"output": "{\n \"Response\": {\n \"Result\": {\n \"TotalCount\": 1,\n \"ConnectResourceList\": [\n {\n \"ResourceId\": \"resource-y9v8e3bl\",\n \"ResourceName\": \"mytest\",\n \"Description\": \"\",\n \"Status\": 1,\n \"CreateTime\": \"2024-12-04 16:21:08\",\n \"ErrorMessage\": \"RUNNING\",\n \"CurrentStep\": \"FINISH\",\n \"DatahubTaskCount\": 0,\n \"TaskProgress\": 36,\n \"StepList\": [\n \"WAIT_CREATE_PRIVATELINK\",\n \"WAIT_CONNECT_PORT\",\n \"WAIT_CONNECT_RESOURCE\"\n ],\n \"Type\": \"KAFKA\",\n \"MongoDBConnectParam\": null,\n \"EsConnectParam\": null,\n \"ClickHouseConnectParam\": null,\n \"DtsConnectParam\": null,\n \"MySQLConnectParam\": null,\n \"MqttConnectParam\": null,\n \"PostgreSQLConnectParam\": null,\n \"MariaDBConnectParam\": null,\n \"SQLServerConnectParam\": null,\n \"CtsdbConnectParam\": null,\n \"DorisConnectParam\": null,\n \"KafkaConnectParam\": {\n \"Region\": \"ap-guangzhou\",\n \"BrokerAddress\": \"11.135.14.76:8568\",\n \"SelfBuilt\": false,\n \"Resource\": \"ckafka-wdvgwwx2\",\n \"IsUpdate\": null\n }\n }\n ]\n },\n \"RequestId\": \"21de50a2-3626-4194-a60b-0741e396f368\"\n }\n}",
|
364
364
|
"title": "查询Datahub连接源列表"
|
365
365
|
}
|
@@ -472,7 +472,7 @@
|
|
472
472
|
{
|
473
473
|
"document": "",
|
474
474
|
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheus\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-test\"\n}",
|
475
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Type\": \"
|
475
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"Type\": \"JmxExport\",\n \"SourceIp\": \"10.0.0.5\",\n \"SourcePort\": 9090,\n \"BrokerIp\": \"10.0.0.30\",\n \"VpcId\": \"vpc-test\",\n \"SubnetId\": \"subnet-test\"\n }\n ],\n \"RequestId\": \"d173b4fb-c6d0-4507-a822-b6f277fc4016\"\n }\n}",
|
476
476
|
"title": "获取实例Prometheus信息"
|
477
477
|
}
|
478
478
|
],
|
@@ -631,7 +631,7 @@
|
|
631
631
|
"InstanceScalingDown": [
|
632
632
|
{
|
633
633
|
"document": "实例缩容",
|
634
|
-
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstanceScalingDown\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
634
|
+
"input": "POST / HTTP/1.1\nHost: ckafka.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstanceScalingDown\n<公共请求参数>\n\n{\n \"InstanceId\": \"ckafka-test\",\n \"DiskSize\": 900,\n \"BandWidth\": 40,\n \"Partition\": 1000,\n \"UpgradeStrategy\": 1\n}",
|
635
635
|
"output": "{\n \"Response\": {\n \"Result\": {\n \"DealNames\": [\n \"20230703002035272950891\"\n ]\n },\n \"RequestId\": \"f47ac10b-58cc-4372-a567-0e02b2c3d479\"\n }\n}",
|
636
636
|
"title": "实例缩容"
|
637
637
|
}
|
@@ -1000,7 +1000,7 @@
|
|
1000
1000
|
},
|
1001
1001
|
{
|
1002
1002
|
"disabled": false,
|
1003
|
-
"document": "
|
1003
|
+
"document": "关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥",
|
1004
1004
|
"example": "[\"notice-b388dc72-****-****-9dbb-7d05fdff0376\"]",
|
1005
1005
|
"member": "string",
|
1006
1006
|
"name": "AlarmNoticeIds",
|
@@ -1147,6 +1147,16 @@
|
|
1147
1147
|
"output_required": false,
|
1148
1148
|
"type": "list",
|
1149
1149
|
"value_allowed_null": false
|
1150
|
+
},
|
1151
|
+
{
|
1152
|
+
"disabled": false,
|
1153
|
+
"document": "云监控通知渠道相关信息,和AlarmNoticeIds互斥",
|
1154
|
+
"example": "无",
|
1155
|
+
"member": "MonitorNotice",
|
1156
|
+
"name": "MonitorNotice",
|
1157
|
+
"output_required": false,
|
1158
|
+
"type": "object",
|
1159
|
+
"value_allowed_null": false
|
1150
1160
|
}
|
1151
1161
|
],
|
1152
1162
|
"usage": "out"
|
@@ -1824,6 +1834,17 @@
|
|
1824
1834
|
"required": false,
|
1825
1835
|
"type": "int",
|
1826
1836
|
"value_allowed_null": false
|
1837
|
+
},
|
1838
|
+
{
|
1839
|
+
"disabled": false,
|
1840
|
+
"document": "通知渠道类型,0默认代表cls内部通知渠道,1代表云监控通知渠道",
|
1841
|
+
"example": "0",
|
1842
|
+
"member": "uint64",
|
1843
|
+
"name": "SendType",
|
1844
|
+
"output_required": false,
|
1845
|
+
"required": false,
|
1846
|
+
"type": "int",
|
1847
|
+
"value_allowed_null": false
|
1827
1848
|
}
|
1828
1849
|
],
|
1829
1850
|
"usage": "both"
|
@@ -3737,11 +3758,11 @@
|
|
3737
3758
|
},
|
3738
3759
|
{
|
3739
3760
|
"disabled": false,
|
3740
|
-
"document": "关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)
|
3761
|
+
"document": "关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥",
|
3741
3762
|
"example": "[\"notice-b02af159-f67b-44c3-877c-a55343f874c3\"]",
|
3742
3763
|
"member": "string",
|
3743
3764
|
"name": "AlarmNoticeIds",
|
3744
|
-
"required":
|
3765
|
+
"required": false,
|
3745
3766
|
"type": "list"
|
3746
3767
|
},
|
3747
3768
|
{
|
@@ -11929,7 +11950,7 @@
|
|
11929
11950
|
},
|
11930
11951
|
{
|
11931
11952
|
"disabled": false,
|
11932
|
-
"document": "
|
11953
|
+
"document": "关联的告警通知渠道组列表。-通过[获取通知渠道组列表](https://cloud.tencent.com/document/product/614/56462)获取关联的告警通知渠道组列表,和MonitorNotice互斥",
|
11933
11954
|
"example": "[\"notice-479dec34-4a59-11eb-b378-0242ac130002\"]",
|
11934
11955
|
"member": "string",
|
11935
11956
|
"name": "AlarmNoticeIds",
|
@@ -13751,6 +13772,62 @@
|
|
13751
13772
|
],
|
13752
13773
|
"type": "object"
|
13753
13774
|
},
|
13775
|
+
"MonitorNotice": {
|
13776
|
+
"document": "提供多个Notice信息",
|
13777
|
+
"members": [
|
13778
|
+
{
|
13779
|
+
"disabled": false,
|
13780
|
+
"document": "以数组的形式提供MonitorNoticeRule",
|
13781
|
+
"example": "无",
|
13782
|
+
"member": "MonitorNoticeRule",
|
13783
|
+
"name": "Notices",
|
13784
|
+
"output_required": false,
|
13785
|
+
"required": false,
|
13786
|
+
"type": "list",
|
13787
|
+
"value_allowed_null": false
|
13788
|
+
}
|
13789
|
+
],
|
13790
|
+
"usage": "both"
|
13791
|
+
},
|
13792
|
+
"MonitorNoticeRule": {
|
13793
|
+
"document": "云监控通知渠道组信息",
|
13794
|
+
"members": [
|
13795
|
+
{
|
13796
|
+
"disabled": false,
|
13797
|
+
"document": "云监控通知模版ID",
|
13798
|
+
"example": "notice-erictest",
|
13799
|
+
"member": "string",
|
13800
|
+
"name": "NoticeId",
|
13801
|
+
"output_required": false,
|
13802
|
+
"required": false,
|
13803
|
+
"type": "string",
|
13804
|
+
"value_allowed_null": false
|
13805
|
+
},
|
13806
|
+
{
|
13807
|
+
"disabled": false,
|
13808
|
+
"document": "云监控内容模版ID,不传默认内容模版\n注意:此字段可能返回 null,表示取不到有效值。",
|
13809
|
+
"example": "tmpl-erictest",
|
13810
|
+
"member": "string",
|
13811
|
+
"name": "ContentTmplId",
|
13812
|
+
"output_required": false,
|
13813
|
+
"required": false,
|
13814
|
+
"type": "string",
|
13815
|
+
"value_allowed_null": true
|
13816
|
+
},
|
13817
|
+
{
|
13818
|
+
"disabled": false,
|
13819
|
+
"document": "告警级别,0:警告(Warn); 1:提醒(Info); 2:紧急 (Critical)",
|
13820
|
+
"example": "[0,1]",
|
13821
|
+
"member": "uint64",
|
13822
|
+
"name": "AlarmLevels",
|
13823
|
+
"output_required": false,
|
13824
|
+
"required": false,
|
13825
|
+
"type": "list",
|
13826
|
+
"value_allowed_null": false
|
13827
|
+
}
|
13828
|
+
],
|
13829
|
+
"usage": "both"
|
13830
|
+
},
|
13754
13831
|
"MonitorTime": {
|
13755
13832
|
"document": "告警策略中监控任务的执行时间点",
|
13756
13833
|
"members": [
|
@@ -458,7 +458,7 @@
|
|
458
458
|
{
|
459
459
|
"document": "查询指定时间段内尚未恢复的告警",
|
460
460
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAlertRecordHistory\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 20,\n \"From\": 1681401600000,\n \"To\": 1681487999999,\n \"Filters\": [\n {\n \"Key\": \"status\",\n \"Values\": [\n \"0\"\n ]\n }\n ]\n}",
|
461
|
-
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"RecordId\": \"977c26df-d47f-404c-b0d2-c9ccd73f1407\",\n \"AlarmId\": \"alarm-98ba728c-3888-4049-b510-20e26de53894\",\n \"AlarmName\": \"TKE Demo事件日志告警策略_100001001014\",\n \"TopicId\": \"0337bf0c-7a38-456a-bd59-ba2feaa55195\",\n \"TopicName\": \"TKE Demo事件日志日志主题_100001001014\",\n \"Region\": \"ap-chongqing\",\n \"Trigger\": \"$1.Warning事件数 > 0\",\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 15,\n \"Notices\": [\n {\n \"Name\": \"TKE Demo事件日志通知渠道组_100001001014\",\n \"AlarmNoticeId\": \"notice-117dbad3-cc1b-4455-b112-76b0658dddc2\"\n }\n ],\n \"Duration\": 90,\n \"Status\": 0,\n \"CreateTime\": 1681439122000,\n \"AlarmLevel\": 0,\n \"MonitorObjectType\": 0,\n \"GroupTriggerCondition\": []\n },\n {\n \"RecordId\": \"1be40239-505f-4f1a-a6aa-4b71a9757d8a\",\n \"AlarmId\": \"alarm-7be9386d-01e9-4b8b-a54e-fe00f6b15b1d\",\n \"AlarmName\": \"TKE Demo审计日志告警策略_100001001014\",\n \"TopicId\": \"6a4adc63-d145-4da4-a0e7-72bb1a9f8fcd\",\n \"TopicName\": \"TKE Demo审计日志日志主题_100001001014\",\n \"Region\": \"ap-chongqing\",\n \"Trigger\": \"$1.操作次数 >10\",\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 15,\n \"Notices\": [\n {\n \"Name\": \"TKE Demo审计日志通知渠道组_100001001014\",\n \"AlarmNoticeId\": \"notice-f7d09113-b870-4f98-b99d-38d8ecf5393b\"\n }\n ],\n \"Duration\": 90,\n \"Status\": 0,\n \"CreateTime\": 1681438941000,\n \"AlarmLevel\": 0,\n \"MonitorObjectType\": 0,\n \"GroupTriggerCondition\": []\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"431449a5-95ab-4168-9a0e-7db48692d917\"\n }\n}",
|
461
|
+
"output": "{\n \"Response\": {\n \"Records\": [\n {\n \"RecordId\": \"977c26df-d47f-404c-b0d2-c9ccd73f1407\",\n \"AlarmId\": \"alarm-98ba728c-3888-4049-b510-20e26de53894\",\n \"AlarmName\": \"TKE Demo事件日志告警策略_100001001014\",\n \"TopicId\": \"0337bf0c-7a38-456a-bd59-ba2feaa55195\",\n \"TopicName\": \"TKE Demo事件日志日志主题_100001001014\",\n \"Region\": \"ap-chongqing\",\n \"Trigger\": \"$1.Warning事件数 > 0\",\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 15,\n \"Notices\": [\n {\n \"Name\": \"TKE Demo事件日志通知渠道组_100001001014\",\n \"AlarmNoticeId\": \"notice-117dbad3-cc1b-4455-b112-76b0658dddc2\"\n }\n ],\n \"Duration\": 90,\n \"Status\": 0,\n \"CreateTime\": 1681439122000,\n \"AlarmLevel\": 0,\n \"MonitorObjectType\": 0,\n \"GroupTriggerCondition\": [],\n \"SendType\": 1\n },\n {\n \"RecordId\": \"1be40239-505f-4f1a-a6aa-4b71a9757d8a\",\n \"AlarmId\": \"alarm-7be9386d-01e9-4b8b-a54e-fe00f6b15b1d\",\n \"AlarmName\": \"TKE Demo审计日志告警策略_100001001014\",\n \"TopicId\": \"6a4adc63-d145-4da4-a0e7-72bb1a9f8fcd\",\n \"TopicName\": \"TKE Demo审计日志日志主题_100001001014\",\n \"Region\": \"ap-chongqing\",\n \"Trigger\": \"$1.操作次数 >10\",\n \"TriggerCount\": 1,\n \"AlarmPeriod\": 15,\n \"Notices\": [\n {\n \"Name\": \"TKE Demo审计日志通知渠道组_100001001014\",\n \"AlarmNoticeId\": \"notice-f7d09113-b870-4f98-b99d-38d8ecf5393b\"\n }\n ],\n \"Duration\": 90,\n \"Status\": 0,\n \"CreateTime\": 1681438941000,\n \"AlarmLevel\": 0,\n \"MonitorObjectType\": 0,\n \"GroupTriggerCondition\": [],\n \"SendType\": 1\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"431449a5-95ab-4168-9a0e-7db48692d917\"\n }\n}",
|
462
462
|
"title": "查询未恢复告警"
|
463
463
|
}
|
464
464
|
],
|
@@ -5133,6 +5133,46 @@
|
|
5133
5133
|
"output_required": false,
|
5134
5134
|
"type": "object",
|
5135
5135
|
"value_allowed_null": false
|
5136
|
+
},
|
5137
|
+
{
|
5138
|
+
"disabled": false,
|
5139
|
+
"document": "端口数据",
|
5140
|
+
"example": "80,22",
|
5141
|
+
"member": "string",
|
5142
|
+
"name": "Ports",
|
5143
|
+
"output_required": false,
|
5144
|
+
"type": "string",
|
5145
|
+
"value_allowed_null": false
|
5146
|
+
},
|
5147
|
+
{
|
5148
|
+
"disabled": false,
|
5149
|
+
"document": "服务数据",
|
5150
|
+
"example": "ssh,nginx",
|
5151
|
+
"member": "string",
|
5152
|
+
"name": "Services",
|
5153
|
+
"output_required": false,
|
5154
|
+
"type": "string",
|
5155
|
+
"value_allowed_null": false
|
5156
|
+
},
|
5157
|
+
{
|
5158
|
+
"disabled": false,
|
5159
|
+
"document": "域名数据",
|
5160
|
+
"example": "a.qq.com,b.qq.com",
|
5161
|
+
"member": "string",
|
5162
|
+
"name": "Domains",
|
5163
|
+
"output_required": false,
|
5164
|
+
"type": "string",
|
5165
|
+
"value_allowed_null": false
|
5166
|
+
},
|
5167
|
+
{
|
5168
|
+
"disabled": false,
|
5169
|
+
"document": "端口和服务最近更新时间",
|
5170
|
+
"example": "2021-01-01 00:00:00",
|
5171
|
+
"member": "string",
|
5172
|
+
"name": "LastModify",
|
5173
|
+
"output_required": false,
|
5174
|
+
"type": "string",
|
5175
|
+
"value_allowed_null": false
|
5136
5176
|
}
|
5137
5177
|
],
|
5138
5178
|
"usage": "out"
|
@@ -2293,7 +2293,7 @@
|
|
2293
2293
|
{
|
2294
2294
|
"disabled": false,
|
2295
2295
|
"document": "用户侧BGP,包括: CloudAsn,Asn,AuthKey",
|
2296
|
-
"example": "
|
2296
|
+
"example": "无",
|
2297
2297
|
"member": "BgpPeer",
|
2298
2298
|
"name": "BgpPeer",
|
2299
2299
|
"output_required": true,
|
@@ -2303,7 +2303,7 @@
|
|
2303
2303
|
{
|
2304
2304
|
"disabled": false,
|
2305
2305
|
"document": "用户侧网段地址",
|
2306
|
-
"example": "
|
2306
|
+
"example": "无",
|
2307
2307
|
"member": "RouteFilterPrefix",
|
2308
2308
|
"name": "RouteFilterPrefixes",
|
2309
2309
|
"output_required": true,
|
@@ -2353,7 +2353,7 @@
|
|
2353
2353
|
{
|
2354
2354
|
"disabled": false,
|
2355
2355
|
"document": "专用通道创建时间",
|
2356
|
-
"example": "2018-06-
|
2356
|
+
"example": "2018-06-01T14:59:16+08:00",
|
2357
2357
|
"member": "datetime_iso",
|
2358
2358
|
"name": "CreatedTime",
|
2359
2359
|
"output_required": true,
|
@@ -2373,7 +2373,7 @@
|
|
2373
2373
|
{
|
2374
2374
|
"disabled": false,
|
2375
2375
|
"document": "专用通道标签值",
|
2376
|
-
"example": "
|
2376
|
+
"example": "无",
|
2377
2377
|
"member": "Tag",
|
2378
2378
|
"name": "TagSet",
|
2379
2379
|
"output_required": true,
|
@@ -2393,7 +2393,7 @@
|
|
2393
2393
|
{
|
2394
2394
|
"disabled": false,
|
2395
2395
|
"document": "BGP community开关",
|
2396
|
-
"example": "
|
2396
|
+
"example": "false",
|
2397
2397
|
"member": "bool",
|
2398
2398
|
"name": "EnableBGPCommunity",
|
2399
2399
|
"output_required": true,
|
@@ -2473,7 +2473,7 @@
|
|
2473
2473
|
{
|
2474
2474
|
"disabled": false,
|
2475
2475
|
"document": "专用通道关联的物理专线是否签署了用户协议",
|
2476
|
-
"example": "
|
2476
|
+
"example": "true",
|
2477
2477
|
"member": "bool",
|
2478
2478
|
"name": "SignLaw",
|
2479
2479
|
"output_required": true,
|
@@ -2499,6 +2499,26 @@
|
|
2499
2499
|
"output_required": false,
|
2500
2500
|
"type": "int",
|
2501
2501
|
"value_allowed_null": false
|
2502
|
+
},
|
2503
|
+
{
|
2504
|
+
"disabled": false,
|
2505
|
+
"document": "接入点名称",
|
2506
|
+
"example": "上海",
|
2507
|
+
"member": "string",
|
2508
|
+
"name": "AccessPointName",
|
2509
|
+
"output_required": false,
|
2510
|
+
"type": "string",
|
2511
|
+
"value_allowed_null": false
|
2512
|
+
},
|
2513
|
+
{
|
2514
|
+
"disabled": false,
|
2515
|
+
"document": "接入点ID",
|
2516
|
+
"example": "\"13\"",
|
2517
|
+
"member": "string",
|
2518
|
+
"name": "AccessPointId",
|
2519
|
+
"output_required": false,
|
2520
|
+
"type": "string",
|
2521
|
+
"value_allowed_null": false
|
2502
2522
|
}
|
2503
2523
|
],
|
2504
2524
|
"usage": "out"
|
@@ -1945,7 +1945,7 @@
|
|
1945
1945
|
"members": [
|
1946
1946
|
{
|
1947
1947
|
"disabled": false,
|
1948
|
-
"document": "源实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql",
|
1948
|
+
"document": "源实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql(表示TDSQL-C MySQL数据库)",
|
1949
1949
|
"example": "mysql",
|
1950
1950
|
"member": "string",
|
1951
1951
|
"name": "SrcDatabaseType",
|
@@ -1954,7 +1954,7 @@
|
|
1954
1954
|
},
|
1955
1955
|
{
|
1956
1956
|
"disabled": false,
|
1957
|
-
"document": "目标实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql",
|
1957
|
+
"document": "目标实例数据库类型,如mysql,redis,percona,mongodb,postgresql,sqlserver,mariadb,cynosdbmysql(表示TDSQL-C MySQL数据库)",
|
1958
1958
|
"example": "mysql",
|
1959
1959
|
"member": "string",
|
1960
1960
|
"name": "DstDatabaseType",
|
@@ -1981,7 +1981,7 @@
|
|
1981
1981
|
},
|
1982
1982
|
{
|
1983
1983
|
"disabled": false,
|
1984
|
-
"document": "实例规格,包括:small、medium、large、xlarge、2xlarge",
|
1984
|
+
"document": "实例规格,包括:small、medium、large、xlarge、2xlarge。当前未计费链路仅支持medium字段值。不同规格类型参考[计费概述](https://cloud.tencent.com/document/product/571/18736)",
|
1985
1985
|
"example": "large",
|
1986
1986
|
"member": "string",
|
1987
1987
|
"name": "InstanceClass",
|
@@ -2355,7 +2355,7 @@
|
|
2355
2355
|
},
|
2356
2356
|
{
|
2357
2357
|
"disabled": false,
|
2358
|
-
"document": "实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(
|
2358
|
+
"document": "实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云服务器自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路",
|
2359
2359
|
"example": "cdb",
|
2360
2360
|
"member": "string",
|
2361
2361
|
"name": "AccessType",
|
@@ -2410,7 +2410,7 @@
|
|
2410
2410
|
},
|
2411
2411
|
{
|
2412
2412
|
"disabled": false,
|
2413
|
-
"document": "此参数为数组类型,可以传多个键值对结构对象。\nMongoDB可定义如下的参数:\n'AuthDatabase':'admin'
|
2413
|
+
"document": "此参数为数组类型,可以传多个键值对结构对象。\nMongoDB可定义如下的参数:\n'AuthDatabase':'admin', //认证库\n'AuthFlag': \"1\", //实例是否需要认证,\"0\": 不用认证;\"1\":需要认证\n'AuthMechanism':\"SCRAM-SHA-1\", //实例认证方式\n\"fetchMethod\":\"oplog\", //fetchMethod表示迁移方式,支持oplog、change_stream\n\"connectMode\":\"srv\", //外网srv连接模式\n\"EncryptedConnProtocol\":\"mongo_atlas_ssl\"; //加密连接方式\n其中fetchMethod表示迁移方式,还可支持change_stream;EncryptedConnProtocol值为mongo_atlas_ssl表示使用atlas ssl连接方式。",
|
2414
2414
|
"example": "无",
|
2415
2415
|
"member": "KeyValuePairOption",
|
2416
2416
|
"name": "ExtraAttr",
|
@@ -6897,7 +6897,7 @@
|
|
6897
6897
|
{
|
6898
6898
|
"disabled": false,
|
6899
6899
|
"document": "任务的所有操作列表",
|
6900
|
-
"example": "[\"view\",\"modify\",\"check\",\"start\",\"configure\",\"stop\",\"complete\",\"",
|
6900
|
+
"example": "[\"view\",\"modify\",\"check\",\"start\",\"configure\",\"stop\",\"complete\",\"modifyPosition\"]",
|
6901
6901
|
"member": "string",
|
6902
6902
|
"name": "AllAction",
|
6903
6903
|
"output_required": true,
|
@@ -194,7 +194,7 @@
|
|
194
194
|
{
|
195
195
|
"document": "",
|
196
196
|
"input": "POST / HTTP/1.1\nHost: dts.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMigrationJobs\n<公共请求参数>\n\n{\n \"JobId\": \"dts-amm1jw5q\"\n}",
|
197
|
-
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"BriefMsg\": \"\",\n \"DumperResumeCtrl\": \"yes\",\n \"AutoRetryTimeRangeMinutes\": 5,\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"Percent\": 0,\n \"StepMessage\": \"\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"
|
197
|
+
"output": "{\n \"Response\": {\n \"JobList\": [\n {\n \"Action\": {\n \"AllAction\": [\n \"view\",\n \"modify\",\n \"check\",\n \"start\",\n \"configure\",\n \"stop\",\n \"complete\",\n \"resume\",\n \"createCmpTask\",\n \"isolate\",\n \"offline\",\n \"resize\",\n \"recover\"\n ],\n \"AllowedAction\": [\n \"view\",\n \"stop\",\n \"complete\",\n \"createCmpTask\",\n \"view\",\n \"isolate\",\n \"resize\"\n ]\n },\n \"CompareTask\": {\n \"CompareTaskId\": \"dts-amm1jw5q-cmp-bmuum7jk\",\n \"Status\": \"consistent\"\n },\n \"CreateTime\": \"2022-07-11 16:20:49\",\n \"BriefMsg\": \"\",\n \"DumperResumeCtrl\": \"yes\",\n \"AutoRetryTimeRangeMinutes\": 5,\n \"StepInfo\": {\n \"MasterSlaveDistance\": 0,\n \"SecondsBehindMaster\": 0,\n \"StepAll\": 3,\n \"StepInfo\": [\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:21:59\",\n \"Status\": \"finished\",\n \"StepId\": \"dumper\",\n \"StepName\": \"源库导出\",\n \"StepNo\": 1,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:22:43\",\n \"Status\": \"finished\",\n \"StepId\": \"loader\",\n \"StepName\": \"数据导入\",\n \"StepNo\": 2,\n \"Percent\": 100,\n \"StepMessage\": \"\",\n \"Warnings\": []\n },\n {\n \"Errors\": [],\n \"StartTime\": \"2022-07-11 17:23:26\",\n \"Status\": \"running\",\n \"StepId\": \"sinker\",\n \"StepName\": \"同步增量\",\n \"Percent\": 0,\n \"StepMessage\": \"\",\n \"StepNo\": 3,\n \"Warnings\": []\n }\n ],\n \"StepNow\": 3\n },\n \"DstInfo\": {\n \"AccessType\": \"cdb\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"\",\n \"Host\": \"\",\n \"InstanceId\": \"cdb-o7uph0cj\",\n \"Password\": \"xxxxxxxx\",\n \"Port\": 0,\n \"EncryptConn\": \"Encrypted\",\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"ExpectRunTime\": \"\",\n \"JobId\": \"dts-amm1jw5q\",\n \"JobName\": \"test_config_api\",\n \"RunMode\": \"immediate\",\n \"SrcInfo\": {\n \"AccessType\": \"intranet\",\n \"DatabaseType\": \"mysql\",\n \"ExtraAttr\": [],\n \"Info\": [\n {\n \"Account\": \"\",\n \"AccountMode\": \"\",\n \"AccountRole\": \"\",\n \"CcnGwId\": \"\",\n \"CvmInstanceId\": \"\",\n \"DbKernel\": \"\",\n \"EngineVersion\": \"5.7\",\n \"Host\": \"9.123.210.37\",\n \"InstanceId\": \"\",\n \"Password\": \"xxxxxxxx\",\n \"Port\": 31035,\n \"Role\": \"\",\n \"SubnetId\": \"\",\n \"TmpSecretId\": \"\",\n \"TmpSecretKey\": \"\",\n \"TmpToken\": \"\",\n \"UniqDcgId\": \"\",\n \"UniqVpnGwId\": \"\",\n \"User\": \"root\",\n \"VpcId\": \"\"\n }\n ],\n \"NodeType\": \"simple\",\n \"Region\": \"ap-guangzhou\",\n \"Supplier\": \"\"\n },\n \"StartTime\": \"2022-07-11 17:20:56\",\n \"Status\": \"readyComplete\",\n \"Tags\": [],\n \"TradeInfo\": {\n \"BillingType\": \"billing\",\n \"DealName\": \"20220711715001047929481\",\n \"ExpireTime\": \"0000-00-00 00:00:00\",\n \"OfflineTime\": \"0000-00-00 00:00:00\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"InstanceClass\": \"xlarge\",\n \"IsolateReason\": \"\",\n \"LastDealName\": \"\",\n \"OfflineReason\": \"\",\n \"PayType\": \"postpay\",\n \"TradeStatus\": \"normal\"\n },\n \"UpdateTime\": \"2022-07-11 17:26:40\"\n }\n ],\n \"RequestId\": \"asdfadfasdfasdf\",\n \"TotalCount\": 1\n }\n}",
|
198
198
|
"title": "查询数据迁移任务列表"
|
199
199
|
}
|
200
200
|
],
|