tccli 3.0.1267.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 (101) 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/antiddos/v20200309/api.json +194 -136
  7. tccli/services/antiddos/v20200309/examples.json +15 -15
  8. tccli/services/bi/v20220105/api.json +1 -1
  9. tccli/services/billing/billing_client.py +4 -163
  10. tccli/services/billing/v20180709/api.json +0 -489
  11. tccli/services/billing/v20180709/examples.json +0 -24
  12. tccli/services/cat/v20180409/api.json +3 -1
  13. tccli/services/cbs/v20170312/api.json +27 -0
  14. tccli/services/ccc/v20200210/api.json +11 -11
  15. tccli/services/ccc/v20200210/examples.json +2 -2
  16. tccli/services/cdb/v20170320/api.json +48 -18
  17. tccli/services/cdn/v20180606/api.json +3 -0
  18. tccli/services/cfw/v20190904/api.json +30 -30
  19. tccli/services/ckafka/v20190819/api.json +10 -0
  20. tccli/services/cloudaudit/v20190319/api.json +3 -3
  21. tccli/services/cloudaudit/v20190319/examples.json +1 -1
  22. tccli/services/csip/v20221121/api.json +38 -38
  23. tccli/services/cwp/cwp_client.py +4 -57
  24. tccli/services/cwp/v20180228/api.json +11 -185
  25. tccli/services/cwp/v20180228/examples.json +0 -8
  26. tccli/services/cynosdb/v20190107/api.json +1 -1
  27. tccli/services/cynosdb/v20190107/examples.json +1 -1
  28. tccli/services/dcdb/dcdb_client.py +122 -16
  29. tccli/services/dcdb/v20180411/api.json +222 -0
  30. tccli/services/dcdb/v20180411/examples.json +16 -0
  31. tccli/services/dlc/v20210125/api.json +145 -26
  32. tccli/services/dlc/v20210125/examples.json +18 -18
  33. tccli/services/domain/v20180808/api.json +8 -8
  34. tccli/services/domain/v20180808/examples.json +3 -3
  35. tccli/services/es/v20180416/api.json +9 -9
  36. tccli/services/ess/v20201111/api.json +1 -1
  37. tccli/services/essbasic/v20210526/api.json +3 -3
  38. tccli/services/essbasic/v20210526/examples.json +2 -2
  39. tccli/services/facefusion/v20220927/api.json +4 -4
  40. tccli/services/faceid/v20180301/api.json +5 -5
  41. tccli/services/faceid/v20180301/examples.json +6 -0
  42. tccli/services/gme/v20180711/api.json +118 -115
  43. tccli/services/gme/v20180711/examples.json +6 -6
  44. tccli/services/hunyuan/v20230901/api.json +9 -0
  45. tccli/services/iotexplorer/v20190423/api.json +4 -4
  46. tccli/services/iotexplorer/v20190423/examples.json +5 -5
  47. tccli/services/keewidb/v20220308/api.json +2 -2
  48. tccli/services/lcic/lcic_client.py +61 -8
  49. tccli/services/lcic/v20220817/api.json +230 -177
  50. tccli/services/lcic/v20220817/examples.json +10 -2
  51. tccli/services/lighthouse/v20200324/api.json +80 -71
  52. tccli/services/live/v20180801/api.json +60 -4
  53. tccli/services/lke/v20231130/api.json +31 -0
  54. tccli/services/lkeap/v20240522/api.json +55 -9
  55. tccli/services/lkeap/v20240522/examples.json +1 -1
  56. tccli/services/mna/mna_client.py +106 -0
  57. tccli/services/mna/v20210119/api.json +246 -0
  58. tccli/services/mna/v20210119/examples.json +16 -0
  59. tccli/services/monitor/monitor_client.py +62 -57
  60. tccli/services/monitor/v20230616/api.json +266 -0
  61. tccli/services/monitor/v20230616/examples.json +19 -0
  62. tccli/services/mqtt/mqtt_client.py +489 -12
  63. tccli/services/mqtt/v20240516/api.json +864 -3
  64. tccli/services/mqtt/v20240516/examples.json +72 -0
  65. tccli/services/ocr/ocr_client.py +53 -0
  66. tccli/services/ocr/v20181119/api.json +287 -23
  67. tccli/services/ocr/v20181119/examples.json +8 -0
  68. tccli/services/postgres/postgres_client.py +334 -16
  69. tccli/services/postgres/v20170312/api.json +718 -35
  70. tccli/services/postgres/v20170312/examples.json +72 -0
  71. tccli/services/rum/v20210622/api.json +1 -1
  72. tccli/services/smh/v20210712/api.json +50 -30
  73. tccli/services/ssl/v20191205/api.json +496 -493
  74. tccli/services/ssl/v20191205/examples.json +144 -24
  75. tccli/services/taf/taf_client.py +0 -159
  76. tccli/services/taf/v20200210/api.json +0 -665
  77. tccli/services/taf/v20200210/examples.json +0 -24
  78. tccli/services/tdmq/v20200217/api.json +97 -0
  79. tccli/services/teo/v20220901/api.json +5 -5
  80. tccli/services/thpc/v20230321/api.json +19 -0
  81. tccli/services/tione/v20211111/api.json +14 -3
  82. tccli/services/trabbit/__init__.py +4 -0
  83. tccli/services/trabbit/trabbit_client.py +1691 -0
  84. tccli/services/trabbit/v20230418/api.json +4773 -0
  85. tccli/services/trabbit/v20230418/examples.json +237 -0
  86. tccli/services/trocket/v20230308/api.json +130 -11
  87. tccli/services/trtc/v20190722/api.json +8 -8
  88. tccli/services/trtc/v20190722/examples.json +2 -2
  89. tccli/services/vclm/v20240523/api.json +0 -450
  90. tccli/services/vclm/v20240523/examples.json +0 -48
  91. tccli/services/vclm/vclm_client.py +0 -159
  92. tccli/services/vpc/v20170312/api.json +46 -39
  93. tccli/services/vpc/v20170312/examples.json +3 -3
  94. tccli/services/wedata/v20210820/api.json +240 -42
  95. tccli/services/wedata/v20210820/examples.json +17 -3
  96. tccli/services/wedata/wedata_client.py +53 -0
  97. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/METADATA +2 -2
  98. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/RECORD +101 -95
  99. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/WHEEL +0 -0
  100. {tccli-3.0.1267.1.dist-info → tccli-3.0.1269.1.dist-info}/entry_points.txt +0 -0
  101. {tccli-3.0.1267.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,
@@ -10220,7 +10220,7 @@
10220
10220
  {
10221
10221
  "disabled": false,
10222
10222
  "document": "流量镜像名字。",
10223
- "example": "test",
10223
+ "example": "demo",
10224
10224
  "member": "string",
10225
10225
  "name": "TrafficMirrorName",
10226
10226
  "required": true,
@@ -10229,7 +10229,7 @@
10229
10229
  {
10230
10230
  "disabled": false,
10231
10231
  "document": "流量镜像描述。",
10232
- "example": "desc",
10232
+ "example": "demo",
10233
10233
  "member": "string",
10234
10234
  "name": "TrafficMirrorDescribe",
10235
10235
  "required": false,
@@ -10255,8 +10255,8 @@
10255
10255
  },
10256
10256
  {
10257
10257
  "disabled": false,
10258
- "document": "流量镜像的采集对象,支持eni_xxxx。",
10259
- "example": "[\"vpc-39lpv32n\\r\\n\"]",
10258
+ "document": "流量镜像的采集对象。",
10259
+ "example": "[\"vpc-39lpv32n\"]",
10260
10260
  "member": "string",
10261
10261
  "name": "CollectorSrcs",
10262
10262
  "required": false,
@@ -10310,7 +10310,7 @@
10310
10310
  {
10311
10311
  "disabled": false,
10312
10312
  "document": "指定绑定的标签列表,例如:[{\"Key\": \"city\", \"Value\": \"shanghai\"}]。",
10313
- "example": "",
10313
+ "example": "[{\"Key\": \"city\", \"Value\": \"shanghai\"}]",
10314
10314
  "member": "Tag",
10315
10315
  "name": "Tags",
10316
10316
  "required": false,
@@ -10328,6 +10328,7 @@
10328
10328
  "example": "无",
10329
10329
  "member": "TrafficMirror",
10330
10330
  "name": "TrafficMirror",
10331
+ "output_required": true,
10331
10332
  "type": "object",
10332
10333
  "value_allowed_null": false
10333
10334
  },
@@ -11353,8 +11354,8 @@
11353
11354
  },
11354
11355
  {
11355
11356
  "disabled": false,
11356
- "document": "认证算法。可选 'SHA1', 'MD5', 'NONE',默认NONE。",
11357
- "example": "HMAC-SHA1",
11357
+ "document": "认证算法。可选 'SHA1',默认SHA1。",
11358
+ "example": "SHA1",
11358
11359
  "member": "string",
11359
11360
  "name": "IntegrityAlgorithm",
11360
11361
  "required": false,
@@ -11362,8 +11363,8 @@
11362
11363
  },
11363
11364
  {
11364
11365
  "disabled": false,
11365
- "document": "加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 'NONE',默认NONE。",
11366
- "example": "AES-128",
11366
+ "document": "加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 默认AES-128-CBC。",
11367
+ "example": "AES-128-CBC",
11367
11368
  "member": "string",
11368
11369
  "name": "EncryptAlgorithm",
11369
11370
  "required": false,
@@ -19644,7 +19645,7 @@
19644
19645
  },
19645
19646
  {
19646
19647
  "disabled": false,
19647
- "document": "流量镜像查询过滤调节",
19648
+ "document": "流量镜像查询过滤调节。\nvpc-id :VPC实例ID,例如:vpc-f49l6u0z。\ntraffic-mirror-id:流量镜像实例ID。\ntraffic-mirror-name:流量镜像名称。\ntag-key :按照标签键进行过滤。",
19648
19649
  "example": "无",
19649
19650
  "member": "Filter",
19650
19651
  "name": "Filters",
@@ -19681,6 +19682,7 @@
19681
19682
  "example": "无",
19682
19683
  "member": "TrafficMirror",
19683
19684
  "name": "TrafficMirrorSet",
19685
+ "output_required": true,
19684
19686
  "type": "list",
19685
19687
  "value_allowed_null": false
19686
19688
  },
@@ -28313,7 +28315,7 @@
28313
28315
  {
28314
28316
  "disabled": false,
28315
28317
  "document": "流量镜像实例名称",
28316
- "example": "TEST",
28318
+ "example": "demo",
28317
28319
  "member": "string",
28318
28320
  "name": "TrafficMirrorName",
28319
28321
  "required": false,
@@ -28322,7 +28324,7 @@
28322
28324
  {
28323
28325
  "disabled": false,
28324
28326
  "document": "流量镜像实例描述信息",
28325
- "example": "TEST",
28327
+ "example": "demo",
28326
28328
  "member": "string",
28327
28329
  "name": "TrafficMirrorDescription",
28328
28330
  "required": false,
@@ -29016,8 +29018,8 @@
29016
29018
  },
29017
29019
  {
29018
29020
  "disabled": false,
29019
- "document": "加密算法。可选 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'NONE'。默认NONE",
29020
- "example": "AES-128",
29021
+ "document": "加密算法。可选 'AES-128-CBC','AES-192-CBC', 'AES-256-CBC', 默认AES-128-CBC。",
29022
+ "example": "AES-128-CBC",
29021
29023
  "member": "string",
29022
29024
  "name": "EncryptAlgorithm",
29023
29025
  "required": false,
@@ -29025,8 +29027,8 @@
29025
29027
  },
29026
29028
  {
29027
29029
  "disabled": false,
29028
- "document": "认证算法。可选 'SHA1', 'MD5', 'NONE'。默认NONE",
29029
- "example": "HMAC-SHA1",
29030
+ "document": "认证算法。可选 'SHA1',默认SHA1。",
29031
+ "example": "SHA1",
29030
29032
  "member": "string",
29031
29033
  "name": "IntegrityAlgorithm",
29032
29034
  "required": false,
@@ -35443,7 +35445,7 @@
35443
35445
  "example": "vpc-7zayowkt",
35444
35446
  "member": "string",
35445
35447
  "name": "VpcId",
35446
- "required": true,
35448
+ "output_required": true,
35447
35449
  "type": "string",
35448
35450
  "value_allowed_null": false
35449
35451
  },
@@ -35453,27 +35455,27 @@
35453
35455
  "example": "imgf-oc2mpbni",
35454
35456
  "member": "string",
35455
35457
  "name": "TrafficMirrorId",
35456
- "required": true,
35458
+ "output_required": true,
35457
35459
  "type": "string",
35458
35460
  "value_allowed_null": false
35459
35461
  },
35460
35462
  {
35461
35463
  "disabled": false,
35462
35464
  "document": "流量镜像名字。",
35463
- "example": "test_vxlan",
35465
+ "example": "demo",
35464
35466
  "member": "string",
35465
35467
  "name": "TrafficMirrorName",
35466
- "required": true,
35468
+ "output_required": true,
35467
35469
  "type": "string",
35468
35470
  "value_allowed_null": false
35469
35471
  },
35470
35472
  {
35471
35473
  "disabled": false,
35472
35474
  "document": "流量镜像描述。",
35473
- "example": "desc",
35475
+ "example": "demo",
35474
35476
  "member": "string",
35475
35477
  "name": "TrafficMirrorDescribe",
35476
- "required": true,
35478
+ "output_required": true,
35477
35479
  "type": "string",
35478
35480
  "value_allowed_null": false
35479
35481
  },
@@ -35483,7 +35485,7 @@
35483
35485
  "example": "RUNNING",
35484
35486
  "member": "string",
35485
35487
  "name": "State",
35486
- "required": true,
35488
+ "output_required": true,
35487
35489
  "type": "string",
35488
35490
  "value_allowed_null": false
35489
35491
  },
@@ -35493,7 +35495,7 @@
35493
35495
  "example": "ALL",
35494
35496
  "member": "string",
35495
35497
  "name": "Direction",
35496
- "required": true,
35498
+ "output_required": true,
35497
35499
  "type": "string",
35498
35500
  "value_allowed_null": false
35499
35501
  },
@@ -35503,17 +35505,17 @@
35503
35505
  "example": "[\"vpc-7zayowkt\"]",
35504
35506
  "member": "string",
35505
35507
  "name": "CollectorSrcs",
35506
- "required": true,
35508
+ "output_required": true,
35507
35509
  "type": "list",
35508
35510
  "value_allowed_null": false
35509
35511
  },
35510
35512
  {
35511
35513
  "disabled": false,
35512
35514
  "document": "流量镜像过滤的nat网关实例ID。",
35513
- "example": "\"\"",
35515
+ "example": "nat-qo7kugz0",
35514
35516
  "member": "string",
35515
35517
  "name": "NatId",
35516
- "required": true,
35518
+ "output_required": true,
35517
35519
  "type": "string",
35518
35520
  "value_allowed_null": false
35519
35521
  },
@@ -35523,7 +35525,7 @@
35523
35525
  "example": "无",
35524
35526
  "member": "TrafficMirrorFilter",
35525
35527
  "name": "CollectorNormalFilters",
35526
- "required": true,
35528
+ "output_required": true,
35527
35529
  "type": "list",
35528
35530
  "value_allowed_null": false
35529
35531
  },
@@ -35533,7 +35535,7 @@
35533
35535
  "example": "无",
35534
35536
  "member": "TrafficMirrorTarget",
35535
35537
  "name": "CollectorTarget",
35536
- "required": true,
35538
+ "output_required": true,
35537
35539
  "type": "object",
35538
35540
  "value_allowed_null": false
35539
35541
  },
@@ -35543,7 +35545,7 @@
35543
35545
  "example": "2021-03-02 14:41:15",
35544
35546
  "member": "string",
35545
35547
  "name": "CreateTime",
35546
- "required": true,
35548
+ "output_required": true,
35547
35549
  "type": "string",
35548
35550
  "value_allowed_null": false
35549
35551
  },
@@ -35553,17 +35555,17 @@
35553
35555
  "example": "VPC",
35554
35556
  "member": "string",
35555
35557
  "name": "Type",
35556
- "required": true,
35558
+ "output_required": false,
35557
35559
  "type": "string",
35558
35560
  "value_allowed_null": true
35559
35561
  },
35560
35562
  {
35561
35563
  "disabled": false,
35562
35564
  "document": "流量镜像所属的子网ID。\n注意:此字段可能返回 null,表示取不到有效值。",
35563
- "example": "\"\"",
35565
+ "example": "subnet-6zwa44xm",
35564
35566
  "member": "string",
35565
35567
  "name": "SubnetId",
35566
- "required": true,
35568
+ "output_required": false,
35567
35569
  "type": "string",
35568
35570
  "value_allowed_null": true
35569
35571
  },
@@ -35573,7 +35575,7 @@
35573
35575
  "example": "无",
35574
35576
  "member": "TrafficMirrorTargetResourceInfo",
35575
35577
  "name": "TargetInfo",
35576
- "required": true,
35578
+ "output_required": false,
35577
35579
  "type": "list",
35578
35580
  "value_allowed_null": true
35579
35581
  }
@@ -35586,9 +35588,10 @@
35586
35588
  {
35587
35589
  "disabled": false,
35588
35590
  "document": "过滤规则的源网段",
35589
- "example": "",
35591
+ "example": "10.0.0.0/24",
35590
35592
  "member": "string",
35591
35593
  "name": "SrcNet",
35594
+ "output_required": true,
35592
35595
  "required": true,
35593
35596
  "type": "string",
35594
35597
  "value_allowed_null": false
@@ -35596,9 +35599,10 @@
35596
35599
  {
35597
35600
  "disabled": false,
35598
35601
  "document": "过滤规则的目的网段",
35599
- "example": "",
35602
+ "example": "192.168.0.0/24",
35600
35603
  "member": "string",
35601
35604
  "name": "DstNet",
35605
+ "output_required": true,
35602
35606
  "required": true,
35603
35607
  "type": "string",
35604
35608
  "value_allowed_null": false
@@ -35606,9 +35610,10 @@
35606
35610
  {
35607
35611
  "disabled": false,
35608
35612
  "document": "过滤规则的协议",
35609
- "example": "",
35613
+ "example": "ALL",
35610
35614
  "member": "string",
35611
35615
  "name": "Protocol",
35616
+ "output_required": true,
35612
35617
  "required": true,
35613
35618
  "type": "string",
35614
35619
  "value_allowed_null": false
@@ -35616,9 +35621,10 @@
35616
35621
  {
35617
35622
  "disabled": false,
35618
35623
  "document": "过滤规则的源端口,默认值1-65535",
35619
- "example": "",
35624
+ "example": "5000",
35620
35625
  "member": "string",
35621
35626
  "name": "SrcPort",
35627
+ "output_required": true,
35622
35628
  "required": false,
35623
35629
  "type": "string",
35624
35630
  "value_allowed_null": false
@@ -35626,9 +35632,10 @@
35626
35632
  {
35627
35633
  "disabled": false,
35628
35634
  "document": "过滤规则的目的端口,默认值1-65535",
35629
- "example": "",
35635
+ "example": "3456",
35630
35636
  "member": "string",
35631
35637
  "name": "DstPort",
35638
+ "output_required": true,
35632
35639
  "required": false,
35633
35640
  "type": "string",
35634
35641
  "value_allowed_null": false
@@ -707,7 +707,7 @@
707
707
  "CreateTrafficMirror": [
708
708
  {
709
709
  "document": "创建流量镜像",
710
- "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTrafficMirror\n<公共请求参数>\n\n{\n \"Direction\": \"EGRESS\",\n \"NatId\": \"nat-qo7kugz0\",\n \"TrafficMirrorName\": \"test\",\n \"State\": \"RUNNING\",\n \"VpcId\": \"vpc-39lpx32d\",\n \"CollectorTarget\": {\n \"AlgHash\": \"FIVE_TUPLE_FLOW\",\n \"TargetIps\": [\n \"172.16.16.10\"\n ]\n },\n \"CollectorSrcs\": [\n \"eni-39lpv32n\"\n ]\n}",
710
+ "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTrafficMirror\n<公共请求参数>\n\n{\n \"Direction\": \"EGRESS\",\n \"NatId\": \"nat-qo7kugz0\",\n \"TrafficMirrorName\": \"demo\",\n \"State\": \"RUNNING\",\n \"VpcId\": \"vpc-39lpx32d\",\n \"CollectorTarget\": {\n \"AlgHash\": \"FIVE_TUPLE_FLOW\",\n \"TargetIps\": [\n \"172.16.16.10\"\n ]\n },\n \"CollectorSrcs\": [\n \"eni-39lpv32n\"\n ]\n}",
711
711
  "output": "{\n \"Response\": {\n \"TrafficMirror\": {\n \"VpcId\": \"vpc-fo8nfm00\",\n \"TrafficMirrorId\": \"imgf-ewrpvb00\",\n \"TrafficMirrorName\": \"UpdateTrafficMirrorDirection_tUhhZ7Jj\",\n \"TrafficMirrorDescribe\": \"\",\n \"State\": \"RUNNING\",\n \"Direction\": \"EGRESS\",\n \"CollectorSrcs\": [\n \"eni-4qq71jmz\"\n ],\n \"NatId\": \"\",\n \"CollectorNormalFilters\": [],\n \"CollectorTarget\": {\n \"AlgHash\": \"ENI\",\n \"TargetType\": \"IP\",\n \"TargetIps\": [\n \"10.0.0.0\"\n ],\n \"TargetEndPoints\": []\n },\n \"CreateTime\": \"0000-00-00 00:00:00\"\n },\n \"RequestId\": \"941e5605-e17c-45b8-bd80-031386e29559\"\n }\n}",
712
712
  "title": "创建流量镜像"
713
713
  }
@@ -2104,7 +2104,7 @@
2104
2104
  {
2105
2105
  "document": "查询流量镜像实例信息",
2106
2106
  "input": "https://vpc.tencentcloudapi.com/?Action=DescribeTrafficMirrors\n&TrafficMirrorIds.0=&Filters.Name=&Filters.Values.0=\n&<公共请求参数>",
2107
- "output": "{\n \"Response\": {\n \"TrafficMirrorSet\": [\n {\n \"VpcId\": \"vpc-dh0wcvhp\",\n \"TrafficMirrorId\": \"imgf-dh0wcvhp\",\n \"TrafficMirrorName\": \"test\",\n \"TrafficMirrorDescribe\": \"test\",\n \"State\": \"RUNNING\",\n \"Direction\": \"INGRESS\",\n \"CollectorSrcs\": [\n \"eni-dh0wcvhp\"\n ],\n \"NatId\": \"\",\n \"CollectorNormalFilters\": [\n {\n \"SrcNet\": \"10.0.0.0/24\",\n \"DstNet\": \"192.168.0.0/24\",\n \"SrcPort\": \"5000\",\n \"DstPort\": \"3456\",\n \"Protocol\": \"TCP\"\n }\n ],\n \"CollectorTarget\": {\n \"TargetIps\": [\n \"172.16.0.3\"\n ],\n \"AlgHash\": \"ENI\",\n \"TargetEndPoints\": [],\n \"TargetType\": \"ENI\"\n },\n \"CreateTime\": \"2021-08-09 15:44:30\",\n \"Type\": 1,\n \"SubnetId\": \"subnet-dh0wcvhp\",\n \"TargetInfo\": [\n {\n \"TargetId\": \"eni-dh0wcvhp\",\n \"TargetName\": \"test\"\n }\n ]\n }\n ],\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
2107
+ "output": "{\n \"Response\": {\n \"TrafficMirrorSet\": [\n {\n \"VpcId\": \"vpc-dh0wcvhp\",\n \"TrafficMirrorId\": \"imgf-dh0wcvhp\",\n \"TrafficMirrorName\": \"demo\",\n \"TrafficMirrorDescribe\": \"demo\",\n \"State\": \"RUNNING\",\n \"Direction\": \"INGRESS\",\n \"CollectorSrcs\": [\n \"eni-dh0wcvhp\"\n ],\n \"NatId\": \"\",\n \"CollectorNormalFilters\": [\n {\n \"SrcNet\": \"10.0.0.0/24\",\n \"DstNet\": \"192.168.0.0/24\",\n \"SrcPort\": \"5000\",\n \"DstPort\": \"3456\",\n \"Protocol\": \"TCP\"\n }\n ],\n \"CollectorTarget\": {\n \"TargetIps\": [\n \"172.16.0.3\"\n ],\n \"AlgHash\": \"ENI\",\n \"TargetEndPoints\": [],\n \"TargetType\": \"ENI\"\n },\n \"CreateTime\": \"2021-08-09 15:44:30\",\n \"Type\": \"VPC\",\n \"SubnetId\": \"subnet-dh0wcvhp\",\n \"TargetInfo\": [\n {\n \"TargetId\": \"eni-dh0wcvhp\",\n \"TargetName\": \"demo\"\n }\n ]\n }\n ],\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
2108
2108
  "title": "查询流量镜像实例信息"
2109
2109
  }
2110
2110
  ],
@@ -3149,7 +3149,7 @@
3149
3149
  "ModifyTrafficMirrorAttribute": [
3150
3150
  {
3151
3151
  "document": "修改流量镜像属性",
3152
- "input": "https://vpc.tencentcloudapi.com/?Action=ModifyTrafficMirrorAttribute\r\n&TrafficMirrorId=imgf-7h62jza4\r\n&TrafficMirrorName=test\r\n&TrafficMirrorDescription=test_info\r\n&<公共请求参数>",
3152
+ "input": "https://vpc.tencentcloudapi.com/?Action=ModifyTrafficMirrorAttribute\n&TrafficMirrorId=imgf-7h62jza4\n&TrafficMirrorName=demo\n&TrafficMirrorDescription=demo\n&<公共请求参数>",
3153
3153
  "output": "{\n \"Response\": {\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
3154
3154
  "title": "修改流量镜像属性"
3155
3155
  }