tccli 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.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/__init__.py +5 -1
- tccli/services/aiart/aiart_client.py +106 -0
- tccli/services/aiart/v20221229/api.json +275 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/antiddos/v20200309/api.json +194 -136
- tccli/services/antiddos/v20200309/examples.json +15 -15
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/billing/billing_client.py +4 -163
- tccli/services/billing/v20180709/api.json +0 -489
- tccli/services/billing/v20180709/examples.json +0 -24
- tccli/services/cat/v20180409/api.json +3 -1
- tccli/services/cbs/v20170312/api.json +27 -0
- tccli/services/ccc/v20200210/api.json +11 -11
- tccli/services/ccc/v20200210/examples.json +2 -2
- tccli/services/cdb/v20170320/api.json +48 -18
- tccli/services/cdn/v20180606/api.json +3 -0
- tccli/services/cfw/v20190904/api.json +30 -30
- tccli/services/ckafka/v20190819/api.json +10 -0
- tccli/services/cloudaudit/v20190319/api.json +3 -3
- tccli/services/cloudaudit/v20190319/examples.json +1 -1
- tccli/services/csip/v20221121/api.json +38 -38
- tccli/services/cwp/cwp_client.py +4 -57
- tccli/services/cwp/v20180228/api.json +11 -185
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +1 -1
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dcdb/dcdb_client.py +122 -16
- tccli/services/dcdb/v20180411/api.json +222 -0
- tccli/services/dcdb/v20180411/examples.json +16 -0
- tccli/services/dlc/v20210125/api.json +145 -26
- tccli/services/dlc/v20210125/examples.json +18 -18
- tccli/services/domain/v20180808/api.json +8 -8
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/es/v20180416/api.json +9 -9
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +4 -4
- tccli/services/faceid/v20180301/api.json +5 -5
- tccli/services/faceid/v20180301/examples.json +6 -0
- tccli/services/gme/v20180711/api.json +118 -115
- tccli/services/gme/v20180711/examples.json +6 -6
- tccli/services/hunyuan/v20230901/api.json +9 -0
- tccli/services/iotexplorer/v20190423/api.json +4 -4
- tccli/services/iotexplorer/v20190423/examples.json +5 -5
- tccli/services/keewidb/v20220308/api.json +2 -2
- tccli/services/lcic/lcic_client.py +61 -8
- tccli/services/lcic/v20220817/api.json +230 -177
- tccli/services/lcic/v20220817/examples.json +10 -2
- tccli/services/lighthouse/v20200324/api.json +80 -71
- tccli/services/live/v20180801/api.json +60 -4
- tccli/services/lke/v20231130/api.json +31 -0
- tccli/services/lkeap/v20240522/api.json +55 -9
- tccli/services/lkeap/v20240522/examples.json +1 -1
- tccli/services/mna/mna_client.py +106 -0
- tccli/services/mna/v20210119/api.json +246 -0
- tccli/services/mna/v20210119/examples.json +16 -0
- tccli/services/monitor/monitor_client.py +62 -57
- tccli/services/monitor/v20230616/api.json +266 -0
- tccli/services/monitor/v20230616/examples.json +19 -0
- tccli/services/mqtt/mqtt_client.py +489 -12
- tccli/services/mqtt/v20240516/api.json +864 -3
- tccli/services/mqtt/v20240516/examples.json +72 -0
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +287 -23
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/postgres/postgres_client.py +334 -16
- tccli/services/postgres/v20170312/api.json +718 -35
- tccli/services/postgres/v20170312/examples.json +72 -0
- tccli/services/rum/v20210622/api.json +1 -1
- tccli/services/smh/v20210712/api.json +50 -30
- tccli/services/ssl/v20191205/api.json +496 -493
- tccli/services/ssl/v20191205/examples.json +144 -24
- tccli/services/taf/taf_client.py +0 -159
- tccli/services/taf/v20200210/api.json +0 -665
- tccli/services/taf/v20200210/examples.json +0 -24
- tccli/services/tdmq/v20200217/api.json +97 -0
- tccli/services/teo/v20220901/api.json +5 -5
- tccli/services/thpc/v20230321/api.json +19 -0
- tccli/services/tione/v20211111/api.json +14 -3
- tccli/services/trabbit/__init__.py +4 -0
- tccli/services/trabbit/trabbit_client.py +1691 -0
- tccli/services/trabbit/v20230418/api.json +4773 -0
- tccli/services/trabbit/v20230418/examples.json +237 -0
- tccli/services/trocket/v20230308/api.json +130 -11
- tccli/services/trtc/v20190722/api.json +8 -8
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/vclm/v20240523/api.json +0 -450
- tccli/services/vclm/v20240523/examples.json +0 -48
- tccli/services/vclm/vclm_client.py +0 -159
- tccli/services/vpc/v20170312/api.json +46 -39
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/wedata/v20210820/api.json +240 -42
- tccli/services/wedata/v20210820/examples.json +17 -3
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +101 -95
- {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -46,6 +46,14 @@
|
|
46
46
|
"title": "创建数据库超级账号"
|
47
47
|
}
|
48
48
|
],
|
49
|
+
"CreateBackupPlan": [
|
50
|
+
{
|
51
|
+
"document": "创建一个名字为plan1的备份策略,每个月的1/2号的凌晨1点至2点进行数据备份,并且数据文件保留40天。",
|
52
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackupPlan\n<公共请求参数>\n\n{\n \"PlanName\": \"plan1\",\n \"BackupPeriodType\": \"month\",\n \"DBInstanceId\": \"postgres-kwk4tq23\",\n \"MinBackupStartTime\": \"01:00:00\",\n \"MaxBackupStartTime\": \"02:00:00\",\n \"BackupPeriod\": [\n \"1\",\n \"2\"\n ],\n \"BaseBackupRetentionPeriod\": \"40\"\n}",
|
53
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\",\n \"PlanId\": \"1111111\"\n }\n}",
|
54
|
+
"title": "创建月度制备份策略。"
|
55
|
+
}
|
56
|
+
],
|
49
57
|
"CreateBaseBackup": [
|
50
58
|
{
|
51
59
|
"document": "手动创建实例数据备份。",
|
@@ -152,6 +160,14 @@
|
|
152
160
|
"title": "删除数据库账号"
|
153
161
|
}
|
154
162
|
],
|
163
|
+
"DeleteBackupPlan": [
|
164
|
+
{
|
165
|
+
"document": "",
|
166
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackupPlan\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-kwk4tq23\",\n \"PlanId\": \"1111111\"\n}",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8a61e500-aa33-454c-9ec2-da2a368c39ab\"\n }\n}",
|
168
|
+
"title": "删除备份策略"
|
169
|
+
}
|
170
|
+
],
|
155
171
|
"DeleteBaseBackup": [
|
156
172
|
{
|
157
173
|
"document": "",
|
@@ -372,6 +388,20 @@
|
|
372
388
|
"title": "查询实例指定参数信息"
|
373
389
|
}
|
374
390
|
],
|
391
|
+
"DescribeDBInstanceSSLConfig": [
|
392
|
+
{
|
393
|
+
"document": "查询结果显示实例SSL信息",
|
394
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceSSLConfig\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-hf8jo5pr\"\n}",
|
395
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"25cc2555-14a2-454f-af08-6bd691315335\",\n \"SSLEnabled\": true,\n \"CAUrl\": \"http://testdownload.url\",\n \"ConnectAddress\": \"10.0.0.4\"\n }\n}",
|
396
|
+
"title": "实例SSL处于开启状态"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"document": "查询结果显示实例SSL关闭,无下载链接及保护地址信息",
|
400
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceSSLConfig\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
|
401
|
+
"output": "{\n \"Response\": {\n \"CAUrl\": \"\",\n \"ConnectAddress\": \"\",\n \"RequestId\": \"042e21a5-14b2-4b41-8dd4-4cf870ae10bf\",\n \"SSLEnabled\": false\n }\n}",
|
402
|
+
"title": "实例SSL处于关闭状态"
|
403
|
+
}
|
404
|
+
],
|
375
405
|
"DescribeDBInstanceSecurityGroups": [
|
376
406
|
{
|
377
407
|
"document": "查询实例安全组",
|
@@ -584,6 +614,26 @@
|
|
584
614
|
"title": "慢日志列表查询示例"
|
585
615
|
}
|
586
616
|
],
|
617
|
+
"DescribeTasks": [
|
618
|
+
{
|
619
|
+
"document": "查询最新1条任务记录",
|
620
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Offset\": 0,\n \"OrderBy\": \"StartTime\",\n \"OrderByType\": \"desc\"\n}",
|
621
|
+
"output": "{\n \"Response\": {\n \"TaskSet\": [\n {\n \"TaskId\": 1202345,\n \"TaskType\": \"RestoreDatabase\",\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"StartTime\": \"2024-09-27 13:14:11\",\n \"EndTime\": \"2024-09-27 13:18:11\",\n \"Status\": \"Success\",\n \"Progress\": 100,\n \"TaskDetail\": {}\n }\n ],\n \"RequestId\": \"3f164712-8746-464f-a490-3084a470000e\",\n \"TotalCount\": 20\n }\n}",
|
622
|
+
"title": "查询最新1条任务记录"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"document": "查询指定任务ID的任务",
|
626
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"TaskId\": 120321,\n \"Limit\": 1\n}",
|
627
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7460a34c-2cf8-4d5c-9346-6977830da6e1\",\n \"TaskSet\": [\n {\n \"DBInstanceId\": \"postgres-0e3hth5b\",\n \"EndTime\": \"\",\n \"Progress\": 0,\n \"StartTime\": \"2024-09-27 16:06:02\",\n \"Status\": \"Running\",\n \"TaskDetail\": {\n \"AllSteps\": \"\",\n \"Input\": \"\",\n \"Output\": \"\"\n },\n \"TaskId\": 120321,\n \"TaskType\": \"DestroyInstance\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
628
|
+
"title": "查询指定任务ID的任务"
|
629
|
+
},
|
630
|
+
{
|
631
|
+
"document": "分页查询指定实例的所有任务",
|
632
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"Limit\": 20\n}",
|
633
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"53872de1-b750-4aa4-b660-5a3627a44d34\",\n \"TaskSet\": [\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 13:18:11\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 13:14:11\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"download cos file success, cost time:12 s\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"specifyBackupSet type ,skip download wal log and redo step\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetTime\\\":\\\"2024-09-26 19:11:45\\\"}\",\n \"Output\": \"{\\\"BeforeRestoreObjects\\\":[\\\"postgres\\\"],\\\"AfterRestoreObjects\\\":[\\\"postgres_bak_1727414053\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetTime\\\":\\\"2024-09-26 19:11:45\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120006,\n \"TaskType\": \"RestoreDatabase\"\n },\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 13:13:31\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 13:09:15\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"download cos file success, cost time:11 s\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"specifyBackupSet type ,skip download wal log and redo step\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetTime\\\":\\\"2024-09-26T19:11:45+08:00\\\"}\",\n \"Output\": \"{\\\"BeforeRestoreObjects\\\":[\\\"postgres\\\"],\\\"AfterRestoreObjects\\\":[\\\"postgres_bak_1727413757\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetTime\\\":\\\"2024-09-26T19:11:45+08:00\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120005,\n \"TaskType\": \"RestoreDatabase\"\n },\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 12:35:58\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 12:31:50\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"download cos file success, cost time:1 s\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"specifyBackupSet type ,skip download wal log and redo step\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\"}\",\n \"Output\": \"{\\\"BeforeRestoreObjects\\\":[\\\"postgres\\\"],\\\"AfterRestoreObjects\\\":[\\\"postgres_bak_1727411512\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120004,\n \"TaskType\": \"RestoreDatabase\"\n },\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 12:31:28\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 12:30:06\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"timestamp\\\",\\\"RestoreTargetTime\\\":\\\"2024-09-26 15:20:14\\\"}\",\n \"Output\": \"{\\\"BeforeRestoreObjects\\\":[\\\"postgres\\\"],\\\"AfterRestoreObjects\\\":[\\\"postgres_bak_1727411408\\\"],\\\"RestoreType\\\":\\\"timestamp\\\",\\\"RestoreTargetTime\\\":\\\"2024-09-26 15:20:14\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120003,\n \"TaskType\": \"RestoreDatabase\"\n },\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 12:29:04\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 12:24:29\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"timestamp\\\",\\\"RestoreTargetTime\\\":\\\"2024-09-26 15:20:14\\\"}\",\n \"Output\": \"{\\\"BeforeRestoreObjects\\\":[\\\"postgres\\\"],\\\"AfterRestoreObjects\\\":[\\\"postgres_bak_1727411071\\\"],\\\"RestoreType\\\":\\\"timestamp\\\",\\\"RestoreTargetTime\\\":\\\"2024-09-26 15:20:14\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120002,\n \"TaskType\": \"RestoreDatabase\"\n },\n {\n \"DBInstanceId\": \"postgres-q6fj84vb\",\n \"EndTime\": \"2024-09-27 11:32:50\",\n \"Progress\": 100,\n \"StartTime\": \"2024-09-27 11:29:03\",\n \"Status\": \"Success\",\n \"TaskDetail\": {\n \"AllSteps\": \"[{\\\"StepId\\\":1,\\\"StepName\\\":\\\"Pre-check\\\"},{\\\"StepId\\\":2,\\\"StepName\\\":\\\"Download Base Backup\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"download cos file success, cost time:1 s\\\"},{\\\"StepId\\\":3,\\\"StepName\\\":\\\"Download WAL Logs and Redo\\\",\\\"StepProcess\\\":100,\\\"StepMessage\\\":\\\"specifyBackupSet type ,skip download wal log and redo step\\\"},{\\\"StepId\\\":4,\\\"StepName\\\":\\\"Execute Recovery\\\"},{\\\"StepId\\\":5,\\\"StepName\\\":\\\"Task Complete\\\"}]\",\n \"CurrentStep\": \"Task Complete\",\n \"Input\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetId\\\":\\\"17083520-3ce6-5b50-9c25-73ff3d4d80b7\\\"}\",\n \"Output\": \"{\\\"RestoreObjects\\\":[\\\"postgres\\\"],\\\"RestoreType\\\":\\\"specifyBackupSet\\\",\\\"BackupSetId\\\":\\\"17083520-3ce6-5b50-9c25-73ff3d4d80b7\\\",\\\"RestoreTargetTime\\\":\\\"1970-01-01 08:00:00\\\",\\\"Message\\\":\\\"success\\\"}\"\n },\n \"TaskId\": 120001,\n \"TaskType\": \"RestoreDatabase\"\n }\n ],\n \"TotalCount\": 6\n }\n}",
|
634
|
+
"title": "查询指定实例的任务"
|
635
|
+
}
|
636
|
+
],
|
587
637
|
"DescribeZones": [
|
588
638
|
{
|
589
639
|
"document": "",
|
@@ -774,6 +824,20 @@
|
|
774
824
|
"title": "ModifyDBInstanceReadOnlyGroup"
|
775
825
|
}
|
776
826
|
],
|
827
|
+
"ModifyDBInstanceSSLConfig": [
|
828
|
+
{
|
829
|
+
"document": "关闭实例SSL",
|
830
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSSLConfig\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5gevh7gr\",\n \"SSLEnabled\": false\n}",
|
831
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5878440a-028f-4fe4-8786-240665d0105e\",\n \"TaskId\": 100015\n }\n}",
|
832
|
+
"title": "关闭SSL"
|
833
|
+
},
|
834
|
+
{
|
835
|
+
"document": "开启实例SSL,并设置保护地址为实例内网地址",
|
836
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDBInstanceSSLConfig\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-5gevh7gr\",\n \"SSLEnabled\": true,\n \"ConnectAddress\": \"10.6.0.4\"\n}",
|
837
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e39921c1-2d50-4c55-8bca-8bdff0a387e8\",\n \"TaskId\": 100016\n }\n}",
|
838
|
+
"title": "开启SSL"
|
839
|
+
}
|
840
|
+
],
|
777
841
|
"ModifyDBInstanceSecurityGroups": [
|
778
842
|
{
|
779
843
|
"document": "修改安全组。",
|
@@ -828,6 +892,14 @@
|
|
828
892
|
"title": "修改参数模板"
|
829
893
|
}
|
830
894
|
],
|
895
|
+
"ModifyReadOnlyDBInstanceWeight": [
|
896
|
+
{
|
897
|
+
"document": "",
|
898
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyReadOnlyDBInstanceWeight\n<公共请求参数>\n\n{\n \"ReadOnlyGroupId\": \"\\\"pgrogp-test\\\"\",\n \"DBInstanceId\": \"\\\"pgro-e0tfm161\\\"\",\n \"Weight\": \"1\"\n}",
|
899
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d43b2a9f-070c-480b-a0bb-7c210428cfe8\"\n }\n}",
|
900
|
+
"title": "ModifyReadOnlyDBInstanceWeight"
|
901
|
+
}
|
902
|
+
],
|
831
903
|
"ModifyReadOnlyGroupConfig": [
|
832
904
|
{
|
833
905
|
"document": "",
|
@@ -498,43 +498,43 @@
|
|
498
498
|
},
|
499
499
|
{
|
500
500
|
"disabled": false,
|
501
|
-
"document": "
|
501
|
+
"document": "备注。",
|
502
502
|
"example": "腾讯云助手账号",
|
503
503
|
"member": "string",
|
504
504
|
"name": "Comment",
|
505
505
|
"output_required": false,
|
506
506
|
"type": "string",
|
507
|
-
"value_allowed_null":
|
507
|
+
"value_allowed_null": false
|
508
508
|
},
|
509
509
|
{
|
510
510
|
"disabled": false,
|
511
|
-
"document": "
|
511
|
+
"document": "昵称。",
|
512
512
|
"example": "腾讯云助手",
|
513
513
|
"member": "string",
|
514
514
|
"name": "Nickname",
|
515
515
|
"output_required": false,
|
516
516
|
"type": "string",
|
517
|
-
"value_allowed_null":
|
517
|
+
"value_allowed_null": false
|
518
518
|
},
|
519
519
|
{
|
520
520
|
"disabled": false,
|
521
|
-
"document": "
|
521
|
+
"document": "用户头像地址。",
|
522
522
|
"example": "https://cloudcache.tencent-cloud.com/qcloud/portal/kit/images/slice/logo.23996906.svg",
|
523
523
|
"member": "string",
|
524
524
|
"name": "Avatar",
|
525
525
|
"output_required": false,
|
526
526
|
"type": "string",
|
527
|
-
"value_allowed_null":
|
527
|
+
"value_allowed_null": false
|
528
528
|
},
|
529
529
|
{
|
530
530
|
"disabled": false,
|
531
|
-
"document": "
|
531
|
+
"document": "自定义信息。",
|
532
532
|
"example": "普通用户",
|
533
533
|
"member": "string",
|
534
534
|
"name": "Customize",
|
535
535
|
"output_required": false,
|
536
536
|
"type": "string",
|
537
|
-
"value_allowed_null":
|
537
|
+
"value_allowed_null": false
|
538
538
|
},
|
539
539
|
{
|
540
540
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -805,7 +805,7 @@
|
|
805
805
|
"example": "无",
|
806
806
|
"member": "Instance",
|
807
807
|
"name": "List",
|
808
|
-
"
|
808
|
+
"output_required": true,
|
809
809
|
"type": "list",
|
810
810
|
"value_allowed_null": false
|
811
811
|
},
|
@@ -815,7 +815,7 @@
|
|
815
815
|
"example": "5",
|
816
816
|
"member": "uint64",
|
817
817
|
"name": "TotalCount",
|
818
|
-
"
|
818
|
+
"output_required": true,
|
819
819
|
"type": "int",
|
820
820
|
"value_allowed_null": false
|
821
821
|
},
|
@@ -1052,7 +1052,7 @@
|
|
1052
1052
|
"example": "tyc9msci",
|
1053
1053
|
"member": "string",
|
1054
1054
|
"name": "InstanceId",
|
1055
|
-
"
|
1055
|
+
"output_required": true,
|
1056
1056
|
"type": "string",
|
1057
1057
|
"value_allowed_null": false
|
1058
1058
|
},
|
@@ -1062,7 +1062,7 @@
|
|
1062
1062
|
"example": "tyc9msci.cofile.net",
|
1063
1063
|
"member": "string",
|
1064
1064
|
"name": "Domain",
|
1065
|
-
"
|
1065
|
+
"output_required": true,
|
1066
1066
|
"type": "string",
|
1067
1067
|
"value_allowed_null": true
|
1068
1068
|
},
|
@@ -1072,7 +1072,7 @@
|
|
1072
1072
|
"example": "2021-10-12T03:53:29Z",
|
1073
1073
|
"member": "datetime_iso",
|
1074
1074
|
"name": "EffectiveTime",
|
1075
|
-
"
|
1075
|
+
"output_required": true,
|
1076
1076
|
"type": "string",
|
1077
1077
|
"value_allowed_null": false
|
1078
1078
|
},
|
@@ -1082,7 +1082,7 @@
|
|
1082
1082
|
"example": "2021-11-12T15:59:59Z",
|
1083
1083
|
"member": "datetime_iso",
|
1084
1084
|
"name": "ExpireTime",
|
1085
|
-
"
|
1085
|
+
"output_required": true,
|
1086
1086
|
"type": "string",
|
1087
1087
|
"value_allowed_null": true
|
1088
1088
|
},
|
@@ -1092,7 +1092,7 @@
|
|
1092
1092
|
"example": "5",
|
1093
1093
|
"member": "uint64",
|
1094
1094
|
"name": "UserLimit",
|
1095
|
-
"
|
1095
|
+
"output_required": true,
|
1096
1096
|
"type": "int",
|
1097
1097
|
"value_allowed_null": true
|
1098
1098
|
},
|
@@ -1102,7 +1102,7 @@
|
|
1102
1102
|
"example": "107374182400",
|
1103
1103
|
"member": "string",
|
1104
1104
|
"name": "StorageLimit",
|
1105
|
-
"
|
1105
|
+
"output_required": true,
|
1106
1106
|
"type": "string",
|
1107
1107
|
"value_allowed_null": true
|
1108
1108
|
},
|
@@ -1112,7 +1112,7 @@
|
|
1112
1112
|
"example": "100",
|
1113
1113
|
"member": "uint64",
|
1114
1114
|
"name": "StorageLimitGB",
|
1115
|
-
"
|
1115
|
+
"output_required": true,
|
1116
1116
|
"type": "int",
|
1117
1117
|
"value_allowed_null": true
|
1118
1118
|
},
|
@@ -1122,7 +1122,7 @@
|
|
1122
1122
|
"example": "false",
|
1123
1123
|
"member": "bool",
|
1124
1124
|
"name": "Isolated",
|
1125
|
-
"
|
1125
|
+
"output_required": true,
|
1126
1126
|
"type": "bool",
|
1127
1127
|
"value_allowed_null": false
|
1128
1128
|
},
|
@@ -1132,7 +1132,7 @@
|
|
1132
1132
|
"example": "1",
|
1133
1133
|
"member": "uint64",
|
1134
1134
|
"name": "AutoRenew",
|
1135
|
-
"
|
1135
|
+
"output_required": true,
|
1136
1136
|
"type": "int",
|
1137
1137
|
"value_allowed_null": false
|
1138
1138
|
},
|
@@ -1142,7 +1142,27 @@
|
|
1142
1142
|
"example": "+86-18988888888",
|
1143
1143
|
"member": "string",
|
1144
1144
|
"name": "SuperAdminAccount",
|
1145
|
-
"
|
1145
|
+
"output_required": true,
|
1146
|
+
"type": "string",
|
1147
|
+
"value_allowed_null": true
|
1148
|
+
},
|
1149
|
+
{
|
1150
|
+
"disabled": false,
|
1151
|
+
"document": "自选桶模式下,展示存储桶使用",
|
1152
|
+
"example": "joestorage-1253960454",
|
1153
|
+
"member": "string",
|
1154
|
+
"name": "Bucket",
|
1155
|
+
"output_required": false,
|
1156
|
+
"type": "string",
|
1157
|
+
"value_allowed_null": false
|
1158
|
+
},
|
1159
|
+
{
|
1160
|
+
"disabled": false,
|
1161
|
+
"document": "自选桶模式下,展示日志桶使用\n注意:此字段可能返回 null,表示取不到有效值。",
|
1162
|
+
"example": "joelog-1253960454",
|
1163
|
+
"member": "string",
|
1164
|
+
"name": "LogBucket",
|
1165
|
+
"output_required": false,
|
1146
1166
|
"type": "string",
|
1147
1167
|
"value_allowed_null": true
|
1148
1168
|
}
|
@@ -1852,7 +1872,7 @@
|
|
1852
1872
|
"example": "tyc9msci",
|
1853
1873
|
"member": "string",
|
1854
1874
|
"name": "InstanceId",
|
1855
|
-
"
|
1875
|
+
"output_required": true,
|
1856
1876
|
"type": "string",
|
1857
1877
|
"value_allowed_null": false
|
1858
1878
|
},
|
@@ -1862,7 +1882,7 @@
|
|
1862
1882
|
"example": "tyc9msci.cofile.net",
|
1863
1883
|
"member": "string",
|
1864
1884
|
"name": "Domain",
|
1865
|
-
"
|
1885
|
+
"output_required": true,
|
1866
1886
|
"type": "string",
|
1867
1887
|
"value_allowed_null": true
|
1868
1888
|
},
|
@@ -1872,7 +1892,7 @@
|
|
1872
1892
|
"example": "0",
|
1873
1893
|
"member": "uint64",
|
1874
1894
|
"name": "Type",
|
1875
|
-
"
|
1895
|
+
"output_required": true,
|
1876
1896
|
"type": "int",
|
1877
1897
|
"value_allowed_null": false
|
1878
1898
|
},
|
@@ -1882,7 +1902,7 @@
|
|
1882
1902
|
"example": "107374182400",
|
1883
1903
|
"member": "string",
|
1884
1904
|
"name": "Size",
|
1885
|
-
"
|
1905
|
+
"output_required": true,
|
1886
1906
|
"type": "string",
|
1887
1907
|
"value_allowed_null": false
|
1888
1908
|
},
|
@@ -1892,7 +1912,7 @@
|
|
1892
1912
|
"example": "100",
|
1893
1913
|
"member": "uint64",
|
1894
1914
|
"name": "SizeGB",
|
1895
|
-
"
|
1915
|
+
"output_required": true,
|
1896
1916
|
"type": "int",
|
1897
1917
|
"value_allowed_null": false
|
1898
1918
|
},
|
@@ -1902,7 +1922,7 @@
|
|
1902
1922
|
"example": "89017835619",
|
1903
1923
|
"member": "string",
|
1904
1924
|
"name": "Remain",
|
1905
|
-
"
|
1925
|
+
"output_required": true,
|
1906
1926
|
"type": "string",
|
1907
1927
|
"value_allowed_null": false
|
1908
1928
|
},
|
@@ -1912,7 +1932,7 @@
|
|
1912
1932
|
"example": "18356346781",
|
1913
1933
|
"member": "string",
|
1914
1934
|
"name": "Used",
|
1915
|
-
"
|
1935
|
+
"output_required": true,
|
1916
1936
|
"type": "string",
|
1917
1937
|
"value_allowed_null": false
|
1918
1938
|
},
|
@@ -1922,7 +1942,7 @@
|
|
1922
1942
|
"example": "17.10",
|
1923
1943
|
"member": "string",
|
1924
1944
|
"name": "UsedPercentage",
|
1925
|
-
"
|
1945
|
+
"output_required": true,
|
1926
1946
|
"type": "string",
|
1927
1947
|
"value_allowed_null": false
|
1928
1948
|
},
|
@@ -1932,7 +1952,7 @@
|
|
1932
1952
|
"example": "2021-10-12T03:53:29Z",
|
1933
1953
|
"member": "datetime_iso",
|
1934
1954
|
"name": "EffectiveTime",
|
1935
|
-
"
|
1955
|
+
"output_required": true,
|
1936
1956
|
"type": "string",
|
1937
1957
|
"value_allowed_null": false
|
1938
1958
|
},
|
@@ -1942,7 +1962,7 @@
|
|
1942
1962
|
"example": "2021-11-12T15:59:59Z",
|
1943
1963
|
"member": "datetime_iso",
|
1944
1964
|
"name": "ExpireTime",
|
1945
|
-
"
|
1965
|
+
"output_required": true,
|
1946
1966
|
"type": "string",
|
1947
1967
|
"value_allowed_null": true
|
1948
1968
|
}
|