tccli 3.0.1129.1__py2.py3-none-any.whl → 3.0.1131.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +1 -1
  3. tccli/services/cdb/v20170320/api.json +2 -2
  4. tccli/services/cds/cds_client.py +11 -64
  5. tccli/services/cds/v20180420/api.json +0 -42
  6. tccli/services/cds/v20180420/examples.json +0 -8
  7. tccli/services/cdwch/v20200915/api.json +30 -0
  8. tccli/services/ciam/v20220331/api.json +92 -104
  9. tccli/services/cls/v20201016/api.json +5 -5
  10. tccli/services/cynosdb/v20190107/api.json +47 -2
  11. tccli/services/domain/v20180808/api.json +39 -39
  12. tccli/services/ess/v20201111/api.json +7 -7
  13. tccli/services/essbasic/v20210526/api.json +10 -1
  14. tccli/services/essbasic/v20210526/examples.json +1 -1
  15. tccli/services/lighthouse/v20200324/api.json +15 -15
  16. tccli/services/mongodb/v20190725/api.json +50 -20
  17. tccli/services/mongodb/v20190725/examples.json +1 -1
  18. tccli/services/privatedns/v20201028/api.json +5 -5
  19. tccli/services/privatedns/v20201028/examples.json +1 -1
  20. tccli/services/redis/redis_client.py +220 -8
  21. tccli/services/redis/v20180412/api.json +251 -20
  22. tccli/services/redis/v20180412/examples.json +32 -0
  23. tccli/services/ssl/v20191205/api.json +66 -38
  24. tccli/services/ssl/v20191205/examples.json +1 -1
  25. tccli/services/tcaplusdb/v20190823/api.json +147 -75
  26. tccli/services/tcaplusdb/v20190823/examples.json +10 -10
  27. tccli/services/tcbr/v20220217/api.json +2 -2
  28. tccli/services/tcbr/v20220217/examples.json +1 -1
  29. tccli/services/tcm/v20210413/api.json +85 -32
  30. tccli/services/tcm/v20210413/examples.json +2 -2
  31. tccli/services/tcr/v20190924/api.json +8 -8
  32. tccli/services/tcr/v20190924/examples.json +1 -1
  33. tccli/services/tdmq/v20200217/api.json +23 -10
  34. tccli/services/tdmq/v20200217/examples.json +3 -3
  35. tccli/services/tke/v20180525/api.json +31 -26
  36. tccli/services/tke/v20180525/examples.json +9 -9
  37. tccli/services/trtc/v20190722/api.json +5 -5
  38. tccli/services/tse/v20201207/api.json +205 -0
  39. tccli/services/tse/v20201207/examples.json +1 -1
  40. tccli/services/tsf/v20180326/api.json +112 -62
  41. tccli/services/tts/v20190823/api.json +1 -1
  42. tccli/services/waf/v20180125/api.json +109 -0
  43. tccli/services/waf/v20180125/examples.json +14 -0
  44. tccli/services/waf/waf_client.py +61 -8
  45. tccli/services/wedata/v20210820/api.json +71 -0
  46. tccli/services/wedata/v20210820/examples.json +8 -0
  47. tccli/services/wedata/wedata_client.py +53 -0
  48. {tccli-3.0.1129.1.dist-info → tccli-3.0.1131.1.dist-info}/METADATA +2 -2
  49. {tccli-3.0.1129.1.dist-info → tccli-3.0.1131.1.dist-info}/RECORD +52 -52
  50. {tccli-3.0.1129.1.dist-info → tccli-3.0.1131.1.dist-info}/WHEEL +0 -0
  51. {tccli-3.0.1129.1.dist-info → tccli-3.0.1131.1.dist-info}/entry_points.txt +0 -0
  52. {tccli-3.0.1129.1.dist-info → tccli-3.0.1131.1.dist-info}/license_files/LICENSE +0 -0
@@ -145,8 +145,8 @@
145
145
  "DescribeClusterTags": [
146
146
  {
147
147
  "document": "获取集群关联的标签列表",
148
- "input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeClusterTags\n<公共请求参数>\n\n{\n \"ClusterIds\": [\n \"5674209986\"\n ]\n}",
149
- "output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TotalCount\": 1,\n \"Rows\": [\n {\n \"ClusterId\": \"5674209986\",\n \"Tags\": {\n \"TagKey\": \"test1\",\n \"TagValue\": \"value1\"\n }\n }\n ]\n }\n}",
148
+ "input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeClusterTags\r\n&ClusterIds.0=5674209986\r\n&<公共请求参数>",
149
+ "output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
150
150
  "title": "获取集群关联的标签列表"
151
151
  }
152
152
  ],
@@ -154,7 +154,7 @@
154
154
  {
155
155
  "document": "查询用户所属的集群列表",
156
156
  "input": "https://tcaplusdb.tencentcloudapi.com/?Action=DescribeClusters\n&<公共请求参数>",
157
- "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"xx\",\n \"Clusters\": [\n {\n \"ApiAccessIpv6\": \"xx\",\n \"DbaUins\": [\n \"xx\"\n ],\n \"KafkaInfo\": {\n \"IsVpc\": true,\n \"Topic\": \"xx\",\n \"Password\": \"xx\",\n \"User\": \"xx\",\n \"Address\": \"xx\",\n \"Instance\": \"ckafka-l4xpzgpz\"\n },\n \"PasswordStatus\": \"xx\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"WriteCapacityUnit\": 0,\n \"IdlType\": \"xx\",\n \"VpcId\": \"xx\",\n \"ApiAccessIp\": \"xx\",\n \"ClusterId\": \"xx\",\n \"ProxyList\": [\n {\n \"ProcessSpeed\": 0,\n \"AverageProcessDelay\": 0,\n \"MachineType\": \"xx\",\n \"ProxyUid\": \"xx\",\n \"SlowProcessSpeed\": 0\n }\n ],\n \"Censorship\": 0,\n \"SubnetId\": \"xx\",\n \"Password\": \"xx\",\n \"ApiAccessId\": \"xx\",\n \"DiskVolume\": 0,\n \"DataFlowStatus\": 0,\n \"Region\": \"xx\",\n \"ClusterType\": 0,\n \"NetworkType\": \"xx\",\n \"OldPasswordExpireTime\": \"xx\",\n \"ServerList\": [\n {\n \"MachineType\": \"xx\",\n \"ServerUid\": \"xx\",\n \"ReadNum\": 0,\n \"WriteNum\": 0,\n \"MemoryRate\": 0,\n \"DiskRate\": 0\n }\n ],\n \"ApiAccessPort\": 9999,\n \"ClusterName\": \"xx\",\n \"ClusterStatus\": 0,\n \"ReadCapacityUnit\": 0\n },\n {\n \"ApiAccessIpv6\": \"xx\",\n \"DbaUins\": [\n \"342\",\n \"432432\",\n \"342342\"\n ],\n \"PasswordStatus\": \"xx\",\n \"KafkaInfo\": {\n \"IsVpc\": true,\n \"Topic\": \"xx\",\n \"Password\": \"xx\",\n \"User\": \"xx\",\n \"Address\": \"xx\",\n \"Instance\": \"ckafka-l4xpzgpz\"\n },\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"WriteCapacityUnit\": 0,\n \"IdlType\": \"xx\",\n \"VpcId\": \"xx\",\n \"ApiAccessIp\": \"xx\",\n \"ClusterId\": \"xx\",\n \"ClusterStatus\": 0,\n \"ProxyList\": [\n {\n \"MachineType\": \"xx\",\n \"AverageProcessDelay\": 0,\n \"ProcessSpeed\": 0,\n \"ProxyUid\": \"xx\",\n \"SlowProcessSpeed\": 0\n }\n ],\n \"Censorship\": 1,\n \"SubnetId\": \"xx\",\n \"Password\": \"xx\",\n \"ApiAccessId\": \"xx\",\n \"DiskVolume\": 0,\n \"DataFlowStatus\": 0,\n \"Region\": \"xx\",\n \"ClusterType\": 0,\n \"OldPasswordExpireTime\": \"xx\",\n \"ServerList\": [\n {\n \"ServerUid\": \"xx\",\n \"ReadNum\": 0,\n \"DiskRate\": 0,\n \"WriteNum\": 0,\n \"MemoryRate\": 0,\n \"MachineType\": \"xx\"\n }\n ],\n \"ApiAccessPort\": 9999,\n \"ClusterName\": \"xx\",\n \"NetworkType\": \"xx\",\n \"ReadCapacityUnit\": 0\n }\n ]\n }\n}",
157
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Clusters\": [\n {\n \"ClusterName\": \"abc\",\n \"ClusterId\": \"abc\",\n \"Region\": \"abc\",\n \"IdlType\": \"abc\",\n \"NetworkType\": \"abc\",\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"Password\": \"abc\",\n \"PasswordStatus\": \"abc\",\n \"ApiAccessId\": \"abc\",\n \"ApiAccessIp\": \"abc\",\n \"ApiAccessPort\": 0,\n \"OldPasswordExpireTime\": \"abc\",\n \"ApiAccessIpv6\": \"abc\",\n \"ClusterType\": 0,\n \"ClusterStatus\": 0,\n \"ReadCapacityUnit\": 0,\n \"WriteCapacityUnit\": 0,\n \"DiskVolume\": 0,\n \"ServerList\": [\n {\n \"ServerUid\": \"abc\",\n \"MachineType\": \"abc\",\n \"MemoryRate\": 0,\n \"DiskRate\": 0,\n \"ReadNum\": 0,\n \"WriteNum\": 0,\n \"Version\": \"abc\"\n }\n ],\n \"ProxyList\": [\n {\n \"ProxyUid\": \"abc\",\n \"MachineType\": \"abc\",\n \"ProcessSpeed\": 0,\n \"AverageProcessDelay\": 0,\n \"SlowProcessSpeed\": 0,\n \"Version\": \"abc\"\n }\n ],\n \"Censorship\": 0,\n \"DbaUins\": [\n \"abc\"\n ],\n \"DataFlowStatus\": 0,\n \"KafkaInfo\": {\n \"Address\": \"abc\",\n \"Topic\": \"abc\",\n \"User\": \"abc\",\n \"Password\": \"abc\",\n \"Instance\": \"abc\",\n \"IsVpc\": 0\n },\n \"TxhBackupExpireDay\": 1,\n \"UlogBackupExpireDay\": 1,\n \"IsReadOnlyUlogBackupExpireDay\": 1,\n \"RestProxyStatus\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
158
158
  "title": "查询集群列表"
159
159
  }
160
160
  ],
@@ -199,8 +199,8 @@
199
199
  "DescribeTableGroupTags": [
200
200
  {
201
201
  "document": "获取表格组关联的标签列表",
202
- "input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableGroupTags\n<公共请求参数>\n\n{\n \"ClusterId\": \"5674209986\",\n \"TableGroupIds\": [\n \"1\"\n ]\n}",
203
- "output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TotalCount\": 1,\n \"Rows\": [\n {\n \"ClusterId\": \"5674209986\",\n \"TableGroupId\": \"1\",\n \"Tags\": {\n \"TagKey\": \"test1\",\n \"TagValue\": \"value1\"\n }\n }\n ]\n }\n}",
202
+ "input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableGroupTags\r\n&ClusterId=5674209986\r\n&TableGroupIds.0=1\r\n&<公共请求参数>",
203
+ "output": "{\n \"Response\": {\n \"Rows\": [\n {\n \"ClusterId\": \"abc\",\n \"TableGroupId\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
204
204
  "title": "获取表格组关联的标签列表"
205
205
  }
206
206
  ],
@@ -208,15 +208,15 @@
208
208
  {
209
209
  "document": "查询表格组列表",
210
210
  "input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableGroups\r\n&ClusterId=6179109757\r\n&<公共请求参数>",
211
- "output": "{\n \"Response\": {\n \"RequestId\": \"dbaf73f4-3d1d-4f7b-b3b3-259d53e546be\",\n \"TotalCount\": 2,\n \"TableGroups\": [\n {\n \"CreatedTime\": \"2019-08-30 18:57:02\",\n \"TableGroupId\": \"1\",\n \"TableCount\": 0,\n \"TotalSize\": 0,\n \"TableGroupName\": \"tdr测试区1\"\n },\n {\n \"CreatedTime\": \"2019-08-30 18:58:03\",\n \"TableGroupId\": \"1001\",\n \"TableCount\": 0,\n \"TotalSize\": 0,\n \"TableGroupName\": \"tdr正式区1\"\n }\n ]\n }\n}",
211
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"TableGroups\": [\n {\n \"TableGroupId\": \"abc\",\n \"TableGroupName\": \"abc\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"TableCount\": 1,\n \"TotalSize\": 1,\n \"TxhBackupExpireDay\": 1,\n \"EnableMysql\": 1,\n \"MysqlConnIp\": \"abc\",\n \"MysqlConnPort\": 1\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
212
212
  "title": "查询表格组列表"
213
213
  }
214
214
  ],
215
215
  "DescribeTableTags": [
216
216
  {
217
217
  "document": "获取表格标签",
218
- "input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTableTags\n<公共请求参数>\n\n{\n \"ClusterId\": \"5674209986\",\n \"SelectedTables\": [\n {\n \"TableIdlType\": \"xx\",\n \"TableGroupId\": \"1\",\n \"FileExtType\": \"xx\",\n \"TableInstanceId\": \"tcaplus-0xm12ck1\",\n \"Memo\": \"xx\",\n \"TableName\": \"tb_test\",\n \"ReservedReadQps\": 0,\n \"ListElementNum\": 0,\n \"ReservedVolume\": 0,\n \"ReservedWriteQps\": 0,\n \"FileSize\": 0,\n \"FileContent\": \"xx\",\n \"FileName\": \"xx\",\n \"TableType\": \"xx\"\n }\n ]\n}",
219
- "output": "{\n \"Response\": {\n \"RequestId\": \"abd7111a-62d4-4bbb-a781-3646040e9530\",\n \"TotalCount\": 1,\n \"Rows\": [\n {\n \"TableInstanceId\": \"tcaplus-0xm12ck1\",\n \"TableGroupId\": \"1\",\n \"TableName\": \"tb_test\",\n \"Tags\": {\n \"TagKey\": \"test1\",\n \"TagValue\": \"value1\"\n }\n }\n ]\n }\n}",
218
+ "input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTableTags\r\n&ClusterId=5674209986\r\n&SelectedTables.0.TableInstanceId=tcaplus-0xm12ck1\r\n&SelectedTables.0.TableGroupId=1\r\n&SelectedTables.0.TableName=tb_test\r\n&<公共请求参数>",
219
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Rows\": [\n {\n \"TableInstanceId\": \"abc\",\n \"TableName\": \"abc\",\n \"TableGroupId\": \"abc\",\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
220
220
  "title": "获取表格标签"
221
221
  }
222
222
  ],
@@ -231,8 +231,8 @@
231
231
  "DescribeTablesInRecycle": [
232
232
  {
233
233
  "document": "查询回收站表格列表",
234
- "input": "POST / HTTP/1.1\nHost: tcaplusdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTablesInRecycle\n<公共请求参数>\n\n{\n \"TableGroupIds\": [\n \"xx\"\n ],\n \"ClusterId\": \"5674209986\",\n \"Limit\": 0,\n \"Filters\": [\n {\n \"Name\": \"xx\",\n \"Value\": \"xx\"\n }\n ],\n \"Offset\": 0\n}",
235
- "output": "{\n \"Response\": {\n \"RequestId\": \"5d7da70a-2aa6-4e61-9389-46a92770974c\",\n \"TableInfos\": [\n {\n \"ApiAccessId\": \"10\",\n \"ClusterName\": \"gz测试App\",\n \"ClusterId\": \"5674209986\",\n \"CreatedTime\": \"2019-08-29 22:03:27\",\n \"Error\": null,\n \"IdlFiles\": [\n {\n \"FileContent\": null,\n \"FileExtType\": \"proto\",\n \"FileId\": 551,\n \"FileName\": \"tb_example\",\n \"FileSize\": 266,\n \"FileType\": \"PROTO\"\n }\n ],\n \"IndexStruct\": null,\n \"KeyStruct\": null,\n \"ListElementNum\": 1,\n \"TableGroupId\": \"101\",\n \"Memo\": null,\n \"ReservedReadQps\": 80,\n \"ReservedVolume\": 1,\n \"ReservedWriteQps\": 26,\n \"ShardingKeySet\": \"key\",\n \"Status\": \"RECYCLING\",\n \"TableIdlType\": \"PROTO\",\n \"TableInstanceId\": \"tcaplus-1f224454\",\n \"TableName\": \"tb_example\",\n \"TableSize\": 48566336,\n \"TableType\": \"GENERIC\",\n \"UpdatedTime\": \"\",\n \"ValueStruct\": null,\n \"SortFieldNum\": null,\n \"SortRule\": null,\n \"TableGroupName\": \"test_zone_1\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
234
+ "input": "https://tcaplus.tencentcloudapi.com/?Action=DescribeTablesInRecycle\r\n&ClusterId=5674209986\r\n&<公共请求参数>",
235
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TableInfos\": [\n {\n \"TableName\": \"abc\",\n \"TableInstanceId\": \"abc\",\n \"TableType\": \"abc\",\n \"TableIdlType\": \"abc\",\n \"ClusterId\": \"abc\",\n \"ClusterName\": \"abc\",\n \"TableGroupId\": \"abc\",\n \"TableGroupName\": \"abc\",\n \"KeyStruct\": \"abc\",\n \"ValueStruct\": \"abc\",\n \"ShardingKeySet\": \"abc\",\n \"IndexStruct\": \"abc\",\n \"ListElementNum\": 1,\n \"IdlFiles\": [\n {\n \"FileName\": \"abc\",\n \"FileType\": \"abc\",\n \"FileExtType\": \"abc\",\n \"FileSize\": 0,\n \"FileId\": 0,\n \"FileContent\": \"abc\"\n }\n ],\n \"ReservedVolume\": 0,\n \"ReservedReadQps\": 0,\n \"ReservedWriteQps\": 0,\n \"TableSize\": 0,\n \"Status\": \"abc\",\n \"CreatedTime\": \"abc\",\n \"UpdatedTime\": \"abc\",\n \"Memo\": \"abc\",\n \"Error\": {\n \"Code\": \"abc\",\n \"Message\": \"abc\"\n },\n \"ApiAccessId\": \"abc\",\n \"SortFieldNum\": 0,\n \"SortRule\": 0,\n \"DbClusterInfoStruct\": \"abc\",\n \"TxhBackupExpireDay\": 1,\n \"SyncTableInfo\": {\n \"TargetTableSplitNum\": 1,\n \"TargetTableNamePrefix\": [\n \"abc\"\n ],\n \"TargetSyncDBInstanceId\": \"abc\",\n \"TargetDatabaseName\": \"abc\",\n \"Status\": 0,\n \"ClusterId\": \"abc\",\n \"TableGroupId\": 1,\n \"TableName\": \"abc\",\n \"TableId\": \"abc\",\n \"KeyFieldMapping\": [\n {\n \"SourceName\": \"abc\",\n \"TargetName\": \"abc\"\n }\n ],\n \"ValueFieldMapping\": [\n {\n \"SourceName\": \"abc\",\n \"TargetName\": \"abc\"\n }\n ]\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
236
236
  "title": "查询回收站表格列表"
237
237
  }
238
238
  ],
@@ -17,7 +17,7 @@
17
17
  "DescribeCloudRunEnvs": {
18
18
  "document": "获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数",
19
19
  "input": "DescribeCloudRunEnvsRequest",
20
- "name": "查询环境列表",
20
+ "name": "查询云托管环境列表",
21
21
  "output": "DescribeCloudRunEnvsResponse",
22
22
  "status": "online"
23
23
  },
@@ -524,7 +524,7 @@
524
524
  "example": "无",
525
525
  "member": "EnvInfo",
526
526
  "name": "EnvList",
527
- "required": true,
527
+ "output_required": true,
528
528
  "type": "list",
529
529
  "value_allowed_null": false
530
530
  },
@@ -38,7 +38,7 @@
38
38
  {
39
39
  "document": "",
40
40
  "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunEnvs\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-6gvwy9lua50e9504\"\n}",
41
- "output": "{\n \"Response\": {\n \"EnvList\": [\n {\n \"EnvId\": \"yourenvid-2fb346\",\n \"Source\": \"miniapp\",\n \"Alias\": \"默认环境\",\n \"Status\": \"NORMAL\",\n \"PayMode\": \"postpaid\",\n \"Tags\": [],\n \"PackageId\": \"basic1\",\n \"PackageName\": \"基础版1\",\n \"IsAutoDegrade\": true,\n \"EnvChannel\": \"xx\",\n \"Region\": \"xx\",\n \"IsDefault\": true,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"EnvType\": \"tcbr\",\n \"LogServices\": [],\n \"StaticStorages\": [\n {\n \"Status\": \"xx\",\n \"StaticDomain\": \"xx\",\n \"DefaultDirName\": \"xx\",\n \"Bucket\": \"xx\",\n \"Region\": \"xx\"\n }\n ],\n \"Databases\": [\n {\n \"InstanceId\": \"default\",\n \"Region\": \"ap-shanghai\",\n \"Status\": \"RUNNING\"\n }\n ],\n \"CustomLogServices\": [\n {\n \"ClsTopicId\": \"xx\",\n \"ClsRegion\": \"xx\",\n \"ClsLogsetId\": \"xx\",\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"Storages\": [\n {\n \"Region\": \"ap-shanghai\",\n \"Bucket\": \"yourenvid-2fb346-12532284\",\n \"CdnDomain\": \"yourenvid-2fb346.tcb.qcloud.la\",\n \"AppId\": \"xx\"\n }\n ],\n \"Functions\": [\n {\n \"Namespace\": \"yourenvid-2fb346\",\n \"Region\": \"ap-shanghai\"\n }\n ]\n }\n ],\n \"RequestId\": \"75ec26f6-b624-40f1-a3f4-e724843f483e\"\n }\n}",
41
+ "output": "{\n \"Response\": {\n \"EnvList\": [\n {\n \"EnvId\": \"yourenvid-2fb346\",\n \"Source\": \"miniapp\",\n \"Alias\": \"默认环境\",\n \"Status\": \"NORMAL\",\n \"PayMode\": \"postpaid\",\n \"Tags\": [],\n \"PackageId\": \"basic1\",\n \"PackageName\": \"基础版1\",\n \"IsAutoDegrade\": true,\n \"EnvChannel\": \"channel\",\n \"Region\": \"ap-shanghai\",\n \"IsDefault\": true,\n \"CreateTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdateTime\": \"2020-09-22T00:00:00+00:00\",\n \"EnvType\": \"tcbr\",\n \"LogServices\": [],\n \"StaticStorages\": [\n {\n \"Status\": \"succ\",\n \"StaticDomain\": \"http://asdasda\",\n \"DefaultDirName\": \"default\",\n \"Bucket\": \"bucket\",\n \"Region\": \"ap-shanghai\"\n }\n ],\n \"Databases\": [\n {\n \"InstanceId\": \"default\",\n \"Region\": \"ap-shanghai\",\n \"Status\": \"RUNNING\"\n }\n ],\n \"CustomLogServices\": [\n {\n \"ClsTopicId\": \"topic\",\n \"ClsRegion\": \"ap-shanghai\",\n \"ClsLogsetId\": \"setId\",\n \"CreateTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"Storages\": [\n {\n \"Region\": \"ap-shanghai\",\n \"Bucket\": \"yourenvid-2fb346-12532284\",\n \"CdnDomain\": \"yourenvid-2fb346.tcb.qcloud.la\",\n \"AppId\": \"123121\"\n }\n ],\n \"Functions\": [\n {\n \"Namespace\": \"yourenvid-2fb346\",\n \"Region\": \"ap-shanghai\"\n }\n ]\n }\n ],\n \"RequestId\": \"75ec26f6-b624-40f1-a3f4-e724843f483e\"\n }\n}",
42
42
  "title": "DescribeCloudRunEnvs"
43
43
  }
44
44
  ],
@@ -101,6 +101,7 @@
101
101
  "example": "true",
102
102
  "member": "bool",
103
103
  "name": "Enable",
104
+ "output_required": true,
104
105
  "required": true,
105
106
  "type": "bool",
106
107
  "value_allowed_null": false
@@ -111,6 +112,7 @@
111
112
  "example": "ap-shanghai",
112
113
  "member": "string",
113
114
  "name": "Region",
115
+ "output_required": true,
114
116
  "required": false,
115
117
  "type": "string",
116
118
  "value_allowed_null": true
@@ -121,9 +123,21 @@
121
123
  "example": "xxxx",
122
124
  "member": "string",
123
125
  "name": "InstanceId",
126
+ "output_required": true,
124
127
  "required": false,
125
128
  "type": "string",
126
129
  "value_allowed_null": true
130
+ },
131
+ {
132
+ "disabled": false,
133
+ "document": "是否要删除APM实例\n注意:此字段可能返回 null,表示取不到有效值。",
134
+ "example": "true",
135
+ "member": "bool",
136
+ "name": "NeedDelete",
137
+ "output_required": false,
138
+ "required": false,
139
+ "type": "bool",
140
+ "value_allowed_null": true
127
141
  }
128
142
  ],
129
143
  "usage": "both"
@@ -538,6 +552,7 @@
538
552
  "example": "linking",
539
553
  "member": "string",
540
554
  "name": "LinkState",
555
+ "output_required": true,
541
556
  "required": true,
542
557
  "type": "string",
543
558
  "value_allowed_null": false
@@ -548,12 +563,13 @@
548
563
  "example": "无",
549
564
  "member": "string",
550
565
  "name": "LinkErrorDetail",
566
+ "output_required": true,
551
567
  "required": true,
552
568
  "type": "string",
553
569
  "value_allowed_null": true
554
570
  }
555
571
  ],
556
- "usage": "out"
572
+ "usage": "both"
557
573
  },
558
574
  "CreateMeshRequest": {
559
575
  "document": "CreateMesh请求参数结构体",
@@ -647,66 +663,72 @@
647
663
  "members": [
648
664
  {
649
665
  "disabled": false,
650
- "document": "Prometheus 访问地址",
666
+ "document": "Prometheus 访问地址\n注意:此字段可能返回 null,表示取不到有效值。",
651
667
  "example": "http://x.x.x.x:909",
652
668
  "member": "string",
653
669
  "name": "Url",
670
+ "output_required": false,
654
671
  "required": true,
655
672
  "type": "string",
656
- "value_allowed_null": false
673
+ "value_allowed_null": true
657
674
  },
658
675
  {
659
676
  "disabled": false,
660
- "document": "认证方式",
677
+ "document": "认证方式\n注意:此字段可能返回 null,表示取不到有效值。",
661
678
  "example": "none, basic",
662
679
  "member": "string",
663
680
  "name": "AuthType",
681
+ "output_required": false,
664
682
  "required": true,
665
683
  "type": "string",
666
- "value_allowed_null": false
684
+ "value_allowed_null": true
667
685
  },
668
686
  {
669
687
  "disabled": false,
670
- "document": "是否公网地址,缺省为 false",
688
+ "document": "是否公网地址,缺省为 false\n注意:此字段可能返回 null,表示取不到有效值。",
671
689
  "example": "true",
672
690
  "member": "bool",
673
691
  "name": "IsPublicAddr",
692
+ "output_required": false,
674
693
  "required": false,
675
694
  "type": "bool",
676
- "value_allowed_null": false
695
+ "value_allowed_null": true
677
696
  },
678
697
  {
679
698
  "disabled": false,
680
- "document": "虚拟网络id",
699
+ "document": "虚拟网络id\n注意:此字段可能返回 null,表示取不到有效值。",
681
700
  "example": "vpc-xxxxxxxx",
682
701
  "member": "string",
683
702
  "name": "VpcId",
703
+ "output_required": false,
684
704
  "required": false,
685
705
  "type": "string",
686
- "value_allowed_null": false
706
+ "value_allowed_null": true
687
707
  },
688
708
  {
689
709
  "disabled": false,
690
- "document": "Prometheus 用户名(用于 basic 认证方式)",
710
+ "document": "Prometheus 用户名(用于 basic 认证方式)\n注意:此字段可能返回 null,表示取不到有效值。",
691
711
  "example": "test",
692
712
  "member": "string",
693
713
  "name": "Username",
714
+ "output_required": false,
694
715
  "required": false,
695
716
  "type": "string",
696
- "value_allowed_null": false
717
+ "value_allowed_null": true
697
718
  },
698
719
  {
699
720
  "disabled": false,
700
- "document": "Prometheus 密码(用于 basic 认证方式)",
721
+ "document": "Prometheus 密码(用于 basic 认证方式)\n注意:此字段可能返回 null,表示取不到有效值。",
701
722
  "example": "test",
702
723
  "member": "string",
703
724
  "name": "Password",
725
+ "output_required": false,
704
726
  "required": false,
705
727
  "type": "string",
706
- "value_allowed_null": false
728
+ "value_allowed_null": true
707
729
  }
708
730
  ],
709
- "usage": "in"
731
+ "usage": "both"
710
732
  },
711
733
  "DeleteMeshRequest": {
712
734
  "document": "DeleteMesh请求参数结构体",
@@ -821,7 +843,7 @@
821
843
  "example": "xxx",
822
844
  "member": "string",
823
845
  "name": "File",
824
- "required": true,
846
+ "output_required": true,
825
847
  "type": "string",
826
848
  "value_allowed_null": false
827
849
  },
@@ -831,7 +853,7 @@
831
853
  "example": "%REQ(Method)",
832
854
  "member": "string",
833
855
  "name": "Format",
834
- "required": true,
856
+ "output_required": true,
835
857
  "type": "string",
836
858
  "value_allowed_null": false
837
859
  },
@@ -841,7 +863,7 @@
841
863
  "example": "TEXT",
842
864
  "member": "string",
843
865
  "name": "Encoding",
844
- "required": true,
866
+ "output_required": true,
845
867
  "type": "string",
846
868
  "value_allowed_null": false
847
869
  },
@@ -851,7 +873,7 @@
851
873
  "example": "无",
852
874
  "member": "SelectedRange",
853
875
  "name": "SelectedRange",
854
- "required": true,
876
+ "output_required": true,
855
877
  "type": "object",
856
878
  "value_allowed_null": true
857
879
  },
@@ -861,7 +883,7 @@
861
883
  "example": "istio",
862
884
  "member": "string",
863
885
  "name": "Template",
864
- "required": true,
886
+ "output_required": true,
865
887
  "type": "string",
866
888
  "value_allowed_null": false
867
889
  },
@@ -871,7 +893,7 @@
871
893
  "example": "无",
872
894
  "member": "CLS",
873
895
  "name": "CLS",
874
- "required": true,
896
+ "output_required": true,
875
897
  "type": "object",
876
898
  "value_allowed_null": false
877
899
  },
@@ -881,7 +903,7 @@
881
903
  "example": "无",
882
904
  "member": "string",
883
905
  "name": "Address",
884
- "required": true,
906
+ "output_required": true,
885
907
  "type": "string",
886
908
  "value_allowed_null": false
887
909
  },
@@ -891,7 +913,7 @@
891
913
  "example": "true",
892
914
  "member": "bool",
893
915
  "name": "EnableServer",
894
- "required": true,
916
+ "output_required": true,
895
917
  "type": "bool",
896
918
  "value_allowed_null": false
897
919
  },
@@ -901,7 +923,7 @@
901
923
  "example": "true",
902
924
  "member": "bool",
903
925
  "name": "EnableStdout",
904
- "required": true,
926
+ "output_required": true,
905
927
  "type": "bool",
906
928
  "value_allowed_null": false
907
929
  },
@@ -911,7 +933,7 @@
911
933
  "example": "true",
912
934
  "member": "bool",
913
935
  "name": "Enable",
914
- "required": true,
936
+ "output_required": true,
915
937
  "type": "bool",
916
938
  "value_allowed_null": true
917
939
  },
@@ -966,7 +988,7 @@
966
988
  "example": "无",
967
989
  "member": "Mesh",
968
990
  "name": "MeshList",
969
- "required": true,
991
+ "output_required": true,
970
992
  "type": "list",
971
993
  "value_allowed_null": true
972
994
  },
@@ -976,7 +998,7 @@
976
998
  "example": "10",
977
999
  "member": "int64",
978
1000
  "name": "Total",
979
- "required": true,
1001
+ "output_required": true,
980
1002
  "type": "int",
981
1003
  "value_allowed_null": false
982
1004
  },
@@ -1081,6 +1103,7 @@
1081
1103
  "example": "无",
1082
1104
  "member": "string",
1083
1105
  "name": "CurrentVersion",
1106
+ "output_required": true,
1084
1107
  "required": true,
1085
1108
  "type": "string",
1086
1109
  "value_allowed_null": false
@@ -1091,6 +1114,7 @@
1091
1114
  "example": "无",
1092
1115
  "member": "string",
1093
1116
  "name": "DesiredVersion",
1117
+ "output_required": true,
1094
1118
  "required": true,
1095
1119
  "type": "string",
1096
1120
  "value_allowed_null": false
@@ -1101,12 +1125,13 @@
1101
1125
  "example": "无",
1102
1126
  "member": "string",
1103
1127
  "name": "State",
1128
+ "output_required": true,
1104
1129
  "required": true,
1105
1130
  "type": "string",
1106
1131
  "value_allowed_null": false
1107
1132
  }
1108
1133
  ],
1109
- "usage": "out"
1134
+ "usage": "both"
1110
1135
  },
1111
1136
  "ExtensiveCluster": {
1112
1137
  "document": "内网独占集群配置",
@@ -1373,6 +1398,7 @@
1373
1398
  "example": "无",
1374
1399
  "member": "LoadBalancerStatus",
1375
1400
  "name": "LoadBalancer",
1401
+ "output_required": true,
1376
1402
  "required": true,
1377
1403
  "type": "object",
1378
1404
  "value_allowed_null": false
@@ -1383,6 +1409,7 @@
1383
1409
  "example": "无",
1384
1410
  "member": "string",
1385
1411
  "name": "CurrentVersion",
1412
+ "output_required": true,
1386
1413
  "required": true,
1387
1414
  "type": "string",
1388
1415
  "value_allowed_null": false
@@ -1393,6 +1420,7 @@
1393
1420
  "example": "无",
1394
1421
  "member": "string",
1395
1422
  "name": "DesiredVersion",
1423
+ "output_required": true,
1396
1424
  "required": true,
1397
1425
  "type": "string",
1398
1426
  "value_allowed_null": false
@@ -1403,12 +1431,13 @@
1403
1431
  "example": "无",
1404
1432
  "member": "string",
1405
1433
  "name": "State",
1434
+ "output_required": true,
1406
1435
  "required": true,
1407
1436
  "type": "string",
1408
1437
  "value_allowed_null": false
1409
1438
  }
1410
1439
  ],
1411
- "usage": "out"
1440
+ "usage": "both"
1412
1441
  },
1413
1442
  "InjectConfig": {
1414
1443
  "document": "自动注入配置",
@@ -1712,6 +1741,26 @@
1712
1741
  "required": false,
1713
1742
  "type": "object",
1714
1743
  "value_allowed_null": true
1744
+ },
1745
+ {
1746
+ "disabled": false,
1747
+ "document": "设置跨可用区容灾时的主可用区ID\n注意:此字段可能返回 null,表示取不到有效值。",
1748
+ "example": "无",
1749
+ "member": "string",
1750
+ "name": "MasterZoneID",
1751
+ "required": false,
1752
+ "type": "string",
1753
+ "value_allowed_null": true
1754
+ },
1755
+ {
1756
+ "disabled": false,
1757
+ "document": "设置跨可用区容灾时的备可用区ID\n注意:此字段可能返回 null,表示取不到有效值。",
1758
+ "example": "无",
1759
+ "member": "string",
1760
+ "name": "SlaveZoneID",
1761
+ "required": false,
1762
+ "type": "string",
1763
+ "value_allowed_null": true
1715
1764
  }
1716
1765
  ],
1717
1766
  "usage": "both"
@@ -1725,6 +1774,7 @@
1725
1774
  "example": "lb-xxxxxxxx",
1726
1775
  "member": "string",
1727
1776
  "name": "LoadBalancerId",
1777
+ "output_required": true,
1728
1778
  "required": true,
1729
1779
  "type": "string",
1730
1780
  "value_allowed_null": false
@@ -1735,6 +1785,7 @@
1735
1785
  "example": "cls-xxxxxxxx_istio_igw",
1736
1786
  "member": "string",
1737
1787
  "name": "LoadBalancerName",
1788
+ "output_required": true,
1738
1789
  "required": true,
1739
1790
  "type": "string",
1740
1791
  "value_allowed_null": false
@@ -1745,6 +1796,7 @@
1745
1796
  "example": "x.x.x.x",
1746
1797
  "member": "string",
1747
1798
  "name": "LoadBalancerVip",
1799
+ "output_required": true,
1748
1800
  "required": true,
1749
1801
  "type": "string",
1750
1802
  "value_allowed_null": false
@@ -1755,12 +1807,13 @@
1755
1807
  "example": "lb-xxxxx-xxxx.clb.ap-shanghai.tencentclb.com",
1756
1808
  "member": "string",
1757
1809
  "name": "LoadBalancerHostname",
1758
- "required": false,
1810
+ "output_required": true,
1811
+ "required": true,
1759
1812
  "type": "string",
1760
1813
  "value_allowed_null": true
1761
1814
  }
1762
1815
  ],
1763
- "usage": "out"
1816
+ "usage": "both"
1764
1817
  },
1765
1818
  "Mesh": {
1766
1819
  "document": "Mesh信息",
@@ -1829,7 +1882,7 @@
1829
1882
  "disabled": false,
1830
1883
  "document": "创建时间",
1831
1884
  "example": "无",
1832
- "member": "datetime",
1885
+ "member": "datetime_iso",
1833
1886
  "name": "CreatedTime",
1834
1887
  "required": true,
1835
1888
  "type": "string",
@@ -1839,7 +1892,7 @@
1839
1892
  "disabled": false,
1840
1893
  "document": "修改时间\n注意:此字段可能返回 null,表示取不到有效值。",
1841
1894
  "example": "无",
1842
- "member": "datetime",
1895
+ "member": "datetime_iso",
1843
1896
  "name": "UpdatedTime",
1844
1897
  "required": true,
1845
1898
  "type": "string",
@@ -20,7 +20,7 @@
20
20
  {
21
21
  "document": "",
22
22
  "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessLogConfig\n<公共请求参数>\n\n{\n \"MeshId\": \"\\\"mesh-test\\\"\"\n}",
23
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Enable\": true,\n \"File\": \"xxx\",\n \"Format\": \"%REQ(Method)\",\n \"Encoding\": \"TEXT\",\n \"EnableStdout\": true,\n \"EnableServer\": true,\n \"Address\": \"xx\",\n \"SelectedRange\": {\n \"All\": true\n },\n \"Template\": \"xx\",\n \"CLS\": {\n \"LogSet\": \"xx\",\n \"Topic\": \"xx\",\n \"Enable\": true,\n \"NeedDelete\": true\n }\n }\n}",
23
+ "output": "{\n \"Response\": {\n \"File\": \"abc\",\n \"Format\": \"abc\",\n \"Encoding\": \"abc\",\n \"SelectedRange\": {\n \"Items\": [\n {\n \"Namespace\": \"abc\",\n \"ClusterName\": \"abc\",\n \"ItemName\": \"abc\",\n \"Gateways\": [\n \"abc\"\n ]\n }\n ],\n \"All\": true\n },\n \"Template\": \"abc\",\n \"CLS\": {\n \"Enable\": true,\n \"LogSet\": \"abc\",\n \"Topic\": \"abc\",\n \"NeedDelete\": true,\n \"Region\": \"abc\"\n },\n \"Address\": \"abc\",\n \"EnableServer\": true,\n \"EnableStdout\": true,\n \"Enable\": true,\n \"RequestId\": \"abc\"\n }\n}",
24
24
  "title": "获取Mesh访问日志配置"
25
25
  }
26
26
  ],
@@ -36,7 +36,7 @@
36
36
  {
37
37
  "document": "",
38
38
  "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMeshList\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"MeshList\": [\n {\n \"MeshId\": \"xxxxx\",\n \"DisplayName\": \"test\",\n \"Region\": \"xx\",\n \"Type\": \"HOSTED\",\n \"State\": \"xx\",\n \"Version\": \"xx\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"UpdatedTime\": \"2020-09-22 00:00:00\",\n \"Config\": {\n \"Istio\": {\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"Tracing\": {\n \"Sampling\": 1\n }\n }\n },\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n }\n }\n ],\n \"Status\": {\n \"CanaryVersion\": \"xx\",\n \"ServiceCount\": 0,\n \"Prometheus\": null\n }\n }\n ],\n \"Total\": 1\n }\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"MeshList\": [\n {\n \"MeshId\": \"xxxxx\",\n \"DisplayName\": \"test\",\n \"Region\": \"sh\",\n \"Type\": \"HOSTED\",\n \"State\": \"pending\",\n \"Version\": \"1.12.5\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"Config\": {\n \"Istio\": {\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"Tracing\": {\n \"Sampling\": 1\n },\n \"DisablePolicyChecks\": true,\n \"EnablePilotHTTP\": true,\n \"DisableHTTPRetry\": true,\n \"SmartDNS\": {\n \"IstioMetaDNSCapture\": true,\n \"IstioMetaDNSAutoAllocate\": true\n }\n }\n },\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"State\": \"RUNNING\",\n \"HostedNamespaces\": [],\n \"Type\": \"TKE\",\n \"LinkedTime\": \"2020-09-22T00:00:00+00:00\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n },\n \"Status\": {\n \"LinkState\": \"LINKED\",\n \"LinkErrorDetail\": \"\"\n }\n }\n ],\n \"Status\": {\n \"CanaryVersion\": \"1.14.5\",\n \"ServiceCount\": 0,\n \"Prometheus\": null\n },\n \"TagList\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Passthrough\": true\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
40
40
  "title": "DescribeMeshList"
41
41
  }
42
42
  ],