tccli 3.0.1278.1__py2.py3-none-any.whl → 3.0.1280.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/aiart/v20221229/api.json +1 -1
- tccli/services/antiddos/v20200309/api.json +5 -1
- tccli/services/apm/v20210622/api.json +32 -32
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/billing/v20180709/api.json +550 -529
- tccli/services/billing/v20180709/examples.json +4 -4
- tccli/services/cat/v20180409/api.json +2 -2
- tccli/services/cdwdoris/v20211228/api.json +15 -1
- tccli/services/cdwpg/cdwpg_client.py +866 -18
- tccli/services/cdwpg/v20201230/api.json +2888 -551
- tccli/services/cdwpg/v20201230/examples.json +138 -10
- tccli/services/cfs/v20190719/examples.json +8 -2
- tccli/services/ciam/v20220331/api.json +111 -111
- tccli/services/ciam/v20220331/examples.json +8 -8
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/controlcenter/v20230110/api.json +7 -5
- tccli/services/csip/v20221121/api.json +66 -6
- tccli/services/cvm/v20170312/api.json +282 -267
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/dbbrain/v20191016/api.json +12 -8
- tccli/services/dbbrain/v20210527/api.json +20 -20
- tccli/services/dlc/v20210125/api.json +19 -0
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +11 -0
- tccli/services/es/v20180416/api.json +13 -0
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/goosefs/v20220519/api.json +16 -15
- tccli/services/goosefs/v20220519/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +22 -3
- tccli/services/gwlb/v20240906/examples.json +1 -1
- tccli/services/iotcloud/v20210408/api.json +243 -245
- tccli/services/iotcloud/v20210408/examples.json +64 -64
- tccli/services/keewidb/v20220308/api.json +92 -92
- tccli/services/live/v20180801/api.json +287 -274
- tccli/services/lke/lke_client.py +114 -8
- tccli/services/lke/v20231130/api.json +220 -0
- tccli/services/lke/v20231130/examples.json +16 -0
- tccli/services/mongodb/v20190725/api.json +4 -3
- tccli/services/mongodb/v20190725/examples.json +2 -2
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/mps/v20190612/api.json +20 -9
- tccli/services/mqtt/mqtt_client.py +57 -4
- tccli/services/mqtt/v20240516/api.json +88 -0
- tccli/services/mqtt/v20240516/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +4 -4
- tccli/services/pts/v20210728/api.json +44 -6
- tccli/services/redis/v20180412/api.json +66 -66
- tccli/services/rum/v20210622/api.json +90 -0
- tccli/services/tag/v20180813/api.json +3 -3
- tccli/services/tag/v20180813/examples.json +1 -1
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +93 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +20 -20
- tccli/services/tms/v20201229/api.json +9 -0
- tccli/services/trp/v20210515/api.json +8 -8
- tccli/services/trp/v20210515/examples.json +1 -1
- tccli/services/tsf/v20180326/api.json +884 -884
- tccli/services/vod/v20180717/api.json +11 -11
- tccli/services/waf/v20180125/api.json +7 -7
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +107 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/RECORD +70 -70
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1278.1.dist-info → tccli-3.0.1280.1.dist-info}/license_files/LICENSE +0 -0
@@ -8,27 +8,75 @@
|
|
8
8
|
"title": "创建集群"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"DescribeAccounts": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccounts\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"InstanceId\": \"cdwpg_xx\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Accounts\": [\n {\n \"InstanceId\": \"cdwpg_xx\",\n \"UserName\": \"cran\",\n \"Perms\": [\n \"sds\"\n ]\n }\n ],\n \"RequestId\": \"xxdsds\"\n }\n}",
|
16
|
+
"title": "账号管理"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"DescribeDBConfigHistory": [
|
20
|
+
{
|
21
|
+
"document": "",
|
22
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBConfigHistory\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"xssx\",\n \"ConfigHistory\": [\n {\n \"Status\": \"\",\n \"NodeType\": \"cn\",\n \"InstanceId\": \"cdwpg-xx\",\n \"UpdatedAt\": \"2020-09-22T00:00:00+00:00\",\n \"ParamNewValue\": \"1024\",\n \"ParamName\": \"con\",\n \"ParamOldValue\": \"1243\",\n \"Id\": 0,\n \"CreatedAt\": \"2020-09-22T00:00:00+00:00\"\n }\n ]\n }\n}",
|
24
|
+
"title": "1"
|
25
|
+
}
|
26
|
+
],
|
27
|
+
"DescribeDBParams": [
|
28
|
+
{
|
29
|
+
"document": "",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBParams\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\",\n \"Limit\": 20,\n \"NodeTypes\": [\n \"dn\"\n ],\n \"Offset\": 0\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"xxss\",\n \"Items\": [\n {\n \"NodeType\": \"cn\",\n \"NodeName\": \"cn001\",\n \"TotalCount\": 2,\n \"Details\": [\n {\n \"ParamName\": \"MaxConnections\",\n \"DefaultValue\": \"100\",\n \"NeedRestart\": false,\n \"RunningValue\": \"100\",\n \"ValueRange\": {\n \"Type\": \"enum\",\n \"Enum\": [\n \"DEBUG\",\n \"INFO\",\n \"WARN\",\n \"ERROR\"\n ],\n \"Range\": {\n \"Min\": \"1024\",\n \"Max\": \"4096\"\n },\n \"String\": \"\"\n },\n \"Unit\": \"connections\",\n \"ShortDesc\": \"Maximum number of concurrent connections\",\n \"ParameterName\": \"cds\"\n }\n ]\n }\n ]\n }\n}",
|
32
|
+
"title": "1"
|
33
|
+
}
|
34
|
+
],
|
35
|
+
"DescribeErrorLog": [
|
36
|
+
{
|
37
|
+
"document": "查询错误日志详细信息",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeErrorLog\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\",\n \"StartTime\": \"2012-12-12 12:12:12\",\n \"EndTime\": \"2012-12-13 12:12:12\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"RequestId\": \"sxx\",\n \"ErrorLogDetails\": [\n {\n \"UserName\": \"cran\",\n \"ErrorMessage\": \"xdx\",\n \"ErrorTime\": \"2012-12-12 12:12:12\",\n \"Database\": \"test\"\n }\n ]\n }\n}",
|
40
|
+
"title": "错误日志"
|
41
|
+
}
|
42
|
+
],
|
11
43
|
"DescribeInstance": [
|
12
44
|
{
|
13
45
|
"document": "根据实例ID查询某个实例的具体信息",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
15
|
-
"output": "{\n \"Response\": {\n \"InstanceInfo\": {\n \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xdx\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"InstanceInfo\": {\n \"ID\": 20230915001,\n \"InstanceType\": \"cdwpg-cn\",\n \"InstanceName\": \"analytics-prod-01\",\n \"Status\": \"Serving\",\n \"StatusDesc\": \"服务中\",\n \"InstanceStateInfo\": {\n \"InstanceState\": \"Serving\",\n \"FlowCreateTime\": \"2023-09-15 09:30:00\",\n \"FlowName\": \"ClusterScaleOut\",\n \"FlowProgress\": 75,\n \"InstanceStateDesc\": \"集群扩容中\",\n \"FlowMsg\": \"正在添加3个计算节点\",\n \"ProcessName\": \"资源扩容中\",\n \"BackupStatus\": 0,\n \"RequestId\": \"req-5f82b735\",\n \"BackupOpenStatus\": 1\n },\n \"InstanceID\": \"inst-9d7e2f4a\",\n \"CreateTime\": \"2023-01-15 14:20:00\",\n \"Region\": \"ap-shanghai\",\n \"Zone\": \"ap-shanghai-2\",\n \"RegionDesc\": \"上海地域\",\n \"ZoneDesc\": \"上海二区\",\n \"Tags\": [\n {\n \"TagKey\": \"Environment\",\n \"TagValue\": \"Production\"\n },\n {\n \"TagKey\": \"Department\",\n \"TagValue\": \"DataAnalytics\"\n }\n ],\n \"Version\": \"v3.2.1\",\n \"Charset\": \"UTF-8\",\n \"CNNodes\": [\n {\n \"SpecName\": \"CN8x32\",\n \"DataDisk\": {\n \"DiskCount\": 2,\n \"MaxDiskSize\": 2048,\n \"MinDiskSize\": 512,\n \"DiskType\": \"Cloud_SSD\",\n \"DiskDesc\": \"高性能云盘\",\n \"CvmClass\": \"S5.MEDIUM8\"\n },\n \"CvmCount\": 3\n }\n ],\n \"DNNodes\": [\n {\n \"SpecName\": \"DN4x64\",\n \"DataDisk\": {\n \"DiskCount\": 4,\n \"MaxDiskSize\": 4096,\n \"MinDiskSize\": 1024,\n \"DiskType\": \"Cloud_Premium\",\n \"DiskDesc\": \"企业级云盘\",\n \"CvmClass\": \"S5.LARGE16\"\n },\n \"CvmCount\": 2\n }\n ],\n \"RegionId\": 21,\n \"ZoneId\": 210002,\n \"VpcId\": \"vpc-89f2d1e3\",\n \"SubnetId\": \"subnet-45c9b2f1\",\n \"ExpireTime\": \"2025-12-31 23:59:59\",\n \"PayMode\": \"PrePaid\",\n \"RenewFlag\": true,\n \"InstanceId\": \"cluster-9a8b7c6d\",\n \"AccessDetails\": [\n {\n \"Address\": \"10.16.32.45:3306\",\n \"Protocol\": \"MySQL\"\n }\n ]\n },\n \"RequestId\": \"xdsx\"\n }\n}",
|
16
48
|
"title": "描述实例信息"
|
17
49
|
}
|
18
50
|
],
|
19
51
|
"DescribeInstanceInfo": [
|
20
52
|
{
|
21
53
|
"document": "查询集群信息",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
23
|
-
"output": "{\n \"Response\": {\n \"SimpleInstanceInfo\": {\n \"ID\": 0,\n \"InstanceId\": \"abc\",\n \"InstanceName\": \"abc\",\n \"Version\": \"
|
54
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\"\n}",
|
55
|
+
"output": "{\n \"Response\": {\n \"SimpleInstanceInfo\": {\n \"ID\": 0,\n \"InstanceId\": \"cdwpg-abc\",\n \"InstanceName\": \"test-abc\",\n \"Version\": \"3.16.4.8\",\n \"Region\": \"ap-beijing\",\n \"Zone\": \"ap-beijing-6\",\n \"UserVPCID\": \"abdc\",\n \"UserSubnetID\": \"abdc\",\n \"CreateTime\": \"2012-12-12 12:12:12\",\n \"ExpireTime\": \"2012-12-12 13:12:12\",\n \"AccessInfo\": \"--\",\n \"RenewFlag\": 0,\n \"ChargeProperties\": {\n \"PayMode\": 0,\n \"RenewFlag\": 0,\n \"TimeSpan\": 0,\n \"TimeUnit\": \"--\",\n \"ChargeType\": \"--\"\n },\n \"Resources\": [\n {\n \"SpecName\": \"s4\",\n \"Count\": 0,\n \"DiskSpec\": {\n \"DiskType\": \"local\",\n \"DiskSize\": 0,\n \"DiskCount\": 0\n },\n \"Type\": \"dn\"\n }\n ],\n \"Tags\": [\n {\n \"TagKey\": \"gd\",\n \"TagValue\": \"fd\"\n }\n ],\n \"Status\": 0\n },\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abcss\"\n }\n}",
|
24
56
|
"title": "查询集群信息"
|
25
57
|
}
|
26
58
|
],
|
59
|
+
"DescribeInstanceNodes": [
|
60
|
+
{
|
61
|
+
"document": "",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceNodes\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\"\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"\",\n \"InstanceNodes\": [\n {\n \"NodeIp\": \"9.0.45.12\",\n \"NodeType\": \"cn\",\n \"NodeId\": 0\n }\n ],\n \"RequestId\": \"xdx\"\n }\n}",
|
64
|
+
"title": "示例"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"DescribeInstanceOperations": [
|
68
|
+
{
|
69
|
+
"document": "获取集群操作列表",
|
70
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceOperations\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-exs8Mnql\"\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx-xxxxx-xxxxx\",\n \"TotalCount\": 2,\n \"Operations\": [\n {\n \"Id\": 1,\n \"InstanceId\": \"cdwpg-abc123\",\n \"Action\": \"创建\",\n \"Status\": 2,\n \"StartTime\": \"2022-09-08 12:00:08\",\n \"EndTime\": \"2022-09-08 12:05:08\",\n \"Context\": \"{\\\"key1\\\":\\\"value1\\\", \\\"key2\\\":\\\"value2\\\"}\",\n \"UpdateTime\": \"2022-09-08 12:05:08\",\n \"Uin\": \"123123124\"\n }\n ]\n }\n}",
|
72
|
+
"title": "获取集群操作列表"
|
73
|
+
}
|
74
|
+
],
|
27
75
|
"DescribeInstanceState": [
|
28
76
|
{
|
29
77
|
"document": "需要展现集群状态以及操作进度",
|
30
78
|
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceState\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-exs8Mnql\"\n}",
|
31
|
-
"output": "{\n \"Response\": {\n \"FlowName\": \"
|
79
|
+
"output": "{\n \"Response\": {\n \"FlowName\": \"test\",\n \"FlowMsg\": \"test\",\n \"FlowProgress\": 0.0,\n \"ProcessName\": \"test\",\n \"InstanceState\": \"test\",\n \"FlowCreateTime\": \"test\",\n \"RequestId\": \"test\",\n \"InstanceStateDesc\": \"test\",\n \"BackupStatus\": 1\n }\n}",
|
32
80
|
"title": "获取集群状态"
|
33
81
|
}
|
34
82
|
],
|
@@ -36,26 +84,58 @@
|
|
36
84
|
{
|
37
85
|
"document": "",
|
38
86
|
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n {\n \"AllValue\": 0,\n \"TagKey\": \"test\",\n \"TagValue\": \"test\"\n }\n ],\n \"SearchInstanceId\": \"test\",\n \"SearchInstanceName\": \"test\"\n}",
|
39
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
87
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx-xxxxx-xxxxx\",\n \"TotalCount\": 2,\n \"ErrorMsg\": \"\",\n \"InstancesList\": [\n {\n \"ID\": 12345,\n \"InstanceType\": \"cdwpg-cn\",\n \"InstanceName\": \"cdwpg-example\",\n \"Status\": \"Running\",\n \"StatusDesc\": \"运行中\",\n \"InstanceStateInfo\": {\n \"InstanceState\": \"Serving\",\n \"FlowCreateTime\": \"2023-04-10T15:30:00Z\",\n \"FlowName\": \"CreateCluster\",\n \"FlowProgress\": 50,\n \"InstanceStateDesc\": \"运行中\",\n \"FlowMsg\": \"\",\n \"ProcessName\": \"购买资源中\",\n \"BackupStatus\": 0,\n \"RequestId\": \"req-1234567890\",\n \"BackupOpenStatus\": 1\n },\n \"InstanceID\": \"cdwpg-ddd\",\n \"CreateTime\": \"2022-09-05 20:00:01\",\n \"Region\": \"ap-chongqing\",\n \"Zone\": \"ap-chongqing-1\",\n \"RegionDesc\": \"重庆区域\",\n \"ZoneDesc\": \"重庆可用区1\",\n \"Tags\": [\n {\n \"TagKey\": \"Environment\",\n \"TagValue\": \"Production\"\n }\n ],\n \"Version\": \"v3\",\n \"Charset\": \"UTF-8\",\n \"CNNodes\": [\n {\n \"SpecName\": \"high-cpu\",\n \"DataDisk\": {\n \"DiskCount\": 2,\n \"MaxDiskSize\": 1024,\n \"MinDiskSize\": 256,\n \"DiskType\": \"SSD\",\n \"DiskDesc\": \"高性能固态硬盘\",\n \"CvmClass\": \"标准型S3\"\n },\n \"CvmCount\": 2\n }\n ],\n \"DNNodes\": [\n {\n \"SpecName\": \"high-cpu\",\n \"DataDisk\": {\n \"DiskCount\": 2,\n \"MaxDiskSize\": 1024,\n \"MinDiskSize\": 256,\n \"DiskType\": \"SSD\",\n \"DiskDesc\": \"高性能固态硬盘\",\n \"CvmClass\": \"标准型S3\"\n },\n \"CvmCount\": 2\n }\n ],\n \"RegionId\": 1,\n \"ZoneId\": 101,\n \"VpcId\": \"vpc-12345678\",\n \"SubnetId\": \"subnet-87654321\",\n \"ExpireTime\": \"2023-09-05 20:00:01\",\n \"PayMode\": \"Postpaid\",\n \"RenewFlag\": true,\n \"InstanceId\": \"instance-abcdefg\",\n \"AccessDetails\": [\n {\n \"Address\": \"10.0.123.x\",\n \"Protocol\": \"ddd\"\n }\n ]\n }\n ]\n }\n}",
|
40
88
|
"title": "查询云原生实例列表"
|
41
89
|
}
|
42
90
|
],
|
43
91
|
"DescribeSimpleInstances": [
|
44
92
|
{
|
45
93
|
"document": "集群列表",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSimpleInstances\n<公共请求参数>\n\n{\n \"SearchInstanceId\": \"
|
47
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"ID\": 0,\n \"InstanceId\": \"
|
94
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSimpleInstances\n<公共请求参数>\n\n{\n \"SearchInstanceId\": \"dabc\",\n \"SearchInstanceName\": \"dabc\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n \"dabc\"\n ]\n}",
|
95
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"ID\": 0,\n \"InstanceId\": \"dabc\",\n \"InstanceName\": \"dabc\",\n \"Version\": \"dabc\",\n \"Region\": \"dabc\",\n \"RegionId\": 0,\n \"RegionDesc\": \"adbc\",\n \"Zone\": \"abdc\",\n \"ZoneId\": 0,\n \"ZoneDesc\": \"abdc\",\n \"VpcId\": \"abdc\",\n \"SubnetId\": \"abdc\",\n \"CreateTime\": \"abdc\",\n \"ExpireTime\": \"abdc\",\n \"AccessInfo\": \"adbc\",\n \"PayMode\": \"abdc\",\n \"RenewFlag\": true\n }\n ],\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abcdd\"\n }\n}",
|
48
96
|
"title": "集群列表new"
|
49
97
|
}
|
50
98
|
],
|
99
|
+
"DescribeSlowLog": [
|
100
|
+
{
|
101
|
+
"document": "慢日志查询",
|
102
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSlowLog\n<公共请求参数>\n\n{\n \"InstanceId\": \"1abc\",\n \"StartTime\": \"2012-12-12 12:12:12\",\n \"EndTime\": \"2012-12-12 13:12:12\",\n \"Limit\": 0,\n \"Offset\": 0,\n \"Database\": \"1abc\",\n \"OrderBy\": \"1abc\",\n \"OrderByType\": \"1abc\",\n \"Duration\": 0\n}",
|
103
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SlowLogDetails\": {\n \"TotalTime\": 0,\n \"TotalCallTimes\": 0,\n \"NormalQuerys\": [\n {\n \"CallTimes\": 0,\n \"SharedReadBlocks\": 0,\n \"SharedWriteBlocks\": 0,\n \"DatabaseName\": \"1abc\",\n \"NormalQuery\": \"1abc\",\n \"MaxElapsedQuery\": \"1abc\",\n \"CostTime\": 0,\n \"ClientIp\": \"1abc\",\n \"UserName\": \"1abc\",\n \"TotalCallTimesPercent\": 0,\n \"TotalCostTimePercent\": 0,\n \"MinCostTime\": 0,\n \"MaxCostTime\": 0,\n \"FirstTime\": \"2012-12-12 12:12:12\",\n \"LastTime\": \"2012-12-12 12:12:12\",\n \"ReadCostTime\": 0,\n \"WriteCostTime\": 0\n }\n ]\n },\n \"RequestId\": \"1abc\"\n }\n}",
|
104
|
+
"title": "慢日志查询"
|
105
|
+
}
|
106
|
+
],
|
107
|
+
"DescribeUpgradeList": [
|
108
|
+
{
|
109
|
+
"document": "升级记录",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUpgradeList\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\",\n \"Offset\": 0,\n \"Limit\": 0\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": \"2\",\n \"UpgradeItems\": [\n {\n \"TaskName\": \"test\",\n \"SourceVersion\": \"3.16.4.7\",\n \"TargetVersion\": \"3.16.4.8\",\n \"CreateTime\": \"2025-01-06 12:12:12\",\n \"EndTime\": \"2025-01-06 12:18:12\",\n \"Status\": \"2\",\n \"OperateUin\": \"test\"\n }\n ],\n \"RequestId\": \"ssxx\"\n }\n}",
|
112
|
+
"title": "升级记录"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"DescribeUserHbaConfig": [
|
116
|
+
{
|
117
|
+
"document": "",
|
118
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserHbaConfig\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xx\"\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"HbaConfigs\": [\n {\n \"Type\": \"cn\",\n \"Database\": \"cran\",\n \"User\": \"test\",\n \"Address\": \"\",\n \"Mask\": \"\",\n \"Method\": \"md5\"\n }\n ],\n \"RequestId\": \"ssxx\"\n }\n}",
|
120
|
+
"title": "查询用户Hba"
|
121
|
+
}
|
122
|
+
],
|
51
123
|
"DestroyInstanceByApi": [
|
52
124
|
{
|
53
125
|
"document": "销毁集群",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\"\n}",
|
55
|
-
"output": "{\n \"Response\": {\n \"FlowId\": \"
|
126
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\"\n}",
|
127
|
+
"output": "{\n \"Response\": {\n \"FlowId\": \"1254\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"afsbc\"\n }\n}",
|
56
128
|
"title": "销毁集群"
|
57
129
|
}
|
58
130
|
],
|
131
|
+
"ModifyDBParameters": [
|
132
|
+
{
|
133
|
+
"document": "",
|
134
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBParameters\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\",\n \"NodeConfigParams\": [\n {\n \"NodeType\": \"dn\",\n \"ConfigParams\": [\n {\n \"ParameterName\": \"k1\",\n \"ParameterValue\": \"v1\",\n \"ParameterOldValue\": \"v0\"\n }\n ]\n }\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 0,\n \"RequestId\": \"abddc\"\n }\n}",
|
136
|
+
"title": "1"
|
137
|
+
}
|
138
|
+
],
|
59
139
|
"ModifyInstance": [
|
60
140
|
{
|
61
141
|
"document": "用户修改实例名称",
|
@@ -63,6 +143,54 @@
|
|
63
143
|
"output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx\"\n }\n}",
|
64
144
|
"title": "修改实例信息"
|
65
145
|
}
|
146
|
+
],
|
147
|
+
"ModifyUserHba": [
|
148
|
+
{
|
149
|
+
"document": "修改用户Hba",
|
150
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyUserHba\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\",\n \"HbaConfigs\": [\n {\n \"Type\": \"1abc\",\n \"Database\": \"1abc\",\n \"User\": \"1abc\",\n \"Address\": \"1abc\",\n \"Mask\": \"1abc\",\n \"Method\": \"1abc\"\n }\n ]\n}",
|
151
|
+
"output": "{\n \"Response\": {\n \"TaskId\": 0,\n \"ErrorMsg\": \"\",\n \"RequestId\": \"1abc\"\n }\n}",
|
152
|
+
"title": "修改用户Hba"
|
153
|
+
}
|
154
|
+
],
|
155
|
+
"ResetAccountPassword": [
|
156
|
+
{
|
157
|
+
"document": "修改用户密码",
|
158
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ResetAccountPassword\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-12345678\",\n \"UserName\": \"test\",\n \"NewPassword\": \"cdwpg123456\"\n}",
|
159
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abcdd\"\n }\n}",
|
160
|
+
"title": "重置密码"
|
161
|
+
}
|
162
|
+
],
|
163
|
+
"RestartInstance": [
|
164
|
+
{
|
165
|
+
"document": "用户在控制台主动发起重启实例",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RestartInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-13456\",\n \"NodeTypes\": [\n \"cn\",\n \"dn\"\n ],\n \"NodeIds\": [\n \"102\",\n \"103\"\n ]\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fdsfsd\",\n \"FlowId\": 1,\n \"ErrorMsg\": \"faile to restart intance\"\n }\n}",
|
168
|
+
"title": "重启实例"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"ScaleOutInstance": [
|
172
|
+
{
|
173
|
+
"document": "",
|
174
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleOutInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"abc\",\n \"NodeType\": \"dn\",\n \"ScaleOutCount\": 2\n}",
|
175
|
+
"output": "{\n \"Response\": {\n \"FlowId\": \"abc\",\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
|
176
|
+
"title": "ScaleOutInstance"
|
177
|
+
}
|
178
|
+
],
|
179
|
+
"ScaleUpInstance": [
|
180
|
+
{
|
181
|
+
"document": "",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScaleUpInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xxxxx\",\n \"InstanceName\": \"test1\",\n \"Case\": \"vm\",\n \"ModifySpec\": {\n \"Type\": \"cn\",\n \"SpecName\": \"S_8_32_S\",\n \"Count\": 4,\n \"DiskSpec\": {\n \"DiskType\": \"CLOUD_SSD\",\n \"DiskSize\": 200,\n \"DiskCount\": 1\n }\n }\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 43,\n \"RequestId\": \"errorstest\",\n \"ErrorMsg\": \"errorstest\"\n }\n}",
|
184
|
+
"title": "1"
|
185
|
+
}
|
186
|
+
],
|
187
|
+
"UpgradeInstance": [
|
188
|
+
{
|
189
|
+
"document": "在线升级",
|
190
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpgradeInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-xxx\",\n \"PackageVersion\": \"3.15.3.0\"\n}",
|
191
|
+
"output": "{\n \"Response\": {\n \"FlowId\": 0,\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abcss\"\n }\n}",
|
192
|
+
"title": "在线升级"
|
193
|
+
}
|
66
194
|
]
|
67
195
|
},
|
68
196
|
"version": "1.0"
|
@@ -258,10 +258,16 @@
|
|
258
258
|
],
|
259
259
|
"SetUserQuota": [
|
260
260
|
{
|
261
|
-
"document": "",
|
261
|
+
"document": "用于设置用户配额",
|
262
262
|
"input": "POST / HTTP/1.1\nHost: cfs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetUserQuota\n<公共请求参数>\n\n{\n \"FileSystemId\": \"cfs-12345\",\n \"UserType\": \"Uid\",\n \"UserId\": \"1000\",\n \"CapacityHardLimit\": 10,\n \"FileHardLimit\": 10000\n}",
|
263
263
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fjo8aejo-fjei-32eu-2je9-fhue83nd81\"\n }\n}",
|
264
|
-
"title": "
|
264
|
+
"title": "设置文件系统用户配额"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"document": "用于设置文件系统目录配额",
|
268
|
+
"input": "POST / HTTP/1.1\nHost: cfs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SetUserQuota\n<公共请求参数>\n\n{\n \"FileSystemId\": \"cfs-12345\",\n \"UserType\": \"Dir\",\n \"DirectoryPath\": \"/cfs/123\",\n \"CapacityHardLimit\": 10,\n \"FileHardLimit\": 10000\n}",
|
269
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fasfsaaejo-fjei-32eu-2je9-fhue83nd81\"\n }\n}",
|
270
|
+
"title": "设置文件系统目录配额"
|
265
271
|
}
|
266
272
|
],
|
267
273
|
"SignUpCfsService": [
|