tccli 3.0.1291.1__py2.py3-none-any.whl → 3.0.1292.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/antiddos/antiddos_client.py +7 -113
- tccli/services/antiddos/v20200309/api.json +41 -401
- tccli/services/antiddos/v20200309/examples.json +1 -17
- tccli/services/apm/v20210622/api.json +44 -44
- tccli/services/apm/v20210622/examples.json +5 -5
- tccli/services/batch/v20170312/api.json +161 -161
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +303 -219
- tccli/services/cdwch/v20200915/examples.json +18 -18
- tccli/services/cdwpg/v20201230/api.json +21 -21
- tccli/services/cdwpg/v20201230/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +1015 -1005
- tccli/services/cls/v20201016/api.json +112 -112
- tccli/services/dbbrain/v20191016/api.json +2 -2
- tccli/services/dbbrain/v20210527/api.json +14 -5
- tccli/services/emr/v20190103/api.json +249 -13
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +13 -2
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +72 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +75 -75
- tccli/services/iotvideoindustry/v20201201/examples.json +1 -1
- tccli/services/lke/lke_client.py +0 -53
- tccli/services/lke/v20231130/api.json +0 -43
- tccli/services/lke/v20231130/examples.json +0 -8
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/memcached/v20190318/api.json +1 -1
- tccli/services/monitor/monitor_client.py +57 -4
- tccli/services/monitor/v20180724/api.json +249 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/svp/v20240125/api.json +3 -3
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tdmq/v20200217/api.json +266 -266
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +50 -7
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/v20220401/api.json +6 -6
- tccli/services/thpc/v20230321/api.json +14 -14
- tccli/services/wedata/v20210820/api.json +166 -12
- {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1291.1.dist-info → tccli-3.0.1292.1.dist-info}/license_files/LICENSE +0 -0
@@ -56,6 +56,13 @@
|
|
56
56
|
"output": "CreateAlertRuleResponse",
|
57
57
|
"status": "online"
|
58
58
|
},
|
59
|
+
"CreateConditionsTemplate": {
|
60
|
+
"document": "创建告警条件模板",
|
61
|
+
"input": "CreateConditionsTemplateRequest",
|
62
|
+
"name": "创建告警条件模板",
|
63
|
+
"output": "CreateConditionsTemplateResponse",
|
64
|
+
"status": "online"
|
65
|
+
},
|
59
66
|
"CreateExporterIntegration": {
|
60
67
|
"document": "创建集成中心 exporter 集成,因集成较多,建议控制台创建集成。(前提:已授权创建托管 EKS 集群,验证方式:1. 控制台界面确认,未提示授权则表示已授权创建;2. 通过 DescribePrometheusInstanceInitStatus 接口查询集群状态,如果托管集群不存在,可通过 RunPrometheusInstance 接口创建)",
|
61
68
|
"input": "CreateExporterIntegrationRequest",
|
@@ -3893,6 +3900,124 @@
|
|
3893
3900
|
],
|
3894
3901
|
"type": "object"
|
3895
3902
|
},
|
3903
|
+
"CreateConditionsTemplateRequest": {
|
3904
|
+
"document": "CreateConditionsTemplate请求参数结构体",
|
3905
|
+
"members": [
|
3906
|
+
{
|
3907
|
+
"disabled": false,
|
3908
|
+
"document": "固定值,monitor",
|
3909
|
+
"example": "monitor,",
|
3910
|
+
"member": "string",
|
3911
|
+
"name": "Module",
|
3912
|
+
"required": true,
|
3913
|
+
"type": "string"
|
3914
|
+
},
|
3915
|
+
{
|
3916
|
+
"disabled": false,
|
3917
|
+
"document": "视图名",
|
3918
|
+
"example": "cvm_device,",
|
3919
|
+
"member": "string",
|
3920
|
+
"name": "ViewName",
|
3921
|
+
"required": true,
|
3922
|
+
"type": "string"
|
3923
|
+
},
|
3924
|
+
{
|
3925
|
+
"disabled": false,
|
3926
|
+
"document": "组名",
|
3927
|
+
"example": "测试API新增,",
|
3928
|
+
"member": "string",
|
3929
|
+
"name": "GroupName",
|
3930
|
+
"required": true,
|
3931
|
+
"type": "string"
|
3932
|
+
},
|
3933
|
+
{
|
3934
|
+
"disabled": false,
|
3935
|
+
"document": "是否为与关系",
|
3936
|
+
"example": "0,",
|
3937
|
+
"member": "int64",
|
3938
|
+
"name": "IsUnionRule",
|
3939
|
+
"required": false,
|
3940
|
+
"type": "int"
|
3941
|
+
},
|
3942
|
+
{
|
3943
|
+
"disabled": false,
|
3944
|
+
"document": "备注",
|
3945
|
+
"example": "测试API创建一下模板,",
|
3946
|
+
"member": "string",
|
3947
|
+
"name": "Remark",
|
3948
|
+
"required": false,
|
3949
|
+
"type": "string"
|
3950
|
+
},
|
3951
|
+
{
|
3952
|
+
"disabled": false,
|
3953
|
+
"document": "父ID",
|
3954
|
+
"example": "无",
|
3955
|
+
"member": "int64",
|
3956
|
+
"name": "ParentGroupID",
|
3957
|
+
"required": false,
|
3958
|
+
"type": "int"
|
3959
|
+
},
|
3960
|
+
{
|
3961
|
+
"disabled": false,
|
3962
|
+
"document": "是否屏蔽",
|
3963
|
+
"example": "无",
|
3964
|
+
"member": "int64",
|
3965
|
+
"name": "IsShielded",
|
3966
|
+
"required": false,
|
3967
|
+
"type": "int"
|
3968
|
+
},
|
3969
|
+
{
|
3970
|
+
"disabled": false,
|
3971
|
+
"document": "复合告警表达式",
|
3972
|
+
"example": "无",
|
3973
|
+
"member": "string",
|
3974
|
+
"name": "ComplexExpression",
|
3975
|
+
"required": false,
|
3976
|
+
"type": "string"
|
3977
|
+
},
|
3978
|
+
{
|
3979
|
+
"disabled": false,
|
3980
|
+
"document": "指标告警条件",
|
3981
|
+
"example": "无",
|
3982
|
+
"member": "ModifyConditionsTemplateRequestCondition",
|
3983
|
+
"name": "Conditions",
|
3984
|
+
"required": false,
|
3985
|
+
"type": "list"
|
3986
|
+
},
|
3987
|
+
{
|
3988
|
+
"disabled": false,
|
3989
|
+
"document": "事件告警条件",
|
3990
|
+
"example": "无",
|
3991
|
+
"member": "ModifyConditionsTemplateRequestEventCondition",
|
3992
|
+
"name": "EventConditions",
|
3993
|
+
"required": false,
|
3994
|
+
"type": "list"
|
3995
|
+
}
|
3996
|
+
],
|
3997
|
+
"type": "object"
|
3998
|
+
},
|
3999
|
+
"CreateConditionsTemplateResponse": {
|
4000
|
+
"document": "CreateConditionsTemplate返回参数结构体",
|
4001
|
+
"members": [
|
4002
|
+
{
|
4003
|
+
"disabled": false,
|
4004
|
+
"document": "模板策略组ID",
|
4005
|
+
"example": "1998842",
|
4006
|
+
"member": "int64",
|
4007
|
+
"name": "GroupID",
|
4008
|
+
"output_required": true,
|
4009
|
+
"type": "int",
|
4010
|
+
"value_allowed_null": false
|
4011
|
+
},
|
4012
|
+
{
|
4013
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4014
|
+
"member": "string",
|
4015
|
+
"name": "RequestId",
|
4016
|
+
"type": "string"
|
4017
|
+
}
|
4018
|
+
],
|
4019
|
+
"type": "object"
|
4020
|
+
},
|
3896
4021
|
"CreateExporterIntegrationRequest": {
|
3897
4022
|
"document": "CreateExporterIntegration请求参数结构体",
|
3898
4023
|
"members": [
|
@@ -15991,6 +16116,130 @@
|
|
15991
16116
|
],
|
15992
16117
|
"type": "object"
|
15993
16118
|
},
|
16119
|
+
"ModifyConditionsTemplateRequestCondition": {
|
16120
|
+
"document": "ModifyConditionsTemplateRequestCondition,Condition入参字段值",
|
16121
|
+
"members": [
|
16122
|
+
{
|
16123
|
+
"disabled": false,
|
16124
|
+
"document": "统计周期",
|
16125
|
+
"example": "60",
|
16126
|
+
"member": "string",
|
16127
|
+
"name": "CalcPeriod",
|
16128
|
+
"required": true,
|
16129
|
+
"type": "string"
|
16130
|
+
},
|
16131
|
+
{
|
16132
|
+
"disabled": false,
|
16133
|
+
"document": "统计方式",
|
16134
|
+
"example": "1",
|
16135
|
+
"member": "string",
|
16136
|
+
"name": "CalcType",
|
16137
|
+
"required": true,
|
16138
|
+
"type": "string"
|
16139
|
+
},
|
16140
|
+
{
|
16141
|
+
"disabled": false,
|
16142
|
+
"document": "持续周期",
|
16143
|
+
"example": "1",
|
16144
|
+
"member": "string",
|
16145
|
+
"name": "ContinuePeriod",
|
16146
|
+
"required": true,
|
16147
|
+
"type": "string"
|
16148
|
+
},
|
16149
|
+
{
|
16150
|
+
"disabled": false,
|
16151
|
+
"document": "指标ID",
|
16152
|
+
"example": "\"33\"",
|
16153
|
+
"member": "int64",
|
16154
|
+
"name": "MetricID",
|
16155
|
+
"required": true,
|
16156
|
+
"type": "int"
|
16157
|
+
},
|
16158
|
+
{
|
16159
|
+
"disabled": false,
|
16160
|
+
"document": "统计值",
|
16161
|
+
"example": "0",
|
16162
|
+
"member": "string",
|
16163
|
+
"name": "CalcValue",
|
16164
|
+
"required": true,
|
16165
|
+
"type": "string"
|
16166
|
+
},
|
16167
|
+
{
|
16168
|
+
"disabled": false,
|
16169
|
+
"document": "告警通知周期",
|
16170
|
+
"example": "86400",
|
16171
|
+
"member": "string",
|
16172
|
+
"name": "AlarmNotifyPeriod",
|
16173
|
+
"required": false,
|
16174
|
+
"type": "string"
|
16175
|
+
},
|
16176
|
+
{
|
16177
|
+
"disabled": false,
|
16178
|
+
"document": "告警通知方式",
|
16179
|
+
"example": "0",
|
16180
|
+
"member": "int64",
|
16181
|
+
"name": "AlarmNotifyType",
|
16182
|
+
"required": false,
|
16183
|
+
"type": "int"
|
16184
|
+
},
|
16185
|
+
{
|
16186
|
+
"disabled": false,
|
16187
|
+
"document": "规则ID",
|
16188
|
+
"example": "无",
|
16189
|
+
"member": "int64",
|
16190
|
+
"name": "RuleID",
|
16191
|
+
"required": false,
|
16192
|
+
"type": "int"
|
16193
|
+
}
|
16194
|
+
],
|
16195
|
+
"usage": "in"
|
16196
|
+
},
|
16197
|
+
"ModifyConditionsTemplateRequestEventCondition": {
|
16198
|
+
"document": "ModifyConditionsTemplateRequestEventCondition",
|
16199
|
+
"members": [
|
16200
|
+
{
|
16201
|
+
"disabled": false,
|
16202
|
+
"document": "告警通知周期",
|
16203
|
+
"example": "",
|
16204
|
+
"member": "string",
|
16205
|
+
"name": "AlarmNotifyPeriod",
|
16206
|
+
"required": true,
|
16207
|
+
"type": "string",
|
16208
|
+
"value_allowed_null": false
|
16209
|
+
},
|
16210
|
+
{
|
16211
|
+
"disabled": false,
|
16212
|
+
"document": "告警通知方式",
|
16213
|
+
"example": "",
|
16214
|
+
"member": "string",
|
16215
|
+
"name": "AlarmNotifyType",
|
16216
|
+
"required": true,
|
16217
|
+
"type": "string",
|
16218
|
+
"value_allowed_null": false
|
16219
|
+
},
|
16220
|
+
{
|
16221
|
+
"disabled": false,
|
16222
|
+
"document": "事件ID",
|
16223
|
+
"example": "",
|
16224
|
+
"member": "string",
|
16225
|
+
"name": "EventID",
|
16226
|
+
"required": true,
|
16227
|
+
"type": "string",
|
16228
|
+
"value_allowed_null": false
|
16229
|
+
},
|
16230
|
+
{
|
16231
|
+
"disabled": false,
|
16232
|
+
"document": "规则ID",
|
16233
|
+
"example": "",
|
16234
|
+
"member": "int64",
|
16235
|
+
"name": "RuleID",
|
16236
|
+
"required": false,
|
16237
|
+
"type": "int",
|
16238
|
+
"value_allowed_null": false
|
16239
|
+
}
|
16240
|
+
],
|
16241
|
+
"usage": "in"
|
16242
|
+
},
|
15994
16243
|
"ModifyGrafanaInstanceRequest": {
|
15995
16244
|
"document": "ModifyGrafanaInstance请求参数结构体",
|
15996
16245
|
"members": [
|
@@ -70,6 +70,14 @@
|
|
70
70
|
"title": "创建报警规则"
|
71
71
|
}
|
72
72
|
],
|
73
|
+
"CreateConditionsTemplate": [
|
74
|
+
{
|
75
|
+
"document": "",
|
76
|
+
"input": "POST / HTTP/1.1\nHost: monitor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConditionsTemplate\n<公共请求参数>\n\n{\n \"EventConditions\": [\n {\n \"EventID\": \"123\",\n \"AlarmNotifyType\": \"0\",\n \"AlarmNotifyPeriod\": \"123\",\n \"RuleID\": 0\n }\n ],\n \"Remark\": \"abcd\",\n \"ViewName\": \"cvm\",\n \"Module\": \"monitor\",\n \"IsUnionRule\": 0,\n \"GroupName\": \"abcd\",\n \"IsShielded\": 0,\n \"ComplexExpression\": \"(1 AND 2) OR 3\",\n \"ParentGroupID\": 0,\n \"Conditions\": [\n {\n \"RuleID\": 0,\n \"MetricID\": 0,\n \"CalcType\": \"1\",\n \"AlarmNotifyPeriod\": \"0\",\n \"ContinuePeriod\": \"1\",\n \"AlarmNotifyType\": 0,\n \"CalcPeriod\": \"60\",\n \"CalcValue\": \"0\"\n }\n ]\n}",
|
77
|
+
"output": "{\n \"Response\": {\n \"GroupID\": 1998842,\n \"RequestId\": \"'4cf37d0d-99f9-4050-a08e-88e2b97017a8\"\n }\n}",
|
78
|
+
"title": "创建告警条件模板"
|
79
|
+
}
|
80
|
+
],
|
73
81
|
"CreateExporterIntegration": [
|
74
82
|
{
|
75
83
|
"document": "参数说明:\n1. InstanceId 是 Prometheus 实例 ID,必填\n2. Kind 参数固定为 `emr-exporter`,必填\n3. Content 参数格式如示例。说明如下:\n4.1. kind 是集成类型,必填且这里固定为 `emr-exporter`\n4.2. spec.job 是抓取配置,必填,yaml格式,具体可参考[EMR 接入文档](https://cloud.tencent.com/document/product/1416/92850#cb099aba-2dd3-42e6-bc10-69db3999a5a8)",
|
@@ -6513,7 +6513,7 @@
|
|
6513
6513
|
},
|
6514
6514
|
{
|
6515
6515
|
"disabled": false,
|
6516
|
-
"document": "地域ID 。\n- 1:广州 \n- 4:上海 \n- 5:中国香港 \n- 7:上海金融 \n- 8:北京 \n- 9:新加坡\n- 11:深圳金融\n- 15:美西(硅谷)\n- 16:成都 \n- 17:德国 \n- 18:韩国 \n- 19:重庆 \n-
|
6516
|
+
"document": "地域ID 。\n- 1:广州 \n- 4:上海 \n- 5:中国香港 \n- 7:上海金融 \n- 8:北京 \n- 9:新加坡\n- 11:深圳金融\n- 15:美西(硅谷)\n- 16:成都 \n- 17:德国 \n- 18:韩国 \n- 19:重庆 \n- 22:美东(弗吉尼亚)\n- 23:泰国 \n- 25:日本",
|
6517
6517
|
"example": "1",
|
6518
6518
|
"member": "int64",
|
6519
6519
|
"name": "RegionId",
|
@@ -7698,7 +7698,7 @@
|
|
7698
7698
|
},
|
7699
7699
|
{
|
7700
7700
|
"disabled": false,
|
7701
|
-
"document": "地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>
|
7701
|
+
"document": "地域 ID。<ul><li>1:广州。</li><li>4:上海。</li><li>5:中国香港。</li><li>7:上海金融。</li> <li>8:北京。</li> <li>9:新加坡。</li> <li>11:深圳金融。</li> <li>15:美西(硅谷)。</li><li>16:成都。</li><li>17:法兰克福。</li><li>18:首尔。</li><li>19:重庆。</li><li>22:美东(弗吉尼亚)。</li><li>23:曼谷。</li><li>25:东京。</li></ul>",
|
7702
7702
|
"example": "1",
|
7703
7703
|
"member": "int64",
|
7704
7704
|
"name": "RegionId",
|
@@ -355,13 +355,13 @@
|
|
355
355
|
"members": [
|
356
356
|
{
|
357
357
|
"disabled": false,
|
358
|
-
"document": "
|
358
|
+
"document": "查询命中的节省计划抵扣明细数据总条数",
|
359
359
|
"example": "100",
|
360
360
|
"member": "uint64",
|
361
361
|
"name": "Total",
|
362
362
|
"output_required": true,
|
363
363
|
"type": "int",
|
364
|
-
"value_allowed_null":
|
364
|
+
"value_allowed_null": false
|
365
365
|
},
|
366
366
|
{
|
367
367
|
"disabled": false,
|
@@ -523,7 +523,7 @@
|
|
523
523
|
{
|
524
524
|
"disabled": false,
|
525
525
|
"document": "节省计划使用率数据",
|
526
|
-
"example": "[]",
|
526
|
+
"example": "[{\"CostAmount\":\"600\",\"DeductAmount\":\"600\",\"DosageAmount\":\"0\",\"LossAmount\":\"0\",\"NetSavings\":\"-600\",\"PromiseAmount\":\"600\",\"Region\":[\"15\"],\"SpId\":\"svp-ivm000e-D4l9f66\",\"SpType\":\"svp_common\",\"Status\":1,\"UtilizationRate\":100}]",
|
527
527
|
"member": "SavingPlanUsageDetail",
|
528
528
|
"name": "Usages",
|
529
529
|
"output_required": true,
|
@@ -36,7 +36,7 @@
|
|
36
36
|
{
|
37
37
|
"document": "",
|
38
38
|
"input": "POST / HTTP/1.1\nHost: svp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSavingPlanUsage\n<公共请求参数>\n\n{\n \"StartDate\": \"2024-03-01\",\n \"EndDate\": \"2024-05-01\",\n \"Offset\": 0,\n \"Limit\": 1,\n \"TimeInterval\": \"month\"\n}",
|
39
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"626b5af9-5c9e-4ffb-ab6c-ec370b75a355\",\n \"Total\": 1,\n \"Usages\": [\n {\n \"CostAmount\": \"600\",\n \"DeductAmount\": \"600\",\n \"DosageAmount\": \"0\",\n \"LossAmount\": \"0\",\n \"NetSavings\": \"-600\",\n \"PromiseAmount\": \"600\",\n \"Region\": [\n \"
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"626b5af9-5c9e-4ffb-ab6c-ec370b75a355\",\n \"Total\": 1,\n \"Usages\": [\n {\n \"CostAmount\": \"600\",\n \"DeductAmount\": \"600\",\n \"DosageAmount\": \"0\",\n \"LossAmount\": \"0\",\n \"NetSavings\": \"-600\",\n \"PromiseAmount\": \"600\",\n \"Region\": [\n \"15\"\n ],\n \"SpType\": \"svp_common\",\n \"Status\": 1,\n \"UtilizationRate\": 100\n }\n ]\n }\n}",
|
40
40
|
"title": "查询节省计划使用率明细示例"
|
41
41
|
}
|
42
42
|
]
|