tccli 3.0.1292.1__py2.py3-none-any.whl → 3.0.1294.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.
Files changed (84) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/advisor/v20200721/api.json +36 -36
  4. tccli/services/advisor/v20200721/examples.json +2 -2
  5. tccli/services/batch/v20170312/api.json +4 -4
  6. tccli/services/bh/v20230418/api.json +35 -17
  7. tccli/services/bh/v20230418/examples.json +1 -1
  8. tccli/services/cam/v20190116/api.json +19 -19
  9. tccli/services/cam/v20190116/examples.json +5 -5
  10. tccli/services/cdwdoris/v20211228/api.json +191 -0
  11. tccli/services/cdwpg/v20201230/api.json +375 -333
  12. tccli/services/cdwpg/v20201230/examples.json +36 -36
  13. tccli/services/chc/__init__.py +4 -0
  14. tccli/services/chc/chc_client.py +2062 -0
  15. tccli/services/chc/v20230418/api.json +5728 -0
  16. tccli/services/chc/v20230418/examples.json +293 -0
  17. tccli/services/ckafka/v20190819/api.json +34 -34
  18. tccli/services/ckafka/v20190819/examples.json +1 -1
  19. tccli/services/clb/v20180317/api.json +39 -20
  20. tccli/services/cloudaudit/v20190319/api.json +38 -23
  21. tccli/services/cls/v20201016/api.json +198 -198
  22. tccli/services/cls/v20201016/examples.json +1 -1
  23. tccli/services/controlcenter/v20230110/api.json +2 -2
  24. tccli/services/controlcenter/v20230110/examples.json +1 -1
  25. tccli/services/dbbrain/dbbrain_client.py +240 -28
  26. tccli/services/dbbrain/v20191016/api.json +5 -5
  27. tccli/services/dbbrain/v20210527/api.json +481 -18
  28. tccli/services/dbbrain/v20210527/examples.json +32 -0
  29. tccli/services/dcdb/v20180411/api.json +66 -66
  30. tccli/services/dcdb/v20180411/examples.json +7 -7
  31. tccli/services/domain/v20180808/api.json +2 -2
  32. tccli/services/ecdn/ecdn_client.py +7 -431
  33. tccli/services/ecdn/v20191012/api.json +0 -574
  34. tccli/services/ecdn/v20191012/examples.json +0 -64
  35. tccli/services/emr/v20190103/api.json +89 -89
  36. tccli/services/emr/v20190103/examples.json +1 -1
  37. tccli/services/ess/v20201111/api.json +12 -3
  38. tccli/services/ess/v20201111/examples.json +3 -3
  39. tccli/services/essbasic/v20210526/api.json +9 -0
  40. tccli/services/essbasic/v20210526/examples.json +1 -1
  41. tccli/services/gs/gs_client.py +1778 -29
  42. tccli/services/gs/v20191118/api.json +2597 -144
  43. tccli/services/gs/v20191118/examples.json +264 -0
  44. tccli/services/hai/v20230812/api.json +67 -67
  45. tccli/services/iap/v20240713/api.json +13 -13
  46. tccli/services/iap/v20240713/examples.json +3 -3
  47. tccli/services/iotexplorer/v20190423/api.json +1 -1
  48. tccli/services/iotvideo/v20211125/api.json +1 -1
  49. tccli/services/iotvideoindustry/v20201201/api.json +38 -35
  50. tccli/services/lcic/v20220817/api.json +46 -44
  51. tccli/services/lcic/v20220817/examples.json +1 -1
  52. tccli/services/lke/v20231130/api.json +14 -14
  53. tccli/services/lke/v20231130/examples.json +2 -2
  54. tccli/services/lkeap/v20240522/api.json +1 -1
  55. tccli/services/mariadb/v20170312/api.json +71 -71
  56. tccli/services/mariadb/v20170312/examples.json +5 -5
  57. tccli/services/mmps/v20200710/api.json +12 -12
  58. tccli/services/mqtt/v20240516/api.json +138 -138
  59. tccli/services/mqtt/v20240516/examples.json +6 -12
  60. tccli/services/organization/v20210331/api.json +61 -43
  61. tccli/services/organization/v20210331/examples.json +25 -25
  62. tccli/services/region/v20220627/examples.json +1 -1
  63. tccli/services/tbaas/v20180416/api.json +53 -48
  64. tccli/services/tchd/v20230306/api.json +5 -5
  65. tccli/services/tcr/v20190924/api.json +190 -187
  66. tccli/services/tcr/v20190924/examples.json +1 -1
  67. tccli/services/tdmq/v20200217/api.json +15 -15
  68. tccli/services/thpc/v20220401/api.json +3 -3
  69. tccli/services/thpc/v20230321/api.json +54 -33
  70. tccli/services/tione/v20211111/api.json +40 -1
  71. tccli/services/tke/v20180525/api.json +104 -104
  72. tccli/services/trocket/v20230308/api.json +24 -24
  73. tccli/services/tsf/v20180326/api.json +307 -186
  74. tccli/services/vcube/v20220410/api.json +382 -327
  75. tccli/services/vcube/v20220410/examples.json +56 -56
  76. tccli/services/vod/v20180717/api.json +145 -141
  77. tccli/services/vpc/v20170312/api.json +1 -1
  78. tccli/services/wedata/v20210820/api.json +71 -1
  79. tccli/services/wedata/v20210820/examples.json +2 -8
  80. {tccli-3.0.1292.1.dist-info → tccli-3.0.1294.1.dist-info}/METADATA +2 -2
  81. {tccli-3.0.1292.1.dist-info → tccli-3.0.1294.1.dist-info}/RECORD +84 -80
  82. {tccli-3.0.1292.1.dist-info → tccli-3.0.1294.1.dist-info}/WHEEL +0 -0
  83. {tccli-3.0.1292.1.dist-info → tccli-3.0.1294.1.dist-info}/entry_points.txt +0 -0
  84. {tccli-3.0.1292.1.dist-info → tccli-3.0.1294.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1292.1'
1
+ __version__ = '3.0.1294.1'
@@ -183,6 +183,9 @@ SERVICE_VERSIONS = {
183
183
  "cfw": [
184
184
  "2019-09-04"
185
185
  ],
186
+ "chc": [
187
+ "2023-04-18"
188
+ ],
186
189
  "chdfs": [
187
190
  "2020-11-12",
188
191
  "2019-07-18"
@@ -27,33 +27,33 @@
27
27
  "members": [
28
28
  {
29
29
  "disabled": false,
30
- "document": "警告条件ID\n注意:此字段可能返回 null,表示取不到有效值。",
30
+ "document": "警告条件ID",
31
31
  "example": "1",
32
32
  "member": "uint64",
33
33
  "name": "ConditionId",
34
- "required": true,
34
+ "output_required": true,
35
35
  "type": "int",
36
- "value_allowed_null": true
36
+ "value_allowed_null": false
37
37
  },
38
38
  {
39
39
  "disabled": false,
40
- "document": "警告级别,2:中风险,3:高风险\n注意:此字段可能返回 null,表示取不到有效值。",
40
+ "document": "警告级别,2:中风险,3:高风险",
41
41
  "example": "2",
42
42
  "member": "uint64",
43
43
  "name": "Level",
44
- "required": true,
44
+ "output_required": true,
45
45
  "type": "int",
46
- "value_allowed_null": true
46
+ "value_allowed_null": false
47
47
  },
48
48
  {
49
49
  "disabled": false,
50
- "document": "警告级别描述\n注意:此字段可能返回 null,表示取不到有效值。",
50
+ "document": "警告级别描述",
51
51
  "example": "中风险",
52
52
  "member": "string",
53
53
  "name": "LevelDesc",
54
- "required": true,
54
+ "output_required": true,
55
55
  "type": "string",
56
- "value_allowed_null": true
56
+ "value_allowed_null": false
57
57
  },
58
58
  {
59
59
  "disabled": false,
@@ -61,7 +61,7 @@
61
61
  "example": "Redis 实例未跨可用区部署",
62
62
  "member": "string",
63
63
  "name": "Desc",
64
- "required": true,
64
+ "output_required": true,
65
65
  "type": "string",
66
66
  "value_allowed_null": false
67
67
  }
@@ -78,13 +78,13 @@
78
78
  "members": [
79
79
  {
80
80
  "disabled": false,
81
- "document": "评估项列表\n注意:此字段可能返回 null,表示取不到有效值。",
81
+ "document": "评估项列表",
82
82
  "example": "无",
83
83
  "member": "Strategies",
84
84
  "name": "Strategies",
85
85
  "output_required": true,
86
86
  "type": "list",
87
- "value_allowed_null": true
87
+ "value_allowed_null": false
88
88
  },
89
89
  {
90
90
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -155,7 +155,7 @@
155
155
  "example": "无",
156
156
  "member": "RiskFieldsDesc",
157
157
  "name": "RiskFieldsDesc",
158
- "required": true,
158
+ "output_required": true,
159
159
  "type": "list",
160
160
  "value_allowed_null": true
161
161
  },
@@ -165,7 +165,7 @@
165
165
  "example": "1",
166
166
  "member": "uint64",
167
167
  "name": "StrategyId",
168
- "required": true,
168
+ "output_required": true,
169
169
  "type": "int",
170
170
  "value_allowed_null": true
171
171
  },
@@ -175,17 +175,17 @@
175
175
  "example": "10",
176
176
  "member": "uint64",
177
177
  "name": "RiskTotalCount",
178
- "required": true,
178
+ "output_required": true,
179
179
  "type": "int",
180
180
  "value_allowed_null": true
181
181
  },
182
182
  {
183
183
  "disabled": false,
184
184
  "document": "风险实例详情列表,需要json decode\n注意:此字段可能返回 null,表示取不到有效值。",
185
- "example": "",
185
+ "example": "[{\\\"AppId\\\":12345678,\\\"IgnoreType\\\":\\\"\\\",\\\"Level\\\":\\\"2\\\",\\\"RiskDays\\\":1,\\\"conditionID\\\":8018},{\\\"AppId\\\":12345678,\\\"IgnoreType\\\":\\\"\\\",\\\"Level\\\":\\\"2\\\",\\\"RiskDays\\\":1,\\\"conditionID\\\":8018}]",
186
186
  "member": "string",
187
187
  "name": "Risks",
188
- "required": true,
188
+ "output_required": true,
189
189
  "type": "string",
190
190
  "value_allowed_null": true
191
191
  },
@@ -195,7 +195,7 @@
195
195
  "example": "10",
196
196
  "member": "uint64",
197
197
  "name": "ResourceCount",
198
- "required": true,
198
+ "output_required": true,
199
199
  "type": "int",
200
200
  "value_allowed_null": true
201
201
  },
@@ -287,93 +287,93 @@
287
287
  "members": [
288
288
  {
289
289
  "disabled": false,
290
- "document": "评估项ID\n注意:此字段可能返回 null,表示取不到有效值。",
290
+ "document": "评估项ID",
291
291
  "example": "1",
292
292
  "member": "uint64",
293
293
  "name": "StrategyId",
294
294
  "output_required": true,
295
295
  "type": "int",
296
- "value_allowed_null": true
296
+ "value_allowed_null": false
297
297
  },
298
298
  {
299
299
  "disabled": false,
300
- "document": "评估项名称\n注意:此字段可能返回 null,表示取不到有效值。",
300
+ "document": "评估项名称",
301
301
  "example": "云数据库(Redis)跨可用区部署",
302
302
  "member": "string",
303
303
  "name": "Name",
304
304
  "output_required": true,
305
305
  "type": "string",
306
- "value_allowed_null": true
306
+ "value_allowed_null": false
307
307
  },
308
308
  {
309
309
  "disabled": false,
310
- "document": "评估项描述\n注意:此字段可能返回 null,表示取不到有效值。",
310
+ "document": "评估项描述",
311
311
  "example": "检查 Redis 实例是否跨可用区部署,如果实例未跨可用区部署,当实例出现可用区级别的灾难故障时,可能造成实例无法访问风险",
312
312
  "member": "string",
313
313
  "name": "Desc",
314
314
  "output_required": true,
315
315
  "type": "string",
316
- "value_allowed_null": true
316
+ "value_allowed_null": false
317
317
  },
318
318
  {
319
319
  "disabled": false,
320
- "document": "评估项对应产品ID\n注意:此字段可能返回 null,表示取不到有效值。",
320
+ "document": "评估项对应产品ID",
321
321
  "example": "redis",
322
322
  "member": "string",
323
323
  "name": "Product",
324
324
  "output_required": true,
325
325
  "type": "string",
326
- "value_allowed_null": true
326
+ "value_allowed_null": false
327
327
  },
328
328
  {
329
329
  "disabled": false,
330
- "document": "评估项对应产品名称\n注意:此字段可能返回 null,表示取不到有效值。",
330
+ "document": "评估项对应产品名称",
331
331
  "example": "云数据库(Redis)",
332
332
  "member": "string",
333
333
  "name": "ProductDesc",
334
334
  "output_required": true,
335
335
  "type": "string",
336
- "value_allowed_null": true
336
+ "value_allowed_null": false
337
337
  },
338
338
  {
339
339
  "disabled": false,
340
- "document": "评估项优化建议\n注意:此字段可能返回 null,表示取不到有效值。",
340
+ "document": "评估项优化建议",
341
341
  "example": "如果业务有较高容灾需求,建议采用跨可用区部署方案,提升业务可靠性,[跨可用区分布操作指引](https://cloud.tenc",
342
342
  "member": "string",
343
343
  "name": "Repair",
344
344
  "output_required": true,
345
345
  "type": "string",
346
- "value_allowed_null": true
346
+ "value_allowed_null": false
347
347
  },
348
348
  {
349
349
  "disabled": false,
350
- "document": "评估项类别ID\n注意:此字段可能返回 null,表示取不到有效值。",
350
+ "document": "评估项类别ID",
351
351
  "example": "2",
352
352
  "member": "uint64",
353
353
  "name": "GroupId",
354
354
  "output_required": true,
355
355
  "type": "int",
356
- "value_allowed_null": true
356
+ "value_allowed_null": false
357
357
  },
358
358
  {
359
359
  "disabled": false,
360
- "document": "评估项类别名称\n注意:此字段可能返回 null,表示取不到有效值。",
360
+ "document": "评估项类别名称",
361
361
  "example": "可靠",
362
362
  "member": "string",
363
363
  "name": "GroupName",
364
364
  "output_required": true,
365
365
  "type": "string",
366
- "value_allowed_null": true
366
+ "value_allowed_null": false
367
367
  },
368
368
  {
369
369
  "disabled": false,
370
- "document": "评估项风险列表\n注意:此字段可能返回 null,表示取不到有效值。",
370
+ "document": "评估项风险列表",
371
371
  "example": "[{\"ConditionId\":178,\"Level\":2,\"LevelDesc\":\"中风险\",\"Desc\":\"Redis 实例",
372
372
  "member": "Conditions",
373
373
  "name": "Conditions",
374
374
  "output_required": true,
375
375
  "type": "list",
376
- "value_allowed_null": true
376
+ "value_allowed_null": false
377
377
  }
378
378
  ],
379
379
  "usage": "out"
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "document": "",
6
6
  "input": "POST / HTTP/1.1\nHost: advisor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeStrategies\n<公共请求参数>\n\n{}",
7
- "output": "{\n \"Response\": {\n \"RequestId\": \"111\",\n \"Strategies\": [\n {\n \"StrategyId\": 131,\n \"Name\": \"云数据库(Redis)跨可用区部署\",\n \"Desc\": \"检查 Redis 实例是否跨可用区部署,如果实例未跨可用区部署,当实例出现可用区级别的灾难故障时,可能造成实例无法访问风险\",\n \"Product\": \"redis\",\n \"ProductDesc\": \"云数据库(Redis)\",\n \"Repair\": \"如果业务有较高容灾需求,建议采用跨可用区部署方案,提升业务可靠性,[跨可用区分布操作指引](https://cloud.tencent.com/document/product/239/51113)\",\n \"GroupId\": 2,\n \"GroupName\": \"可靠\",\n \"Conditions\": [\n {\n \"ConditionId\": 178,\n \"Level\": 2,\n \"LevelDesc\": \"中风险\",\n \"Desc\": \"Redis 实例未跨可用区部署\"\n }\n ]\n },\n {\n \"StrategyId\": 235,\n \"Name\": \"云数据库(Redis)使用基础网络\",\n \"Desc\": \"检查 Redis 是否使用基础网络\",\n \"Product\": \"redis\",\n \"ProductDesc\": \"云数据库(Redis)\",\n \"Repair\": \"建议更换为私有网络,私有网络是一块逻辑隔离的网络空间,基础网络是腾讯云上所有用户的公共网络资源池\",\n \"GroupId\": 2,\n \"GroupName\": \"可靠\",\n \"Conditions\": [\n {\n \"ConditionId\": 307,\n \"Level\": 2,\n \"LevelDesc\": \"中风险\",\n \"Desc\": \"实例使用基础网络\"\n }\n ]\n }\n ]\n }\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"\",\n \"Strategies\": [\n {\n \"StrategyId\": 131,\n \"Name\": \"云数据库(Redis)跨可用区部署\",\n \"Desc\": \"检查 Redis 实例是否跨可用区部署,如果实例未跨可用区部署,当实例出现可用区级别的灾难故障时,可能造成实例无法访问风险\",\n \"Product\": \"redis\",\n \"ProductDesc\": \"云数据库(Redis)\",\n \"Repair\": \"如果业务有较高容灾需求,建议采用跨可用区部署方案,提升业务可靠性,[跨可用区分布操作指引](https://cloud.tencent.com/document/product/239/51113)\",\n \"GroupId\": 2,\n \"GroupName\": \"可靠\",\n \"Conditions\": [\n {\n \"ConditionId\": 178,\n \"Level\": 2,\n \"LevelDesc\": \"中风险\",\n \"Desc\": \"Redis 实例未跨可用区部署\"\n }\n ]\n },\n {\n \"StrategyId\": 235,\n \"Name\": \"云数据库(Redis)使用基础网络\",\n \"Desc\": \"检查 Redis 是否使用基础网络\",\n \"Product\": \"redis\",\n \"ProductDesc\": \"云数据库(Redis)\",\n \"Repair\": \"建议更换为私有网络,私有网络是一块逻辑隔离的网络空间,基础网络是腾讯云上所有用户的公共网络资源池\",\n \"GroupId\": 2,\n \"GroupName\": \"可靠\",\n \"Conditions\": [\n {\n \"ConditionId\": 307,\n \"Level\": 2,\n \"LevelDesc\": \"中风险\",\n \"Desc\": \"实例使用基础网络\"\n }\n ]\n }\n ]\n }\n}",
8
8
  "title": "查询评估项信息"
9
9
  }
10
10
  ],
@@ -12,7 +12,7 @@
12
12
  {
13
13
  "document": "",
14
14
  "input": "POST / HTTP/1.1\nHost: advisor.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskStrategyRisks\n<公共请求参数>\n\n{\n \"StrategyId\": 9\n}",
15
- "output": "{\n \"Response\": {\n \"RequestId\": \"111\",\n \"RiskFieldsDesc\": [\n {\n \"Field\": \"InstanceId\",\n \"FieldName\": \"ID\",\n \"FieldType\": \"string\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"InstanceName\",\n \"FieldName\": \"名称\",\n \"FieldType\": \"string\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"InstanceState\",\n \"FieldName\": \"状态\",\n \"FieldType\": \"string\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"Zone\",\n \"FieldName\": \"可用区\",\n \"FieldType\": \"string\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"PrivateIPAddresses\",\n \"FieldName\": \"IP地址(内)\",\n \"FieldType\": \"stringSlice\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"PublicIPAddresses\",\n \"FieldName\": \"IP地址(公)\",\n \"FieldType\": \"stringSlice\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"Region\",\n \"FieldName\": \"地域\",\n \"FieldType\": \"string\",\n \"FieldDict\": {}\n },\n {\n \"Field\": \"Tags\",\n \"FieldName\": \"标签\",\n \"FieldType\": \"tags\",\n \"FieldDict\": {}\n }\n ],\n \"RiskTotalCount\": 3,\n \"ResourceCount\": 10,\n \"Risks\": \"[{\\\"InstanceId\\\":\\\"ins-xxx1\\\",\\\"InstanceName\\\":\\\"xxx1\\\",\\\"InstanceState\\\":\\\"RUNNING\\\",\\\"PrivateIPAddresses\\\":[\\\"1.17.64.2\\\"],\\\"PublicIPAddresses\\\":null,\\\"Region\\\":\\\"ap-shanghai\\\",\\\"Tags\\\":null,\\\"Zone\\\":\\\"ap-shanghai-2\\\"},{\\\"InstanceId\\\":\\\"ins-xxx2\\\",\\\"InstanceName\\\":\\\"xxx2\\\",\\\"InstanceState\\\":\\\"RUNNING\\\",\\\"PrivateIPAddresses\\\":[\\\"1.17.64.11\\\"],\\\"PublicIPAddresses\\\":null,\\\"Region\\\":\\\"ap-shanghai\\\",\\\"Tags\\\":null,\\\"Zone\\\":\\\"ap-shanghai-2\\\"}]\",\n \"StrategyId\": 9\n }\n}",
15
+ "output": "{\n \"Response\": {\n \"RequestId\": \"aa-bb-cc-dd\",\n \"RiskFieldsDesc\": [\n {\n \"Field\": \"Level\",\n \"FieldName\": \"风险等级\",\n \"FieldType\": \"string\",\n \"FieldDict\": [\n {\n \"Key\": \"3\",\n \"Value\": \"高风险\"\n },\n {\n \"Key\": \"2\",\n \"Value\": \"中风险\"\n }\n ]\n },\n {\n \"Field\": \"AppId\",\n \"FieldName\": \"appid\",\n \"FieldType\": \"int\",\n \"FieldDict\": null\n },\n {\n \"Field\": \"RiskDays\",\n \"FieldName\": \"风险持续天数\",\n \"FieldType\": \"int\",\n \"FieldDict\": null\n },\n {\n \"Field\": \"conditionID\",\n \"FieldName\": \"条件ID\",\n \"FieldType\": \"int\",\n \"FieldDict\": null\n }\n ],\n \"RiskTotalCount\": 3,\n \"ResourceCount\": 10,\n \"Risks\": \"[{\\\"InstanceId\\\":\\\"ins-xxx1\\\",\\\"InstanceName\\\":\\\"xxx1\\\",\\\"InstanceState\\\":\\\"RUNNING\\\",\\\"PrivateIPAddresses\\\":[\\\"1.17.64.2\\\"],\\\"PublicIPAddresses\\\":null,\\\"Region\\\":\\\"ap-shanghai\\\",\\\"Tags\\\":null,\\\"Zone\\\":\\\"ap-shanghai-2\\\"},{\\\"InstanceId\\\":\\\"ins-xxx2\\\",\\\"InstanceName\\\":\\\"xxx2\\\",\\\"InstanceState\\\":\\\"RUNNING\\\",\\\"PrivateIPAddresses\\\":[\\\"1.17.64.11\\\"],\\\"PublicIPAddresses\\\":null,\\\"Region\\\":\\\"ap-shanghai\\\",\\\"Tags\\\":null,\\\"Zone\\\":\\\"ap-shanghai-2\\\"}]\",\n \"StrategyId\": 9\n }\n}",
16
16
  "title": "查询评估项风险实例列表"
17
17
  }
18
18
  ]
@@ -3083,7 +3083,7 @@
3083
3083
  "members": [
3084
3084
  {
3085
3085
  "disabled": false,
3086
- "document": "黑石可用区名称列表。如ap-guangzhou-bls-1, 可通过黑石接口[DescribeRegions]( https://cloud.tencent.com/document/api/386/33564)接口获取。不是Batch可用区名称。目前仅支持一个可用区名称。",
3086
+ "document": "黑石可用区名称列表。如ap-guangzhou-bls-1。不是Batch可用区名称。目前仅支持一个可用区名称。",
3087
3087
  "example": "[\"ap-chongqing-bls-1\"]",
3088
3088
  "member": "string",
3089
3089
  "name": "Zones",
@@ -3092,7 +3092,7 @@
3092
3092
  },
3093
3093
  {
3094
3094
  "disabled": false,
3095
- "document": "购买的机型ID。通过黑石接口[DescribeDeviceClass]( https://cloud.tencent.com/document/api/386/32911)查询设备型号,获取机型信息。",
3095
+ "document": "购买的机型ID",
3096
3096
  "example": "[\"PI100v2\"]",
3097
3097
  "member": "string",
3098
3098
  "name": "InstanceTypes",
@@ -3119,7 +3119,7 @@
3119
3119
  },
3120
3120
  {
3121
3121
  "disabled": false,
3122
- "document": "RAID类型ID。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取RAID信息。",
3122
+ "document": "RAID类型ID",
3123
3123
  "example": "3",
3124
3124
  "member": "int64",
3125
3125
  "name": "RaidId",
@@ -3236,7 +3236,7 @@
3236
3236
  },
3237
3237
  {
3238
3238
  "disabled": false,
3239
- "document": "系统盘根分区大小,单位为G,默认取值10G。通过黑石接口[DescribeDeviceClassPartition]( https://cloud.tencent.com/document/api/386/32910)查询机型RAID方式以及系统盘大小,获取根分区信息。",
3239
+ "document": "系统盘根分区大小,单位为G,默认取值10G",
3240
3240
  "example": "10",
3241
3241
  "member": "int64",
3242
3242
  "name": "SysRootSpace",
@@ -493,16 +493,7 @@
493
493
  "members": [
494
494
  {
495
495
  "disabled": false,
496
- "document": "资源id",
497
- "example": "ins-bhtest",
498
- "member": "string",
499
- "name": "InstanceId",
500
- "required": true,
501
- "type": "string"
502
- },
503
- {
504
- "disabled": false,
505
- "document": "账号",
496
+ "document": "资产的登录账号",
506
497
  "example": "root",
507
498
  "member": "string",
508
499
  "name": "Account",
@@ -510,26 +501,44 @@
510
501
  "type": "string"
511
502
  },
512
503
  {
513
- "disabled": false,
504
+ "disabled": true,
514
505
  "document": "运维端登录账号",
515
506
  "example": "zhangsan",
516
507
  "member": "string",
517
508
  "name": "LoginAccount",
518
- "required": true,
509
+ "required": false,
519
510
  "type": "string"
520
511
  },
521
512
  {
522
- "disabled": false,
513
+ "disabled": true,
523
514
  "document": "运维端登录密码",
524
515
  "example": "980930",
525
516
  "member": "string",
526
517
  "name": "LoginPassword",
527
- "required": true,
518
+ "required": false,
528
519
  "type": "string"
529
520
  },
530
521
  {
531
522
  "disabled": false,
532
- "document": "密码",
523
+ "document": "资产ID",
524
+ "example": "12",
525
+ "member": "uint64",
526
+ "name": "DeviceId",
527
+ "required": false,
528
+ "type": "int"
529
+ },
530
+ {
531
+ "disabled": false,
532
+ "document": "资源id(优先使用DeviceId)",
533
+ "example": "ins-bhtest",
534
+ "member": "string",
535
+ "name": "InstanceId",
536
+ "required": false,
537
+ "type": "string"
538
+ },
539
+ {
540
+ "disabled": false,
541
+ "document": "未托管密码私钥时,填入",
533
542
  "example": "1a2b3c",
534
543
  "member": "string",
535
544
  "name": "Password",
@@ -538,7 +547,7 @@
538
547
  },
539
548
  {
540
549
  "disabled": false,
541
- "document": "私钥",
550
+ "document": "未托管密码私钥时,填入",
542
551
  "example": "bh-test-private-key",
543
552
  "member": "string",
544
553
  "name": "PrivateKey",
@@ -547,7 +556,7 @@
547
556
  },
548
557
  {
549
558
  "disabled": false,
550
- "document": "私钥密码",
559
+ "document": "未托管密码私钥时,填入",
551
560
  "example": "1a2b3c",
552
561
  "member": "string",
553
562
  "name": "PrivateKeyPassword",
@@ -598,6 +607,15 @@
598
607
  "name": "IntranetAccess",
599
608
  "required": false,
600
609
  "type": "bool"
610
+ },
611
+ {
612
+ "disabled": false,
613
+ "document": "是否自动管理访问串,删掉过期的,新建可用的(默认false)",
614
+ "example": "false",
615
+ "member": "bool",
616
+ "name": "AutoManageAccessCredential",
617
+ "required": false,
618
+ "type": "bool"
601
619
  }
602
620
  ],
603
621
  "type": "object"
@@ -3,7 +3,7 @@
3
3
  "AccessDevices": [
4
4
  {
5
5
  "document": "",
6
- "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AccessDevices\n<公共请求参数>\n\n{\n \"InstanceId\": \"ins-2ftyp2vu\",\n \"Account\": \"zhangsan\",\n \"LoginAccount\": \"account\",\n \"LoginPassword\": \"pass\",\n \"Password\": \"\",\n \"PrivateKey\": \"\",\n \"PrivateKeyPassword\": \"\",\n \"Exe\": \"web\",\n \"Drivers\": [\n \"\"\n ],\n \"Width\": 60,\n \"Height\": 80,\n \"IntranetAccess\": false\n}",
6
+ "input": "POST / HTTP/1.1\nHost: bh.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AccessDevices\n<公共请求参数>\n\n{\n \"InstanceId\": \"ins-2ftyp2vu\",\n \"Account\": \"zhangsan\",\n \"Password\": \"\",\n \"PrivateKey\": \"\",\n \"PrivateKeyPassword\": \"\",\n \"Exe\": \"web\",\n \"Drivers\": [\n \"\"\n ],\n \"Width\": 60,\n \"Height\": 80,\n \"IntranetAccess\": false\n}",
7
7
  "output": "{\n \"Response\": {\n \"AccessInfo\": {\n \"AccessURL\": \"\",\n \"Ip\": \"11.11.11.11\",\n \"Password\": \"sHUbwq6nFm9mja05n10X6YZ1TbTr0mpS\",\n \"Port\": 8322,\n \"User\": \"root@FdfmcRltiJZ2nNam\"\n },\n \"RequestId\": \"3bd56f7b-6453-476d-b0fa-c97c164d68b8\"\n }\n}",
8
8
  "title": "访问示例"
9
9
  }
@@ -1323,90 +1323,90 @@
1323
1323
  {
1324
1324
  "disabled": false,
1325
1325
  "document": "策略ID",
1326
- "example": "",
1326
+ "example": "219064",
1327
1327
  "member": "string",
1328
1328
  "name": "PolicyId",
1329
- "required": true,
1329
+ "output_required": true,
1330
1330
  "type": "string",
1331
1331
  "value_allowed_null": false
1332
1332
  },
1333
1333
  {
1334
1334
  "disabled": false,
1335
1335
  "document": "策略名",
1336
- "example": "",
1336
+ "example": "QcloudSMSFullAccess",
1337
1337
  "member": "string",
1338
1338
  "name": "PolicyName",
1339
- "required": true,
1339
+ "output_required": true,
1340
1340
  "type": "string",
1341
1341
  "value_allowed_null": false
1342
1342
  },
1343
1343
  {
1344
1344
  "disabled": false,
1345
1345
  "document": "策略描述",
1346
- "example": "",
1346
+ "example": "短信(SMS)全读写访问权限",
1347
1347
  "member": "string",
1348
1348
  "name": "Description",
1349
- "required": true,
1349
+ "output_required": true,
1350
1350
  "type": "string",
1351
1351
  "value_allowed_null": false
1352
1352
  },
1353
1353
  {
1354
1354
  "disabled": false,
1355
1355
  "document": "创建时间",
1356
- "example": "",
1356
+ "example": "2020-01-16 15:09:27",
1357
1357
  "member": "string",
1358
1358
  "name": "AddTime",
1359
- "required": true,
1359
+ "output_required": true,
1360
1360
  "type": "string",
1361
1361
  "value_allowed_null": false
1362
1362
  },
1363
1363
  {
1364
1364
  "disabled": false,
1365
1365
  "document": "策略类型(1表示自定义策略,2表示预设策略)",
1366
- "example": "",
1366
+ "example": "2",
1367
1367
  "member": "string",
1368
1368
  "name": "StrategyType",
1369
- "required": true,
1369
+ "output_required": true,
1370
1370
  "type": "string",
1371
1371
  "value_allowed_null": false
1372
1372
  },
1373
1373
  {
1374
1374
  "disabled": false,
1375
1375
  "document": "创建模式(1表示按产品或项目权限创建的策略,其他表示策略语法创建的策略)",
1376
- "example": "",
1376
+ "example": "2",
1377
1377
  "member": "string",
1378
1378
  "name": "CreateMode",
1379
- "required": true,
1379
+ "output_required": true,
1380
1380
  "type": "string",
1381
1381
  "value_allowed_null": false
1382
1382
  },
1383
1383
  {
1384
1384
  "disabled": false,
1385
1385
  "document": "随组关联信息\n注意:此字段可能返回 null,表示取不到有效值。",
1386
- "example": "",
1386
+ "example": "[{\"GroupId\":93878,\"GroupName\":\"系统运维\"}]",
1387
1387
  "member": "AttachedUserPolicyGroupInfo",
1388
1388
  "name": "Groups",
1389
- "required": true,
1389
+ "output_required": true,
1390
1390
  "type": "list",
1391
1391
  "value_allowed_null": true
1392
1392
  },
1393
1393
  {
1394
1394
  "disabled": false,
1395
1395
  "document": "是否已下线(0:否 1:是)\n注意:此字段可能返回 null,表示取不到有效值。",
1396
- "example": "",
1396
+ "example": "1",
1397
1397
  "member": "uint64",
1398
1398
  "name": "Deactived",
1399
- "required": true,
1399
+ "output_required": true,
1400
1400
  "type": "int",
1401
1401
  "value_allowed_null": true
1402
1402
  },
1403
1403
  {
1404
1404
  "disabled": false,
1405
1405
  "document": "已下线的产品列表\n注意:此字段可能返回 null,表示取不到有效值。",
1406
- "example": "",
1406
+ "example": "[\"consolesms\"]",
1407
1407
  "member": "string",
1408
1408
  "name": "DeactivedDetail",
1409
- "required": true,
1409
+ "output_required": true,
1410
1410
  "type": "list",
1411
1411
  "value_allowed_null": true
1412
1412
  }
@@ -2192,7 +2192,7 @@
2192
2192
  },
2193
2193
  {
2194
2194
  "disabled": false,
2195
- "document": "描述",
2195
+ "document": "描述信息。由用户自行定义。",
2196
2196
  "example": "this is description",
2197
2197
  "member": "string",
2198
2198
  "name": "Description",
@@ -3,8 +3,8 @@
3
3
  "AddUser": [
4
4
  {
5
5
  "document": "创建子账号",
6
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUser\n<公共请求参数>\n\n{\n \"Remark\": \"test\",\n \"Name\": \"test124\",\n \"CountryCode\": \"86\",\n \"NeedResetPassword\": \"0\",\n \"PhoneNum\": \"10086\",\n \"UseApi\": \"1\",\n \"ConsoleLogin\": \"1\",\n \"Password\": \"test123456\",\n \"Email\": \"123%40qq.com\"\n}",
7
- "output": "{\n \"Response\": {\n \"Uid\": 5648765,\n \"Uin\": 100000546533,\n \"Name\": \"test124\",\n \"Password\": \"test123456\",\n \"SecretId\": \"faweffewagwaegawe\",\n \"SecretKey\": \"fawef23rjhiuaefhuaifhiuawef\",\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AddUser\n<公共请求参数>\n\n{\n \"Remark\": \"jack account\",\n \"Name\": \"jack\",\n \"CountryCode\": \"86\",\n \"NeedResetPassword\": \"0\",\n \"PhoneNum\": \"10086\",\n \"UseApi\": \"1\",\n \"ConsoleLogin\": \"1\",\n \"Password\": \"test123456\",\n \"Email\": \"123%40qq.com\"\n}",
7
+ "output": "{\n \"Response\": {\n \"Uid\": 5648765,\n \"Uin\": 100000546533,\n \"Name\": \"jack\",\n \"Password\": \"test123456\",\n \"SecretId\": \"faweffewagwaegawe\",\n \"SecretKey\": \"fawef23rjhiuaefhuaifhiuawef\",\n \"RequestId\": \"b46d2afe-6893-4529-bc96-2c82d9214957\"\n }\n}",
8
8
  "title": "添加子用户"
9
9
  }
10
10
  ],
@@ -131,7 +131,7 @@
131
131
  "CreateUserOIDCConfig": [
132
132
  {
133
133
  "document": "",
134
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserOIDCConfig\n<公共请求参数>\n\n{\n \"ResponseType\": \"id_token\",\n \"IdentityUrl\": \"https://tencent.auth***.cn/\",\n \"ResponseMode\": \"form_post\",\n \"Description\": \"测试\",\n \"IdentityKey\": \"ewogICAgImtleXMiOiBbCi******\",\n \"ClientId\": \"61adcf00620c31e3***\",\n \"MappingFiled\": \"sub\",\n \"AuthorizationEndpoint\": \"https://tencent.auth**.cn\",\n \"Scope\": [\n \"openidScope.1\"\n ]\n}",
134
+ "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateUserOIDCConfig\n<公共请求参数>\n\n{\n \"ResponseType\": \"id_token\",\n \"IdentityUrl\": \"https://tencent.auth***.cn/\",\n \"ResponseMode\": \"form_post\",\n \"Description\": \"this is description\",\n \"IdentityKey\": \"ewogICAgImtleXMiOiBbCi******\",\n \"ClientId\": \"61adcf00620c31e3***\",\n \"MappingFiled\": \"sub\",\n \"AuthorizationEndpoint\": \"https://tencent.auth**.cn\",\n \"Scope\": [\n \"openidScope.1\"\n ]\n}",
135
135
  "output": "{\n \"Response\": {\n \"RequestId\": \"8a70d447-3c04-43c0-94ca-db899d4d05ac\"\n }\n}",
136
136
  "title": "添加用户OIDC配置"
137
137
  }
@@ -163,7 +163,7 @@
163
163
  "DeleteMessageReceiver": [
164
164
  {
165
165
  "document": "删除消息接收人",
166
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMessageReceiver\n<公共请求参数>\n\n{\n \"Name\": \"test\"\n}",
166
+ "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMessageReceiver\n<公共请求参数>\n\n{\n \"Name\": \"zhangshan\"\n}",
167
167
  "output": "{\n \"Response\": {\n \"RequestId\": \"af3a7188-5b3e-41a6-b489-8443e5816494\"\n }\n}",
168
168
  "title": "删除消息接收人"
169
169
  }
@@ -727,7 +727,7 @@
727
727
  "UpdateUserOIDCConfig": [
728
728
  {
729
729
  "document": "",
730
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateUserOIDCConfig\n<公共请求参数>\n\n{\n \"ResponseType\": \"id_token\",\n \"IdentityUrl\": \"https://tencent.auth**.com\",\n \"ResponseMode\": \"form_post\",\n \"Description\": \"描述\",\n \"IdentityKey\": \"key\",\n \"ClientId\": \"cbaefefes9823***\",\n \"MappingFiled\": \"sub\",\n \"AuthorizationEndpoint\": \"https://tencent.auth**.com\",\n \"Scope\": [\n \"email\"\n ]\n}",
730
+ "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateUserOIDCConfig\n<公共请求参数>\n\n{\n \"ResponseType\": \"id_token\",\n \"IdentityUrl\": \"https://tencent.auth**.com\",\n \"ResponseMode\": \"form_post\",\n \"Description\": \"this is description\",\n \"IdentityKey\": \"key\",\n \"ClientId\": \"cbaefefes9823***\",\n \"MappingFiled\": \"sub\",\n \"AuthorizationEndpoint\": \"https://tencent.auth**.com\",\n \"Scope\": [\n \"email\"\n ]\n}",
731
731
  "output": "{\n \"Response\": {\n \"RequestId\": \"10a20884-070e-48a8-aa40-9ed295a33ea2\"\n }\n}",
732
732
  "title": "修改用户OIDC配置"
733
733
  }