tccli 3.0.1309.1__py2.py3-none-any.whl → 3.0.1311.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/apm/v20210622/api.json +38 -0
- tccli/services/asr/v20190614/api.json +9 -0
- tccli/services/autoscaling/v20180419/api.json +19 -10
- tccli/services/bh/v20230418/api.json +193 -2
- tccli/services/bh/v20230418/examples.json +2 -2
- tccli/services/billing/billing_client.py +867 -125
- tccli/services/billing/v20180709/api.json +1336 -45
- tccli/services/billing/v20180709/examples.json +136 -0
- tccli/services/cdb/cdb_client.py +0 -53
- tccli/services/cdb/v20170320/api.json +0 -64
- tccli/services/cdb/v20170320/examples.json +0 -8
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +11 -1
- tccli/services/cfw/v20190904/examples.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +2 -2
- tccli/services/dsgc/v20190723/api.json +28 -18
- tccli/services/dsgc/v20190723/examples.json +1 -1
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +102 -3
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +110 -2
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/gaap/gaap_client.py +12 -171
- tccli/services/gaap/v20180529/api.json +0 -325
- tccli/services/gaap/v20180529/examples.json +0 -24
- tccli/services/hunyuan/v20230901/api.json +130 -7
- tccli/services/iai/v20180301/api.json +12 -12
- tccli/services/iai/v20180301/examples.json +8 -2
- tccli/services/keewidb/v20220308/api.json +1 -1
- tccli/services/keewidb/v20220308/examples.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +4 -4
- tccli/services/lke/v20231130/api.json +117 -2
- tccli/services/postgres/v20170312/api.json +6 -6
- tccli/services/redis/v20180412/api.json +12 -12
- tccli/services/redis/v20180412/examples.json +4 -4
- tccli/services/tag/v20180813/api.json +4 -4
- tccli/services/tcb/v20180608/api.json +20 -0
- tccli/services/tcb/v20180608/examples.json +1 -1
- tccli/services/tcbr/v20220217/api.json +94 -0
- tccli/services/tdmq/v20200217/api.json +4 -4
- tccli/services/teo/v20220901/api.json +45 -24
- tccli/services/thpc/v20211109/api.json +1 -1
- tccli/services/thpc/v20220401/api.json +1 -1
- tccli/services/thpc/v20230321/api.json +6 -6
- tccli/services/tione/v20211111/api.json +159 -4
- tccli/services/tke/v20180525/api.json +10 -10
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/trtc/v20190722/api.json +9 -0
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +5 -5
- tccli/services/waf/v20180125/api.json +163 -28
- tccli/services/waf/v20180125/examples.json +6 -0
- tccli/services/wedata/v20210820/api.json +1419 -0
- tccli/services/wedata/v20210820/examples.json +57 -1
- tccli/services/wedata/wedata_client.py +371 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/RECORD +62 -62
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1309.1.dist-info → tccli-3.0.1311.1.dist-info}/license_files/LICENSE +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
+
"CreateAllocationRule": [
|
4
|
+
{
|
5
|
+
"document": "",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationRule\n<公共请求参数>\n\n{\n \"RuleList\": {\n \"Name\": \"测试1\",\n \"Type\": \"2\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"6\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"7\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"8\"\n },\n {\n \"Ratio\": \"25\",\n \"NodeId\": \"9\"\n }\n ],\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"ownerUin\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"700000384179\"\n ]\n },\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cbs\"\n ]\n },\n {\n \"Connectors\": \"or\",\n \"Children\": [\n {\n \"RuleKey\": \"itemCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"sv_cbs_memspace_premium\",\n \"sv_cdn_cn_flux_package\",\n \"sv_ci_pkg_co_re_10\"\n ]\n }\n ]\n },\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"0\"\n ]\n }\n ]\n }\n }\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"Id\": 33,\n \"RequestId\": \"aab8393d-ceba-44e2-819f-6d4fd0ebf987\"\n }\n}",
|
8
|
+
"title": "创建公摊规则1"
|
9
|
+
}
|
10
|
+
],
|
3
11
|
"CreateAllocationTag": [
|
4
12
|
{
|
5
13
|
"document": "批量设置分账标签",
|
@@ -8,6 +16,42 @@
|
|
8
16
|
"title": "批量设置分账标签"
|
9
17
|
}
|
10
18
|
],
|
19
|
+
"CreateAllocationUnit": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationUnit\n<公共请求参数>\n\n{\n \"Name\": \"财务部\",\n \"ParentId\": \"1\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"Id\": 2,\n \"RequestId\": \"5ac3b178-3434-452e-9a1e-dc8b8089a2d8\"\n }\n}",
|
24
|
+
"title": "创建普通分账单元"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"document": "",
|
28
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAllocationUnit\n<公共请求参数>\n\n{\n \"ParentId\": \"0\"\n}",
|
29
|
+
"output": "{\n \"Response\": {\n \"Id\": 1,\n \"RequestId\": \"ebe202d2-9746-4c9a-a931-f569651e5894\"\n }\n}",
|
30
|
+
"title": "创建分账目录树根结点"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"CreateGatherRule": [
|
34
|
+
{
|
35
|
+
"document": "",
|
36
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGatherRule\n<公共请求参数>\n\n{\n \"Id\": \"6\",\n \"RuleList\": {\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n }\n ]\n }\n }\n}",
|
37
|
+
"output": "{\n \"Response\": {\n \"Id\": 23,\n \"RequestId\": \"215ccaa8-3b2b-425c-b53b-375df0c491e6\"\n }\n}",
|
38
|
+
"title": "创建归集规则"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"document": "",
|
42
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateGatherRule\n<公共请求参数>\n\n{\n \"Id\": \"8\",\n \"RuleList\": {\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"9\",\n \"5\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n }\n }\n}",
|
43
|
+
"output": "{\n \"Response\": {\n \"Id\": 24,\n \"RequestId\": \"4c396774-36bc-4897-a03d-41a18357d63d\"\n }\n}",
|
44
|
+
"title": "创建归集嵌套规则"
|
45
|
+
}
|
46
|
+
],
|
47
|
+
"DeleteAllocationRule": [
|
48
|
+
{
|
49
|
+
"document": "",
|
50
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllocationRule\n<公共请求参数>\n\n{\n \"RuleId\": \"21\"\n}",
|
51
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e0f48e2a-e884-4ebc-83ee-eb98ff194bfa\"\n }\n}",
|
52
|
+
"title": "公摊规则删除示例"
|
53
|
+
}
|
54
|
+
],
|
11
55
|
"DeleteAllocationTag": [
|
12
56
|
{
|
13
57
|
"document": "批量取消设置分账标签",
|
@@ -16,6 +60,22 @@
|
|
16
60
|
"title": "批量取消设置分账标签"
|
17
61
|
}
|
18
62
|
],
|
63
|
+
"DeleteAllocationUnit": [
|
64
|
+
{
|
65
|
+
"document": "",
|
66
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAllocationUnit\n<公共请求参数>\n\n{\n \"Id\": \"18\"\n}",
|
67
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"169af64e-15a9-49f3-a9df-0b6f0afbe525\"\n }\n}",
|
68
|
+
"title": "删除分账单元"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"DeleteGatherRule": [
|
72
|
+
{
|
73
|
+
"document": "",
|
74
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteGatherRule\n<公共请求参数>\n\n{\n \"RuleId\": \"18\"\n}",
|
75
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3f217f8c-7fca-489c-872f-f0780ee3b147\"\n }\n}",
|
76
|
+
"title": "删除归集规则示例"
|
77
|
+
}
|
78
|
+
],
|
19
79
|
"DescribeAccountBalance": [
|
20
80
|
{
|
21
81
|
"document": "",
|
@@ -64,6 +124,22 @@
|
|
64
124
|
"title": "DescribeAllocationOverview"
|
65
125
|
}
|
66
126
|
],
|
127
|
+
"DescribeAllocationRuleDetail": [
|
128
|
+
{
|
129
|
+
"document": "",
|
130
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationRuleDetail\n<公共请求参数>\n\n{\n \"Month\": \"202210\",\n \"RuleId\": \"24\"\n}",
|
131
|
+
"output": "{\n \"Response\": {\n \"Id\": 24,\n \"Uin\": \"909619400\",\n \"Name\": \"test_allocation2\",\n \"Type\": 1,\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"RatioDetail\": [\n {\n \"NodeId\": 6,\n \"Ratio\": 40\n },\n {\n \"NodeId\": 7,\n \"Ratio\": 60\n }\n ],\n \"RequestId\": \"b9fd53c2-d5d3-4f49-8a6d-dd0b2e9c02bf\"\n }\n}",
|
132
|
+
"title": "查询公摊规则详情"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"DescribeAllocationRuleSummary": [
|
136
|
+
{
|
137
|
+
"document": "",
|
138
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationRuleSummary\n<公共请求参数>\n\n{\n \"Month\": \"2022-11\",\n \"Limit\": \"2\",\n \"Offset\": \"0\"\n}",
|
139
|
+
"output": "{\n \"Response\": {\n \"Total\": 2,\n \"RuleList\": [\n {\n \"RuleId\": 33,\n \"RuleName\": \"测试1\",\n \"Type\": 2,\n \"UpdateTime\": \"2022-10-30 17:26:16\",\n \"AllocationNode\": [\n {\n \"NodeId\": 6,\n \"TreeNodeUniqKeyName\": \"产品一部\"\n },\n {\n \"NodeId\": 7,\n \"TreeNodeUniqKeyName\": \"产品二部\"\n },\n {\n \"NodeId\": 8,\n \"TreeNodeUniqKeyName\": \"产品三部\"\n },\n {\n \"NodeId\": 9,\n \"TreeNodeUniqKeyName\": \"产品四部\"\n }\n ]\n },\n {\n \"RuleId\": 29,\n \"RuleName\": \"test_allocation2\",\n \"Type\": 1,\n \"UpdateTime\": \"2022-10-24 12:05:04\",\n \"AllocationNode\": [\n {\n \"NodeId\": 2,\n \"TreeNodeUniqKeyName\": \"财务部\"\n },\n {\n \"NodeId\": 5,\n \"TreeNodeUniqKeyName\": \"组织部\"\n }\n ]\n }\n ],\n \"RequestId\": \"78933c15-099c-4958-9ca0-8c148bc1da04\"\n }\n}",
|
140
|
+
"title": "查询公摊规则概览"
|
141
|
+
}
|
142
|
+
],
|
67
143
|
"DescribeAllocationSummaryByBusiness": [
|
68
144
|
{
|
69
145
|
"document": "",
|
@@ -88,6 +164,14 @@
|
|
88
164
|
"title": "查询分账账单按资源汇总"
|
89
165
|
}
|
90
166
|
],
|
167
|
+
"DescribeAllocationTree": [
|
168
|
+
{
|
169
|
+
"document": "",
|
170
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationTree\n<公共请求参数>\n\n{\n \"Month\": \"2022-11\"\n}",
|
171
|
+
"output": "{\n \"Response\": {\n \"Id\": 1,\n \"Name\": \"集团\",\n \"TreeNodeUniqKey\": \"909619400-63567fc182c5a\",\n \"Children\": [\n {\n \"Id\": 2,\n \"Name\": \"财务部\",\n \"TreeNodeUniqKey\": \"909619400-63567ffc4a1b3\",\n \"Children\": []\n },\n {\n \"Id\": 4,\n \"Name\": \"产品部\",\n \"TreeNodeUniqKey\": \"909619400-6357486e737c1\",\n \"Children\": [\n {\n \"Id\": 6,\n \"Name\": \"产品一部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee8995950\",\n \"Children\": []\n },\n {\n \"Id\": 7,\n \"Name\": \"产品二部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee8e7ae35\",\n \"Children\": []\n },\n {\n \"Id\": 8,\n \"Name\": \"产品三部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee9354431\",\n \"Children\": []\n },\n {\n \"Id\": 9,\n \"Name\": \"产品四部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee977ff68\",\n \"Children\": []\n },\n {\n \"Id\": 10,\n \"Name\": \"产品五部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee9c73690\",\n \"Children\": []\n }\n ]\n },\n {\n \"Id\": 5,\n \"Name\": \"组织部\",\n \"TreeNodeUniqKey\": \"909619400-6358ee6cb2f8f\",\n \"Children\": []\n }\n ],\n \"RequestId\": \"8e6f00af-4843-481c-9e3a-d61ba53b07ed\"\n }\n}",
|
172
|
+
"title": "查询整颗树"
|
173
|
+
}
|
174
|
+
],
|
91
175
|
"DescribeAllocationTrendByMonth": [
|
92
176
|
{
|
93
177
|
"document": "查询分账报表费用趋势",
|
@@ -96,6 +180,14 @@
|
|
96
180
|
"title": "查询分账报表费用趋势"
|
97
181
|
}
|
98
182
|
],
|
183
|
+
"DescribeAllocationUnitDetail": [
|
184
|
+
{
|
185
|
+
"document": "",
|
186
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAllocationUnitDetail\n<公共请求参数>\n\n{\n \"Id\": \"6\",\n \"Month\": \"2022-10-01\"\n}",
|
187
|
+
"output": "{\n \"Response\": {\n \"Id\": 6,\n \"Uin\": \"909619400\",\n \"Name\": \"产品一部\",\n \"ParentId\": 4,\n \"SourceName\": \"一组\",\n \"SourceId\": \"asd221\",\n \"Remark\": \"备注1\",\n \"TreeNodeUniqKey\": \"909619400-6358ee8995950\",\n \"RuleId\": 23,\n \"RequestId\": \"e93a707c-f31f-417f-a39b-e72380132dbb\"\n }\n}",
|
188
|
+
"title": "查询分账单元详情"
|
189
|
+
}
|
190
|
+
],
|
99
191
|
"DescribeBillAdjustInfo": [
|
100
192
|
{
|
101
193
|
"document": "根据月份获取账单异常调整信息",
|
@@ -350,6 +442,14 @@
|
|
350
442
|
"title": "查询分账账单资源归集汇总"
|
351
443
|
}
|
352
444
|
],
|
445
|
+
"DescribeGatherRuleDetail": [
|
446
|
+
{
|
447
|
+
"document": "",
|
448
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeGatherRuleDetail\n<公共请求参数>\n\n{\n \"Id\": \"17\",\n \"Month\": \"2022-11\"\n}",
|
449
|
+
"output": "{\n \"Response\": {\n \"Id\": 17,\n \"Uin\": \"909619400\",\n \"UpdateTime\": \"2022-10-21 17:44:22\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"=\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"RequestId\": \"fcbfb5c0-9589-4c78-a01b-481ab01cbf76\"\n }\n}",
|
450
|
+
"title": "查询归集规则详情"
|
451
|
+
}
|
452
|
+
],
|
353
453
|
"DescribeSavingPlanResourceInfo": [
|
354
454
|
{
|
355
455
|
"document": "查询名下可共享的sp资源详细",
|
@@ -382,6 +482,42 @@
|
|
382
482
|
"title": "获取代金券使用记录"
|
383
483
|
}
|
384
484
|
],
|
485
|
+
"ModifyAllocationRule": [
|
486
|
+
{
|
487
|
+
"document": "",
|
488
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationRule\n<公共请求参数>\n\n{\n \"Name\": \"test_allocation2\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"p_cvm\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"9\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n },\n \"Type\": \"1\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"40\",\n \"NodeId\": \"13\"\n },\n {\n \"Ratio\": \"60\",\n \"NodeId\": \"14\"\n }\n ],\n \"RuleId\": \"24\"\n}",
|
489
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"297a49ab-623b-4b3f-bd3a-1309cae4f76b\"\n }\n}",
|
490
|
+
"title": "编辑公摊规则"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"document": "",
|
494
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationRule\n<公共请求参数>\n\n{\n \"Name\": \"test_allocation1\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"\",\n \"RuleValue\": [\n \"p_nat\"\n ]\n }\n ]\n },\n \"Type\": \"2\",\n \"RatioDetail\": [\n {\n \"Ratio\": \"50\",\n \"NodeId\": \"13\"\n },\n {\n \"Ratio\": \"50\",\n \"NodeId\": \"14\"\n }\n ],\n \"RuleId\": \"22\"\n}",
|
495
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"937c1611-0e37-4a9d-8e01-f4854937a555\"\n }\n}",
|
496
|
+
"title": "编辑公摊规则示例"
|
497
|
+
}
|
498
|
+
],
|
499
|
+
"ModifyAllocationUnit": [
|
500
|
+
{
|
501
|
+
"document": "",
|
502
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAllocationUnit\n<公共请求参数>\n\n{\n \"SourceName\": \"五部一组\",\n \"SourceId\": \"asd123\",\n \"Remark\": \"分账\",\n \"Name\": \"产品五部\",\n \"Id\": \"13\"\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0dbb9b55-2d4f-4178-9898-f6757b174117\"\n }\n}",
|
504
|
+
"title": "编辑分账单元信息"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"ModifyGatherRule": [
|
508
|
+
{
|
509
|
+
"document": "",
|
510
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGatherRule\n<公共请求参数>\n\n{\n \"Id\": \"23\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n }\n ]\n }\n}",
|
511
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"73c8c569-7791-4b2d-bc40-f3c18c5f40d2\"\n }\n}",
|
512
|
+
"title": "编辑归集规则"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"document": "",
|
516
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyGatherRule\n<公共请求参数>\n\n{\n \"Id\": \"24\",\n \"RuleDetail\": {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"businessCode\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"p_cvm\",\n \"p_nat\"\n ]\n },\n {\n \"RuleKey\": \"regionId\",\n \"Operator\": \"in\",\n \"RuleValue\": [\n \"9\",\n \"5\"\n ]\n },\n {\n \"Connectors\": \"and\",\n \"Children\": [\n {\n \"RuleKey\": \"projectId\",\n \"Operator\": \"not in\",\n \"RuleValue\": [\n \"1270522\"\n ]\n }\n ]\n }\n ]\n }\n}",
|
517
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"901c2178-fa8d-4878-8680-952ea3788a59\"\n }\n}",
|
518
|
+
"title": "编辑归集规则1"
|
519
|
+
}
|
520
|
+
],
|
385
521
|
"PayDeals": [
|
386
522
|
{
|
387
523
|
"document": "",
|
tccli/services/cdb/cdb_client.py
CHANGED
@@ -6517,58 +6517,6 @@ def doRestartDBInstances(args, parsed_globals):
|
|
6517
6517
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6518
6518
|
|
6519
6519
|
|
6520
|
-
def doDescribeCpuExpandStrategy(args, parsed_globals):
|
6521
|
-
g_param = parse_global_arg(parsed_globals)
|
6522
|
-
|
6523
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6524
|
-
cred = credential.CVMRoleCredential()
|
6525
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6526
|
-
cred = credential.STSAssumeRoleCredential(
|
6527
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6528
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6529
|
-
)
|
6530
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
6531
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6532
|
-
else:
|
6533
|
-
cred = credential.Credential(
|
6534
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6535
|
-
)
|
6536
|
-
http_profile = HttpProfile(
|
6537
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6538
|
-
reqMethod="POST",
|
6539
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
6540
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6541
|
-
)
|
6542
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6543
|
-
if g_param[OptionsDefine.Language]:
|
6544
|
-
profile.language = g_param[OptionsDefine.Language]
|
6545
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6546
|
-
client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
|
6547
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
6548
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6549
|
-
model = models.DescribeCpuExpandStrategyRequest()
|
6550
|
-
model.from_json_string(json.dumps(args))
|
6551
|
-
start_time = time.time()
|
6552
|
-
while True:
|
6553
|
-
rsp = client.DescribeCpuExpandStrategy(model)
|
6554
|
-
result = rsp.to_json_string()
|
6555
|
-
try:
|
6556
|
-
json_obj = json.loads(result)
|
6557
|
-
except TypeError as e:
|
6558
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6559
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6560
|
-
break
|
6561
|
-
cur_time = time.time()
|
6562
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6563
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6564
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6565
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6566
|
-
else:
|
6567
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6568
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6569
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6570
|
-
|
6571
|
-
|
6572
6520
|
def doReloadBalanceProxyNode(args, parsed_globals):
|
6573
6521
|
g_param = parse_global_arg(parsed_globals)
|
6574
6522
|
|
@@ -9149,7 +9097,6 @@ ACTION_MAP = {
|
|
9149
9097
|
"CreateRotationPassword": doCreateRotationPassword,
|
9150
9098
|
"CreateDBImportJob": doCreateDBImportJob,
|
9151
9099
|
"RestartDBInstances": doRestartDBInstances,
|
9152
|
-
"DescribeCpuExpandStrategy": doDescribeCpuExpandStrategy,
|
9153
9100
|
"ReloadBalanceProxyNode": doReloadBalanceProxyNode,
|
9154
9101
|
"ModifyRoGroupInfo": doModifyRoGroupInfo,
|
9155
9102
|
"DescribeBackupDownloadRestriction": doDescribeBackupDownloadRestriction,
|
@@ -455,13 +455,6 @@
|
|
455
455
|
"output": "DescribeClusterInfoResponse",
|
456
456
|
"status": "online"
|
457
457
|
},
|
458
|
-
"DescribeCpuExpandStrategy": {
|
459
|
-
"document": "DescribeCpuExpandStrategy\n\n通过该 API 可以查询实例的 CPU 弹性扩容策略",
|
460
|
-
"input": "DescribeCpuExpandStrategyRequest",
|
461
|
-
"name": "查询实例的 CPU 弹性扩容策略",
|
462
|
-
"output": "DescribeCpuExpandStrategyResponse",
|
463
|
-
"status": "deprecated"
|
464
|
-
},
|
465
458
|
"DescribeDBFeatures": {
|
466
459
|
"document": "本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。",
|
467
460
|
"input": "DescribeDBFeaturesRequest",
|
@@ -9523,63 +9516,6 @@
|
|
9523
9516
|
],
|
9524
9517
|
"type": "object"
|
9525
9518
|
},
|
9526
|
-
"DescribeCpuExpandStrategyRequest": {
|
9527
|
-
"document": "DescribeCpuExpandStrategy请求参数结构体",
|
9528
|
-
"members": [
|
9529
|
-
{
|
9530
|
-
"disabled": false,
|
9531
|
-
"document": "实例 ID 。",
|
9532
|
-
"example": "cdb-xxdasd",
|
9533
|
-
"member": "string",
|
9534
|
-
"name": "InstanceId",
|
9535
|
-
"required": true,
|
9536
|
-
"type": "string"
|
9537
|
-
}
|
9538
|
-
],
|
9539
|
-
"type": "object"
|
9540
|
-
},
|
9541
|
-
"DescribeCpuExpandStrategyResponse": {
|
9542
|
-
"document": "DescribeCpuExpandStrategy返回参数结构体",
|
9543
|
-
"members": [
|
9544
|
-
{
|
9545
|
-
"disabled": false,
|
9546
|
-
"document": "策略类型。可选值 auto、manual。",
|
9547
|
-
"example": "auto",
|
9548
|
-
"member": "string",
|
9549
|
-
"name": "Type",
|
9550
|
-
"output_required": true,
|
9551
|
-
"type": "string",
|
9552
|
-
"value_allowed_null": false
|
9553
|
-
},
|
9554
|
-
{
|
9555
|
-
"disabled": false,
|
9556
|
-
"document": "手动扩容的 CPU 。Type为 manual 时有效。",
|
9557
|
-
"example": "4",
|
9558
|
-
"member": "string",
|
9559
|
-
"name": "ExpandCpu",
|
9560
|
-
"output_required": true,
|
9561
|
-
"type": "string",
|
9562
|
-
"value_allowed_null": false
|
9563
|
-
},
|
9564
|
-
{
|
9565
|
-
"disabled": true,
|
9566
|
-
"document": "自动扩容策略。Type 为 auto 时有效",
|
9567
|
-
"example": "略",
|
9568
|
-
"member": "string",
|
9569
|
-
"name": "AutoStrategy",
|
9570
|
-
"output_required": true,
|
9571
|
-
"type": "string",
|
9572
|
-
"value_allowed_null": false
|
9573
|
-
},
|
9574
|
-
{
|
9575
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9576
|
-
"member": "string",
|
9577
|
-
"name": "RequestId",
|
9578
|
-
"type": "string"
|
9579
|
-
}
|
9580
|
-
],
|
9581
|
-
"type": "object"
|
9582
|
-
},
|
9583
9519
|
"DescribeDBFeaturesRequest": {
|
9584
9520
|
"document": "DescribeDBFeatures请求参数结构体",
|
9585
9521
|
"members": [
|
@@ -556,14 +556,6 @@
|
|
556
556
|
"title": "查询云盘版实例信息"
|
557
557
|
}
|
558
558
|
],
|
559
|
-
"DescribeCpuExpandStrategy": [
|
560
|
-
{
|
561
|
-
"document": "用于查询实例的弹性扩容配置。",
|
562
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCpuExpandStrategy\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-sad1dsfa\"\n}",
|
563
|
-
"output": "{\n \"Response\": {\n \"Type\": \"auto\",\n \"ExpandCpu\": \"4\",\n \"AutoStrategy\": \"auto\",\n \"RequestId\": \"dasdqw13-dasdhd3-123v-1234-v432\"\n }\n}",
|
564
|
-
"title": "查询实例的弹性扩容配置"
|
565
|
-
}
|
566
|
-
],
|
567
559
|
"DescribeDBFeatures": [
|
568
560
|
{
|
569
561
|
"document": "查询实例特性,诸如内核小版本、是否开启审计等。",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"CreateInstanceNew": [
|
20
20
|
{
|
21
21
|
"document": "创建集群API",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceNew\n<公共请求参数>\n\n{\n \"InstanceName\": \"xzq-test-按量-hazk2节点\",\n \"MountDiskType\": 0,\n \"HAZk\": true,\n \"Zone\": \"ap-beijing-2\",\n \"DataSpec\": {\n \"SpecName\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceNew\n<公共请求参数>\n\n{\n \"InstanceName\": \"xzq-test-按量-hazk2节点\",\n \"MountDiskType\": 0,\n \"HAZk\": true,\n \"Zone\": \"ap-beijing-2\",\n \"DataSpec\": {\n \"SpecName\": \"S_16_64_H\",\n \"Count\": 2,\n \"DiskSize\": 200\n },\n \"CommonSpec\": {\n \"SpecName\": \"S_4_16_H\",\n \"Count\": 3,\n \"DiskSize\": 100\n },\n \"HaFlag\": false,\n \"UserVPCId\": \"vpc-8visjoh9\",\n \"UserSubnetId\": \"subnet-03ij1dki\",\n \"ProductVersion\": \"23.8.9.1\",\n \"ChargeProperties\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\"\n }\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"InstanceId\": \"cdwch-aijqera\",\n \"FlowId\": \"1231\",\n \"RequestId\": \"lweinasd-28kamasd-xasdas\",\n \"ErrorMsg\": \"\"\n }\n}",
|
24
24
|
"title": "test"
|
25
25
|
}
|
@@ -5765,6 +5765,16 @@
|
|
5765
5765
|
"type": "int",
|
5766
5766
|
"value_allowed_null": false
|
5767
5767
|
},
|
5768
|
+
{
|
5769
|
+
"disabled": false,
|
5770
|
+
"document": "是否用户中止 用户中止返回true",
|
5771
|
+
"example": "false",
|
5772
|
+
"member": "bool",
|
5773
|
+
"name": "UserStopped",
|
5774
|
+
"output_required": false,
|
5775
|
+
"type": "bool",
|
5776
|
+
"value_allowed_null": false
|
5777
|
+
},
|
5768
5778
|
{
|
5769
5779
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5770
5780
|
"member": "string",
|
@@ -13751,7 +13761,7 @@
|
|
13751
13761
|
},
|
13752
13762
|
{
|
13753
13763
|
"disabled": false,
|
13754
|
-
"document": "协议;TCP/UDP/ICMP/ANY",
|
13764
|
+
"document": "协议;TCP/UDP/ICMP/ICMPv6/ANY",
|
13755
13765
|
"example": "ANY",
|
13756
13766
|
"member": "string",
|
13757
13767
|
"name": "Protocol",
|
@@ -347,8 +347,8 @@
|
|
347
347
|
"DescribeEnterpriseSGRuleProgress": [
|
348
348
|
{
|
349
349
|
"document": "",
|
350
|
-
"input": "
|
351
|
-
"output": "{\n \"Response\": {\n \"Progress\":
|
350
|
+
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnterpriseSGRuleProgress\n<公共请求参数>\n\n{}",
|
351
|
+
"output": "{\n \"Response\": {\n \"Progress\": 100,\n \"RequestId\": \"e94a6272-4e68-4614-8433-363f87dfb28b\",\n \"UserStopped\": false\n }\n}",
|
352
352
|
"title": "查询新版安全组下发进度"
|
353
353
|
}
|
354
354
|
],
|
@@ -3360,7 +3360,7 @@
|
|
3360
3360
|
{
|
3361
3361
|
"disabled": false,
|
3362
3362
|
"document": "流程ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
3363
|
-
"example": "
|
3363
|
+
"example": "147187",
|
3364
3364
|
"member": "int64",
|
3365
3365
|
"name": "FlowId",
|
3366
3366
|
"output_required": false,
|
@@ -3370,7 +3370,7 @@
|
|
3370
3370
|
{
|
3371
3371
|
"disabled": false,
|
3372
3372
|
"document": "任务id\n注意:此字段可能返回 null,表示取不到有效值。",
|
3373
|
-
"example": "
|
3373
|
+
"example": "149284",
|
3374
3374
|
"member": "int64",
|
3375
3375
|
"name": "TaskId",
|
3376
3376
|
"output_required": false,
|
@@ -12777,63 +12777,73 @@
|
|
12777
12777
|
"DspaDiscoveryTask": {
|
12778
12778
|
"document": "分类分级任务相关信息",
|
12779
12779
|
"members": [
|
12780
|
+
{
|
12781
|
+
"disabled": false,
|
12782
|
+
"document": "任务ID",
|
12783
|
+
"example": "1",
|
12784
|
+
"member": "int64",
|
12785
|
+
"name": "TaskId",
|
12786
|
+
"output_required": true,
|
12787
|
+
"type": "int",
|
12788
|
+
"value_allowed_null": false
|
12789
|
+
},
|
12780
12790
|
{
|
12781
12791
|
"disabled": false,
|
12782
12792
|
"document": "任务名称",
|
12783
|
-
"example": "
|
12793
|
+
"example": "分类分级任务",
|
12784
12794
|
"member": "string",
|
12785
12795
|
"name": "Name",
|
12786
|
-
"
|
12796
|
+
"output_required": true,
|
12787
12797
|
"type": "string",
|
12788
12798
|
"value_allowed_null": false
|
12789
12799
|
},
|
12790
12800
|
{
|
12791
12801
|
"disabled": false,
|
12792
12802
|
"document": "任务描述",
|
12793
|
-
"example": "
|
12803
|
+
"example": "分类分级任务描述",
|
12794
12804
|
"member": "string",
|
12795
12805
|
"name": "Description",
|
12796
|
-
"
|
12806
|
+
"output_required": true,
|
12797
12807
|
"type": "string",
|
12798
12808
|
"value_allowed_null": false
|
12799
12809
|
},
|
12800
12810
|
{
|
12801
12811
|
"disabled": false,
|
12802
12812
|
"document": "执行周期,0单次 1每天 2每周 3每月",
|
12803
|
-
"example": "
|
12813
|
+
"example": "0",
|
12804
12814
|
"member": "int64",
|
12805
12815
|
"name": "Period",
|
12806
|
-
"
|
12816
|
+
"output_required": true,
|
12807
12817
|
"type": "int",
|
12808
12818
|
"value_allowed_null": false
|
12809
12819
|
},
|
12810
12820
|
{
|
12811
12821
|
"disabled": false,
|
12812
12822
|
"document": "执行计划,0立即 1定时",
|
12813
|
-
"example": "
|
12823
|
+
"example": "0",
|
12814
12824
|
"member": "int64",
|
12815
12825
|
"name": "Plan",
|
12816
|
-
"
|
12826
|
+
"output_required": true,
|
12817
12827
|
"type": "int",
|
12818
12828
|
"value_allowed_null": false
|
12819
12829
|
},
|
12820
12830
|
{
|
12821
12831
|
"disabled": false,
|
12822
12832
|
"document": "任务开关;1 打开,0 关闭",
|
12823
|
-
"example": "
|
12833
|
+
"example": "1",
|
12824
12834
|
"member": "int64",
|
12825
12835
|
"name": "Enable",
|
12826
|
-
"
|
12836
|
+
"output_required": true,
|
12827
12837
|
"type": "int",
|
12828
12838
|
"value_allowed_null": false
|
12829
12839
|
},
|
12830
12840
|
{
|
12831
12841
|
"disabled": false,
|
12832
12842
|
"document": "元数据对象信息",
|
12833
|
-
"example": "
|
12843
|
+
"example": "{\"ResourceRegion\":\"ap-guangzhou\",\"DataSourceId\":\"cdb-xxxxxxx\",\"DataSourceName\":\"test_db\",\"ProxyAddress\":[],\"Condition\":\"\",\"DataSourceType\":\"cdb\"}",
|
12834
12844
|
"member": "DspaDiscoveryTaskDataSource",
|
12835
12845
|
"name": "DataSourceInfo",
|
12836
|
-
"
|
12846
|
+
"output_required": true,
|
12837
12847
|
"type": "object",
|
12838
12848
|
"value_allowed_null": false
|
12839
12849
|
},
|
@@ -12843,27 +12853,27 @@
|
|
12843
12853
|
"example": "1",
|
12844
12854
|
"member": "int64",
|
12845
12855
|
"name": "GeneralRuleSetEnable",
|
12846
|
-
"
|
12856
|
+
"output_required": true,
|
12847
12857
|
"type": "int",
|
12848
12858
|
"value_allowed_null": false
|
12849
12859
|
},
|
12850
12860
|
{
|
12851
12861
|
"disabled": false,
|
12852
12862
|
"document": "任务最新的一次执行结果信息,该字段用于查询任务列表接口\n注意:此字段可能返回 null,表示取不到有效值。",
|
12853
|
-
"example": "
|
12863
|
+
"example": "{\"Id\":665,\"EndTime\":\"2025-05-12 04:53:03\",\"Status\":3,\"Result\":\"\",\"ResultDescription\":\"\",\"Suggestion\":\"\",\"Progress\":100}",
|
12854
12864
|
"member": "ScanTaskResult",
|
12855
12865
|
"name": "Result",
|
12856
|
-
"
|
12866
|
+
"output_required": true,
|
12857
12867
|
"type": "object",
|
12858
12868
|
"value_allowed_null": true
|
12859
12869
|
},
|
12860
12870
|
{
|
12861
12871
|
"disabled": false,
|
12862
12872
|
"document": "定时开始时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
12863
|
-
"example": "
|
12873
|
+
"example": "2025-05-1212:12:12",
|
12864
12874
|
"member": "string",
|
12865
12875
|
"name": "TimingStartTime",
|
12866
|
-
"
|
12876
|
+
"output_required": true,
|
12867
12877
|
"type": "string",
|
12868
12878
|
"value_allowed_null": true
|
12869
12879
|
},
|
@@ -12873,7 +12883,7 @@
|
|
12873
12883
|
"example": "true",
|
12874
12884
|
"member": "bool",
|
12875
12885
|
"name": "ComplianceUpdate",
|
12876
|
-
"
|
12886
|
+
"output_required": true,
|
12877
12887
|
"type": "bool",
|
12878
12888
|
"value_allowed_null": true
|
12879
12889
|
}
|
@@ -706,7 +706,7 @@
|
|
706
706
|
{
|
707
707
|
"document": "",
|
708
708
|
"input": "POST / HTTP/1.1\nHost: dsgc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDSPADiscoveryTasks\n<公共请求参数>\n\n{\n \"DataSourceType\": \"cdb\",\n \"DspaId\": \"dspa-001\",\n \"Limit\": \"1\",\n \"Offset\": \"0\"\n}",
|
709
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"Name\": \"通用规则集测试\",\n \"Description\": \"\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"TimingStartTime\": null,\n \"GeneralRuleSetEnable\": 0,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cdb-6dcpe42v\",\n \"DataSourceName\": \"采集测试\",\n \"ProxyAddress\": null,\n \"Condition\": \"test_report,dsgctest001\",\n \"DataSourceType\": \"cdb\"\n },\n \"ComplianceUpdate\": false,\n \"Result\": {\n \"Id\": 4142,\n \"EndTime\": \"2024-11-05 17:17:30\",\n \"Status\": 3,\n \"Result\": \"\"\n }\n }\n ]\n }\n}",
|
709
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"91c7a73v-e540-4780-8b8e-74e0b65b4f1a\",\n \"TotalCount\": 1,\n \"Items\": [\n {\n \"TaskId\": 14596,\n \"Name\": \"通用规则集测试\",\n \"Description\": \"\",\n \"Period\": 0,\n \"Plan\": 0,\n \"Enable\": 1,\n \"TimingStartTime\": null,\n \"GeneralRuleSetEnable\": 0,\n \"DataSourceInfo\": {\n \"ResourceRegion\": \"ap-guangzhou\",\n \"DataSourceId\": \"cdb-6dcpe42v\",\n \"DataSourceName\": \"采集测试\",\n \"ProxyAddress\": null,\n \"Condition\": \"test_report,dsgctest001\",\n \"DataSourceType\": \"cdb\"\n },\n \"ComplianceUpdate\": false,\n \"Result\": {\n \"Id\": 4142,\n \"EndTime\": \"2024-11-05 17:17:30\",\n \"Status\": 3,\n \"Result\": \"\"\n }\n }\n ]\n }\n}",
|
710
710
|
"title": "获取分类分级任务列表"
|
711
711
|
}
|
712
712
|
],
|