tccli 3.0.1152.1__py2.py3-none-any.whl → 3.0.1154.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/billing/v20180709/api.json +1 -1
- tccli/services/ccc/v20200210/api.json +2 -2
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/cloudapp/__init__.py +4 -0
- tccli/services/cloudapp/cloudapp_client.py +195 -0
- tccli/services/cloudapp/v20220530/api.json +259 -0
- tccli/services/cloudapp/v20220530/examples.json +13 -0
- tccli/services/dsgc/v20190723/api.json +66 -3
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +24 -6
- tccli/services/essbasic/v20210526/examples.json +8 -2
- tccli/services/faceid/v20180301/api.json +5 -5
- tccli/services/hunyuan/v20230901/api.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +6 -6
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +3 -3
- tccli/services/mongodb/v20190725/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +36 -36
- tccli/services/monitor/v20180724/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +20 -0
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +4 -4
- tccli/services/trtc/v20190722/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/waf/v20180125/examples.json +1 -1
- {tccli-3.0.1152.1.dist-info → tccli-3.0.1154.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1152.1.dist-info → tccli-3.0.1154.1.dist-info}/RECORD +33 -29
- {tccli-3.0.1152.1.dist-info → tccli-3.0.1154.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1152.1.dist-info → tccli-3.0.1154.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1152.1.dist-info → tccli-3.0.1154.1.dist-info}/license_files/LICENSE +0 -0
@@ -257,8 +257,8 @@
|
|
257
257
|
"CreatePrometheusClusterAgent": [
|
258
258
|
{
|
259
259
|
"document": "关联eks集群",
|
260
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
261
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
260
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-wjeh\",\n \"Agents\": [\n {\n \"EnableExternal\": true,\n \"Region\": \"ap-jehr\",\n \"ClusterId\": \"cls-hrbr\",\n \"ClusterType\": \"eks\",\n \"NotInstallBasicScrape\": true,\n \"InClusterPodConfig\": {\n \"HostNet\": true,\n \"Tolerations\": [\n {\n \"Operator\": \"Exists\",\n \"Effect\": \"NoSchedule\",\n \"Key\": \"key-name\"\n }\n ],\n \"NodeSelector\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ]\n },\n \"NotScrape\": true,\n \"ExternalLabels\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ]\n }\n ]\n}",
|
261
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ejfhfol-lejrgbf\"\n }\n}",
|
262
262
|
"title": "关联集群"
|
263
263
|
},
|
264
264
|
{
|
@@ -311,8 +311,8 @@
|
|
311
311
|
"CreatePrometheusTemp": [
|
312
312
|
{
|
313
313
|
"document": "创建一个模板",
|
314
|
-
"input": "https://monitor.tencentcloudapi.com/?Action=CreatePrometheusTemp\n&Template.Name=t1\n&Template.Describe=一个模板\n&Template.ServiceMonitors.0.Name=s\n&Template.ServiceMonitors.0.Config=abc\n&Template.Level=cluster\n&<公共请求参数>\n\n{\n \"Template\": {\n
|
315
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"TemplateId\": \"temp-
|
314
|
+
"input": "https://monitor.tencentcloudapi.com/?Action=CreatePrometheusTemp\n&Template.Name=t1\n&Template.Describe=一个模板\n&Template.ServiceMonitors.0.Name=s\n&Template.ServiceMonitors.0.Config=abc\n&Template.Level=cluster\n&<公共请求参数>\n\n{\n \"Template\": {\n \"Name\": \"test\",\n \"Describe\": \"test\",\n \"Level\": \"instance\",\n \"RecordRules\": [\n {\n \"Name\": \"testRule\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"ServiceMonitors\": [\n {\n \"Name\": \"test-sm\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"test-pm\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"TemplateId\": \"temp-asdj\",\n \"UpdateTime\": \"2024-07-16T08:28:54Z\",\n \"Version\": \"v1\",\n \"IsDefault\": true,\n \"AlertDetailRules\": [\n {\n \"Id\": \"rule-asdk\",\n \"Name\": \"testAlert\",\n \"TemplateId\": \"temp-asdj\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"amp\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"tke\",\n \"ClusterId\": \"cls-askj\",\n \"Url\": \"http://asasdkfh:9000\"\n },\n \"RepeatInterval\": \"5m\",\n \"TimeRangeStart\": \"00:00:00\",\n \"TimeRangeEnd\": \"23:59:59\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"notice-yakj\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"rule-ajdb\",\n \"Rule\": \"avg by (abc) skdj\",\n \"Labels\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ],\n \"Template\": \"temp-asdj\",\n \"For\": \"5m\",\n \"Describe\": \"test-temp\",\n \"Annotations\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"2024-07-16 16:28:54\",\n \"ClusterId\": \"cls-djfb\",\n \"Interval\": \"5m\"\n }\n ],\n \"TargetsTotal\": 0\n }\n}",
|
315
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"TemplateId\": \"temp-lejrh\"\n }\n}",
|
316
316
|
"title": "创建一个模板"
|
317
317
|
}
|
318
318
|
],
|
@@ -423,7 +423,7 @@
|
|
423
423
|
"DeletePrometheusClusterAgent": [
|
424
424
|
{
|
425
425
|
"document": "删除agent",
|
426
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"Agents\": [\n {\n \"ClusterType\": \"
|
426
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeletePrometheusClusterAgent\n<公共请求参数>\n\n{\n \"Agents\": [\n {\n \"ClusterType\": \"cls-kehr\",\n \"ClusterId\": \"tke\",\n \"Describe\": \"test-des\"\n }\n ],\n \"InstanceId\": \"prom-sjerg\"\n}",
|
427
427
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
428
428
|
"title": "删除agent"
|
429
429
|
}
|
@@ -431,7 +431,7 @@
|
|
431
431
|
"DeletePrometheusConfig": [
|
432
432
|
{
|
433
433
|
"document": "删除prometheus配置",
|
434
|
-
"input": "https://monitor.tencentcloudapi.com/?Action=DeletePrometheusConfig\n&InstanceId=prom-
|
434
|
+
"input": "https://monitor.tencentcloudapi.com/?Action=DeletePrometheusConfig\n&InstanceId=prom-pejrh\n&ClusterType=tke\n&ClusterId=cls-hegr\n&<公共请求参数>",
|
435
435
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
436
436
|
"title": "删除prometheus配置"
|
437
437
|
}
|
@@ -439,7 +439,7 @@
|
|
439
439
|
"DeletePrometheusRecordRuleYaml": [
|
440
440
|
{
|
441
441
|
"document": "删除聚合规则",
|
442
|
-
"input": "https://monitor.tencentcloudapi.com/?Action=DeletePrometheusRecordRuleYaml\n&InstanceId=prom-
|
442
|
+
"input": "https://monitor.tencentcloudapi.com/?Action=DeletePrometheusRecordRuleYaml\n&InstanceId=prom-ejfdgh\n&Names.0=test-rule\n&<公共请求参数>",
|
443
443
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
444
444
|
"title": "删除聚合规则"
|
445
445
|
}
|
@@ -839,8 +839,8 @@
|
|
839
839
|
"DescribePrometheusClusterAgents": [
|
840
840
|
{
|
841
841
|
"document": "拉取agent信息",
|
842
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusClusterAgents\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
843
|
-
"output": "{\n \"Response\": {\n \"Agents\": [\n {\n \"
|
842
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusClusterAgents\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-abc\",\n \"Limit\": 1,\n \"Offset\": 1\n}",
|
843
|
+
"output": "{\n \"Response\": {\n \"Agents\": [\n {\n \"ClusterId\": \"cls-abc\",\n \"ClusterName\": \"abc\",\n \"ClusterType\": \"tke\",\n \"EnableExternal\": false,\n \"ExternalLabels\": [\n {\n \"Name\": \"cluster\",\n \"Value\": \"cls-cde\"\n },\n {\n \"Name\": \"cluster_type\",\n \"Value\": \"tke\"\n }\n ],\n \"FailedReason\": \"\",\n \"Name\": \"\",\n \"ReadyAgentNum\": 1,\n \"Region\": \"ap-guangzhou\",\n \"Status\": \"normal\",\n \"VpcId\": \"vpc-abc\"\n }\n ],\n \"IsFirstBind\": false,\n \"RequestId\": \"56ce7-sdsd\",\n \"ImageNeedUpdate\": false,\n \"Total\": 1\n }\n}",
|
844
844
|
"title": "拉取agent信息"
|
845
845
|
}
|
846
846
|
],
|
@@ -848,7 +848,7 @@
|
|
848
848
|
{
|
849
849
|
"document": "拉取prometheus配置",
|
850
850
|
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusConfig\r\n&InstanceId=prom-xxx\r\n&ClusterType=tke\r\n&ClusterId=cls-xxx\r\n&<公共请求参数>",
|
851
|
-
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"
|
851
|
+
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"test-sm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"test-pm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"test-rawjob\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"Probes\": [\n {\n \"Name\": \"test-probe\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"ImageNeedUpdate\": true,\n \"RequestId\": \"abc\"\n }\n}",
|
852
852
|
"title": "拉取prometheus配置"
|
853
853
|
}
|
854
854
|
],
|
@@ -856,7 +856,7 @@
|
|
856
856
|
{
|
857
857
|
"document": "获得实例级别监控配置",
|
858
858
|
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusGlobalConfig\n&InstanceId=prom-xxx\n&<公共请求参数>",
|
859
|
-
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"
|
859
|
+
"output": "{\n \"Response\": {\n \"Config\": \"abc\",\n \"ServiceMonitors\": [\n {\n \"Name\": \"test-sm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"test-pm\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"test-rawjob\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"Probes\": [\n {\n \"Name\": \"test-probe\",\n \"Config\": \"scrape_interval:5s\\n\",\n \"TemplateId\": \"temp-akdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
860
860
|
"title": "获得实例级别监控配置"
|
861
861
|
}
|
862
862
|
],
|
@@ -872,21 +872,21 @@
|
|
872
872
|
{
|
873
873
|
"document": "查询TMP实例详情",
|
874
874
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceDetail\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
875
|
-
"output": "{\n \"Response\": {\n \"InstanceId\": \"
|
875
|
+
"output": "{\n \"Response\": {\n \"InstanceId\": \"prom-skdfj\",\n \"InstanceName\": \"test-prom\",\n \"VpcId\": \"vpc-sjdh\",\n \"SubnetId\": \"subnet-kdhe\",\n \"InstanceStatus\": 3,\n \"ChargeStatus\": 1,\n \"EnableGrafana\": 0,\n \"GrafanaURL\": \"http://djeb:9000\",\n \"InstanceChargeType\": 0,\n \"SpecName\": \"name-sjdb\",\n \"DataRetentionTime\": 15,\n \"ExpireTime\": \"2024-07-16 16:28:54\",\n \"AutoRenewFlag\": 0,\n \"RequestId\": \"skdbfdi-akenfhl\"\n }\n}",
|
876
876
|
"title": "查询TMP实例详情"
|
877
877
|
}
|
878
878
|
],
|
879
879
|
"DescribePrometheusInstanceInitStatus": [
|
880
880
|
{
|
881
881
|
"document": "获取初始化任务状态",
|
882
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
883
|
-
"output": "{\n \"Response\": {\n \"Status\": \"
|
882
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-asdf1234\"\n}",
|
883
|
+
"output": "{\n \"Response\": {\n \"Status\": \"initializing\",\n \"Steps\": [\n {\n \"Step\": \"preCheck\",\n \"LifeState\": \"success\",\n \"StartAt\": \"2022-04-19T07:29:46Z\",\n \"EndAt\": \"2022-04-19T07:30:46Z\",\n \"FailedMsg\": \"message\"\n }\n ],\n \"EksClusterId\": \"cls-asdf1234\",\n \"SecurityGroupId\": \"sg-asdf1234\",\n \"RequestId\": \"abc-123-asdfghjk\"\n }\n}",
|
884
884
|
"title": "获取初始化任务状态"
|
885
885
|
},
|
886
886
|
{
|
887
887
|
"document": "获取2.0实例初始化任务状态",
|
888
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-
|
889
|
-
"output": "{\n \"Response\": {\n \"Status\": \"
|
888
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstanceInitStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-asdf1234\"\n}",
|
889
|
+
"output": "{\n \"Response\": {\n \"Status\": \"initializing\",\n \"Steps\": [\n {\n \"Step\": \"preCheck\",\n \"LifeState\": \"success\",\n \"StartAt\": \"2022-04-19T07:29:46Z\",\n \"EndAt\": \"2022-04-19T07:30:46Z\",\n \"FailedMsg\": \"message\"\n }\n ],\n \"EksClusterId\": \"cls-asdf1234\",\n \"SecurityGroupId\": \"sg-asdf1234\",\n \"RequestId\": \"abc-123-asdfghjk\"\n }\n}",
|
890
890
|
"title": "获取2.0实例初始化任务状态"
|
891
891
|
}
|
892
892
|
],
|
@@ -910,7 +910,7 @@
|
|
910
910
|
{
|
911
911
|
"document": "获取实例列表",
|
912
912
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusInstancesOverview\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"Name\",\n \"Values\": [\n \"alert-test\"\n ]\n }\n ],\n \"Offset\": 1\n}",
|
913
|
-
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"InstanceStatus\":
|
913
|
+
"output": "{\n \"Response\": {\n \"Instances\": [\n {\n \"InstanceStatus\": 3,\n \"BoundNormal\": 1,\n \"VpcId\": \"vpc-sjdfb\",\n \"AutoRenewFlag\": 0,\n \"InstanceId\": \"prom-ajsh\",\n \"BoundTotal\": 1,\n \"ExpireTime\": \"2024-07-16 16:28:54\",\n \"SpecName\": \"spec-name\",\n \"InstanceChargeType\": 2,\n \"EnableGrafana\": 0,\n \"DataRetentionTime\": 15,\n \"GrafanaURL\": \"http://1.1.1.1:9000\",\n \"SubnetId\": \"subnet-ljeb\",\n \"InstanceName\": \"test-prom\",\n \"ChargeStatus\": 1,\n \"ResourcePackageStatus\": 1,\n \"ResourcePackageSpecName\": \"pkg-name\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"sjehg-jdgrg\"\n }\n}",
|
914
914
|
"title": "获取实例列表"
|
915
915
|
}
|
916
916
|
],
|
@@ -950,7 +950,7 @@
|
|
950
950
|
{
|
951
951
|
"document": "获取targets列表",
|
952
952
|
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusTargetsTMP\n&InstanceId=prom-xxx\n&ClusterType=tke\n&ClusterId=cls-xxx\n&<公共请求参数>",
|
953
|
-
"output": "{\n \"Response\": {\n \"Jobs\": [\n {\n \"Targets\": [\n {}\n ],\n \"
|
953
|
+
"output": "{\n \"Response\": {\n \"Jobs\": [\n {\n \"Targets\": [\n {}\n ],\n \"Total\": 1,\n \"Up\": 0,\n \"JobName\": \"test-job\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
954
954
|
"title": "获取targets列表"
|
955
955
|
}
|
956
956
|
],
|
@@ -958,7 +958,7 @@
|
|
958
958
|
{
|
959
959
|
"document": "拉取模板列表",
|
960
960
|
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrometheusTemp\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Name\": \"ID\",\n \"Values\": [\n \"alert-test\"\n ]\n }\n ],\n \"Offset\": 1\n}",
|
961
|
-
"output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Name\": \"
|
961
|
+
"output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Name\": \"test\",\n \"Describe\": \"test\",\n \"Level\": \"instance\",\n \"RecordRules\": [\n {\n \"Name\": \"testRule\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"RawJobs\": [\n {\n \"Name\": \"abc\",\n \"Config\": \"abc\",\n \"TemplateId\": \"abc\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"ServiceMonitors\": [\n {\n \"Name\": \"test-sm\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"PodMonitors\": [\n {\n \"Name\": \"test-pm\",\n \"Config\": \"abc\",\n \"TemplateId\": \"temp-asdj\",\n \"Targets\": {\n \"Total\": 1,\n \"Up\": 1,\n \"Down\": 1,\n \"Unknown\": 1\n }\n }\n ],\n \"TemplateId\": \"temp-asdj\",\n \"UpdateTime\": \"2024-07-16T08:28:54Z\",\n \"Version\": \"v1\",\n \"IsDefault\": true,\n \"AlertDetailRules\": [\n {\n \"Id\": \"rule-asdk\",\n \"Name\": \"testAlert\",\n \"TemplateId\": \"temp-asdj\",\n \"Notification\": {\n \"Enabled\": true,\n \"Type\": \"amp\",\n \"WebHook\": \"abc\",\n \"AlertManager\": {\n \"ClusterType\": \"tke\",\n \"ClusterId\": \"cls-askj\",\n \"Url\": \"http://asasdkfh:9000\"\n },\n \"RepeatInterval\": \"5m\",\n \"TimeRangeStart\": \"00:00:00\",\n \"TimeRangeEnd\": \"23:59:59\",\n \"NotifyWay\": [\n \"abc\"\n ],\n \"ReceiverGroups\": [\n \"notice-yakj\"\n ],\n \"PhoneNotifyOrder\": [\n 1\n ],\n \"PhoneCircleTimes\": 0,\n \"PhoneInnerInterval\": 0,\n \"PhoneCircleInterval\": 0,\n \"PhoneArriveNotice\": true\n },\n \"Rules\": [\n {\n \"Name\": \"rule-ajdb\",\n \"Rule\": \"avg by (abc) skdj\",\n \"Labels\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ],\n \"Template\": \"temp-asdj\",\n \"For\": \"5m\",\n \"Describe\": \"test-temp\",\n \"Annotations\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ],\n \"RuleState\": 0\n }\n ],\n \"UpdatedAt\": \"2024-07-16 16:28:54\",\n \"ClusterId\": \"cls-djfb\"\n }\n ],\n \"TargetsTotal\": 0\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"skdh-afbri\"\n }\n}",
|
962
962
|
"title": "拉取模板列表"
|
963
963
|
}
|
964
964
|
],
|
@@ -966,7 +966,7 @@
|
|
966
966
|
{
|
967
967
|
"document": "拉取同步目标",
|
968
968
|
"input": "https://monitor.tencentcloudapi.com/?Action=DescribePrometheusTempSync\n&TemplateId=\"temp-xxx\"\n&<公共请求参数>",
|
969
|
-
"output": "{\n \"Response\": {\n \"Targets\": [\n {\n \"Region\": \"
|
969
|
+
"output": "{\n \"Response\": {\n \"Targets\": [\n {\n \"Region\": \"ap-beijing\",\n \"InstanceId\": \"prom-sjfgh\",\n \"ClusterId\": \"cls-kdje\",\n \"SyncTime\": \"2024-07-16 16:28:54\",\n \"Version\": \"v1\",\n \"ClusterType\": \"tke\",\n \"InstanceName\": \"test-prom\",\n \"ClusterName\": \"test-cluster\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
970
970
|
"title": "拉取同步目标"
|
971
971
|
}
|
972
972
|
],
|
@@ -1159,7 +1159,7 @@
|
|
1159
1159
|
"ModifyPrometheusAgentExternalLabels": [
|
1160
1160
|
{
|
1161
1161
|
"document": "修改label",
|
1162
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAgentExternalLabels\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
1162
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPrometheusAgentExternalLabels\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-jegh\",\n \"ClusterId\": \"cls-uerhf\",\n \"ExternalLabels\": [\n {\n \"Name\": \"label-name\",\n \"Value\": \"label-value\"\n }\n ]\n}",
|
1163
1163
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
1164
1164
|
"title": "修改label"
|
1165
1165
|
}
|
@@ -1174,10 +1174,10 @@
|
|
1174
1174
|
],
|
1175
1175
|
"ModifyPrometheusConfig": [
|
1176
1176
|
{
|
1177
|
-
"document": "
|
1177
|
+
"document": "修改采集配置",
|
1178
1178
|
"input": "https://monitor.tencentcloudapi.com/?Action=ModifyPrometheusConfig\n&InstanceId=prom-xxx\n&ClusterType=tke\n&ClusterId=cls-xxx\n&<公共请求参数>",
|
1179
1179
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
1180
|
-
"title": "
|
1180
|
+
"title": "修改采集配置"
|
1181
1181
|
}
|
1182
1182
|
],
|
1183
1183
|
"ModifyPrometheusGlobalNotification": [
|
@@ -1223,8 +1223,8 @@
|
|
1223
1223
|
"RunPrometheusInstance": [
|
1224
1224
|
{
|
1225
1225
|
"document": "初始化实例",
|
1226
|
-
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunPrometheusInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-
|
1227
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1226
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunPrometheusInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"prom-asdfghjk\"\n}",
|
1227
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"abc-123-asdfghjk\"\n }\n}",
|
1228
1228
|
"title": "初始化实例"
|
1229
1229
|
}
|
1230
1230
|
],
|
@@ -871,6 +871,16 @@
|
|
871
871
|
"output_required": false,
|
872
872
|
"type": "int",
|
873
873
|
"value_allowed_null": true
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"disabled": false,
|
877
|
+
"document": "集群类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
878
|
+
"example": "\"\"",
|
879
|
+
"member": "string",
|
880
|
+
"name": "BillingResourceMode",
|
881
|
+
"output_required": false,
|
882
|
+
"type": "string",
|
883
|
+
"value_allowed_null": true
|
874
884
|
}
|
875
885
|
],
|
876
886
|
"usage": "out"
|
@@ -1077,6 +1087,16 @@
|
|
1077
1087
|
"output_required": false,
|
1078
1088
|
"type": "object",
|
1079
1089
|
"value_allowed_null": true
|
1090
|
+
},
|
1091
|
+
{
|
1092
|
+
"disabled": false,
|
1093
|
+
"document": "默认 \"\" 包销模式 \"exclusiveSale\"\n注意:此字段可能返回 null,表示取不到有效值。",
|
1094
|
+
"example": "无",
|
1095
|
+
"member": "string",
|
1096
|
+
"name": "BillingResourceMode",
|
1097
|
+
"output_required": false,
|
1098
|
+
"type": "string",
|
1099
|
+
"value_allowed_null": true
|
1080
1100
|
}
|
1081
1101
|
],
|
1082
1102
|
"usage": "out"
|
@@ -1025,7 +1025,7 @@
|
|
1025
1025
|
},
|
1026
1026
|
{
|
1027
1027
|
"disabled": false,
|
1028
|
-
"document": "1: Illegal
|
1028
|
+
"document": "1: Illegal(名称非法), 2:Reserved(名字保留), 3:Existed(名字已存在)\n注意:此字段可能返回 null,表示取不到有效值。",
|
1029
1029
|
"example": "1",
|
1030
1030
|
"member": "int64",
|
1031
1031
|
"name": "DetailCode",
|
@@ -878,7 +878,7 @@
|
|
878
878
|
],
|
879
879
|
"ModifyUserPasswordPersonal": [
|
880
880
|
{
|
881
|
-
"document": "ccr
|
881
|
+
"document": "ccr修改个人用户登录密码",
|
882
882
|
"input": "https://tcr.tencentcloudapi.com/?Action=ModifyUserPasswordPersonal\r\n&Password=XXXXX\r\n&<公共请求参数>",
|
883
883
|
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
|
884
884
|
"title": "修改个人用户登录密码"
|
@@ -4920,7 +4920,7 @@
|
|
4920
4920
|
},
|
4921
4921
|
{
|
4922
4922
|
"disabled": false,
|
4923
|
-
"document": "制品来源,范围:tke-market 或 other",
|
4923
|
+
"document": "制品来源,范围:tke-market 或 other默认值:tke-market。",
|
4924
4924
|
"example": "tke-market",
|
4925
4925
|
"member": "string",
|
4926
4926
|
"name": "ChartFrom",
|
@@ -4965,7 +4965,7 @@
|
|
4965
4965
|
},
|
4966
4966
|
{
|
4967
4967
|
"disabled": false,
|
4968
|
-
"document": "
|
4968
|
+
"document": "制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace",
|
4969
4969
|
"example": "helm-public",
|
4970
4970
|
"member": "string",
|
4971
4971
|
"name": "ChartNamespace",
|
@@ -25258,7 +25258,7 @@
|
|
25258
25258
|
},
|
25259
25259
|
{
|
25260
25260
|
"disabled": false,
|
25261
|
-
"document": "制品来源,范围:tke-market 或 other默认值:tke-market
|
25261
|
+
"document": "制品来源,范围:tke-market 或 other 默认值:tke-market,示例值:tke-market",
|
25262
25262
|
"example": "tke-market",
|
25263
25263
|
"member": "string",
|
25264
25264
|
"name": "ChartFrom",
|
@@ -25303,7 +25303,7 @@
|
|
25303
25303
|
},
|
25304
25304
|
{
|
25305
25305
|
"disabled": false,
|
25306
|
-
"document": "
|
25306
|
+
"document": "制品命名空间,ChartFrom为tke-market时ChartNamespace不为空,值为DescribeProducts接口反馈的Namespace",
|
25307
25307
|
"example": "helm-public",
|
25308
25308
|
"member": "string",
|
25309
25309
|
"name": "ChartNamespace",
|
@@ -295,7 +295,7 @@
|
|
295
295
|
"status": "online"
|
296
296
|
},
|
297
297
|
"StartStreamIngest": {
|
298
|
-
"document": "将一个在线媒体流推到TRTC
|
298
|
+
"document": "将一个在线媒体流推到TRTC房间,更多功能说明见[输入媒体流进房](https://cloud.tencent.com/document/product/647/102957#50940aad-d90f-4473-9f46-d5dd46917653)。\n使用输入在线媒体流功能需先订阅 [尊享版或旗舰版套餐包](https://cloud.tencent.com/document/product/647/85386) 解锁能力位。",
|
299
299
|
"input": "StartStreamIngestRequest",
|
300
300
|
"name": "开启输入在线媒体流",
|
301
301
|
"output": "StartStreamIngestResponse",
|
@@ -6025,7 +6025,7 @@
|
|
6025
6025
|
},
|
6026
6026
|
{
|
6027
6027
|
"disabled": false,
|
6028
|
-
"document": "源流URL
|
6028
|
+
"document": "源流URL【必填】。如果是视频流,分辨率请保持不变。",
|
6029
6029
|
"example": "https://a.b/test.mp4",
|
6030
6030
|
"member": "string",
|
6031
6031
|
"name": "StreamUrl",
|
@@ -2082,7 +2082,7 @@
|
|
2082
2082
|
"ModifySecurityGroupPolicies": {
|
2083
2083
|
"document": "本接口(ModifySecurityGroupPolicies)用于重置安全组出站和入站规则(SecurityGroupPolicy)。\n\n<ul>\n<li>该接口不支持自定义索引 PolicyIndex。</li>\n<li>在 SecurityGroupPolicySet 参数中:<ul>\n\t<li> 如果指定 SecurityGroupPolicySet.Version 为0, 表示清空所有规则,并忽略 Egress 和 Ingress。</li>\n\t<li> 如果指定 SecurityGroupPolicySet.Version 不为0, 在添加出站和入站规则(Egress 和 Ingress)时:<ul>\n\t\t<li>Protocol 字段支持输入 TCP, UDP, ICMP, ICMPV6, GRE, ALL。</li>\n\t\t<li>CidrBlock 字段允许输入符合 cidr 格式标准的任意字符串。在基础网络中,如果 CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>\n\t\t<li>Ipv6CidrBlock 字段允许输入符合 IPv6 cidr 格式标准的任意字符串。在基础网络中,如果Ipv6CidrBlock 包含您的账户内的云服务器之外的设备在腾讯云的内网 IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。</li>\n\t\t<li>SecurityGroupId 字段允许输入与待修改的安全组位于相同项目中的安全组 ID,包括这个安全组 ID 本身,代表安全组下所有云服务器的内网 IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。</li>\n\t\t<li>Port 字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当 Protocol 字段是 TCP 或 UDP 时,Port 字段才被接受。</li>\n\t\t<li>Action 字段只允许输入 ACCEPT 或 DROP。</li>\n\t\t<li>CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate 四者是排他关系,不允许同时输入,Protocol + Port 和 ServiceTemplate 二者是排他关系,不允许同时输入。</li>\n</ul></li></ul></li>\n</ul>",
|
2084
2084
|
"input": "ModifySecurityGroupPoliciesRequest",
|
2085
|
-
"name": "
|
2085
|
+
"name": "重置安全组出站和入站规则",
|
2086
2086
|
"output": "ModifySecurityGroupPoliciesResponse",
|
2087
2087
|
"status": "online"
|
2088
2088
|
},
|
@@ -252,7 +252,7 @@
|
|
252
252
|
{
|
253
253
|
"document": "",
|
254
254
|
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessHistogram\n<公共请求参数>\n\n{\n \"TopicId\": \"1ae37c76-df99-4e2b-998c-20f39eba6226\",\n \"From\": 1625395948532,\n \"To\": 1626000748532,\n \"Query\": \"\"\n}",
|
255
|
-
"output": "{\n \"Response\": {\n \"Interval\": 12096000,\n \"TotalCount\": 6221,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\",\n \"HistogramInfos\": [\n {\n \"BTime\": 0,\n \"Count\": 0\n }\n ]\n }\n}",
|
255
|
+
"output": "{\n \"Response\": {\n \"Interval\": 12096000,\n \"TotalCount\": 6221,\n \"RequestId\": \"9b02bf9e-c89c-42c3-9ae1-685f968fa02d\",\n \"HistogramInfos\": [\n {\n \"BTime\": 0,\n \"BeginTime\": 0,\n \"Count\": 0\n }\n ]\n }\n}",
|
256
256
|
"title": "访问日志柱状趋势图"
|
257
257
|
}
|
258
258
|
],
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1154.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1154
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|