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
@@ -11,8 +11,8 @@
|
|
11
11
|
"CreateBackUpSchedule": [
|
12
12
|
{
|
13
13
|
"document": "创建或者修改备份策略",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-1vud9x9x\",\n \"ScheduleType\": \"data\",\n \"OperationType\": \"update\",\n \"BackUpTables\": [\n {\n \"Database\": \"default\",\n \"Table\": \"customer\",\n \"Ips\": \"172.16.4.17\",\n \"TotalBytes\": 1203976330,\n \"VCluster\": \"default_cluster\"\n },\n {\n \"Database\": \"default\",\n \"Table\": \"lineorder\",\n \"Ips\": \"172.16.4.17\",\n \"TotalBytes\": 179936234797,\n \"VCluster\": \"default_cluster\"\n }\n ],\n \"RetainDays\": 7,\n \"WeekDays\": \"2\",\n \"ExecuteHour\": 1,\n \"ScheduleId\":
|
15
|
-
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackUpSchedule\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-1vud9x9x\",\n \"ScheduleType\": \"data\",\n \"OperationType\": \"update\",\n \"BackUpTables\": [\n {\n \"Database\": \"default\",\n \"Table\": \"customer\",\n \"Ips\": \"172.16.4.17\",\n \"TotalBytes\": 1203976330,\n \"VCluster\": \"default_cluster\"\n },\n {\n \"Database\": \"default\",\n \"Table\": \"lineorder\",\n \"Ips\": \"172.16.4.17\",\n \"TotalBytes\": 179936234797,\n \"VCluster\": \"default_cluster\"\n }\n ],\n \"RetainDays\": 7,\n \"WeekDays\": \"2\",\n \"ExecuteHour\": 1,\n \"ScheduleId\": 3\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"ErrorMsg\": \"InvalidParameter\",\n \"RequestId\": \"20a71202-27c4-4120-80c4-fb1a8e15dxxx\"\n }\n}",
|
16
16
|
"title": "示例"
|
17
17
|
}
|
18
18
|
],
|
@@ -27,16 +27,16 @@
|
|
27
27
|
"DeleteBackUpData": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackUpData\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-xxxxxxxx\",\n \"BackUpJobId\": 0\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"20a71202-27c4-4120-80c4-fb1a8e15dxxx\"\n }\n}",
|
32
32
|
"title": "示例"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"DescribeBackUpJob": [
|
36
36
|
{
|
37
|
-
"document": "",
|
38
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackUpJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
39
|
-
"output": "{\n \"Response\": {\n \"BackUpJobs\": [\n {\n \"
|
37
|
+
"document": "查询备份任务列表",
|
38
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackUpJob\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-xxxxxxxx\",\n \"PageSize\": 0,\n \"PageNum\": 0,\n \"BeginTime\": \"2021-12-06 01:44:57\",\n \"EndTime\": \"2021-12-13 01:44:57\"\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"BackUpJobs\": [\n {\n \"JobId\": 0,\n \"Snapshot\": \"snapshot-xxxxxxxx\",\n \"BackUpType\": \"meta\",\n \"BackUpSize\": 0,\n \"BackUpTime\": \"2021-12-06 01:44:57\",\n \"ExpireTime\": \"2021-12-13 01:44:57\",\n \"JobStatus\": \"bakcuping\",\n \"ProcessSize\": 0,\n \"ErrorReason\": \"InternalError\"\n }\n ],\n \"ErrorMsg\": \"InternalError\",\n \"TotalCount\": 0,\n \"RequestId\": \"20a71202-27c4-4120-80c4-fb1a8e15dxxx\"\n }\n}",
|
40
40
|
"title": "示例"
|
41
41
|
}
|
42
42
|
],
|
@@ -58,9 +58,9 @@
|
|
58
58
|
],
|
59
59
|
"DescribeBackUpTables": [
|
60
60
|
{
|
61
|
-
"document": "",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackUpTables\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
63
|
-
"output": "{\n \"Response\": {\n \"AvailableTables\": [\n {\n \"
|
61
|
+
"document": "获取可备份表信息\n\n",
|
62
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBackUpTables\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-xxxxxxxx\"\n}",
|
63
|
+
"output": "{\n \"Response\": {\n \"AvailableTables\": [\n {\n \"VCluster\": \"default\",\n \"Database\": \"db_test\",\n \"Table\": \"tb_test\",\n \"TotalBytes\": 0,\n \"Ips\": \"10.x.x.x\",\n \"ZooPath\": \"/data\",\n \"Rip\": \"192.x.x.x\"\n }\n ],\n \"ErrorMsg\": \"\",\n \"RequestId\": \"asdfaes-xad12x-123axafg\"\n }\n}",
|
64
64
|
"title": "示例"
|
65
65
|
}
|
66
66
|
],
|
@@ -84,7 +84,7 @@
|
|
84
84
|
{
|
85
85
|
"document": "根据实例ID查询某个实例的具体信息",
|
86
86
|
"input": "https://cdwch.tencentcloudapi.com/?Action=DescribeInstance\n&InstanceId=cdwch-12345678\n&<公共请求参数>",
|
87
|
-
"output": "{\n \"Response\": {\n \"InstanceInfo\": {\n \"InstanceId\": \"
|
87
|
+
"output": "{\n \"Response\": {\n \"InstanceInfo\": {\n \"InstanceId\": \"cdwch-xxxxxxxx\",\n \"InstanceName\": \"测试集群\",\n \"Status\": \"Serving\",\n \"Version\": \"23.8.9.1\",\n \"Region\": \"ap-guangzhou\",\n \"Zone\": \"ap-guangzhou-1\",\n \"VpcId\": \"vpc-xxxxxxxx\",\n \"SubnetId\": \"subnet-xxxxxxxx\",\n \"PayMode\": \"PREPAID\",\n \"CreateTime\": \"2025-02-28 11:34:45\",\n \"ExpireTime\": \"2025-03-28 11:34:46\",\n \"MasterSummary\": {\n \"Spec\": \"H_32_128\",\n \"NodeSize\": 1,\n \"Core\": 32,\n \"Memory\": 128,\n \"Disk\": 7140,\n \"DiskType\": \"LOCAL_BASIC\",\n \"DiskDesc\": \"本地盘\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"\"\n },\n \"SubProductType\": \"HIGHIO\",\n \"SpecCore\": 32,\n \"SpecMemory\": 128,\n \"DiskCount\": 2,\n \"MaxDiskSize\": 7140,\n \"Encrypt\": 0\n },\n \"CommonSummary\": {\n \"Spec\": \"S_2_4_P\",\n \"NodeSize\": 3,\n \"Core\": 2,\n \"Memory\": 4,\n \"Disk\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskDesc\": \"高性能云盘\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"\"\n },\n \"SubProductType\": \"STANDARD\",\n \"SpecCore\": 2,\n \"SpecMemory\": 4,\n \"DiskCount\": 1,\n \"MaxDiskSize\": 32000,\n \"Encrypt\": 0\n },\n \"HA\": \"false\",\n \"AccessInfo\": \"[{\\\"address\\\":\\\"10.x.x.xx:9000\\\",\\\"protocol\\\":\\\"tcp\\\",\\\"address_public\\\":\\\"\\\"},{\\\"address\\\":\\\"10.x.x.xx:8123\\\",\\\"protocol\\\":\\\"http\\\",\\\"address_public\\\":\\\"\\\"},{\\\"address\\\":\\\"10.x.x.xx:9004\\\",\\\"protocol\\\":\\\"mysql_tcp\\\",\\\"address_public\\\":\\\"\\\"}]\",\n \"Id\": 3857,\n \"RegionId\": 1,\n \"ZoneDesc\": \"广州一区\",\n \"FlowMsg\": \"\",\n \"StatusDesc\": \"运行中\",\n \"RenewFlag\": true,\n \"Tags\": [\n {\n \"TagKey\": \"产品名称\",\n \"TagValue\": \"cdwch\"\n }\n ],\n \"Monitor\": \"\",\n \"HasClsTopic\": false,\n \"ClsTopicId\": \"\",\n \"ClsLogSetId\": \"\",\n \"EnableXMLConfig\": 0,\n \"RegionDesc\": \"广州\",\n \"Eip\": \"\",\n \"CosMoveFactor\": 0,\n \"Kind\": \"external\",\n \"IsElastic\": true,\n \"InstanceStateInfo\": {\n \"InstanceState\": \"\",\n \"FlowCreateTime\": \"\",\n \"FlowName\": \"\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"\",\n \"FlowMsg\": \"\",\n \"ProcessName\": \"\",\n \"RequestId\": \"\"\n },\n \"HAZk\": true,\n \"MountDiskType\": 0,\n \"CHProxyVip\": \"\",\n \"CosBucketName\": \"\",\n \"CanAttachCbs\": true,\n \"CanAttachCbsLvm\": true,\n \"CanAttachCos\": true,\n \"Components\": [],\n \"UpgradeVersions\": \"\"\n },\n \"RequestId\": \"asdfaes-xad12x-123axafg\"\n }\n}",
|
88
88
|
"title": "描述实例信息"
|
89
89
|
}
|
90
90
|
],
|
@@ -124,23 +124,23 @@
|
|
124
124
|
{
|
125
125
|
"document": "需要展现集群状态以及操作进度",
|
126
126
|
"input": "https://cdwch.tencentcloudapi.com/?Action=DescribeInstanceState\n&InstanceId=cdwch-exs8Mnql\n&<公共请求参数>",
|
127
|
-
"output": "{\n \"Response\": {\n \"InstanceState\": \"Serving\",\n \"
|
127
|
+
"output": "{\n \"Response\": {\n \"InstanceState\": \"Serving\",\n \"FlowCreateTime\": \"\",\n \"FlowName\": \"\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"运行中\",\n \"FlowMsg\": \"\",\n \"ProcessName\": \"\",\n \"ProcessSubName\": \"\",\n \"RequestId\": \"6d7144fc-0d83-43fd-a2c4-2693a3cc4184\"\n }\n}",
|
128
128
|
"title": "获取集群状态"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"DescribeInstancesNew": [
|
132
132
|
{
|
133
|
-
"document": "
|
133
|
+
"document": "查询实例列表",
|
134
134
|
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesNew\n<公共请求参数>\n\n{\n \"SearchInstanceId\": \"cdwch-xxx\",\n \"SearchInstanceName\": \"testname\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n {\n \"TagKey\": \"testname\",\n \"TagValue\": \"testname\",\n \"AllValue\": 0\n }\n ]\n}",
|
135
135
|
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"InstanceId\": \"testname\",\n \"InstanceName\": \"testname\",\n \"Status\": \"testname\",\n \"Version\": \"testname\",\n \"Region\": \"testname\",\n \"Zone\": \"testname\",\n \"VpcId\": \"testname\",\n \"SubnetId\": \"testname\",\n \"PayMode\": \"testname\",\n \"CreateTime\": \"testname\",\n \"ExpireTime\": \"testname\",\n \"MasterSummary\": {\n \"Spec\": \"testname\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"testname\",\n \"DiskDesc\": \"testname\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"testname\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"testname\"\n },\n \"SubProductType\": \"testname\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"MaxDiskSize\": 0,\n \"Encrypt\": 0\n },\n \"CommonSummary\": {\n \"Spec\": \"testname\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"testname\",\n \"DiskDesc\": \"testname\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"testname\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"testname\"\n },\n \"SubProductType\": \"testname\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"MaxDiskSize\": 0,\n \"Encrypt\": 0\n },\n \"HA\": \"testname\",\n \"AccessInfo\": \"testname\",\n \"Id\": 0,\n \"RegionId\": 0,\n \"ZoneDesc\": \"testname\",\n \"FlowMsg\": \"testname\",\n \"StatusDesc\": \"testname\",\n \"RenewFlag\": true,\n \"Tags\": [\n {\n \"TagKey\": \"testname\",\n \"TagValue\": \"testname\"\n }\n ],\n \"Monitor\": \"testname\",\n \"HasClsTopic\": true,\n \"ClsTopicId\": \"testname\",\n \"ClsLogSetId\": \"testname\",\n \"EnableXMLConfig\": 0,\n \"RegionDesc\": \"testname\",\n \"Eip\": \"testname\",\n \"CosMoveFactor\": 0,\n \"Kind\": \"testname\",\n \"IsElastic\": true,\n \"InstanceStateInfo\": {\n \"InstanceState\": \"testname\",\n \"FlowCreateTime\": \"testname\",\n \"FlowName\": \"testname\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"testname\",\n \"FlowMsg\": \"testname\",\n \"ProcessName\": \"testname\",\n \"RequestId\": \"testname\"\n },\n \"HAZk\": true,\n \"MountDiskType\": 0,\n \"CHProxyVip\": \"testname\",\n \"CosBucketName\": \"testname\",\n \"CanAttachCbs\": true,\n \"CanAttachCbsLvm\": true,\n \"CanAttachCos\": true,\n \"Components\": [\n {\n \"Name\": \"testname\",\n \"Version\": \"testname\"\n }\n ],\n \"UpgradeVersions\": \"testname\"\n }\n ],\n \"RequestId\": \"testname\"\n }\n}",
|
136
|
-
"title": "
|
136
|
+
"title": "查询实例列表"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"DescribeSpec": [
|
140
140
|
{
|
141
141
|
"document": "购买页拉取集群的数据节点和zookeeper节点的规格列表",
|
142
|
-
"input": "https://cdwch.tencentcloudapi.com/?Action=DescribeSpec\n&Zone=ap-guangzhou-1\n&<公共请求参数> \n\n{\n \"Zone\": \"abc\",\n\"PayMode\":\"
|
143
|
-
"output": "{\n \"Response\": {\n \"DataSpec\": [\n {\n \"Available\": true,\n \"InstanceQuota\": 1000,\n \"SystemDisk\": {\n \"
|
142
|
+
"input": "https://cdwch.tencentcloudapi.com/?Action=DescribeSpec\n&Zone=ap-guangzhou-1\n&<公共请求参数> \n\n{\n \"Zone\": \"abc\",\n\"PayMode\":\"postpay\",\n\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"DataSpec\": [\n {\n \"Available\": true,\n \"InstanceQuota\": 1000,\n \"SystemDisk\": {\n \"DiskCount\": 10,\n \"MaxDiskSize\": 320000,\n \"MinDiskSize\": 200,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskDesc\": \"高性能云硬盘\"\n },\n \"DisplayName\": \"4核16G\",\n \"Name\": \"4核16G\",\n \"ComputeSpecDesc\": \"4核16G\",\n \"Mem\": 16,\n \"MaxNodeSize\": 50,\n \"Type\": \"4核16G\",\n \"Cpu\": 4,\n \"DataDisk\": {\n \"DiskCount\": 10,\n \"MaxDiskSize\": 320000,\n \"MinDiskSize\": 200,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskDesc\": \"高性能云硬盘\"\n }\n }\n ],\n \"AttachCBSSpec\": [\n {\n \"DiskCount\": 1,\n \"MaxDiskSize\": 32000,\n \"MinDiskSize\": 1000,\n \"DiskType\": \"CLOUD_HSSD\",\n \"DiskDesc\": \"增强型SSD云硬盘\"\n }\n ],\n \"CommonSpec\": [\n {\n \"Available\": true,\n \"InstanceQuota\": 1000,\n \"SystemDisk\": {\n \"DiskCount\": 10,\n \"MaxDiskSize\": 320000,\n \"MinDiskSize\": 200,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskDesc\": \"高性能云硬盘\"\n },\n \"DisplayName\": \"4核16G\",\n \"Name\": \"4核16G\",\n \"ComputeSpecDesc\": \"4核16G\",\n \"Mem\": 4,\n \"MaxNodeSize\": 50,\n \"Type\": \"4核16G\",\n \"Cpu\": 2,\n \"DataDisk\": {\n \"DiskCount\": 10,\n \"MaxDiskSize\": 320000,\n \"MinDiskSize\": 200,\n \"DiskType\": \"CLOUD_PREMIUM\",\n \"DiskDesc\": \"高性能云硬盘\"\n }\n }\n ],\n \"RequestId\": \"e378c73e-a52a-4897-9155-ba2aa797006d\"\n }\n}",
|
144
144
|
"title": "获取集群规格"
|
145
145
|
}
|
146
146
|
],
|
@@ -179,8 +179,8 @@
|
|
179
179
|
"OpenBackUp": [
|
180
180
|
{
|
181
181
|
"document": "",
|
182
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenBackUp\n<公共请求参数>\n\n{\n \"InstanceId\": \"
|
183
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"xx\"\n }\n}",
|
182
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OpenBackUp\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-c7szoedk\",\n \"CosBucketName\": \"backuprestoretest-1301087413\",\n \"OperationType\": \"close\"\n}",
|
183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"xx-2a4d-4434-b6db-b11716807cef\"\n }\n}",
|
184
184
|
"title": "示例"
|
185
185
|
}
|
186
186
|
],
|
@@ -567,7 +567,7 @@
|
|
567
567
|
{
|
568
568
|
"disabled": false,
|
569
569
|
"document": "可用区",
|
570
|
-
"example": "ap-beijing-
|
570
|
+
"example": "ap-beijing-6",
|
571
571
|
"member": "string",
|
572
572
|
"name": "Zone",
|
573
573
|
"required": true,
|
@@ -576,7 +576,7 @@
|
|
576
576
|
{
|
577
577
|
"disabled": false,
|
578
578
|
"document": "私有网络",
|
579
|
-
"example": "vpc-
|
579
|
+
"example": "vpc-1asw4o72",
|
580
580
|
"member": "string",
|
581
581
|
"name": "UserVPCId",
|
582
582
|
"required": true,
|
@@ -585,7 +585,7 @@
|
|
585
585
|
{
|
586
586
|
"disabled": false,
|
587
587
|
"document": "子网",
|
588
|
-
"example": "subnet-
|
588
|
+
"example": "subnet-rdlodajh",
|
589
589
|
"member": "string",
|
590
590
|
"name": "UserSubnetId",
|
591
591
|
"required": true,
|
@@ -594,7 +594,7 @@
|
|
594
594
|
{
|
595
595
|
"disabled": false,
|
596
596
|
"document": "计费方式",
|
597
|
-
"example": "
|
597
|
+
"example": "{\"ChargeType\":\"POSTPAID_BY_HOUR\",\"RenewFlag\":0,\"TimeSpan\":1,\"TimeUnit\":\"h\"}",
|
598
598
|
"member": "ChargeProperties",
|
599
599
|
"name": "ChargeProperties",
|
600
600
|
"required": true,
|
@@ -603,7 +603,7 @@
|
|
603
603
|
{
|
604
604
|
"disabled": false,
|
605
605
|
"document": "集群密码",
|
606
|
-
"example": "
|
606
|
+
"example": "cdw_2025",
|
607
607
|
"member": "string",
|
608
608
|
"name": "AdminPassword",
|
609
609
|
"required": true,
|
@@ -612,7 +612,7 @@
|
|
612
612
|
{
|
613
613
|
"disabled": false,
|
614
614
|
"document": "资源信息",
|
615
|
-
"example": "
|
615
|
+
"example": "[{\"Count\":2,\"DiskSpec\":{\"DiskCount\":1,\"DiskSize\":200,\"DiskType\":\"CLOUD_HSSD\"},\"SpecName\":\"S_4_16_H_CN\",\"Type\":\"cn\"},{\"Count\":2,\"DiskSpec\":{\"DiskCount\":10,\"DiskSize\":20,\"DiskType\":\"CLOUD_HSSD\"},\"SpecName\":\"S_4_16_H\",\"Type\":\"dn\"}]",
|
616
616
|
"member": "ResourceSpecNew",
|
617
617
|
"name": "Resources",
|
618
618
|
"required": true,
|
@@ -621,7 +621,7 @@
|
|
621
621
|
{
|
622
622
|
"disabled": false,
|
623
623
|
"document": "标签列表",
|
624
|
-
"example": "
|
624
|
+
"example": "{\"TagKey\":\"k1\",\"TagValue\":\"v1\"}",
|
625
625
|
"member": "Tag",
|
626
626
|
"name": "Tags",
|
627
627
|
"required": false,
|
@@ -630,7 +630,7 @@
|
|
630
630
|
{
|
631
631
|
"disabled": false,
|
632
632
|
"document": "版本",
|
633
|
-
"example": "
|
633
|
+
"example": "3.16.9.4",
|
634
634
|
"member": "string",
|
635
635
|
"name": "ProductVersion",
|
636
636
|
"required": false,
|
@@ -655,7 +655,7 @@
|
|
655
655
|
{
|
656
656
|
"disabled": false,
|
657
657
|
"document": "实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
658
|
-
"example": "cdwpg-
|
658
|
+
"example": "cdwpg-dfsgdxdfs",
|
659
659
|
"member": "string",
|
660
660
|
"name": "InstanceId",
|
661
661
|
"output_required": true,
|
@@ -942,7 +942,7 @@
|
|
942
942
|
{
|
943
943
|
"disabled": false,
|
944
944
|
"document": "返回信息总数",
|
945
|
-
"example": "
|
945
|
+
"example": "1",
|
946
946
|
"member": "int64",
|
947
947
|
"name": "TotalCount",
|
948
948
|
"output_required": true,
|
@@ -952,7 +952,7 @@
|
|
952
952
|
{
|
953
953
|
"disabled": false,
|
954
954
|
"document": "错误日志详细信息",
|
955
|
-
"example": "
|
955
|
+
"example": "[{\"Database\":\"postgres\",\"ErrorMessage\":\"2025-03-20 12:12:05.850 CST [unknown] 9.0.107.9(48928) postgres tbase 347135 0ERROR: function fn_stat_get_activity\",\"UserName\":\"tbase\"}]",
|
956
956
|
"member": "ErrorLogDetail",
|
957
957
|
"name": "ErrorLogDetails",
|
958
958
|
"output_required": true,
|
@@ -1825,40 +1825,40 @@
|
|
1825
1825
|
{
|
1826
1826
|
"disabled": false,
|
1827
1827
|
"document": "用户名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1828
|
-
"example": "
|
1828
|
+
"example": "tbase",
|
1829
1829
|
"member": "string",
|
1830
1830
|
"name": "UserName",
|
1831
|
-
"
|
1831
|
+
"output_required": true,
|
1832
1832
|
"type": "string",
|
1833
1833
|
"value_allowed_null": true
|
1834
1834
|
},
|
1835
1835
|
{
|
1836
1836
|
"disabled": false,
|
1837
1837
|
"document": "数据库\n注意:此字段可能返回 null,表示取不到有效值。",
|
1838
|
-
"example": "
|
1838
|
+
"example": "postgres",
|
1839
1839
|
"member": "string",
|
1840
1840
|
"name": "Database",
|
1841
|
-
"
|
1841
|
+
"output_required": true,
|
1842
1842
|
"type": "string",
|
1843
1843
|
"value_allowed_null": true
|
1844
1844
|
},
|
1845
1845
|
{
|
1846
1846
|
"disabled": false,
|
1847
1847
|
"document": "报错时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1848
|
-
"example": "-",
|
1848
|
+
"example": "2025-03-20 12:08:05",
|
1849
1849
|
"member": "string",
|
1850
1850
|
"name": "ErrorTime",
|
1851
|
-
"
|
1851
|
+
"output_required": true,
|
1852
1852
|
"type": "string",
|
1853
1853
|
"value_allowed_null": true
|
1854
1854
|
},
|
1855
1855
|
{
|
1856
1856
|
"disabled": false,
|
1857
1857
|
"document": "报错信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1858
|
-
"example": "-",
|
1858
|
+
"example": "2025-03-20 12:08:05.847 CST [unknown] 9.0.107.9(44402) postgres tbase 342423 0ERROR",
|
1859
1859
|
"member": "string",
|
1860
1860
|
"name": "ErrorMessage",
|
1861
|
-
"
|
1861
|
+
"output_required": true,
|
1862
1862
|
"type": "string",
|
1863
1863
|
"value_allowed_null": true
|
1864
1864
|
}
|
@@ -3256,7 +3256,7 @@
|
|
3256
3256
|
{
|
3257
3257
|
"disabled": false,
|
3258
3258
|
"document": "资源名称",
|
3259
|
-
"example": "
|
3259
|
+
"example": "S_4_16_H_CN",
|
3260
3260
|
"member": "string",
|
3261
3261
|
"name": "SpecName",
|
3262
3262
|
"required": true,
|
@@ -3283,7 +3283,7 @@
|
|
3283
3283
|
{
|
3284
3284
|
"disabled": false,
|
3285
3285
|
"document": "资源类型,DATA",
|
3286
|
-
"example": "
|
3286
|
+
"example": "cn",
|
3287
3287
|
"member": "string",
|
3288
3288
|
"name": "Type",
|
3289
3289
|
"required": true,
|
@@ -35,8 +35,8 @@
|
|
35
35
|
"DescribeErrorLog": [
|
36
36
|
{
|
37
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-
|
39
|
-
"output": "{\n \"Response\": {\n \"
|
38
|
+
"input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeErrorLog\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-rzshdeh1\",\n \"StartTime\": \"2025-03-01 12:12:12\",\n \"EndTime\": \"2025-03-20 12:12:12\",\n \"Limit\": 2,\n \"Offset\": 0\n}",
|
39
|
+
"output": "{\n \"Response\": {\n \"ErrorLogDetails\": [\n {\n \"Database\": \"postgres\",\n \"ErrorMessage\": \"2025-03-20 12:12:05.850 CST [unknown] 9.0.107.9(48928) postgres tbase 347135 0ERROR: function fn_stat_get_activity(integer, integer) does not exist at character 278 2025-03-20 12:12:05.850 CST [unknown] 9.0.107.9(48928) postgres tbase 347135 0HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-03-20 12:12:05.850 CST [unknown] 9.0.107.9(48928) postgres tbase 347135 0STATEMENT: SELECT 100.0 * recv_buffer_used /((CAST(SUBSTRING(current_setting('fn_sh\",\n \"ErrorTime\": \"2025-03-20 12:12:05\",\n \"UserName\": \"tbase\"\n },\n {\n \"Database\": \"postgres\",\n \"ErrorMessage\": \"2025-03-20 12:12:05.533 CST [unknown] 9.0.107.24(55078) postgres tbase 347715 0ERROR: function fn_stat_get_activity(integer, integer) does not exist at character 278 2025-03-20 12:12:05.533 CST [unknown] 9.0.107.24(55078) postgres tbase 347715 0HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-03-20 12:12:05.533 CST [unknown] 9.0.107.24(55078) postgres tbase 347715 0STATEMENT: SELECT 100.0 * recv_buffer_used /((CAST(SUBSTRING(current_setting('fn\",\n \"ErrorTime\": \"2025-03-20 12:12:05\",\n \"UserName\": \"tbase\"\n }\n ],\n \"RequestId\": \"fb6507d3-0dce-4a63-ad28-d578333e47c6\",\n \"TotalCount\": 2562\n }\n}",
|
40
40
|
"title": "错误日志"
|
41
41
|
}
|
42
42
|
],
|