tccli 3.0.1288.1__py2.py3-none-any.whl → 3.0.1290.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 (81) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/plugins/sso/__init__.py +11 -1
  3. tccli/plugins/sso/login.py +3 -3
  4. tccli/services/asr/v20190614/api.json +6 -6
  5. tccli/services/asr/v20190614/examples.json +4 -4
  6. tccli/services/bi/v20220105/api.json +43 -0
  7. tccli/services/billing/v20180709/api.json +326 -266
  8. tccli/services/billing/v20180709/examples.json +1 -1
  9. tccli/services/cdb/cdb_client.py +53 -0
  10. tccli/services/cdb/v20170320/api.json +64 -0
  11. tccli/services/cdb/v20170320/examples.json +8 -0
  12. tccli/services/cdwpg/v20201230/api.json +5 -5
  13. tccli/services/cdwpg/v20201230/examples.json +6 -6
  14. tccli/services/cdz/v20221123/api.json +4 -4
  15. tccli/services/cfg/v20210820/api.json +197 -197
  16. tccli/services/cfg/v20210820/examples.json +1 -1
  17. tccli/services/clb/v20180317/api.json +21 -16
  18. tccli/services/cls/v20201016/api.json +230 -198
  19. tccli/services/cls/v20201016/examples.json +2 -2
  20. tccli/services/cwp/v20180228/api.json +39 -9
  21. tccli/services/cynosdb/v20190107/api.json +2 -2
  22. tccli/services/dbbrain/dbbrain_client.py +383 -12
  23. tccli/services/dbbrain/v20191016/api.json +24 -21
  24. tccli/services/dbbrain/v20210527/api.json +851 -68
  25. tccli/services/dbbrain/v20210527/examples.json +56 -0
  26. tccli/services/domain/v20180808/api.json +11 -11
  27. tccli/services/dts/v20180330/api.json +34 -34
  28. tccli/services/dts/v20180330/examples.json +1 -1
  29. tccli/services/dts/v20211206/api.json +225 -223
  30. tccli/services/dts/v20211206/examples.json +2 -2
  31. tccli/services/ess/v20201111/api.json +30 -3
  32. tccli/services/essbasic/v20210526/api.json +29 -2
  33. tccli/services/fmu/v20191213/api.json +2 -2
  34. tccli/services/goosefs/v20220519/api.json +2 -2
  35. tccli/services/gwlb/v20240906/api.json +1 -1
  36. tccli/services/iotcloud/v20210408/api.json +66 -66
  37. tccli/services/iotcloud/v20210408/examples.json +13 -13
  38. tccli/services/iotexplorer/iotexplorer_client.py +159 -0
  39. tccli/services/iotexplorer/v20190423/api.json +561 -0
  40. tccli/services/iotexplorer/v20190423/examples.json +24 -0
  41. tccli/services/iotvideo/iotvideo_client.py +106 -0
  42. tccli/services/iotvideo/v20211125/api.json +105 -0
  43. tccli/services/iotvideo/v20211125/examples.json +16 -0
  44. tccli/services/lighthouse/v20200324/api.json +53 -53
  45. tccli/services/lighthouse/v20200324/examples.json +2 -2
  46. tccli/services/lke/v20231130/api.json +12 -2
  47. tccli/services/lkeap/v20240522/api.json +2 -2
  48. tccli/services/lowcode/v20210108/api.json +2 -2
  49. tccli/services/monitor/monitor_client.py +53 -0
  50. tccli/services/monitor/v20180724/api.json +144 -0
  51. tccli/services/monitor/v20180724/examples.json +8 -0
  52. tccli/services/mps/mps_client.py +501 -24
  53. tccli/services/mps/v20190612/api.json +2118 -247
  54. tccli/services/mps/v20190612/examples.json +72 -0
  55. tccli/services/mqtt/v20240516/api.json +4 -4
  56. tccli/services/mqtt/v20240516/examples.json +5 -11
  57. tccli/services/organization/v20210331/api.json +113 -113
  58. tccli/services/redis/redis_client.py +53 -0
  59. tccli/services/redis/v20180412/api.json +34 -0
  60. tccli/services/redis/v20180412/examples.json +8 -0
  61. tccli/services/svp/v20240125/api.json +1 -1
  62. tccli/services/tcb/tcb_client.py +53 -0
  63. tccli/services/tcb/v20180608/api.json +224 -157
  64. tccli/services/tcb/v20180608/examples.json +8 -0
  65. tccli/services/tcbr/v20220217/examples.json +1 -1
  66. tccli/services/tdmq/v20200217/api.json +379 -285
  67. tccli/services/tdmq/v20200217/examples.json +1 -1
  68. tccli/services/teo/v20220901/api.json +541 -5
  69. tccli/services/teo/v20220901/examples.json +21 -3
  70. tccli/services/tione/v20211111/api.json +64 -6
  71. tccli/services/vdb/v20230616/api.json +31 -2
  72. tccli/services/vdb/v20230616/examples.json +8 -2
  73. tccli/services/vrs/v20200824/api.json +14 -2
  74. tccli/services/vrs/v20200824/examples.json +1 -1
  75. tccli/services/wedata/v20210820/api.json +102 -0
  76. tccli/services/weilingwith/v20230427/api.json +997 -997
  77. {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/METADATA +2 -2
  78. {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/RECORD +81 -81
  79. {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/WHEEL +0 -0
  80. {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/entry_points.txt +0 -0
  81. {tccli-3.0.1288.1.dist-info → tccli-3.0.1290.1.dist-info}/license_files/LICENSE +0 -0
@@ -116,7 +116,7 @@
116
116
  {
117
117
  "document": "获取账单明细",
118
118
  "input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOrganizationBillDetail\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 1,\n \"Month\": \"2023-08\",\n \"NeedRecordNum\": 1,\n \"ResourceId\": \"nat-ftuh6xel\"\n}",
119
- "output": "{\n \"Response\": {\n \"Context\": \"TQpr+vp4d9EeM04pEI6ryHAVS3ZI84mbSVbUzlTD1F8EzZ6vYfNp+wKVhGw0dGkA2iAr5lSGYE4O+bTWApdUY6ZcLDZGpQVYCVApRrjx0IUf6NJGoV8FXlYLQxABqcSt\",\n \"DetailSet\": [\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"按量计费小时结\",\n \"AssociatedOrder\": null,\n \"BillId\": \"20230816400705427744482\",\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"ComponentSet\": [\n {\n \"BlendedDiscount\": \"0.68040500\",\n \"CashPayAmount\": \"0.34020250\",\n \"ComponentCode\": \"v_nat_hour_instance\",\n \"ComponentCodeName\": \"实例\",\n \"ComponentConfig\": [],\n \"ContractPrice\": \"0.34020250\",\n \"Cost\": \"0.50000000\",\n \"DeductedMeasure\": \"1\",\n \"Discount\": \"0.680405\",\n \"IncentivePayAmount\": \"0\",\n \"InstanceType\": \"ri\",\n \"ItemCode\": \"sv_nat_hour_instance_small\",\n \"ItemCodeName\": \"NAT网关-小型实例\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"PriceUnit\": \"元/100个/小时\",\n \"RealCost\": \"0.34020250\",\n \"RealTotalMeasure\": \"1\",\n \"ReduceType\": \"折扣\",\n \"RiTimeSpan\": \"0.00000000\",\n \"SPDeduction\": \"0.00000000\",\n \"SPDeductionRate\": \"0.00000000\",\n \"SinglePrice\": \"0.50000000\",\n \"SpecifiedPrice\": \"0.50000000\",\n \"TimeSpan\": \"1\",\n \"TimeUnitName\": \"小时\",\n \"TransferPayAmount\": \"0\",\n \"UsedAmount\": \"100\",\n \"UsedAmountUnit\": \"个\",\n \"VoucherPayAmount\": \"0\"\n }\n ],\n \"FeeBeginTime\": \"2023-08-16 20:00:00\",\n \"FeeEndTime\": \"2023-08-16 20:59:59\",\n \"Formula\": \"退款:118.2元,现金券: 0元,代金券/折扣券不退(全额退款;\",\n \"FormulaUrl\": \"https://buy.cloud.tencent.com/price/nat\",\n \"OperateUin\": \"700000686592\",\n \"OrderId\": \"20230816867705427744432\",\n \"OwnerUin\": \"700000686592\",\n \"PayModeName\": \"按量计费\",\n \"PayTime\": \"2023-08-16 21:15:38\",\n \"PriceInfo\": [],\n \"ProductCode\": \"sp_nat\",\n \"ProductCodeName\": \"NAT网关\",\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\",\n \"RegionId\": \"4\",\n \"RegionName\": \"华东地区(上海)\",\n \"ResourceId\": \"nat-ftuh6xel\",\n \"ResourceName\": \"migration-nat-test3\",\n \"Tags\": [],\n \"ZoneName\": \"其他\"\n }\n ],\n \"RequestId\": \"48f32947-8ef2-40b3-94ef-b8c08fc030da\",\n \"Total\": 544\n }\n}",
119
+ "output": "{\n \"Response\": {\n \"Context\": \"TQpr+vp4d9EeM04pEI6ryHAVS3ZI84mbSVbUzlTD1F8EzZ6vYfNp+wKVhGw0dGkA2iAr5lSGYE4O+bTWApdUY6ZcLDZGpQVYCVApRrjx0IUf6NJGoV8FXlYLQxABqcSt\",\n \"DetailSet\": [\n {\n \"ActionType\": \"postpay_deduct_h\",\n \"ActionTypeName\": \"按量计费小时结\",\n \"AssociatedOrder\": {\n \"PrepayPurchase\": \"20230707400000439953321\",\n \"PrepayRenew\": \"20230707400000440668101,20230707400000440730331,20230707400000440886501\"\n },\n \"BillId\": \"20230816400705427744482\",\n \"BusinessCode\": \"p_nat\",\n \"BusinessCodeName\": \"NAT网关\",\n \"ComponentSet\": [\n {\n \"BlendedDiscount\": \"0.68040500\",\n \"CashPayAmount\": \"0.34020250\",\n \"ComponentCode\": \"v_nat_hour_instance\",\n \"ComponentCodeName\": \"实例\",\n \"ComponentConfig\": [],\n \"ContractPrice\": \"0.34020250\",\n \"Cost\": \"0.50000000\",\n \"DeductedMeasure\": \"1\",\n \"Discount\": \"0.680405\",\n \"IncentivePayAmount\": \"0\",\n \"InstanceType\": \"ri\",\n \"ItemCode\": \"sv_nat_hour_instance_small\",\n \"ItemCodeName\": \"NAT网关-小型实例\",\n \"OriginalCostWithRI\": \"0.00000000\",\n \"OriginalCostWithSP\": \"0.00000000\",\n \"PriceUnit\": \"元/100个/小时\",\n \"RealCost\": \"0.34020250\",\n \"RealTotalMeasure\": \"1\",\n \"ReduceType\": \"折扣\",\n \"RiTimeSpan\": \"0.00000000\",\n \"SPDeduction\": \"0.00000000\",\n \"SPDeductionRate\": \"0.00000000\",\n \"SinglePrice\": \"0.50000000\",\n \"SpecifiedPrice\": \"0.50000000\",\n \"TimeSpan\": \"1\",\n \"TimeUnitName\": \"小时\",\n \"TransferPayAmount\": \"0\",\n \"UsedAmount\": \"100\",\n \"UsedAmountUnit\": \"个\",\n \"VoucherPayAmount\": \"0\"\n }\n ],\n \"FeeBeginTime\": \"2023-08-16 20:00:00\",\n \"FeeEndTime\": \"2023-08-16 20:59:59\",\n \"Formula\": \"退款:118.2元,现金券: 0元,代金券/折扣券不退(全额退款;\",\n \"FormulaUrl\": \"https://buy.cloud.tencent.com/price/nat\",\n \"OperateUin\": \"700000686592\",\n \"OrderId\": \"20230816867705427744432\",\n \"OwnerUin\": \"700000686592\",\n \"PayModeName\": \"按量计费\",\n \"PayTime\": \"2023-08-16 21:15:38\",\n \"PriceInfo\": [\n \"linux\",\n \"第三阶梯\",\n \"云平\"\n ],\n \"ProductCode\": \"sp_nat\",\n \"ProductCodeName\": \"NAT网关\",\n \"ProjectId\": 0,\n \"ProjectName\": \"默认项目\",\n \"RegionId\": \"4\",\n \"RegionName\": \"华东地区(上海)\",\n \"ResourceId\": \"nat-ftuh6xel\",\n \"ResourceName\": \"migration-nat-test3\",\n \"Tags\": [\n {\n \"TagKey\": \"jemmahuang\",\n \"TagValue\": \"jemmahuang\"\n }\n ],\n \"ZoneName\": \"其他\"\n }\n ],\n \"RequestId\": \"48f32947-8ef2-40b3-94ef-b8c08fc030da\",\n \"Total\": 544\n }\n}",
120
120
  "title": "获取账单明细"
121
121
  }
122
122
  ],
@@ -2201,6 +2201,58 @@ def doCreateDatabase(args, parsed_globals):
2201
2201
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2202
2202
 
2203
2203
 
2204
+ def doDescribeCPUExpandStrategyInfo(args, parsed_globals):
2205
+ g_param = parse_global_arg(parsed_globals)
2206
+
2207
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2208
+ cred = credential.CVMRoleCredential()
2209
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2210
+ cred = credential.STSAssumeRoleCredential(
2211
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2212
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2213
+ )
2214
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
2215
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2216
+ else:
2217
+ cred = credential.Credential(
2218
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2219
+ )
2220
+ http_profile = HttpProfile(
2221
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2222
+ reqMethod="POST",
2223
+ endpoint=g_param[OptionsDefine.Endpoint],
2224
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2225
+ )
2226
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2227
+ if g_param[OptionsDefine.Language]:
2228
+ profile.language = g_param[OptionsDefine.Language]
2229
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2230
+ client = mod.CdbClient(cred, g_param[OptionsDefine.Region], profile)
2231
+ client._sdkVersion += ("_CLI_" + __version__)
2232
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2233
+ model = models.DescribeCPUExpandStrategyInfoRequest()
2234
+ model.from_json_string(json.dumps(args))
2235
+ start_time = time.time()
2236
+ while True:
2237
+ rsp = client.DescribeCPUExpandStrategyInfo(model)
2238
+ result = rsp.to_json_string()
2239
+ try:
2240
+ json_obj = json.loads(result)
2241
+ except TypeError as e:
2242
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2243
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2244
+ break
2245
+ cur_time = time.time()
2246
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2247
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2248
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2249
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2250
+ else:
2251
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2252
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2253
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2254
+
2255
+
2204
2256
  def doDisassociateSecurityGroups(args, parsed_globals):
2205
2257
  g_param = parse_global_arg(parsed_globals)
2206
2258
 
@@ -9014,6 +9066,7 @@ ACTION_MAP = {
9014
9066
  "DescribeErrorLogData": doDescribeErrorLogData,
9015
9067
  "SwitchDBInstanceMasterSlave": doSwitchDBInstanceMasterSlave,
9016
9068
  "CreateDatabase": doCreateDatabase,
9069
+ "DescribeCPUExpandStrategyInfo": doDescribeCPUExpandStrategyInfo,
9017
9070
  "DisassociateSecurityGroups": doDisassociateSecurityGroups,
9018
9071
  "ModifyCdbProxyParam": doModifyCdbProxyParam,
9019
9072
  "DescribeTables": doDescribeTables,
@@ -420,6 +420,13 @@
420
420
  "output": "DescribeBinlogsResponse",
421
421
  "status": "online"
422
422
  },
423
+ "DescribeCPUExpandStrategyInfo": {
424
+ "document": "通过该 API 可以查询实例的 CPU 弹性扩容信息",
425
+ "input": "DescribeCPUExpandStrategyInfoRequest",
426
+ "name": "查询实例的 CPU 弹性扩容策略信息",
427
+ "output": "DescribeCPUExpandStrategyInfoResponse",
428
+ "status": "online"
429
+ },
423
430
  "DescribeCdbProxyInfo": {
424
431
  "document": "本接口(DescribeCdbProxyInfo)用于查询数据库代理详情信息。",
425
432
  "input": "DescribeCdbProxyInfoRequest",
@@ -9215,6 +9222,63 @@
9215
9222
  ],
9216
9223
  "type": "object"
9217
9224
  },
9225
+ "DescribeCPUExpandStrategyInfoRequest": {
9226
+ "document": "DescribeCPUExpandStrategyInfo请求参数结构体",
9227
+ "members": [
9228
+ {
9229
+ "disabled": false,
9230
+ "document": "实例 ID 。",
9231
+ "example": "cdb-xxdasd",
9232
+ "member": "string",
9233
+ "name": "InstanceId",
9234
+ "required": true,
9235
+ "type": "string"
9236
+ }
9237
+ ],
9238
+ "type": "object"
9239
+ },
9240
+ "DescribeCPUExpandStrategyInfoResponse": {
9241
+ "document": "DescribeCPUExpandStrategyInfo返回参数结构体",
9242
+ "members": [
9243
+ {
9244
+ "disabled": false,
9245
+ "document": "策略类型。可选值 auto、manual。如果返回为NULL说明尚未开通弹性扩容策略\n注意:此字段可能返回 null,表示取不到有效值。",
9246
+ "example": "auto",
9247
+ "member": "string",
9248
+ "name": "Type",
9249
+ "output_required": true,
9250
+ "type": "string",
9251
+ "value_allowed_null": true
9252
+ },
9253
+ {
9254
+ "disabled": false,
9255
+ "document": "手动扩容的 CPU 。Type为 manual 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
9256
+ "example": "4",
9257
+ "member": "int64",
9258
+ "name": "ExpandCpu",
9259
+ "output_required": false,
9260
+ "type": "int",
9261
+ "value_allowed_null": true
9262
+ },
9263
+ {
9264
+ "disabled": false,
9265
+ "document": "自动扩容策略。Type 为 auto 时有效\n注意:此字段可能返回 null,表示取不到有效值。",
9266
+ "example": "略",
9267
+ "member": "AutoStrategy",
9268
+ "name": "AutoStrategy",
9269
+ "output_required": false,
9270
+ "type": "object",
9271
+ "value_allowed_null": true
9272
+ },
9273
+ {
9274
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9275
+ "member": "string",
9276
+ "name": "RequestId",
9277
+ "type": "string"
9278
+ }
9279
+ ],
9280
+ "type": "object"
9281
+ },
9218
9282
  "DescribeCdbProxyInfoRequest": {
9219
9283
  "document": "DescribeCdbProxyInfo请求参数结构体",
9220
9284
  "members": [
@@ -516,6 +516,14 @@
516
516
  "title": "查询二进制日志"
517
517
  }
518
518
  ],
519
+ "DescribeCPUExpandStrategyInfo": [
520
+ {
521
+ "document": "",
522
+ "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCPUExpandStrategyInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-sad1dsfa\"\n}",
523
+ "output": "{\n \"Response\": {\n \"Type\": \"auto\",\n \"ExpandCpu\": \"4\",\n \"AutoStrategy\": {\n \"ExpandThreshold\": 0,\n \"ShrinkThreshold\": 0,\n \"ExpandPeriod\": 0,\n \"ShrinkPeriod\": 0\n },\n \"RequestId\": \"sasd8asf-f78asd-fas8-dga9-gdfadf1234\"\n }\n}",
524
+ "title": "查询实例的 CPU 弹性扩容策略"
525
+ }
526
+ ],
519
527
  "DescribeCdbProxyInfo": [
520
528
  {
521
529
  "document": "查询代理信息",
@@ -603,7 +603,7 @@
603
603
  {
604
604
  "disabled": false,
605
605
  "document": "集群密码",
606
- "example": "",
606
+ "example": "\"cdw1234\"",
607
607
  "member": "string",
608
608
  "name": "AdminPassword",
609
609
  "required": true,
@@ -645,7 +645,7 @@
645
645
  {
646
646
  "disabled": false,
647
647
  "document": "流程ID\n注意:此字段可能返回 null,表示取不到有效值。",
648
- "example": "123",
648
+ "example": "1123",
649
649
  "member": "string",
650
650
  "name": "FlowId",
651
651
  "output_required": true,
@@ -665,7 +665,7 @@
665
665
  {
666
666
  "disabled": false,
667
667
  "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
668
- "example": "xxx",
668
+ "example": "message",
669
669
  "member": "string",
670
670
  "name": "ErrorMsg",
671
671
  "output_required": true,
@@ -988,7 +988,7 @@
988
988
  "members": [
989
989
  {
990
990
  "disabled": false,
991
- "document": "1",
991
+ "document": "集群描述信息",
992
992
  "example": "无",
993
993
  "member": "SimpleInstanceInfo",
994
994
  "name": "SimpleInstanceInfo",
@@ -998,7 +998,7 @@
998
998
  },
999
999
  {
1000
1000
  "disabled": false,
1001
- "document": "1",
1001
+ "document": "错误信息",
1002
1002
  "example": "无",
1003
1003
  "member": "string",
1004
1004
  "name": "ErrorMsg",
@@ -3,8 +3,8 @@
3
3
  "CreateInstanceByApi": [
4
4
  {
5
5
  "document": "创建集群",
6
- "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceName\": \"abc\",\n \"Zone\": \"abc\",\n \"UserVPCId\": \"abc\",\n \"UserSubnetId\": \"abc\",\n \"ChargeProperties\": {\n \"PayMode\": 0,\n \"RenewFlag\": 0,\n \"TimeSpan\": 0,\n \"TimeUnit\": \"abc\",\n \"ChargeType\": \"abc\"\n },\n \"AdminPassword\": \"abc\",\n \"Tags\": {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n },\n \"Resources\": [\n {\n \"SpecName\": \"abc\",\n \"Count\": 0,\n \"DiskSpec\": {\n \"DiskType\": \"abc\",\n \"DiskSize\": 0,\n \"DiskCount\": 0\n },\n \"Type\": \"abc\"\n }\n ]\n}",
7
- "output": "{\n \"Response\": {\n \"FlowId\": \"abc\",\n \"InstanceId\": \"abc\",\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceName\": \"cdwpg_test001\",\n \"Zone\": \"na-ashburn-1\",\n \"UserVPCId\": \"vpc-65mchhgn\",\n \"UserSubnetId\": \"subnet-3b7g4en2\",\n \"AdminPassword\": \"cloud_12345\",\n \"ChargeProperties\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"RenewFlag\": 0,\n \"TimeSpan\": 1,\n \"TimeUnit\": \"h\"\n },\n \"Resources\": [\n {\n \"Count\": 2,\n \"DiskSpec\": {\n \"DiskCount\": 1,\n \"DiskSize\": 200,\n \"DiskType\": \"CLOUD_HSSD\"\n },\n \"SpecName\": \"S_4_16_H_CN\",\n \"Type\": \"cn\"\n },\n {\n \"Type\": \"dn\",\n \"SpecName\": \"S_4_16_H\",\n \"Count\": 2,\n \"DiskSpec\": {\n \"DiskType\": \"CLOUD_HSSD\",\n \"DiskSize\": 20,\n \"DiskCount\": 10\n }\n }\n ]\n}",
7
+ "output": "{\n \"Response\": {\n \"FlowId\": \"1125\",\n \"InstanceId\": \"cdwpg-fdergdabc\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abc-sssscdddd\"\n }\n}",
8
8
  "title": "创建集群"
9
9
  }
10
10
  ],
@@ -51,8 +51,8 @@
51
51
  "DescribeInstanceInfo": [
52
52
  {
53
53
  "document": "查询集群信息",
54
- "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\"\n}",
55
- "output": "{\n \"Response\": {\n \"SimpleInstanceInfo\": {\n \"ID\": 0,\n \"InstanceId\": \"cdwpg-abc\",\n \"InstanceName\": \"test-abc\",\n \"Version\": \"3.16.4.8\",\n \"Region\": \"ap-beijing\",\n \"Zone\": \"ap-beijing-6\",\n \"UserVPCID\": \"abdc\",\n \"UserSubnetID\": \"abdc\",\n \"CreateTime\": \"2012-12-12 12:12:12\",\n \"ExpireTime\": \"2012-12-12 13:12:12\",\n \"AccessInfo\": \"--\",\n \"RenewFlag\": 0,\n \"ChargeProperties\": {\n \"PayMode\": 0,\n \"RenewFlag\": 0,\n \"TimeSpan\": 0,\n \"TimeUnit\": \"--\",\n \"ChargeType\": \"--\"\n },\n \"Resources\": [\n {\n \"SpecName\": \"s4\",\n \"Count\": 0,\n \"DiskSpec\": {\n \"DiskType\": \"local\",\n \"DiskSize\": 0,\n \"DiskCount\": 0\n },\n \"Type\": \"dn\"\n }\n ],\n \"Tags\": [\n {\n \"TagKey\": \"gd\",\n \"TagValue\": \"fd\"\n }\n ],\n \"Status\": 0\n },\n \"ErrorMsg\": \"\",\n \"RequestId\": \"abcss\"\n }\n}",
54
+ "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceInfo\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-4dwmcu5n\"\n}",
55
+ "output": "{\n \"Response\": {\n \"ErrorMsg\": \"\",\n \"RequestId\": \"94e9f7c9-8431-45b4-9167-1d2a648d3d07\",\n \"SimpleInstanceInfo\": {\n \"AccessInfo\": \"192.168.22.104:9000\",\n \"ChargeProperties\": {\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"RenewFlag\": 0,\n \"TimeSpan\": 1,\n \"TimeUnit\": \"h\"\n },\n \"CreateTime\": \"2025-03-03 14:25:01\",\n \"ExpireTime\": \"0000.00.00 00:00:00\",\n \"ID\": 595,\n \"InstanceId\": \"cdwpg-4dwmcu5n\",\n \"InstanceName\": \"cdwpg_test100\",\n \"Region\": \"eu-frankfurt\",\n \"RenewFlag\": 0,\n \"Resources\": [\n {\n \"Count\": 2,\n \"DiskSpec\": {\n \"DiskCount\": 10,\n \"DiskSize\": 20,\n \"DiskType\": \"CLOUD_HSSD\"\n },\n \"SpecName\": \"S_4_16_H_CN\",\n \"Type\": \"cn\"\n },\n {\n \"Count\": 2,\n \"DiskSpec\": {\n \"DiskCount\": 10,\n \"DiskSize\": 20,\n \"DiskType\": \"CLOUD_HSSD\"\n },\n \"SpecName\": \"S_4_16_H\",\n \"Type\": \"dn\"\n }\n ],\n \"Status\": 2,\n \"Tags\": [],\n \"UserSubnetID\": \"subnet-d05spb5o\",\n \"UserVPCID\": \"vpc-5wsen2rn\",\n \"Version\": \"3.16.9.3\",\n \"Zone\": \"eu-frankfurt-1\"\n }\n }\n}",
56
56
  "title": "查询集群信息"
57
57
  }
58
58
  ],
@@ -123,7 +123,7 @@
123
123
  "DestroyInstanceByApi": [
124
124
  {
125
125
  "document": "销毁集群",
126
- "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abc\"\n}",
126
+ "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyInstanceByApi\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-abcdsds\"\n}",
127
127
  "output": "{\n \"Response\": {\n \"FlowId\": \"1254\",\n \"ErrorMsg\": \"\",\n \"RequestId\": \"afsbc\"\n }\n}",
128
128
  "title": "销毁集群"
129
129
  }
@@ -139,7 +139,7 @@
139
139
  "ModifyInstance": [
140
140
  {
141
141
  "document": "用户修改实例名称",
142
- "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwch-12345678\",\n \"InstanceName\": \"cdwch-test\"\n}",
142
+ "input": "POST / HTTP/1.1\nHost: cdwpg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstance\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdwpg-fdgytddr\",\n \"InstanceName\": \"cdwpg-test\"\n}",
143
143
  "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxxx\"\n }\n}",
144
144
  "title": "修改实例信息"
145
145
  }
@@ -27,23 +27,23 @@
27
27
  "members": [
28
28
  {
29
29
  "disabled": false,
30
- "document": "Host的唯一标识uuid\n注意:此字段可能返回 null,表示取不到有效值。",
30
+ "document": "Host的唯一标识uuid",
31
31
  "example": "xxxxx-xxxxx-xxxxx",
32
32
  "member": "string",
33
33
  "name": "HostUuid",
34
34
  "output_required": false,
35
35
  "type": "string",
36
- "value_allowed_null": true
36
+ "value_allowed_null": false
37
37
  },
38
38
  {
39
39
  "disabled": false,
40
- "document": "实例名称数组\n注意:此字段可能返回 null,表示取不到有效值。",
40
+ "document": "实例名称数组",
41
41
  "example": "['ins-xxxxxxxx']",
42
42
  "member": "string",
43
43
  "name": "InstancesInfo",
44
44
  "output_required": false,
45
45
  "type": "list",
46
- "value_allowed_null": true
46
+ "value_allowed_null": false
47
47
  }
48
48
  ],
49
49
  "usage": "out"