tccli 3.0.1194.1__py2.py3-none-any.whl → 3.0.1196.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 (35) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/asr/asr_client.py +74 -21
  4. tccli/services/asr/v20190614/api.json +118 -0
  5. tccli/services/asr/v20190614/examples.json +8 -0
  6. tccli/services/autoscaling/v20180419/api.json +14 -0
  7. tccli/services/cfg/v20210820/api.json +9 -0
  8. tccli/services/cwp/v20180228/api.json +192 -30
  9. tccli/services/cwp/v20180228/examples.json +4 -10
  10. tccli/services/dlc/v20210125/api.json +9 -0
  11. tccli/services/dsgc/v20190723/api.json +1 -1
  12. tccli/services/ims/v20201229/api.json +4 -4
  13. tccli/services/lke/lke_client.py +725 -301
  14. tccli/services/lke/v20231130/api.json +848 -0
  15. tccli/services/lke/v20231130/examples.json +64 -0
  16. tccli/services/mps/v20190612/api.json +13 -4
  17. tccli/services/mqtt/__init__.py +4 -0
  18. tccli/services/mqtt/mqtt_client.py +1149 -0
  19. tccli/services/mqtt/v20240516/api.json +2179 -0
  20. tccli/services/mqtt/v20240516/examples.json +163 -0
  21. tccli/services/mrs/v20200910/api.json +85 -85
  22. tccli/services/sms/v20210111/examples.json +2 -2
  23. tccli/services/tcss/v20201101/api.json +2 -2
  24. tccli/services/tke/tke_client.py +106 -0
  25. tccli/services/tke/v20180525/api.json +177 -15
  26. tccli/services/tke/v20180525/examples.json +16 -0
  27. tccli/services/vdb/v20230616/api.json +10 -0
  28. tccli/services/vod/v20180717/api.json +57 -2
  29. tccli/services/vod/v20180717/examples.json +1 -1
  30. tccli/services/vpc/v20170312/api.json +27 -7
  31. {tccli-3.0.1194.1.dist-info → tccli-3.0.1196.1.dist-info}/METADATA +2 -2
  32. {tccli-3.0.1194.1.dist-info → tccli-3.0.1196.1.dist-info}/RECORD +35 -31
  33. {tccli-3.0.1194.1.dist-info → tccli-3.0.1196.1.dist-info}/WHEEL +0 -0
  34. {tccli-3.0.1194.1.dist-info → tccli-3.0.1196.1.dist-info}/entry_points.txt +0 -0
  35. {tccli-3.0.1194.1.dist-info → tccli-3.0.1196.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1194.1'
1
+ __version__ = '3.0.1196.1'
@@ -492,6 +492,9 @@ SERVICE_VERSIONS = {
492
492
  "mps": [
493
493
  "2019-06-12"
494
494
  ],
495
+ "mqtt": [
496
+ "2024-05-16"
497
+ ],
495
498
  "mrs": [
496
499
  "2020-09-10"
497
500
  ],
@@ -17,6 +17,58 @@ from tencentcloud.asr.v20190614 import models as models_v20190614
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doGetUsageByDate(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ 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):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.GetUsageByDateRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.GetUsageByDate(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doCreateAsrKeyWordLib(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -329,7 +381,7 @@ def doVoicePrintCount(args, parsed_globals):
329
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
382
 
331
383
 
332
- def doVoicePrintVerify(args, parsed_globals):
384
+ def doGetAsrVocabList(args, parsed_globals):
333
385
  g_param = parse_global_arg(parsed_globals)
334
386
 
335
387
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -358,11 +410,11 @@ def doVoicePrintVerify(args, parsed_globals):
358
410
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
359
411
  client._sdkVersion += ("_CLI_" + __version__)
360
412
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
361
- model = models.VoicePrintVerifyRequest()
413
+ model = models.GetAsrVocabListRequest()
362
414
  model.from_json_string(json.dumps(args))
363
415
  start_time = time.time()
364
416
  while True:
365
- rsp = client.VoicePrintVerify(model)
417
+ rsp = client.GetAsrVocabList(model)
366
418
  result = rsp.to_json_string()
367
419
  try:
368
420
  json_obj = json.loads(result)
@@ -849,7 +901,7 @@ def doUpdateAsrKeyWordLib(args, parsed_globals):
849
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
850
902
 
851
903
 
852
- def doVoicePrintUpdate(args, parsed_globals):
904
+ def doCreateRecTask(args, parsed_globals):
853
905
  g_param = parse_global_arg(parsed_globals)
854
906
 
855
907
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -878,11 +930,11 @@ def doVoicePrintUpdate(args, parsed_globals):
878
930
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
879
931
  client._sdkVersion += ("_CLI_" + __version__)
880
932
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
881
- model = models.VoicePrintUpdateRequest()
933
+ model = models.CreateRecTaskRequest()
882
934
  model.from_json_string(json.dumps(args))
883
935
  start_time = time.time()
884
936
  while True:
885
- rsp = client.VoicePrintUpdate(model)
937
+ rsp = client.CreateRecTask(model)
886
938
  result = rsp.to_json_string()
887
939
  try:
888
940
  json_obj = json.loads(result)
@@ -901,7 +953,7 @@ def doVoicePrintUpdate(args, parsed_globals):
901
953
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
954
 
903
955
 
904
- def doCreateRecTask(args, parsed_globals):
956
+ def doDescribeTaskStatus(args, parsed_globals):
905
957
  g_param = parse_global_arg(parsed_globals)
906
958
 
907
959
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -930,11 +982,11 @@ def doCreateRecTask(args, parsed_globals):
930
982
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
931
983
  client._sdkVersion += ("_CLI_" + __version__)
932
984
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
- model = models.CreateRecTaskRequest()
985
+ model = models.DescribeTaskStatusRequest()
934
986
  model.from_json_string(json.dumps(args))
935
987
  start_time = time.time()
936
988
  while True:
937
- rsp = client.CreateRecTask(model)
989
+ rsp = client.DescribeTaskStatus(model)
938
990
  result = rsp.to_json_string()
939
991
  try:
940
992
  json_obj = json.loads(result)
@@ -953,7 +1005,7 @@ def doCreateRecTask(args, parsed_globals):
953
1005
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
1006
 
955
1007
 
956
- def doDescribeTaskStatus(args, parsed_globals):
1008
+ def doVoicePrintEnroll(args, parsed_globals):
957
1009
  g_param = parse_global_arg(parsed_globals)
958
1010
 
959
1011
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -982,11 +1034,11 @@ def doDescribeTaskStatus(args, parsed_globals):
982
1034
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
983
1035
  client._sdkVersion += ("_CLI_" + __version__)
984
1036
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
985
- model = models.DescribeTaskStatusRequest()
1037
+ model = models.VoicePrintEnrollRequest()
986
1038
  model.from_json_string(json.dumps(args))
987
1039
  start_time = time.time()
988
1040
  while True:
989
- rsp = client.DescribeTaskStatus(model)
1041
+ rsp = client.VoicePrintEnroll(model)
990
1042
  result = rsp.to_json_string()
991
1043
  try:
992
1044
  json_obj = json.loads(result)
@@ -1005,7 +1057,7 @@ def doDescribeTaskStatus(args, parsed_globals):
1005
1057
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1006
1058
 
1007
1059
 
1008
- def doVoicePrintEnroll(args, parsed_globals):
1060
+ def doVoicePrintVerify(args, parsed_globals):
1009
1061
  g_param = parse_global_arg(parsed_globals)
1010
1062
 
1011
1063
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1034,11 +1086,11 @@ def doVoicePrintEnroll(args, parsed_globals):
1034
1086
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
1035
1087
  client._sdkVersion += ("_CLI_" + __version__)
1036
1088
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1037
- model = models.VoicePrintEnrollRequest()
1089
+ model = models.VoicePrintVerifyRequest()
1038
1090
  model.from_json_string(json.dumps(args))
1039
1091
  start_time = time.time()
1040
1092
  while True:
1041
- rsp = client.VoicePrintEnroll(model)
1093
+ rsp = client.VoicePrintVerify(model)
1042
1094
  result = rsp.to_json_string()
1043
1095
  try:
1044
1096
  json_obj = json.loads(result)
@@ -1161,7 +1213,7 @@ def doVoicePrintDelete(args, parsed_globals):
1161
1213
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1162
1214
 
1163
1215
 
1164
- def doGetAsrVocabList(args, parsed_globals):
1216
+ def doVoicePrintUpdate(args, parsed_globals):
1165
1217
  g_param = parse_global_arg(parsed_globals)
1166
1218
 
1167
1219
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1190,11 +1242,11 @@ def doGetAsrVocabList(args, parsed_globals):
1190
1242
  client = mod.AsrClient(cred, g_param[OptionsDefine.Region], profile)
1191
1243
  client._sdkVersion += ("_CLI_" + __version__)
1192
1244
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1193
- model = models.GetAsrVocabListRequest()
1245
+ model = models.VoicePrintUpdateRequest()
1194
1246
  model.from_json_string(json.dumps(args))
1195
1247
  start_time = time.time()
1196
1248
  while True:
1197
- rsp = client.GetAsrVocabList(model)
1249
+ rsp = client.VoicePrintUpdate(model)
1198
1250
  result = rsp.to_json_string()
1199
1251
  try:
1200
1252
  json_obj = json.loads(result)
@@ -1640,13 +1692,14 @@ MODELS_MAP = {
1640
1692
  }
1641
1693
 
1642
1694
  ACTION_MAP = {
1695
+ "GetUsageByDate": doGetUsageByDate,
1643
1696
  "CreateAsrKeyWordLib": doCreateAsrKeyWordLib,
1644
1697
  "VoicePrintCompare": doVoicePrintCompare,
1645
1698
  "UpdateAsrVocab": doUpdateAsrVocab,
1646
1699
  "CreateAsyncRecognitionTask": doCreateAsyncRecognitionTask,
1647
1700
  "GetCustomizationList": doGetCustomizationList,
1648
1701
  "VoicePrintCount": doVoicePrintCount,
1649
- "VoicePrintVerify": doVoicePrintVerify,
1702
+ "GetAsrVocabList": doGetAsrVocabList,
1650
1703
  "GetAsrVocab": doGetAsrVocab,
1651
1704
  "SetVocabState": doSetVocabState,
1652
1705
  "DownloadAsrVocab": doDownloadAsrVocab,
@@ -1656,13 +1709,13 @@ ACTION_MAP = {
1656
1709
  "GetAsrKeyWordLibList": doGetAsrKeyWordLibList,
1657
1710
  "SentenceRecognition": doSentenceRecognition,
1658
1711
  "UpdateAsrKeyWordLib": doUpdateAsrKeyWordLib,
1659
- "VoicePrintUpdate": doVoicePrintUpdate,
1660
1712
  "CreateRecTask": doCreateRecTask,
1661
1713
  "DescribeTaskStatus": doDescribeTaskStatus,
1662
1714
  "VoicePrintEnroll": doVoicePrintEnroll,
1715
+ "VoicePrintVerify": doVoicePrintVerify,
1663
1716
  "DescribeAsyncRecognitionTasks": doDescribeAsyncRecognitionTasks,
1664
1717
  "VoicePrintDelete": doVoicePrintDelete,
1665
- "GetAsrVocabList": doGetAsrVocabList,
1718
+ "VoicePrintUpdate": doVoicePrintUpdate,
1666
1719
  "ModifyCustomization": doModifyCustomization,
1667
1720
  "CloseAsyncRecognitionTask": doCloseAsyncRecognitionTask,
1668
1721
  "GetModelInfo": doGetModelInfo,
@@ -126,6 +126,13 @@
126
126
  "output": "GetModelInfoResponse",
127
127
  "status": "online"
128
128
  },
129
+ "GetUsageByDate": {
130
+ "document": "查询用户用量",
131
+ "input": "GetUsageByDateRequest",
132
+ "name": "通过日期查询用量",
133
+ "output": "GetUsageByDateResponse",
134
+ "status": "online"
135
+ },
129
136
  "ModifyCustomization": {
130
137
  "document": "用户通过该接口可以更新自学习模型,如模型名称、模型类型、模型语料。",
131
138
  "input": "ModifyCustomizationRequest",
@@ -1386,6 +1393,61 @@
1386
1393
  ],
1387
1394
  "type": "object"
1388
1395
  },
1396
+ "GetUsageByDateRequest": {
1397
+ "document": "GetUsageByDate请求参数结构体",
1398
+ "members": [
1399
+ {
1400
+ "disabled": false,
1401
+ "document": "需要查询的业务类型名字列表\n- asr_rt 实时识别\n- asr_rec 录音文件识别",
1402
+ "example": "[\"asr_rec\"]",
1403
+ "member": "string",
1404
+ "name": "BizNameList",
1405
+ "required": true,
1406
+ "type": "list"
1407
+ },
1408
+ {
1409
+ "disabled": false,
1410
+ "document": "查询开始时间\n开始时间包含当天,支持 YYYY-MM-DD 日期以国内时区为准\n开始时间到结束时间需要在3个月以内",
1411
+ "example": "2024-09-01",
1412
+ "member": "string",
1413
+ "name": "StartDate",
1414
+ "required": true,
1415
+ "type": "string"
1416
+ },
1417
+ {
1418
+ "disabled": false,
1419
+ "document": "查询结束时间\n结束时间包含当天,,支持 YYYY-MM-DD 日期以国内时区为准\n开始时间到结束时间需要在3个月以内",
1420
+ "example": "2024-09-06",
1421
+ "member": "string",
1422
+ "name": "EndDate",
1423
+ "required": true,
1424
+ "type": "string"
1425
+ }
1426
+ ],
1427
+ "type": "object"
1428
+ },
1429
+ "GetUsageByDateResponse": {
1430
+ "document": "GetUsageByDate返回参数结构体",
1431
+ "members": [
1432
+ {
1433
+ "disabled": false,
1434
+ "document": "用量次数",
1435
+ "example": "无",
1436
+ "member": "UsageByDateInfoData",
1437
+ "name": "Data",
1438
+ "output_required": true,
1439
+ "type": "object",
1440
+ "value_allowed_null": false
1441
+ },
1442
+ {
1443
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1444
+ "member": "string",
1445
+ "name": "RequestId",
1446
+ "type": "string"
1447
+ }
1448
+ ],
1449
+ "type": "object"
1450
+ },
1389
1451
  "HotWord": {
1390
1452
  "document": "[热词的词和权重](https://cloud.tencent.com/document/product/1093/41111#2.-.E8.BE.93.E5.85.A5.E5.8F.82.E6.95.B0)",
1391
1453
  "members": [
@@ -2443,6 +2505,62 @@
2443
2505
  ],
2444
2506
  "type": "object"
2445
2507
  },
2508
+ "UsageByDateInfo": {
2509
+ "document": "用户用量信息",
2510
+ "members": [
2511
+ {
2512
+ "disabled": false,
2513
+ "document": "业务类型名称\n注意:此字段可能返回 null,表示取不到有效值。",
2514
+ "example": "1",
2515
+ "member": "string",
2516
+ "name": "BizName",
2517
+ "output_required": false,
2518
+ "required": false,
2519
+ "type": "string",
2520
+ "value_allowed_null": true
2521
+ },
2522
+ {
2523
+ "disabled": false,
2524
+ "document": "识别次数\n单位:次\n注意:此字段可能返回 null,表示取不到有效值。",
2525
+ "example": "1",
2526
+ "member": "uint64",
2527
+ "name": "Count",
2528
+ "output_required": false,
2529
+ "required": false,
2530
+ "type": "int",
2531
+ "value_allowed_null": true
2532
+ },
2533
+ {
2534
+ "disabled": false,
2535
+ "document": "识别时长\n单位:秒\n注意:此字段可能返回 null,表示取不到有效值。",
2536
+ "example": "1",
2537
+ "member": "uint64",
2538
+ "name": "Duration",
2539
+ "output_required": false,
2540
+ "required": false,
2541
+ "type": "int",
2542
+ "value_allowed_null": true
2543
+ }
2544
+ ],
2545
+ "usage": "both"
2546
+ },
2547
+ "UsageByDateInfoData": {
2548
+ "document": "用户用量信息",
2549
+ "members": [
2550
+ {
2551
+ "disabled": false,
2552
+ "document": "用量信息列表\n注意:此字段可能返回 null,表示取不到有效值。",
2553
+ "example": "无",
2554
+ "member": "UsageByDateInfo",
2555
+ "name": "UsageByDateInfoList",
2556
+ "output_required": false,
2557
+ "required": false,
2558
+ "type": "list",
2559
+ "value_allowed_null": true
2560
+ }
2561
+ ],
2562
+ "usage": "both"
2563
+ },
2446
2564
  "VerifyTop": {
2447
2565
  "document": "声纹组对比结果top数据",
2448
2566
  "members": [
@@ -168,6 +168,14 @@
168
168
  "title": "通过模型id获取模型信息"
169
169
  }
170
170
  ],
171
+ "GetUsageByDate": [
172
+ {
173
+ "document": "需要查询8月份录音识别和实时识别的用量",
174
+ "input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUsageByDate\n<公共请求参数>\n\n{\n \"BizNameList\": [\n \"asr_rt\",\n \"asr_rec\"\n ],\n \"StartDate\": \"2024-08-01\",\n \"EndDate\": \"2024-08-31\"\n}",
175
+ "output": "{\n \"Response\": {\n \"Data\": {\n \"UsageByDateInfoList\": [\n {\n \"BizName\": \"asr_rt\",\n \"Count\": 0,\n \"Duration\": 0\n },\n {\n \"BizName\": \"asr_rec\",\n \"Count\": 47,\n \"Duration\": 351\n }\n ]\n },\n \"RequestId\": \"877e8723-792b-4b4e-a8c0-57bece96b7f0\"\n }\n}",
176
+ "title": "用量查询输入示例"
177
+ }
178
+ ],
171
179
  "ModifyCustomization": [
172
180
  {
173
181
  "document": "修改",
@@ -6992,6 +6992,7 @@
6992
6992
  "example": "False",
6993
6993
  "member": "bool",
6994
6994
  "name": "ReplaceMonitorUnhealthy",
6995
+ "output_required": true,
6995
6996
  "required": false,
6996
6997
  "type": "bool",
6997
6998
  "value_allowed_null": false
@@ -7002,6 +7003,7 @@
7002
7003
  "example": "CLASSIC_SCALING",
7003
7004
  "member": "string",
7004
7005
  "name": "ScalingMode",
7006
+ "output_required": true,
7005
7007
  "required": false,
7006
7008
  "type": "string",
7007
7009
  "value_allowed_null": false
@@ -7012,9 +7014,21 @@
7012
7014
  "example": "False",
7013
7015
  "member": "bool",
7014
7016
  "name": "ReplaceLoadBalancerUnhealthy",
7017
+ "output_required": true,
7015
7018
  "required": false,
7016
7019
  "type": "bool",
7017
7020
  "value_allowed_null": false
7021
+ },
7022
+ {
7023
+ "disabled": false,
7024
+ "document": "不健康替换服务的替换模式。取值范围:\nRECREATE:重建实例替代原有不健康实例;\nRESET:对原有不健康实例进行重装系统操作,可保持数据盘、内网IP、实例id等信息不发生变化,实例登录设置、主机名、增强服务和 UserData 与当前启动配置保持一致。\n默认取值:RECREATE\n注意:此字段可能返回 null,表示取不到有效值。",
7025
+ "example": "RECREATE",
7026
+ "member": "string",
7027
+ "name": "ReplaceMode",
7028
+ "output_required": true,
7029
+ "required": false,
7030
+ "type": "string",
7031
+ "value_allowed_null": true
7018
7032
  }
7019
7033
  ],
7020
7034
  "usage": "both"
@@ -1544,6 +1544,15 @@
1544
1544
  "name": "Issue",
1545
1545
  "required": false,
1546
1546
  "type": "string"
1547
+ },
1548
+ {
1549
+ "disabled": false,
1550
+ "document": "演练记录",
1551
+ "example": "演练记录",
1552
+ "member": "string",
1553
+ "name": "Record",
1554
+ "required": false,
1555
+ "type": "string"
1547
1556
  }
1548
1557
  ],
1549
1558
  "type": "object"