tccli 3.0.1268.1__py2.py3-none-any.whl → 3.0.1269.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +5 -1
  3. tccli/services/aiart/aiart_client.py +106 -0
  4. tccli/services/aiart/v20221229/api.json +275 -0
  5. tccli/services/aiart/v20221229/examples.json +16 -0
  6. tccli/services/billing/billing_client.py +4 -163
  7. tccli/services/billing/v20180709/api.json +0 -489
  8. tccli/services/billing/v20180709/examples.json +0 -24
  9. tccli/services/cat/v20180409/api.json +3 -1
  10. tccli/services/cbs/v20170312/api.json +9 -0
  11. tccli/services/ccc/v20200210/api.json +11 -11
  12. tccli/services/ccc/v20200210/examples.json +2 -2
  13. tccli/services/cdb/v20170320/api.json +48 -18
  14. tccli/services/cfw/v20190904/api.json +30 -30
  15. tccli/services/ckafka/v20190819/api.json +10 -0
  16. tccli/services/csip/v20221121/api.json +38 -38
  17. tccli/services/cwp/cwp_client.py +4 -57
  18. tccli/services/cwp/v20180228/api.json +0 -184
  19. tccli/services/cwp/v20180228/examples.json +0 -8
  20. tccli/services/cynosdb/v20190107/api.json +1 -1
  21. tccli/services/cynosdb/v20190107/examples.json +1 -1
  22. tccli/services/dcdb/dcdb_client.py +122 -16
  23. tccli/services/dcdb/v20180411/api.json +222 -0
  24. tccli/services/dcdb/v20180411/examples.json +16 -0
  25. tccli/services/dlc/v20210125/api.json +145 -26
  26. tccli/services/dlc/v20210125/examples.json +18 -18
  27. tccli/services/domain/v20180808/api.json +8 -8
  28. tccli/services/domain/v20180808/examples.json +3 -3
  29. tccli/services/es/v20180416/api.json +9 -9
  30. tccli/services/ess/v20201111/api.json +1 -1
  31. tccli/services/essbasic/v20210526/api.json +3 -3
  32. tccli/services/essbasic/v20210526/examples.json +2 -2
  33. tccli/services/facefusion/v20220927/api.json +4 -4
  34. tccli/services/faceid/v20180301/api.json +5 -5
  35. tccli/services/faceid/v20180301/examples.json +6 -0
  36. tccli/services/gme/v20180711/api.json +118 -115
  37. tccli/services/gme/v20180711/examples.json +6 -6
  38. tccli/services/hunyuan/v20230901/api.json +9 -0
  39. tccli/services/iotexplorer/v20190423/api.json +4 -4
  40. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  41. tccli/services/keewidb/v20220308/api.json +2 -2
  42. tccli/services/lcic/v20220817/api.json +177 -177
  43. tccli/services/lcic/v20220817/examples.json +2 -2
  44. tccli/services/lighthouse/v20200324/api.json +76 -67
  45. tccli/services/live/v20180801/api.json +1 -1
  46. tccli/services/lke/v20231130/api.json +31 -0
  47. tccli/services/lkeap/v20240522/api.json +55 -9
  48. tccli/services/lkeap/v20240522/examples.json +1 -1
  49. tccli/services/mna/mna_client.py +106 -0
  50. tccli/services/mna/v20210119/api.json +246 -0
  51. tccli/services/mna/v20210119/examples.json +16 -0
  52. tccli/services/monitor/monitor_client.py +62 -57
  53. tccli/services/monitor/v20230616/api.json +266 -0
  54. tccli/services/monitor/v20230616/examples.json +19 -0
  55. tccli/services/mqtt/mqtt_client.py +489 -12
  56. tccli/services/mqtt/v20240516/api.json +864 -3
  57. tccli/services/mqtt/v20240516/examples.json +72 -0
  58. tccli/services/ocr/ocr_client.py +53 -0
  59. tccli/services/ocr/v20181119/api.json +246 -1
  60. tccli/services/ocr/v20181119/examples.json +8 -0
  61. tccli/services/postgres/postgres_client.py +334 -16
  62. tccli/services/postgres/v20170312/api.json +717 -34
  63. tccli/services/postgres/v20170312/examples.json +72 -0
  64. tccli/services/ssl/v20191205/api.json +496 -493
  65. tccli/services/ssl/v20191205/examples.json +144 -24
  66. tccli/services/taf/taf_client.py +0 -159
  67. tccli/services/taf/v20200210/api.json +0 -665
  68. tccli/services/taf/v20200210/examples.json +0 -24
  69. tccli/services/teo/v20220901/api.json +2 -2
  70. tccli/services/tione/v20211111/api.json +14 -3
  71. tccli/services/trabbit/__init__.py +4 -0
  72. tccli/services/trabbit/trabbit_client.py +1691 -0
  73. tccli/services/trabbit/v20230418/api.json +4773 -0
  74. tccli/services/trabbit/v20230418/examples.json +237 -0
  75. tccli/services/trtc/v20190722/api.json +8 -8
  76. tccli/services/trtc/v20190722/examples.json +2 -2
  77. tccli/services/vclm/v20240523/api.json +0 -450
  78. tccli/services/vclm/v20240523/examples.json +0 -48
  79. tccli/services/vclm/vclm_client.py +0 -159
  80. tccli/services/wedata/v20210820/api.json +211 -33
  81. tccli/services/wedata/v20210820/examples.json +14 -0
  82. tccli/services/wedata/wedata_client.py +53 -0
  83. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  84. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +87 -81
  85. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  86. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  87. {tccli-3.0.1268.1.dist-info → tccli-3.0.1269.1.dist-info}/license_files/LICENSE +0 -0
@@ -17,110 +17,6 @@ from tencentcloud.vclm.v20240523 import models as models_v20240523
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
- def doSubmitVideoTranslateJob(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.VclmClient(cred, g_param[OptionsDefine.Region], profile)
47
- client._sdkVersion += ("_CLI_" + __version__)
48
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
- model = models.SubmitVideoTranslateJobRequest()
50
- model.from_json_string(json.dumps(args))
51
- start_time = time.time()
52
- while True:
53
- rsp = client.SubmitVideoTranslateJob(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
-
72
- def doDescribeVideoTranslateJob(args, parsed_globals):
73
- g_param = parse_global_arg(parsed_globals)
74
-
75
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
76
- cred = credential.CVMRoleCredential()
77
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
78
- cred = credential.STSAssumeRoleCredential(
79
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
80
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
81
- )
82
- 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):
83
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
84
- else:
85
- cred = credential.Credential(
86
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
87
- )
88
- http_profile = HttpProfile(
89
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
90
- reqMethod="POST",
91
- endpoint=g_param[OptionsDefine.Endpoint],
92
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
93
- )
94
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
95
- if g_param[OptionsDefine.Language]:
96
- profile.language = g_param[OptionsDefine.Language]
97
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
98
- client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
99
- client._sdkVersion += ("_CLI_" + __version__)
100
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
101
- model = models.DescribeVideoTranslateJobRequest()
102
- model.from_json_string(json.dumps(args))
103
- start_time = time.time()
104
- while True:
105
- rsp = client.DescribeVideoTranslateJob(model)
106
- result = rsp.to_json_string()
107
- try:
108
- json_obj = json.loads(result)
109
- except TypeError as e:
110
- json_obj = json.loads(result.decode('utf-8')) # python3.3
111
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
112
- break
113
- cur_time = time.time()
114
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
115
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
116
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
117
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
118
- else:
119
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
120
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
121
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
122
-
123
-
124
20
  def doSubmitVideoStylizationJob(args, parsed_globals):
125
21
  g_param = parse_global_arg(parsed_globals)
126
22
 
@@ -225,58 +121,6 @@ def doSubmitPortraitSingJob(args, parsed_globals):
225
121
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
122
 
227
123
 
228
- def doConfirmVideoTranslateJob(args, parsed_globals):
229
- g_param = parse_global_arg(parsed_globals)
230
-
231
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
232
- cred = credential.CVMRoleCredential()
233
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
234
- cred = credential.STSAssumeRoleCredential(
235
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
236
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
237
- )
238
- 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):
239
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
240
- else:
241
- cred = credential.Credential(
242
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
243
- )
244
- http_profile = HttpProfile(
245
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
246
- reqMethod="POST",
247
- endpoint=g_param[OptionsDefine.Endpoint],
248
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
249
- )
250
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
251
- if g_param[OptionsDefine.Language]:
252
- profile.language = g_param[OptionsDefine.Language]
253
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
254
- client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
255
- client._sdkVersion += ("_CLI_" + __version__)
256
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
- model = models.ConfirmVideoTranslateJobRequest()
258
- model.from_json_string(json.dumps(args))
259
- start_time = time.time()
260
- while True:
261
- rsp = client.ConfirmVideoTranslateJob(model)
262
- result = rsp.to_json_string()
263
- try:
264
- json_obj = json.loads(result)
265
- except TypeError as e:
266
- json_obj = json.loads(result.decode('utf-8')) # python3.3
267
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
268
- break
269
- cur_time = time.time()
270
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
271
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
272
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
273
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
274
- else:
275
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
276
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
277
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
-
279
-
280
124
  def doDescribePortraitSingJob(args, parsed_globals):
281
125
  g_param = parse_global_arg(parsed_globals)
282
126
 
@@ -548,11 +392,8 @@ MODELS_MAP = {
548
392
  }
549
393
 
550
394
  ACTION_MAP = {
551
- "SubmitVideoTranslateJob": doSubmitVideoTranslateJob,
552
- "DescribeVideoTranslateJob": doDescribeVideoTranslateJob,
553
395
  "SubmitVideoStylizationJob": doSubmitVideoStylizationJob,
554
396
  "SubmitPortraitSingJob": doSubmitPortraitSingJob,
555
- "ConfirmVideoTranslateJob": doConfirmVideoTranslateJob,
556
397
  "DescribePortraitSingJob": doDescribePortraitSingJob,
557
398
  "DescribeImageAnimateJob": doDescribeImageAnimateJob,
558
399
  "SubmitImageAnimateJob": doSubmitImageAnimateJob,
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "actions": {
3
+ "AddProjectUserRole": {
4
+ "document": "添加项目用户角色",
5
+ "input": "AddProjectUserRoleRequest",
6
+ "name": "添加项目用户角色",
7
+ "output": "AddProjectUserRoleResponse",
8
+ "status": "online"
9
+ },
3
10
  "BatchCreateIntegrationTaskAlarms": {
4
11
  "document": "批量创建任务告警规则",
5
12
  "input": "BatchCreateIntegrationTaskAlarmsRequest",
@@ -1695,6 +1702,23 @@
1695
1702
  "serviceShortName": "wedata"
1696
1703
  },
1697
1704
  "objects": {
1705
+ "AddProjectUserRoleRequest": {
1706
+ "document": "AddProjectUserRole请求参数结构体",
1707
+ "members": [],
1708
+ "type": "object"
1709
+ },
1710
+ "AddProjectUserRoleResponse": {
1711
+ "document": "AddProjectUserRole返回参数结构体",
1712
+ "members": [
1713
+ {
1714
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1715
+ "member": "string",
1716
+ "name": "RequestId",
1717
+ "type": "string"
1718
+ }
1719
+ ],
1720
+ "type": "object"
1721
+ },
1698
1722
  "AdhocDetail": {
1699
1723
  "document": "子任务记录",
1700
1724
  "members": [
@@ -9709,6 +9733,100 @@
9709
9733
  ],
9710
9734
  "usage": "out"
9711
9735
  },
9736
+ "DataSourceEnvInfo": {
9737
+ "document": "数据源环境信息",
9738
+ "members": [
9739
+ {
9740
+ "disabled": false,
9741
+ "document": "环境\n注意:此字段可能返回 null,表示取不到有效值。",
9742
+ "example": "production",
9743
+ "member": "string",
9744
+ "name": "Env",
9745
+ "output_required": false,
9746
+ "required": false,
9747
+ "type": "string",
9748
+ "value_allowed_null": true
9749
+ },
9750
+ {
9751
+ "disabled": false,
9752
+ "document": "数据源类型\n注意:此字段可能返回 null,表示取不到有效值。",
9753
+ "example": "hive",
9754
+ "member": "string",
9755
+ "name": "DataSourceType",
9756
+ "output_required": false,
9757
+ "required": false,
9758
+ "type": "string",
9759
+ "value_allowed_null": true
9760
+ },
9761
+ {
9762
+ "disabled": false,
9763
+ "document": "集群id\n注意:此字段可能返回 null,表示取不到有效值。",
9764
+ "example": "emr-asf418ag",
9765
+ "member": "string",
9766
+ "name": "ClusterId",
9767
+ "output_required": false,
9768
+ "required": false,
9769
+ "type": "string",
9770
+ "value_allowed_null": true
9771
+ },
9772
+ {
9773
+ "disabled": false,
9774
+ "document": "配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
9775
+ "example": "\t{\"key\":\"value\"}",
9776
+ "member": "string",
9777
+ "name": "Params",
9778
+ "output_required": false,
9779
+ "required": false,
9780
+ "type": "string",
9781
+ "value_allowed_null": true
9782
+ },
9783
+ {
9784
+ "disabled": false,
9785
+ "document": "项目id\n注意:此字段可能返回 null,表示取不到有效值。",
9786
+ "example": "156431984651549",
9787
+ "member": "string",
9788
+ "name": "ProjectId",
9789
+ "output_required": false,
9790
+ "required": false,
9791
+ "type": "string",
9792
+ "value_allowed_null": true
9793
+ },
9794
+ {
9795
+ "disabled": false,
9796
+ "document": "数据源id\n注意:此字段可能返回 null,表示取不到有效值。",
9797
+ "example": "1235",
9798
+ "member": "string",
9799
+ "name": "DataSourceId",
9800
+ "output_required": false,
9801
+ "required": false,
9802
+ "type": "string",
9803
+ "value_allowed_null": true
9804
+ },
9805
+ {
9806
+ "disabled": false,
9807
+ "document": "env环境的数据源id\n注意:此字段可能返回 null,表示取不到有效值。",
9808
+ "example": "6546",
9809
+ "member": "string",
9810
+ "name": "EnvDataSourceId",
9811
+ "output_required": false,
9812
+ "required": false,
9813
+ "type": "string",
9814
+ "value_allowed_null": true
9815
+ },
9816
+ {
9817
+ "disabled": false,
9818
+ "document": "配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
9819
+ "example": "\t{\"key\":\"value\"}",
9820
+ "member": "string",
9821
+ "name": "BizParams",
9822
+ "output_required": false,
9823
+ "required": false,
9824
+ "type": "string",
9825
+ "value_allowed_null": true
9826
+ }
9827
+ ],
9828
+ "usage": "both"
9829
+ },
9712
9830
  "DataSourceInfo": {
9713
9831
  "document": "数据源对象",
9714
9832
  "members": [
@@ -9718,7 +9836,7 @@
9718
9836
  "example": "default",
9719
9837
  "member": "string",
9720
9838
  "name": "DatabaseName",
9721
- "output_required": true,
9839
+ "output_required": false,
9722
9840
  "type": "string",
9723
9841
  "value_allowed_null": true
9724
9842
  },
@@ -9728,7 +9846,7 @@
9728
9846
  "example": "Desc",
9729
9847
  "member": "string",
9730
9848
  "name": "Description",
9731
- "output_required": true,
9849
+ "output_required": false,
9732
9850
  "type": "string",
9733
9851
  "value_allowed_null": true
9734
9852
  },
@@ -9738,7 +9856,7 @@
9738
9856
  "example": "10035",
9739
9857
  "member": "uint64",
9740
9858
  "name": "ID",
9741
- "output_required": true,
9859
+ "output_required": false,
9742
9860
  "type": "int",
9743
9861
  "value_allowed_null": true
9744
9862
  },
@@ -9748,7 +9866,7 @@
9748
9866
  "example": "null",
9749
9867
  "member": "string",
9750
9868
  "name": "Instance",
9751
- "output_required": true,
9869
+ "output_required": false,
9752
9870
  "type": "string",
9753
9871
  "value_allowed_null": true
9754
9872
  },
@@ -9758,7 +9876,7 @@
9758
9876
  "example": "mysql_test",
9759
9877
  "member": "string",
9760
9878
  "name": "Name",
9761
- "output_required": true,
9879
+ "output_required": false,
9762
9880
  "type": "string",
9763
9881
  "value_allowed_null": true
9764
9882
  },
@@ -9768,7 +9886,7 @@
9768
9886
  "example": "beijing",
9769
9887
  "member": "string",
9770
9888
  "name": "Region",
9771
- "output_required": true,
9889
+ "output_required": false,
9772
9890
  "type": "string",
9773
9891
  "value_allowed_null": true
9774
9892
  },
@@ -9778,7 +9896,7 @@
9778
9896
  "example": "MYSQL",
9779
9897
  "member": "string",
9780
9898
  "name": "Type",
9781
- "output_required": true,
9899
+ "output_required": false,
9782
9900
  "type": "string",
9783
9901
  "value_allowed_null": true
9784
9902
  },
@@ -9788,7 +9906,7 @@
9788
9906
  "example": "cdb-xxx",
9789
9907
  "member": "string",
9790
9908
  "name": "ClusterId",
9791
- "output_required": true,
9909
+ "output_required": false,
9792
9910
  "type": "string",
9793
9911
  "value_allowed_null": true
9794
9912
  },
@@ -9798,7 +9916,7 @@
9798
9916
  "example": "87654321345678",
9799
9917
  "member": "uint64",
9800
9918
  "name": "AppId",
9801
- "output_required": true,
9919
+ "output_required": false,
9802
9920
  "type": "int",
9803
9921
  "value_allowed_null": true
9804
9922
  },
@@ -9808,7 +9926,7 @@
9808
9926
  "example": "{\"key\":\"value\"}",
9809
9927
  "member": "string",
9810
9928
  "name": "BizParams",
9811
- "output_required": true,
9929
+ "output_required": false,
9812
9930
  "type": "string",
9813
9931
  "value_allowed_null": true
9814
9932
  },
@@ -9818,7 +9936,7 @@
9818
9936
  "example": "DB",
9819
9937
  "member": "string",
9820
9938
  "name": "Category",
9821
- "output_required": true,
9939
+ "output_required": false,
9822
9940
  "type": "string",
9823
9941
  "value_allowed_null": true
9824
9942
  },
@@ -9828,7 +9946,7 @@
9828
9946
  "example": "test",
9829
9947
  "member": "string",
9830
9948
  "name": "Display",
9831
- "output_required": true,
9949
+ "output_required": false,
9832
9950
  "type": "string",
9833
9951
  "value_allowed_null": true
9834
9952
  },
@@ -9838,7 +9956,7 @@
9838
9956
  "example": "100653484",
9839
9957
  "member": "string",
9840
9958
  "name": "OwnerAccount",
9841
- "output_required": true,
9959
+ "output_required": false,
9842
9960
  "type": "string",
9843
9961
  "value_allowed_null": true
9844
9962
  },
@@ -9848,7 +9966,7 @@
9848
9966
  "example": "{\"key\":\"value\"}",
9849
9967
  "member": "string",
9850
9968
  "name": "Params",
9851
- "output_required": true,
9969
+ "output_required": false,
9852
9970
  "type": "string",
9853
9971
  "value_allowed_null": true
9854
9972
  },
@@ -9858,7 +9976,7 @@
9858
9976
  "example": "1",
9859
9977
  "member": "uint64",
9860
9978
  "name": "Status",
9861
- "output_required": true,
9979
+ "output_required": false,
9862
9980
  "type": "int",
9863
9981
  "value_allowed_null": true
9864
9982
  },
@@ -9868,7 +9986,7 @@
9868
9986
  "example": "admin",
9869
9987
  "member": "string",
9870
9988
  "name": "OwnerAccountName",
9871
- "output_required": true,
9989
+ "output_required": false,
9872
9990
  "type": "string",
9873
9991
  "value_allowed_null": true
9874
9992
  },
@@ -9878,7 +9996,7 @@
9878
9996
  "example": "emr-7ih89qvf",
9879
9997
  "member": "string",
9880
9998
  "name": "ClusterName",
9881
- "output_required": true,
9999
+ "output_required": false,
9882
10000
  "type": "string",
9883
10001
  "value_allowed_null": true
9884
10002
  },
@@ -9888,7 +10006,7 @@
9888
10006
  "example": "1",
9889
10007
  "member": "string",
9890
10008
  "name": "OwnerProjectId",
9891
- "output_required": true,
10009
+ "output_required": false,
9892
10010
  "type": "string",
9893
10011
  "value_allowed_null": true
9894
10012
  },
@@ -9898,7 +10016,7 @@
9898
10016
  "example": "test",
9899
10017
  "member": "string",
9900
10018
  "name": "OwnerProjectName",
9901
- "output_required": true,
10019
+ "output_required": false,
9902
10020
  "type": "string",
9903
10021
  "value_allowed_null": true
9904
10022
  },
@@ -9908,7 +10026,7 @@
9908
10026
  "example": "test_ident",
9909
10027
  "member": "string",
9910
10028
  "name": "OwnerProjectIdent",
9911
- "output_required": true,
10029
+ "output_required": false,
9912
10030
  "type": "string",
9913
10031
  "value_allowed_null": true
9914
10032
  },
@@ -9918,7 +10036,7 @@
9918
10036
  "example": "test",
9919
10037
  "member": "string",
9920
10038
  "name": "AuthorityProjectName",
9921
- "output_required": true,
10039
+ "output_required": false,
9922
10040
  "type": "string",
9923
10041
  "value_allowed_null": true
9924
10042
  },
@@ -9928,7 +10046,7 @@
9928
10046
  "example": "aaasdg",
9929
10047
  "member": "string",
9930
10048
  "name": "AuthorityUserName",
9931
- "output_required": true,
10049
+ "output_required": false,
9932
10050
  "type": "string",
9933
10051
  "value_allowed_null": true
9934
10052
  },
@@ -9938,7 +10056,7 @@
9938
10056
  "example": "true",
9939
10057
  "member": "bool",
9940
10058
  "name": "Edit",
9941
- "output_required": true,
10059
+ "output_required": false,
9942
10060
  "type": "bool",
9943
10061
  "value_allowed_null": true
9944
10062
  },
@@ -9948,7 +10066,7 @@
9948
10066
  "example": "true",
9949
10067
  "member": "bool",
9950
10068
  "name": "Author",
9951
- "output_required": true,
10069
+ "output_required": false,
9952
10070
  "type": "bool",
9953
10071
  "value_allowed_null": true
9954
10072
  },
@@ -9958,7 +10076,7 @@
9958
10076
  "example": "true",
9959
10077
  "member": "bool",
9960
10078
  "name": "Deliver",
9961
- "output_required": true,
10079
+ "output_required": false,
9962
10080
  "type": "bool",
9963
10081
  "value_allowed_null": true
9964
10082
  },
@@ -9968,7 +10086,7 @@
9968
10086
  "example": "Available",
9969
10087
  "member": "string",
9970
10088
  "name": "DataSourceStatus",
9971
- "output_required": true,
10089
+ "output_required": false,
9972
10090
  "type": "string",
9973
10091
  "value_allowed_null": true
9974
10092
  },
@@ -9978,7 +10096,7 @@
9978
10096
  "example": "1712823812655",
9979
10097
  "member": "int64",
9980
10098
  "name": "CreateTime",
9981
- "output_required": true,
10099
+ "output_required": false,
9982
10100
  "type": "int",
9983
10101
  "value_allowed_null": true
9984
10102
  },
@@ -9988,7 +10106,7 @@
9988
10106
  "example": "123",
9989
10107
  "member": "string",
9990
10108
  "name": "ParamsString",
9991
- "output_required": true,
10109
+ "output_required": false,
9992
10110
  "type": "string",
9993
10111
  "value_allowed_null": true
9994
10112
  },
@@ -9998,7 +10116,7 @@
9998
10116
  "example": "123",
9999
10117
  "member": "string",
10000
10118
  "name": "BizParamsString",
10001
- "output_required": true,
10119
+ "output_required": false,
10002
10120
  "type": "string",
10003
10121
  "value_allowed_null": true
10004
10122
  },
@@ -10008,7 +10126,7 @@
10008
10126
  "example": "123",
10009
10127
  "member": "int64",
10010
10128
  "name": "ModifiedTime",
10011
- "output_required": true,
10129
+ "output_required": false,
10012
10130
  "type": "int",
10013
10131
  "value_allowed_null": true
10014
10132
  },
@@ -10018,7 +10136,7 @@
10018
10136
  "example": "MYSQL",
10019
10137
  "member": "string",
10020
10138
  "name": "ShowType",
10021
- "output_required": true,
10139
+ "output_required": false,
10022
10140
  "type": "string",
10023
10141
  "value_allowed_null": true
10024
10142
  },
@@ -10055,12 +10173,62 @@
10055
10173
  {
10056
10174
  "disabled": false,
10057
10175
  "document": "数据源连接状态\n注意:此字段可能返回 null,表示取不到有效值。",
10058
- "example": "111",
10176
+ "example": "1",
10059
10177
  "member": "DataSourceConnectStatus",
10060
10178
  "name": "ConnectStatus",
10061
10179
  "output_required": false,
10062
10180
  "type": "object",
10063
10181
  "value_allowed_null": true
10182
+ },
10183
+ {
10184
+ "disabled": false,
10185
+ "document": "数据源展示类型\n注意:此字段可能返回 null,表示取不到有效值。",
10186
+ "example": "hive",
10187
+ "member": "string",
10188
+ "name": "DisplayType",
10189
+ "output_required": false,
10190
+ "type": "string",
10191
+ "value_allowed_null": true
10192
+ },
10193
+ {
10194
+ "disabled": false,
10195
+ "document": "数据源环境\n注意:此字段可能返回 null,表示取不到有效值。",
10196
+ "example": "production",
10197
+ "member": "string",
10198
+ "name": "Env",
10199
+ "output_required": false,
10200
+ "type": "string",
10201
+ "value_allowed_null": true
10202
+ },
10203
+ {
10204
+ "disabled": false,
10205
+ "document": "数据源唯一标识\n注意:此字段可能返回 null,表示取不到有效值。",
10206
+ "example": "13653851789HIVEemr-3hkbg9ej",
10207
+ "member": "string",
10208
+ "name": "DatasourceUrn",
10209
+ "output_required": false,
10210
+ "type": "string",
10211
+ "value_allowed_null": true
10212
+ },
10213
+ {
10214
+ "disabled": false,
10215
+ "document": "是否标准模式\n注意:此字段可能返回 null,表示取不到有效值。",
10216
+ "example": "simple",
10217
+ "member": "string",
10218
+ "name": "Model",
10219
+ "output_required": false,
10220
+ "type": "string",
10221
+ "value_allowed_null": true
10222
+ },
10223
+ {
10224
+ "disabled": false,
10225
+ "document": " 数据源环境信息\n注意:此字段可能返回 null,表示取不到有效值。",
10226
+ "example": "{ \"Env\": \"production\"}",
10227
+ "member": "DataSourceEnvInfo",
10228
+ "name": "DataSourceEnvInfos",
10229
+ "output_required": false,
10230
+ "type": "list",
10231
+ "value_allowed_null": true
10064
10232
  }
10065
10233
  ],
10066
10234
  "usage": "out"
@@ -33885,7 +34053,7 @@
33885
34053
  {
33886
34054
  "disabled": false,
33887
34055
  "document": "项目的额外配置参数\n注意:此字段可能返回 null,表示取不到有效值。",
33888
- "example": "{}",
34056
+ "example": "{etr='a'}",
33889
34057
  "member": "string",
33890
34058
  "name": "Params",
33891
34059
  "output_required": true,
@@ -33911,6 +34079,16 @@
33911
34079
  "output_required": false,
33912
34080
  "type": "string",
33913
34081
  "value_allowed_null": true
34082
+ },
34083
+ {
34084
+ "disabled": false,
34085
+ "document": "二级菜单\n注意:此字段可能返回 null,表示取不到有效值。",
34086
+ "example": "[101101,101102]",
34087
+ "member": "string",
34088
+ "name": "SecondModuleList",
34089
+ "output_required": false,
34090
+ "type": "list",
34091
+ "value_allowed_null": true
33914
34092
  }
33915
34093
  ],
33916
34094
  "usage": "out"