tccli 3.0.1158.1__py2.py3-none-any.whl → 3.0.1159.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@
34
34
  {
35
35
  "document": "在创建任务后,可以通过TaskId查看任务详情",
36
36
  "input": "POST / HTTP/1.1\nHost: ams.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTaskDetail\n<公共请求参数>\n\n{\n \"TaskId\": \"task-video-XwxJtbkKXWgCt8AZ\"\n}",
37
- "output": "{\n \"Response\": {\n \"TaskId\": \"w-audio-X_Qnzci_GulDQ01r\",\n \"DataId\": \"\",\n \"BizType\": \"202012161\",\n \"Name\": \"\",\n \"Status\": \"FINISH\",\n \"Type\": \"AUDIO\",\n \"Suggestion\": \"Review\",\n \"Labels\": [\n {\n \"Label\": \"Abuse\",\n \"Suggestion\": \"Review\",\n \"Score\": 0,\n \"SubLabel\": \"\"\n }\n ],\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"Url\": \"https://test.cos.ap-guangzhou.myqcloud.com/porn5.mp3\"\n },\n \"AudioText\": \"音频文本\",\n \"AudioSegments\": [\n {\n \"Result\": {\n \"HitFlag\": 0,\n \"Url\": \"https://cos.ap-guangzhou.myqcloud.com/0.mp3\",\n \"Suggestion\": \"Pass\",\n \"Label\": \"Normal\",\n \"Text\": \"\",\n \"TextResults\": [],\n \"MoanResults\": [],\n \"LanguageResults\": [],\n \"Duration\": \"60000\",\n \"Score\": 0,\n \"Extra\": \"\",\n \"SubLabel\": \"\"\n },\n \"OffsetTime\": \"0\"\n }\n ],\n \"ErrorType\": \"\",\n \"ErrorDescription\": \"\",\n \"CreatedAt\": \"2021-01-05T08:48:13.069Z\",\n \"UpdatedAt\": \"2021-01-05T08:49:31.421Z\",\n \"RequestId\": \"34785328532523\",\n \"Label\": \"Abuse\"\n }\n}",
37
+ "output": "{\n \"Response\": {\n \"TaskId\": \"abc\",\n \"DataId\": \"abc\",\n \"BizType\": \"abc\",\n \"Name\": \"abc\",\n \"Status\": \"abc\",\n \"Type\": \"abc\",\n \"Suggestion\": \"abc\",\n \"Labels\": [\n {\n \"Label\": \"abc\",\n \"Suggestion\": \"abc\",\n \"Score\": 0,\n \"SubLabel\": \"abc\"\n }\n ],\n \"InputInfo\": {\n \"Type\": \"abc\",\n \"Url\": \"abc\",\n \"BucketInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n }\n },\n \"AudioText\": \"abc\",\n \"AudioSegments\": [\n {\n \"OffsetTime\": \"abc\",\n \"Result\": {\n \"HitFlag\": 0,\n \"Label\": \"abc\",\n \"Suggestion\": \"abc\",\n \"Score\": 0,\n \"Text\": \"abc\",\n \"Url\": \"abc\",\n \"Duration\": \"abc\",\n \"Extra\": \"abc\",\n \"TextResults\": [\n {\n \"Label\": \"abc\",\n \"Keywords\": [\n \"abc\"\n ],\n \"LibId\": \"abc\",\n \"LibName\": \"abc\",\n \"Score\": 0,\n \"Suggestion\": \"abc\",\n \"LibType\": 0,\n \"SubLabel\": \"abc\"\n }\n ],\n \"MoanResults\": [\n {\n \"Label\": \"abc\",\n \"Score\": 0,\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"SubLabelCode\": \"abc\",\n \"SubLabel\": \"abc\",\n \"Suggestion\": \"abc\"\n }\n ],\n \"LanguageResults\": [\n {\n \"Label\": \"abc\",\n \"Score\": 0,\n \"StartTime\": 0,\n \"EndTime\": 0,\n \"SubLabelCode\": \"abc\"\n }\n ],\n \"SubLabel\": \"abc\",\n \"RecognitionResults\": [\n {\n \"Label\": \"abc\",\n \"Tags\": [\n {\n \"Name\": \"abc\",\n \"Score\": 0,\n \"StartTime\": 0,\n \"EndTime\": 0\n }\n ]\n }\n ]\n }\n }\n ],\n \"ErrorType\": \"abc\",\n \"ErrorDescription\": \"abc\",\n \"CreatedAt\": \"abc\",\n \"UpdatedAt\": \"abc\",\n \"Label\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
38
38
  "title": "查看任务详情"
39
39
  }
40
40
  ],
@@ -42,7 +42,7 @@
42
42
  {
43
43
  "document": "查看审核任务列表",
44
44
  "input": "POST / HTTP/1.1\nHost: ams.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTasks\n<公共请求参数>\n\n{\n \"Filter\": {\n \"Type\": \"AUDIO\"\n }\n}",
45
- "output": "{\n \"Response\": {\n \"Total\": \"1\",\n \"Data\": [\n {\n \"TaskId\": \"task-video-XwxJtbkKXWgCt8AZ\",\n \"DataId\": \"data_test_01\",\n \"BizType\": \"1001\",\n \"Name\": \"测试视频\",\n \"Status\": \"FINISH\",\n \"Type\": \"VIDEO\",\n \"Suggestion\": \"Block\",\n \"Labels\": [\n {\n \"Label\": \"Porn\",\n \"Suggestion\": \"Block\",\n \"Score\": 99\n },\n {\n \"Label\": \"Hot\",\n \"Suggestion\": \"Block\",\n \"Score\": 70\n }\n ],\n \"MediaInfo\": {\n \"Codecs\": \"h264 aac\",\n \"Duration\": 36,\n \"Width\": 352,\n \"Height\": 640\n },\n \"CreatedAt\": \"2020-07-13T11:47:01.925Z\",\n \"UpdatedAt\": \"2020-07-13T11:47:25.840Z\"\n }\n ],\n \"PageToken\": \"4765-48dXwxJtbkKXW8d3eb\",\n \"RequestId\": \"8d3e4765-48db-40b5-8fdb-aaf1d7225a60\"\n }\n}",
45
+ "output": "{\n \"Response\": {\n \"Total\": \"abc\",\n \"Data\": [\n {\n \"DataId\": \"abc\",\n \"TaskId\": \"abc\",\n \"Status\": \"abc\",\n \"Name\": \"abc\",\n \"BizType\": \"abc\",\n \"Type\": \"abc\",\n \"Suggestion\": \"abc\",\n \"MediaInfo\": {\n \"Codecs\": \"abc\",\n \"Duration\": 0,\n \"Width\": 0,\n \"Height\": 0,\n \"Thumbnail\": \"abc\"\n },\n \"Labels\": [\n {\n \"Label\": \"abc\",\n \"Suggestion\": \"abc\",\n \"Score\": 0,\n \"SubLabel\": \"abc\"\n }\n ],\n \"CreatedAt\": \"abc\",\n \"UpdatedAt\": \"abc\"\n }\n ],\n \"PageToken\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
46
46
  "title": "查看审核任务列表"
47
47
  }
48
48
  ]
@@ -932,7 +932,7 @@
932
932
  },
933
933
  {
934
934
  "disabled": false,
935
- "document": "page表示嵌出页面,panel表嵌出整个看板",
935
+ "document": "page表示嵌出页面,panel表示嵌出整个看板",
936
936
  "example": "1",
937
937
  "member": "string",
938
938
  "name": "Scope",
@@ -202,6 +202,15 @@
202
202
  "name": "NodeIpType",
203
203
  "required": false,
204
204
  "type": "int"
205
+ },
206
+ {
207
+ "disabled": false,
208
+ "document": "供应商子账户同步标志",
209
+ "example": "无",
210
+ "member": "int64",
211
+ "name": "SubSyncFlag",
212
+ "required": false,
213
+ "type": "int"
205
214
  }
206
215
  ],
207
216
  "type": "object"
@@ -5304,7 +5304,7 @@
5304
5304
  },
5305
5305
  {
5306
5306
  "disabled": false,
5307
- "document": "克隆实例类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例。 不指定则默认为通用型。",
5307
+ "document": "克隆实例类型。支持值包括:\"UNIVERSAL\" - 通用型实例,\"EXCLUSIVE\" - 独享型实例,\"CLOUD_NATIVE_CLUSTER\" - 集群版标准型,\"CLOUD_NATIVE_CLUSTER_EXCLUSIVE\" - 集群版加强型。不指定则默认为通用型。",
5308
5308
  "example": "UNIVERSAL",
5309
5309
  "member": "string",
5310
5310
  "name": "DeviceType",
@@ -5373,6 +5373,15 @@
5373
5373
  "name": "Period",
5374
5374
  "required": false,
5375
5375
  "type": "int"
5376
+ },
5377
+ {
5378
+ "disabled": false,
5379
+ "document": "集群版节点拓扑配置。",
5380
+ "example": "无",
5381
+ "member": "ClusterTopology",
5382
+ "name": "ClusterTopology",
5383
+ "required": false,
5384
+ "type": "object"
5376
5385
  }
5377
5386
  ],
5378
5387
  "type": "object"
@@ -5711,7 +5720,7 @@
5711
5720
  },
5712
5721
  {
5713
5722
  "disabled": false,
5714
- "document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"BASIC_V2\" - ONTKE单节点实例。 不指定则默认为通用型实例。",
5723
+ "document": "实例隔离类型。支持值包括:\"UNIVERSAL\" - 通用型实例,\"EXCLUSIVE\" - 独享型实例,\"BASIC_V2\" - ONTKE 单节点实例,\"CLOUD_NATIVE_CLUSTER\" - 集群版标准型,\"CLOUD_NATIVE_CLUSTER_EXCLUSIVE\" - 集群版加强型。不指定则默认为通用型实例。",
5715
5724
  "example": "UNIVERSAL",
5716
5725
  "member": "string",
5717
5726
  "name": "DeviceType",
@@ -5816,6 +5825,15 @@
5816
5825
  "name": "Vips",
5817
5826
  "required": false,
5818
5827
  "type": "list"
5828
+ },
5829
+ {
5830
+ "disabled": false,
5831
+ "document": "集群版节点拓扑配置。",
5832
+ "example": "无",
5833
+ "member": "ClusterTopology",
5834
+ "name": "ClusterTopology",
5835
+ "required": false,
5836
+ "type": "object"
5819
5837
  }
5820
5838
  ],
5821
5839
  "type": "object"
@@ -6091,7 +6109,7 @@
6091
6109
  },
6092
6110
  {
6093
6111
  "disabled": false,
6094
- "document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"BASIC_V2\" - ONTKE单节点实例。 不指定则默认为通用型实例。",
6112
+ "document": "实例隔离类型。支持值包括:\"UNIVERSAL\" - 通用型实例,\"EXCLUSIVE\" - 独享型实例,\"BASIC_V2\" - ONTKE 单节点实例,\"CLOUD_NATIVE_CLUSTER\" - 集群版标准型,\"CLOUD_NATIVE_CLUSTER_EXCLUSIVE\" - 集群版加强型。不指定则默认为通用型实例。",
6095
6113
  "example": "UNIVERSAL",
6096
6114
  "member": "string",
6097
6115
  "name": "DeviceType",
@@ -6196,6 +6214,15 @@
6196
6214
  "name": "Vips",
6197
6215
  "required": false,
6198
6216
  "type": "list"
6217
+ },
6218
+ {
6219
+ "disabled": false,
6220
+ "document": "集群版节点拓扑配置。",
6221
+ "example": "无",
6222
+ "member": "ClusterTopology",
6223
+ "name": "ClusterTopology",
6224
+ "required": false,
6225
+ "type": "object"
6199
6226
  }
6200
6227
  ],
6201
6228
  "type": "object"
@@ -8635,6 +8635,16 @@
8635
8635
  "output_required": true,
8636
8636
  "type": "object",
8637
8637
  "value_allowed_null": true
8638
+ },
8639
+ {
8640
+ "disabled": false,
8641
+ "document": "参数黑名单\n注意:此字段可能返回 null,表示取不到有效值。",
8642
+ "example": "无",
8643
+ "member": "ParamFilter",
8644
+ "name": "ParamFilter",
8645
+ "output_required": true,
8646
+ "type": "object",
8647
+ "value_allowed_null": true
8638
8648
  }
8639
8649
  ],
8640
8650
  "usage": "out"
@@ -13319,6 +13329,73 @@
13319
13329
  ],
13320
13330
  "usage": "both"
13321
13331
  },
13332
+ "ParamFilter": {
13333
+ "document": "参数黑名单",
13334
+ "members": [
13335
+ {
13336
+ "disabled": false,
13337
+ "document": " 参数黑名单开关\n注意:此字段可能返回 null,表示取不到有效值。",
13338
+ "example": "off",
13339
+ "member": "string",
13340
+ "name": "Switch",
13341
+ "output_required": true,
13342
+ "required": true,
13343
+ "type": "string",
13344
+ "value_allowed_null": true
13345
+ },
13346
+ {
13347
+ "disabled": false,
13348
+ "document": "参数黑名单规则\n注意:此字段可能返回 null,表示取不到有效值。",
13349
+ "example": "[]",
13350
+ "member": "ParamFilterRule",
13351
+ "name": "FilterRules",
13352
+ "output_required": true,
13353
+ "required": false,
13354
+ "type": "list",
13355
+ "value_allowed_null": true
13356
+ }
13357
+ ],
13358
+ "usage": "both"
13359
+ },
13360
+ "ParamFilterRule": {
13361
+ "document": "参数黑名单规则",
13362
+ "members": [
13363
+ {
13364
+ "disabled": false,
13365
+ "document": "参数名\n注意:此字段可能返回 null,表示取不到有效值。",
13366
+ "example": "exampleParam",
13367
+ "member": "string",
13368
+ "name": "Key",
13369
+ "output_required": true,
13370
+ "required": true,
13371
+ "type": "string",
13372
+ "value_allowed_null": true
13373
+ },
13374
+ {
13375
+ "disabled": false,
13376
+ "document": "参数值数组, 小于10个\n注意:此字段可能返回 null,表示取不到有效值。",
13377
+ "example": "['blacklistValue1', 'blacklistValue2']",
13378
+ "member": "string",
13379
+ "name": "Values",
13380
+ "output_required": true,
13381
+ "required": true,
13382
+ "type": "list",
13383
+ "value_allowed_null": true
13384
+ },
13385
+ {
13386
+ "disabled": false,
13387
+ "document": "http 返回码 ( 暂仅支持403)\n注意:此字段可能返回 null,表示取不到有效值。",
13388
+ "example": "403",
13389
+ "member": "string",
13390
+ "name": "ReturnCode",
13391
+ "output_required": true,
13392
+ "required": false,
13393
+ "type": "string",
13394
+ "value_allowed_null": true
13395
+ }
13396
+ ],
13397
+ "usage": "both"
13398
+ },
13322
13399
  "PathBasedOriginRule": {
13323
13400
  "document": "分路径回源规则",
13324
13401
  "members": [
@@ -17379,6 +17456,15 @@
17379
17456
  "name": "HttpsBilling",
17380
17457
  "required": false,
17381
17458
  "type": "object"
17459
+ },
17460
+ {
17461
+ "disabled": false,
17462
+ "document": "参数黑名单",
17463
+ "example": "无",
17464
+ "member": "ParamFilter",
17465
+ "name": "ParamFilter",
17466
+ "required": false,
17467
+ "type": "object"
17382
17468
  }
17383
17469
  ],
17384
17470
  "type": "object"
@@ -1369,6 +1369,58 @@ def doDescribeBlockByIpTimesList(args, parsed_globals):
1369
1369
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1370
1370
 
1371
1371
 
1372
+ def doDescribeNatFwDnatRule(args, parsed_globals):
1373
+ g_param = parse_global_arg(parsed_globals)
1374
+
1375
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1376
+ cred = credential.CVMRoleCredential()
1377
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1378
+ cred = credential.STSAssumeRoleCredential(
1379
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1380
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1381
+ )
1382
+ 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):
1383
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1384
+ else:
1385
+ cred = credential.Credential(
1386
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1387
+ )
1388
+ http_profile = HttpProfile(
1389
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1390
+ reqMethod="POST",
1391
+ endpoint=g_param[OptionsDefine.Endpoint],
1392
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1393
+ )
1394
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1395
+ if g_param[OptionsDefine.Language]:
1396
+ profile.language = g_param[OptionsDefine.Language]
1397
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1398
+ client = mod.CfwClient(cred, g_param[OptionsDefine.Region], profile)
1399
+ client._sdkVersion += ("_CLI_" + __version__)
1400
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1401
+ model = models.DescribeNatFwDnatRuleRequest()
1402
+ model.from_json_string(json.dumps(args))
1403
+ start_time = time.time()
1404
+ while True:
1405
+ rsp = client.DescribeNatFwDnatRule(model)
1406
+ result = rsp.to_json_string()
1407
+ try:
1408
+ json_obj = json.loads(result)
1409
+ except TypeError as e:
1410
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1411
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1412
+ break
1413
+ cur_time = time.time()
1414
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1415
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1416
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1417
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1418
+ else:
1419
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1420
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1421
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1422
+
1423
+
1372
1424
  def doDescribeEnterpriseSGRuleProgress(args, parsed_globals):
1373
1425
  g_param = parse_global_arg(parsed_globals)
1374
1426
 
@@ -5930,6 +5982,7 @@ ACTION_MAP = {
5930
5982
  "ModifyBlockIgnoreRuleNew": doModifyBlockIgnoreRuleNew,
5931
5983
  "ModifyEdgeIpSwitch": doModifyEdgeIpSwitch,
5932
5984
  "DescribeBlockByIpTimesList": doDescribeBlockByIpTimesList,
5985
+ "DescribeNatFwDnatRule": doDescribeNatFwDnatRule,
5933
5986
  "DescribeEnterpriseSGRuleProgress": doDescribeEnterpriseSGRuleProgress,
5934
5987
  "DescribeNatFwInfoCount": doDescribeNatFwInfoCount,
5935
5988
  "DescribeNatFwVpcDnsLst": doDescribeNatFwVpcDnsLst,
@@ -350,6 +350,13 @@
350
350
  "output": "DescribeNatAcRuleResponse",
351
351
  "status": "online"
352
352
  },
353
+ "DescribeNatFwDnatRule": {
354
+ "document": "查询Nat防火墙Dnat规则",
355
+ "input": "DescribeNatFwDnatRuleRequest",
356
+ "name": "查询Nat防火墙Dnat规则",
357
+ "output": "DescribeNatFwDnatRuleResponse",
358
+ "status": "online"
359
+ },
353
360
  "DescribeNatFwInfoCount": {
354
361
  "document": "获取当前用户接入nat防火墙的所有子网数及natfw实例个数",
355
362
  "input": "DescribeNatFwInfoCountRequest",
@@ -4342,6 +4349,112 @@
4342
4349
  ],
4343
4350
  "usage": "out"
4344
4351
  },
4352
+ "DescNatDnatRule": {
4353
+ "document": "NAT防火墙Dnat规则列表",
4354
+ "members": [
4355
+ {
4356
+ "disabled": false,
4357
+ "document": "id\n注意:此字段可能返回 null,表示取不到有效值。",
4358
+ "example": "100",
4359
+ "member": "int64",
4360
+ "name": "Id",
4361
+ "output_required": false,
4362
+ "type": "int",
4363
+ "value_allowed_null": true
4364
+ },
4365
+ {
4366
+ "disabled": false,
4367
+ "document": "网络协议,可选值:TCP、UDP。\n注意:此字段可能返回 null,表示取不到有效值。",
4368
+ "example": "TCP",
4369
+ "member": "string",
4370
+ "name": "IpProtocol",
4371
+ "output_required": true,
4372
+ "type": "string",
4373
+ "value_allowed_null": true
4374
+ },
4375
+ {
4376
+ "disabled": false,
4377
+ "document": "弹性IP。\n注意:此字段可能返回 null,表示取不到有效值。",
4378
+ "example": "175.27.187.125",
4379
+ "member": "string",
4380
+ "name": "PublicIpAddress",
4381
+ "output_required": true,
4382
+ "type": "string",
4383
+ "value_allowed_null": true
4384
+ },
4385
+ {
4386
+ "disabled": false,
4387
+ "document": "公网端口。\n注意:此字段可能返回 null,表示取不到有效值。",
4388
+ "example": "80",
4389
+ "member": "int64",
4390
+ "name": "PublicPort",
4391
+ "output_required": true,
4392
+ "type": "int",
4393
+ "value_allowed_null": true
4394
+ },
4395
+ {
4396
+ "disabled": false,
4397
+ "document": "内网地址。\n注意:此字段可能返回 null,表示取不到有效值。",
4398
+ "example": "10.10.1.1",
4399
+ "member": "string",
4400
+ "name": "PrivateIpAddress",
4401
+ "output_required": true,
4402
+ "type": "string",
4403
+ "value_allowed_null": true
4404
+ },
4405
+ {
4406
+ "disabled": false,
4407
+ "document": "内网端口。\n注意:此字段可能返回 null,表示取不到有效值。",
4408
+ "example": "80",
4409
+ "member": "int64",
4410
+ "name": "PrivatePort",
4411
+ "output_required": true,
4412
+ "type": "int",
4413
+ "value_allowed_null": true
4414
+ },
4415
+ {
4416
+ "disabled": false,
4417
+ "document": "NAT防火墙转发规则描述。\n注意:此字段可能返回 null,表示取不到有效值。",
4418
+ "example": "test",
4419
+ "member": "string",
4420
+ "name": "Description",
4421
+ "output_required": false,
4422
+ "type": "string",
4423
+ "value_allowed_null": true
4424
+ },
4425
+ {
4426
+ "disabled": false,
4427
+ "document": "是否被关联引用,如被远程运维使用\n注意:此字段可能返回 null,表示取不到有效值。",
4428
+ "example": "0",
4429
+ "member": "int64",
4430
+ "name": "IsReferenced",
4431
+ "output_required": false,
4432
+ "type": "int",
4433
+ "value_allowed_null": true
4434
+ },
4435
+ {
4436
+ "disabled": false,
4437
+ "document": "所属防火墙实例id\n注意:此字段可能返回 null,表示取不到有效值。",
4438
+ "example": "cfwnat-xxx",
4439
+ "member": "string",
4440
+ "name": "FwInsId",
4441
+ "output_required": false,
4442
+ "type": "string",
4443
+ "value_allowed_null": true
4444
+ },
4445
+ {
4446
+ "disabled": false,
4447
+ "document": "关联的nat网关Id\n注意:此字段可能返回 null,表示取不到有效值。",
4448
+ "example": "nat-xxx",
4449
+ "member": "string",
4450
+ "name": "NatGwId",
4451
+ "output_required": false,
4452
+ "type": "string",
4453
+ "value_allowed_null": true
4454
+ }
4455
+ ],
4456
+ "usage": "out"
4457
+ },
4345
4458
  "DescribeAcListsRequest": {
4346
4459
  "document": "DescribeAcLists请求参数结构体",
4347
4460
  "members": [
@@ -6270,6 +6383,116 @@
6270
6383
  ],
6271
6384
  "type": "object"
6272
6385
  },
6386
+ "DescribeNatFwDnatRuleRequest": {
6387
+ "document": "DescribeNatFwDnatRule请求参数结构体",
6388
+ "members": [
6389
+ {
6390
+ "disabled": false,
6391
+ "document": "需要查询的索引,特定场景使用,可不填",
6392
+ "example": "无",
6393
+ "member": "string",
6394
+ "name": "Index",
6395
+ "required": false,
6396
+ "type": "string"
6397
+ },
6398
+ {
6399
+ "disabled": false,
6400
+ "document": "过滤条件组合",
6401
+ "example": "无",
6402
+ "member": "CommonFilter",
6403
+ "name": "Filters",
6404
+ "required": false,
6405
+ "type": "list"
6406
+ },
6407
+ {
6408
+ "disabled": false,
6409
+ "document": "每页条数",
6410
+ "example": "20",
6411
+ "member": "uint64",
6412
+ "name": "Limit",
6413
+ "required": false,
6414
+ "type": "int"
6415
+ },
6416
+ {
6417
+ "disabled": false,
6418
+ "document": "偏移值",
6419
+ "example": "0",
6420
+ "member": "uint64",
6421
+ "name": "Offset",
6422
+ "required": false,
6423
+ "type": "int"
6424
+ },
6425
+ {
6426
+ "disabled": false,
6427
+ "document": "检索的起始时间,可不传",
6428
+ "example": "无",
6429
+ "member": "string",
6430
+ "name": "StartTime",
6431
+ "required": false,
6432
+ "type": "string"
6433
+ },
6434
+ {
6435
+ "disabled": false,
6436
+ "document": "检索的截止时间,可不传",
6437
+ "example": "无",
6438
+ "member": "string",
6439
+ "name": "EndTime",
6440
+ "required": false,
6441
+ "type": "string"
6442
+ },
6443
+ {
6444
+ "disabled": false,
6445
+ "document": "desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值",
6446
+ "example": "desc",
6447
+ "member": "string",
6448
+ "name": "Order",
6449
+ "required": false,
6450
+ "type": "string"
6451
+ },
6452
+ {
6453
+ "disabled": false,
6454
+ "document": "排序所用到的字段",
6455
+ "example": "id",
6456
+ "member": "string",
6457
+ "name": "By",
6458
+ "required": false,
6459
+ "type": "string"
6460
+ }
6461
+ ],
6462
+ "type": "object"
6463
+ },
6464
+ "DescribeNatFwDnatRuleResponse": {
6465
+ "document": "DescribeNatFwDnatRule返回参数结构体",
6466
+ "members": [
6467
+ {
6468
+ "disabled": false,
6469
+ "document": "Dnat规则列表\n注意:此字段可能返回 null,表示取不到有效值。",
6470
+ "example": "无",
6471
+ "member": "DescNatDnatRule",
6472
+ "name": "Data",
6473
+ "output_required": false,
6474
+ "type": "list",
6475
+ "value_allowed_null": true
6476
+ },
6477
+ {
6478
+ "disabled": false,
6479
+ "document": "列表总数",
6480
+ "example": "1",
6481
+ "member": "uint64",
6482
+ "name": "Total",
6483
+ "output_required": true,
6484
+ "type": "int",
6485
+ "value_allowed_null": false
6486
+ },
6487
+ {
6488
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6489
+ "member": "string",
6490
+ "name": "RequestId",
6491
+ "type": "string"
6492
+ }
6493
+ ],
6494
+ "type": "object"
6495
+ },
6273
6496
  "DescribeNatFwInfoCountRequest": {
6274
6497
  "document": "DescribeNatFwInfoCount请求参数结构体",
6275
6498
  "members": [],
@@ -13754,6 +13977,26 @@
13754
13977
  "output_required": true,
13755
13978
  "type": "string",
13756
13979
  "value_allowed_null": true
13980
+ },
13981
+ {
13982
+ "disabled": false,
13983
+ "document": "云联网模式下,当前实例是否需要开启重叠路由开关,1:需要开启,0:不需要开启\n注意:此字段可能返回 null,表示取不到有效值。",
13984
+ "example": "0",
13985
+ "member": "int64",
13986
+ "name": "NeedSwitchCcnOverlap",
13987
+ "output_required": false,
13988
+ "type": "int",
13989
+ "value_allowed_null": true
13990
+ },
13991
+ {
13992
+ "disabled": false,
13993
+ "document": "云联网模式下,实例关联的云联网id\n注意:此字段可能返回 null,表示取不到有效值。",
13994
+ "example": "ccn-xxx",
13995
+ "member": "string",
13996
+ "name": "CcnId",
13997
+ "output_required": false,
13998
+ "type": "string",
13999
+ "value_allowed_null": true
13757
14000
  }
13758
14001
  ],
13759
14002
  "usage": "out"
@@ -418,6 +418,14 @@
418
418
  "title": "查询NAT访问控制列表"
419
419
  }
420
420
  ],
421
+ "DescribeNatFwDnatRule": [
422
+ {
423
+ "document": "查询Nat防火墙Dnat规则",
424
+ "input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNatFwDnatRule\n<公共请求参数>\n\n{\n \"Index\": \"abc\",\n \"Filters\": [\n {\n \"Name\": \"abc\",\n \"Values\": [\n \"abc\"\n ],\n \"OperatorType\": 0\n }\n ],\n \"Limit\": 1,\n \"Offset\": 1,\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"Order\": \"abc\",\n \"By\": \"abc\"\n}",
425
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Id\": 0,\n \"IpProtocol\": \"abc\",\n \"PublicIpAddress\": \"abc\",\n \"PublicPort\": 0,\n \"PrivateIpAddress\": \"abc\",\n \"PrivatePort\": 0,\n \"Description\": \"abc\",\n \"IsReferenced\": 0,\n \"FwInsId\": \"abc\",\n \"NatGwId\": \"abc\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
426
+ "title": "查询Nat防火墙Dnat规则"
427
+ }
428
+ ],
421
429
  "DescribeNatFwInfoCount": [
422
430
  {
423
431
  "document": "",