tccli 3.0.1248.1__py2.py3-none-any.whl → 3.0.1250.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aiart/aiart_client.py +113 -7
- tccli/services/aiart/v20221229/api.json +191 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/cbs/v20170312/api.json +6 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +5 -3
- tccli/services/cmq/cmq_client.py +4 -799
- tccli/services/cmq/v20190304/api.json +135 -1329
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +110 -4
- tccli/services/config/v20220802/api.json +374 -0
- tccli/services/config/v20220802/examples.json +16 -0
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/dc/v20180410/api.json +50 -48
- tccli/services/dc/v20180410/examples.json +8 -8
- tccli/services/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/es/v20180416/api.json +10 -0
- tccli/services/ess/v20201111/api.json +163 -163
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +89 -89
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/hai/hai_client.py +60 -7
- tccli/services/hai/v20230812/api.json +195 -0
- tccli/services/hai/v20230812/examples.json +8 -0
- tccli/services/iotexplorer/iotexplorer_client.py +228 -16
- tccli/services/iotexplorer/v20190423/api.json +536 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/iotvideo/iotvideo_client.py +53 -0
- tccli/services/iotvideo/v20211125/api.json +80 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/lkeap/v20240522/api.json +13 -13
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mna/v20210119/api.json +24 -24
- tccli/services/mna/v20210119/examples.json +2 -2
- tccli/services/redis/v20180412/api.json +181 -181
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/sms/v20190711/api.json +48 -0
- tccli/services/sms/v20210111/api.json +48 -0
- tccli/services/tcb/v20180608/api.json +173 -145
- tccli/services/tcb/v20180608/examples.json +8 -8
- tccli/services/tcr/v20190924/api.json +5 -5
- tccli/services/tke/v20220501/api.json +1 -1
- tccli/services/trro/v20220325/api.json +71 -61
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +114 -114
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +35 -33
- tccli/services/vpc/v20170312/examples.json +18 -18
- tccli/services/wedata/v20210820/api.json +80 -2
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/RECORD +58 -58
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1250.1.dist-info}/license_files/LICENSE +0 -0
@@ -11465,6 +11465,15 @@
|
|
11465
11465
|
"name": "ServiceExportTo",
|
11466
11466
|
"required": false,
|
11467
11467
|
"type": "list"
|
11468
|
+
},
|
11469
|
+
{
|
11470
|
+
"disabled": false,
|
11471
|
+
"document": "是否开启同步到全局注册中心",
|
11472
|
+
"example": "false",
|
11473
|
+
"member": "bool",
|
11474
|
+
"name": "SyncToGlobalRegistry",
|
11475
|
+
"required": false,
|
11476
|
+
"type": "bool"
|
11468
11477
|
}
|
11469
11478
|
],
|
11470
11479
|
"usage": "in"
|
@@ -11929,6 +11938,15 @@
|
|
11929
11938
|
"name": "ExportTo",
|
11930
11939
|
"required": false,
|
11931
11940
|
"type": "list"
|
11941
|
+
},
|
11942
|
+
{
|
11943
|
+
"disabled": false,
|
11944
|
+
"document": "是否开启同步到全局注册中心",
|
11945
|
+
"example": "false",
|
11946
|
+
"member": "bool",
|
11947
|
+
"name": "SyncToGlobalRegistry",
|
11948
|
+
"required": false,
|
11949
|
+
"type": "bool"
|
11932
11950
|
}
|
11933
11951
|
],
|
11934
11952
|
"usage": "in"
|
@@ -6844,23 +6844,23 @@
|
|
6844
6844
|
"members": [
|
6845
6845
|
{
|
6846
6846
|
"disabled": false,
|
6847
|
-
"document": "VPC实例ID
|
6847
|
+
"document": "VPC实例ID",
|
6848
6848
|
"example": "vpc-nswq8wkq",
|
6849
6849
|
"member": "string",
|
6850
6850
|
"name": "VpcId",
|
6851
6851
|
"output_required": true,
|
6852
6852
|
"type": "string",
|
6853
|
-
"value_allowed_null":
|
6853
|
+
"value_allowed_null": false
|
6854
6854
|
},
|
6855
6855
|
{
|
6856
6856
|
"disabled": false,
|
6857
|
-
"document": "云服务器实例唯一ID
|
6857
|
+
"document": "云服务器实例唯一ID",
|
6858
6858
|
"example": "ins-kngiybxl",
|
6859
6859
|
"member": "string",
|
6860
6860
|
"name": "InstanceId",
|
6861
6861
|
"output_required": true,
|
6862
6862
|
"type": "string",
|
6863
|
-
"value_allowed_null":
|
6863
|
+
"value_allowed_null": false
|
6864
6864
|
}
|
6865
6865
|
],
|
6866
6866
|
"usage": "out"
|
@@ -7845,7 +7845,7 @@
|
|
7845
7845
|
{
|
7846
7846
|
"disabled": false,
|
7847
7847
|
"document": "专线网关ID,形如:dcg-prpqlmg1",
|
7848
|
-
"example": "",
|
7848
|
+
"example": "dcg-prpqlmg1",
|
7849
7849
|
"member": "string",
|
7850
7850
|
"name": "DirectConnectGatewayId",
|
7851
7851
|
"required": true,
|
@@ -7854,7 +7854,7 @@
|
|
7854
7854
|
{
|
7855
7855
|
"disabled": false,
|
7856
7856
|
"document": "需要连通的IDC网段列表",
|
7857
|
-
"example": "",
|
7857
|
+
"example": "无",
|
7858
7858
|
"member": "DirectConnectGatewayCcnRoute",
|
7859
7859
|
"name": "Routes",
|
7860
7860
|
"required": true,
|
@@ -7881,7 +7881,7 @@
|
|
7881
7881
|
{
|
7882
7882
|
"disabled": false,
|
7883
7883
|
"document": "专线网关名称",
|
7884
|
-
"example": "
|
7884
|
+
"example": "我的网关",
|
7885
7885
|
"member": "string",
|
7886
7886
|
"name": "DirectConnectGatewayName",
|
7887
7887
|
"required": true,
|
@@ -9453,7 +9453,7 @@
|
|
9453
9453
|
{
|
9454
9454
|
"disabled": false,
|
9455
9455
|
"document": "路由策略对象。",
|
9456
|
-
"example": "
|
9456
|
+
"example": "[{\"RouteTableId\":\"rtb-n0yejvje\",\"RouteSet\":[{\"RouteItemId\": \"rti-psm73tvu\",\"DestinationCidrBlock\": \"192.168.0.0/16\"}]}]",
|
9457
9457
|
"member": "Route",
|
9458
9458
|
"name": "Routes",
|
9459
9459
|
"required": true,
|
@@ -9847,7 +9847,7 @@
|
|
9847
9847
|
{
|
9848
9848
|
"disabled": false,
|
9849
9849
|
"document": "子网名称,最大长度不能超过60个字节。",
|
9850
|
-
"example": "
|
9850
|
+
"example": "demo",
|
9851
9851
|
"member": "string",
|
9852
9852
|
"name": "SubnetName",
|
9853
9853
|
"required": true,
|
@@ -10266,7 +10266,7 @@
|
|
10266
10266
|
{
|
10267
10267
|
"disabled": false,
|
10268
10268
|
"document": "对等连接名称。",
|
10269
|
-
"example": "
|
10269
|
+
"example": "pcx-1sqw346v",
|
10270
10270
|
"member": "string",
|
10271
10271
|
"name": "PeeringConnectionName",
|
10272
10272
|
"required": true,
|
@@ -10311,7 +10311,7 @@
|
|
10311
10311
|
{
|
10312
10312
|
"disabled": false,
|
10313
10313
|
"document": "互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。",
|
10314
|
-
"example": "
|
10314
|
+
"example": "VPC_PEER",
|
10315
10315
|
"member": "string",
|
10316
10316
|
"name": "Type",
|
10317
10317
|
"required": false,
|
@@ -11966,7 +11966,7 @@
|
|
11966
11966
|
{
|
11967
11967
|
"disabled": false,
|
11968
11968
|
"document": "专线网关唯一`ID`,形如:`dcg-9o233uri`。",
|
11969
|
-
"example": "",
|
11969
|
+
"example": "dcg-9o233uri",
|
11970
11970
|
"member": "string",
|
11971
11971
|
"name": "DirectConnectGatewayId",
|
11972
11972
|
"required": true,
|
@@ -20880,13 +20880,13 @@
|
|
20880
20880
|
},
|
20881
20881
|
{
|
20882
20882
|
"disabled": false,
|
20883
|
-
"document": "标签键值对。\t
|
20884
|
-
"example": "[]",
|
20883
|
+
"document": "标签键值对。\t",
|
20884
|
+
"example": "[{\"Key\": \"env\", \"Value\": \"prod\"}]",
|
20885
20885
|
"member": "Tag",
|
20886
20886
|
"name": "TagSet",
|
20887
20887
|
"output_required": false,
|
20888
20888
|
"type": "list",
|
20889
|
-
"value_allowed_null":
|
20889
|
+
"value_allowed_null": false
|
20890
20890
|
}
|
20891
20891
|
],
|
20892
20892
|
"usage": "out"
|
@@ -23668,21 +23668,23 @@
|
|
23668
23668
|
"members": [
|
23669
23669
|
{
|
23670
23670
|
"disabled": false,
|
23671
|
-
"document": "
|
23672
|
-
"example": "",
|
23671
|
+
"document": "专线网关标准接入费用",
|
23672
|
+
"example": "20.0",
|
23673
23673
|
"member": "int64",
|
23674
23674
|
"name": "TotalCost",
|
23675
|
+
"output_required": true,
|
23675
23676
|
"type": "int",
|
23676
|
-
"value_allowed_null":
|
23677
|
+
"value_allowed_null": false
|
23677
23678
|
},
|
23678
23679
|
{
|
23679
23680
|
"disabled": false,
|
23680
|
-
"document": "
|
23681
|
-
"example": "",
|
23681
|
+
"document": "专线网关真实接入费用",
|
23682
|
+
"example": "20.0",
|
23682
23683
|
"member": "int64",
|
23683
23684
|
"name": "RealTotalCost",
|
23685
|
+
"output_required": true,
|
23684
23686
|
"type": "int",
|
23685
|
-
"value_allowed_null":
|
23687
|
+
"value_allowed_null": false
|
23686
23688
|
},
|
23687
23689
|
{
|
23688
23690
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -24788,7 +24790,7 @@
|
|
24788
24790
|
},
|
24789
24791
|
{
|
24790
24792
|
"disabled": false,
|
24791
|
-
"document": "`IPv6`子网段。形如:`3402:4e00:20:1001::/64
|
24793
|
+
"document": "`IPv6`子网段。形如:`3402:4e00:20:1001::/64`。作为AssignIpv6SubnetCidrBlock接口入参时,该参数必填。",
|
24792
24794
|
"example": "3402:4e00:20:1202::/64",
|
24793
24795
|
"member": "string",
|
24794
24796
|
"name": "Ipv6CidrBlock",
|
@@ -25915,7 +25917,7 @@
|
|
25915
25917
|
{
|
25916
25918
|
"disabled": false,
|
25917
25919
|
"document": "云联网路由发布模式,可选值:`standard`(标准模式)、`exquisite`(精细模式)。只有云联网类型专线网关才支持修改`ModeType`。",
|
25918
|
-
"example": "
|
25920
|
+
"example": "standard",
|
25919
25921
|
"member": "string",
|
25920
25922
|
"name": "ModeType",
|
25921
25923
|
"required": false,
|
@@ -27866,7 +27868,7 @@
|
|
27866
27868
|
{
|
27867
27869
|
"disabled": false,
|
27868
27870
|
"document": "对等连接ID。",
|
27869
|
-
"example": "
|
27871
|
+
"example": "pcx-0npfx81k",
|
27870
27872
|
"member": "string",
|
27871
27873
|
"name": "PeeringConnectionId",
|
27872
27874
|
"required": true,
|
@@ -27875,7 +27877,7 @@
|
|
27875
27877
|
{
|
27876
27878
|
"disabled": false,
|
27877
27879
|
"document": "对等连接名称。",
|
27878
|
-
"example": "
|
27880
|
+
"example": "内部使用",
|
27879
27881
|
"member": "string",
|
27880
27882
|
"name": "PeeringConnectionName",
|
27881
27883
|
"required": false,
|
@@ -28930,23 +28932,23 @@
|
|
28930
28932
|
},
|
28931
28933
|
{
|
28932
28934
|
"disabled": false,
|
28933
|
-
"document": "
|
28935
|
+
"document": "创建时间。",
|
28934
28936
|
"example": "2019-09-11 10:00:00",
|
28935
28937
|
"member": "datetime",
|
28936
28938
|
"name": "CreateTime",
|
28937
28939
|
"output_required": true,
|
28938
28940
|
"type": "string",
|
28939
|
-
"value_allowed_null":
|
28941
|
+
"value_allowed_null": false
|
28940
28942
|
},
|
28941
28943
|
{
|
28942
28944
|
"disabled": false,
|
28943
|
-
"document": "标签键值对。\t
|
28944
|
-
"example": "[]",
|
28945
|
+
"document": "标签键值对。\t",
|
28946
|
+
"example": "[{\"Key\": \"env\", \"Value\": \"prod\"}]",
|
28945
28947
|
"member": "Tag",
|
28946
28948
|
"name": "TagSet",
|
28947
28949
|
"output_required": false,
|
28948
28950
|
"type": "list",
|
28949
|
-
"value_allowed_null":
|
28951
|
+
"value_allowed_null": false
|
28950
28952
|
}
|
28951
28953
|
],
|
28952
28954
|
"usage": "out"
|
@@ -31193,7 +31195,7 @@
|
|
31193
31195
|
{
|
31194
31196
|
"disabled": false,
|
31195
31197
|
"document": "路由策略对象。需要指定路由策略ID(RouteId)。",
|
31196
|
-
"example": "
|
31198
|
+
"example": "无",
|
31197
31199
|
"member": "Route",
|
31198
31200
|
"name": "Routes",
|
31199
31201
|
"required": true,
|
@@ -31208,7 +31210,7 @@
|
|
31208
31210
|
{
|
31209
31211
|
"disabled": false,
|
31210
31212
|
"document": "原路由策略信息。",
|
31211
|
-
"example": "
|
31213
|
+
"example": "无",
|
31212
31214
|
"member": "Route",
|
31213
31215
|
"name": "OldRouteSet",
|
31214
31216
|
"output_required": true,
|
@@ -31218,7 +31220,7 @@
|
|
31218
31220
|
{
|
31219
31221
|
"disabled": false,
|
31220
31222
|
"document": "修改后的路由策略信息。",
|
31221
|
-
"example": "
|
31223
|
+
"example": "无",
|
31222
31224
|
"member": "Route",
|
31223
31225
|
"name": "NewRouteSet",
|
31224
31226
|
"output_required": true,
|
@@ -433,21 +433,21 @@
|
|
433
433
|
"CreateDirectConnectGateway": [
|
434
434
|
{
|
435
435
|
"document": "",
|
436
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGateway\n&DirectConnectGatewayName
|
437
|
-
"output": "{\n \"Response\": {\n \"DirectConnectGateway\": {\n \"DirectConnectGatewayId\": \"dcg-gjug0kul\",\n \"DirectConnectGatewayName\": \"
|
436
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGateway\n&DirectConnectGatewayName=我的网关\n&NetworkType=VPC\n&NetworkInstanceId=vpc-m7sr81gh\n&GatewayType=NAT\n&<公共请求参数>",
|
437
|
+
"output": "{\n \"Response\": {\n \"DirectConnectGateway\": {\n \"DirectConnectGatewayId\": \"dcg-gjug0kul\",\n \"DirectConnectGatewayName\": \"我的网关\",\n \"DirectConnectGatewayIp\": \"10.21.0.5\",\n \"EnableBGPCommunity\": false,\n \"VpcId\": \"vpc-m7sr81gh\",\n \"CcnId\": \"\",\n \"EnableBGP\": false,\n \"CcnRouteType\": \"BGP\",\n \"NetworkType\": \"VPC\",\n \"NetworkInstanceId\": \"vpc-m7sr81gh\",\n \"GatewayType\": \"NAT\",\n \"VXLANSupport\": [\n true\n ],\n \"NatGatewayId\": \"nat-m7dr11gc\",\n \"LocalZone\": false,\n \"Zone\": \"ap-guangzhou-1\",\n \"ModeType\": \"standard\",\n \"NewAfc\": 0,\n \"FlowDetailsUpdateTime\": \"2020-09-22 00:00:00\",\n \"EnableFlowDetails\": 0,\n \"AccessNetworkType\": \"Unknown\",\n \"CreateTime\": \"2020-09-22 00:00:00\",\n \"HaZoneList\": [\n \"demo\"\n ]\n },\n \"RequestId\": \"b8351d12-3c82-4d4b-9d88-972e02ca4620\"\n }\n}",
|
438
438
|
"title": "创建一个关联VPC的NAT型专线网关"
|
439
439
|
},
|
440
440
|
{
|
441
441
|
"document": "",
|
442
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGateway\n&DirectConnectGatewayName
|
443
|
-
"output": "{\n \"Response\": {\n \"DirectConnectGateway\": {\n \"DirectConnectGatewayId\": \"dcg-3vwxt61v\",\n \"DirectConnectGatewayName\": \"
|
442
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGateway\n&DirectConnectGatewayName=我的网关\n&NetworkType=CCN\n&NetworkInstanceId=ccn-8j0phqix\n&GatewayType=NORMAL\n&<公共请求参数>",
|
443
|
+
"output": "{\n \"Response\": {\n \"DirectConnectGateway\": {\n \"DirectConnectGatewayId\": \"dcg-3vwxt61v\",\n \"DirectConnectGatewayName\": \"我的网关\",\n \"VpcId\": \"vpc-ilii3ejt\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"ccn-c1aopa13\",\n \"GatewayType\": \"NORMAL\",\n \"EnableBGPCommunity\": true,\n \"EnableBGP\": true,\n \"CcnId\": \"ccn-8j0phqix\",\n \"CcnRouteType\": \"BGP\",\n \"NatGatewayId\": \"\",\n \"DirectConnectGatewayIp\": \"10.21.0.5\",\n \"LocalZone\": false,\n \"Zone\": \"ap-guangzhou-1\",\n \"ModeType\": \"standard\",\n \"VXLANSupport\": [\n true\n ],\n \"CreateTime\": \"0000-00-00 00:00:00\",\n \"NewAfc\": 1,\n \"FlowDetailsUpdateTime\": \"2020-11-10 12:23:11\",\n \"EnableFlowDetails\": 0,\n \"AccessNetworkType\": \"VXLAN\",\n \"HaZoneList\": [\n \"demo\"\n ]\n },\n \"RequestId\": \"b8351d12-3c82-4d4b-9d88-972e02ca4620\"\n }\n}",
|
444
444
|
"title": "创建一个关联CCN的标准型专线网关"
|
445
445
|
}
|
446
446
|
],
|
447
447
|
"CreateDirectConnectGatewayCcnRoutes": [
|
448
448
|
{
|
449
449
|
"document": "",
|
450
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGatewayCcnRoutes\
|
450
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=CreateDirectConnectGatewayCcnRoutes\n&DirectConnectGatewayId=dcg-prpqlmg1\n&Routes.0.DestinationCidrBlock=10.2.2.0/24\n&<公共请求参数>",
|
451
451
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6e446c86-d8c9-4981-9b33-d10956585058\"\n }\n}",
|
452
452
|
"title": "创建专线网关云联网路由"
|
453
453
|
}
|
@@ -504,13 +504,13 @@
|
|
504
504
|
{
|
505
505
|
"document": "创建一个传统型NAT网关并自动分配一个EIP",
|
506
506
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatGateway\n<公共请求参数>\n\n{\n \"VpcId\": \"vpc-abcdefgh\",\n \"PublicIpAddresses\": [\n \"139.199.232.119\"\n ],\n \"MaxConcurrentConnection\": \"1000000\",\n \"Tags\": [\n {\n \"Value\": \"shanghai\",\n \"Key\": \"city\"\n }\n ],\n \"InternetMaxBandwidthOut\": \"10\",\n \"NatGatewayName\": \"test_name\",\n \"AddressCount\": \"1\"\n}",
|
507
|
-
"output": "{\n \"Response\": {\n \"NatGatewaySet\": [\n {\n \"NatGatewayId\": \"nat-cqbn23ju\",\n \"NatGatewayName\": \"
|
507
|
+
"output": "{\n \"Response\": {\n \"NatGatewaySet\": [\n {\n \"NatGatewayId\": \"nat-cqbn23ju\",\n \"NatGatewayName\": \"PublicNat\",\n \"VpcId\": \"vpc-qi4ja3sx\",\n \"CreatedTime\": \"2019-07-16 09:40:00\",\n \"State\": \"AVAILABLE\",\n \"NetworkState\": \"AVAILABLE\",\n \"InternetMaxBandwidthOut\": 10,\n \"MaxConcurrentConnection\": 1000000,\n \"SecurityGroupSet\": [],\n \"PublicIpAddressSet\": [\n {\n \"AddressId\": \"eip-9uw5fwsu\",\n \"PublicIpAddress\": \"139.199.232.119\",\n \"IsBlocked\": false,\n \"BlockType\": \"NORMAL\"\n },\n {\n \"AddressId\": \"eip-9uw5fsss\",\n \"PublicIpAddress\": \"139.199.232.221\",\n \"IsBlocked\": false,\n \"BlockType\": \"NORMAL\"\n }\n ],\n \"DestinationIpPortTranslationNatRuleSet\": [],\n \"DirectConnectGatewayIds\": [],\n \"Zone\": \"ap-guangzhou-2\",\n \"ExclusiveGatewayBandwidth\": 1,\n \"IsExclusive\": true,\n \"SmartScheduleMode\": false,\n \"DedicatedClusterId\": \"\",\n \"NatProductVersion\": 1,\n \"RestrictState\": \"NORMAL\",\n \"SourceIpTranslationNatRuleSet\": [],\n \"SubnetId\": \"1215354\",\n \"TagSet\": [\n {\n \"Key\": \"city\",\n \"Value\": \"shanghai\"\n }\n ]\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"6f2a42cf-2905-4fa5-af49-0f01612550de\"\n }\n}",
|
508
508
|
"title": "创建NAT网关"
|
509
509
|
},
|
510
510
|
{
|
511
511
|
"document": "创建一个标准型NAT网关并自动分配一个EIP",
|
512
512
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNatGateway\n<公共请求参数>\n\n{\n \"SubnetId\": \"subnet-q1b8fsg\",\n \"AddressCount\": \"1\",\n \"NatGatewayName\": \"xiaooliang_test\",\n \"VpcId\": \"vpc-bohigpb7\",\n \"NatProductVersion\": \"2\"\n}",
|
513
|
-
"output": "{\n \"Response\": {\n \"NatGatewaySet\": [\n {\n \"NatGatewayId\": \"nat-o49t53q2\",\n \"NatGatewayName\": \"
|
513
|
+
"output": "{\n \"Response\": {\n \"NatGatewaySet\": [\n {\n \"NatGatewayId\": \"nat-o49t53q2\",\n \"NatGatewayName\": \"PublicStandardNat\",\n \"VpcId\": \"vpc-bohigpb7\",\n \"State\": \"PENDING\",\n \"NetworkState\": \"AVAILABLE\",\n \"InternetMaxBandwidthOut\": 100,\n \"MaxConcurrentConnection\": 1000000,\n \"PublicIpAddressSet\": [],\n \"DestinationIpPortTranslationNatRuleSet\": [],\n \"CreatedTime\": \"0000-00-00 00:00:00\",\n \"Zone\": \"\",\n \"TagSet\": [],\n \"DirectConnectGatewayIds\": [],\n \"SubnetId\": \"subnet-q1b8fsgu\",\n \"SecurityGroupSet\": [],\n \"SourceIpTranslationNatRuleSet\": [],\n \"IsExclusive\": false,\n \"SmartScheduleMode\": false,\n \"DedicatedClusterId\": null,\n \"RestrictState\": \"NORMAL\",\n \"NatProductVersion\": 2,\n \"ExclusiveGatewayBandwidth\": null\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"7b00a07c-7358-4f0a-b81c-8ce5882a87b8\"\n }\n}",
|
514
514
|
"title": "创建标准型NAT网关"
|
515
515
|
}
|
516
516
|
],
|
@@ -621,8 +621,8 @@
|
|
621
621
|
"CreateRoutes": [
|
622
622
|
{
|
623
623
|
"document": "创建路由规则",
|
624
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=CreateRoutes\n&RouteTableId=rtb-n0yejvje\n&Routes.0.DestinationCidrBlock=192.168.0.0/16\n&Routes.0.GatewayType=NORMAL_CVM\n&Routes.0.GatewayId=172.16.16.37\n&Routes.0.RouteDescription=
|
625
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RouteTableSet\": [\n {\n \"RouteSet\": [\n {\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"DestinationCidrBlock\": \"192.168.0.0/16\",\n \"RouteTableId\": \"rtb-n0yejvje\",\n \"RouteItemId\": \"rti-psm73tvu\",\n \"RouteDescription\": \"
|
624
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=CreateRoutes\n&RouteTableId=rtb-n0yejvje\n&Routes.0.DestinationCidrBlock=192.168.0.0/16\n&Routes.0.GatewayType=NORMAL_CVM\n&Routes.0.GatewayId=172.16.16.37\n&Routes.0.RouteDescription=demo\n&<公共请求参数>",
|
625
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RouteTableSet\": [\n {\n \"RouteSet\": [\n {\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"DestinationCidrBlock\": \"192.168.0.0/16\",\n \"RouteTableId\": \"rtb-n0yejvje\",\n \"RouteItemId\": \"rti-psm73tvu\",\n \"RouteDescription\": \"demo\",\n \"Enabled\": true,\n \"RouteId\": 1,\n \"GatewayType\": \"NORMAL_CVM\",\n \"GatewayId\": \"172.16.16.37\",\n \"RouteType\": \"USER\",\n \"DestinationIpv6CidrBlock\": \"\",\n \"PublishedToVbc\": false\n }\n ],\n \"RouteTableId\": \"rtb-n0yejvje\",\n \"VpcId\": \"vpc-4cugx77a\",\n \"RouteTableName\": \"demo\",\n \"TagSet\": [\n {\n \"Value\": \"env\",\n \"Key\": \"prod\"\n }\n ],\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"AssociationSet\": [\n {\n \"SubnetId\": \"subnet-1234derf\",\n \"RouteTableId\": \"rtb-n0yejvje\"\n }\n ],\n \"Main\": false,\n \"LocalCidrForCcn\": [\n {\n \"Cidr\": \"10.0.0.0/16\",\n \"PublishedToVbc\": true\n }\n ]\n }\n ],\n \"RequestId\": \"a949ecd8-a223-4b96-8537-a8a68a5ba47a\"\n }\n}",
|
626
626
|
"title": "创建路由规则"
|
627
627
|
}
|
628
628
|
],
|
@@ -683,7 +683,7 @@
|
|
683
683
|
"CreateSubnet": [
|
684
684
|
{
|
685
685
|
"document": "创建子网",
|
686
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSubnet\n<公共请求参数>\n\n{\n \"SubnetName\": \"
|
686
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSubnet\n<公共请求参数>\n\n{\n \"SubnetName\": \"subnet1\",\n \"VpcId\": \"vpc-m3ul053f\",\n \"CidrBlock\": \"10.8.0.0/24\",\n \"Zone\": \"ap-guangzhou-1\",\n \"Tags\": [\n {\n \"Value\": \"shanghai\",\n \"Key\": \"city\"\n }\n ]\n}",
|
687
687
|
"output": "{\n \"Response\": {\n \"Subnet\": {\n \"VpcId\": \"vpc-m3ul053f\",\n \"EnableBroadcast\": true,\n \"Zone\": \"1001\",\n \"IsCdcSubnet\": 0,\n \"AvailableIpAddressCount\": 1021,\n \"IsRemoteVpcSnat\": true,\n \"SubnetName\": \"subnet1\",\n \"TotalIpAddressCount\": 1024,\n \"TagSet\": [\n {\n \"Value\": \"shanghai\",\n \"Key\": \"city\"\n }\n ],\n \"CreatedTime\": \"2023-03-21 18:00:00\",\n \"SubnetId\": \"subnet-1d32nvu2\",\n \"CidrBlock\": \"10.8.0.0/24\",\n \"IsDefault\": false,\n \"CdcId\": \"\",\n \"Ipv6CidrBlock\": \"\",\n \"RouteTableId\": \"\",\n \"NetworkAclId\": \"\"\n },\n \"RequestId\": \"9450a158-0487-4baa-bd3f-a07f343b6c4e\"\n }\n}",
|
688
688
|
"title": "创建子网"
|
689
689
|
}
|
@@ -873,7 +873,7 @@
|
|
873
873
|
"DeleteDirectConnectGateway": [
|
874
874
|
{
|
875
875
|
"document": "",
|
876
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=DeleteDirectConnectGateway\
|
876
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=DeleteDirectConnectGateway\n&DirectConnectGatewayId=dcg-9o233uri\n&<公共请求参数>",
|
877
877
|
"output": "{\n \"Response\": {\n \"RequestId\": \"fcb47621-838b-428e-8c33-6e210d93c451\"\n }\n}",
|
878
878
|
"title": "删除专线网关"
|
879
879
|
}
|
@@ -945,7 +945,7 @@
|
|
945
945
|
"DeleteNatGatewayDestinationIpPortTranslationNatRule": [
|
946
946
|
{
|
947
947
|
"document": "删除NAT的端口转发规则,只需要传递DestinationIpPortTranslationNatRule结构体中的IpProtocol,PublicIpAddress,PublicPort字段。",
|
948
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNatGatewayDestinationIpPortTranslationNatRule\n<公共请求参数>\n\n{\n \"NatGatewayId\": \"nat-3isn9hr0\",\n \"DestinationIpPortTranslationNatRules\": [\n {\n \"Description\": \"
|
948
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteNatGatewayDestinationIpPortTranslationNatRule\n<公共请求参数>\n\n{\n \"NatGatewayId\": \"nat-3isn9hr0\",\n \"DestinationIpPortTranslationNatRules\": [\n {\n \"Description\": \"my service\",\n \"PublicIpAddress\": \"139.199.232.238\",\n \"PrivatePort\": 9999,\n \"IpProtocol\": \"TCP\",\n \"PublicPort\": 999,\n \"PrivateIpAddress\": \"10.0.9.2\"\n }\n ]\n}",
|
949
949
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dbffc3f0-1807-4683-89ee-2d2b96425ee1\"\n }\n}",
|
950
950
|
"title": "删除NAT的端口转发规则"
|
951
951
|
}
|
@@ -1510,13 +1510,13 @@
|
|
1510
1510
|
{
|
1511
1511
|
"document": "",
|
1512
1512
|
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeDirectConnectGateways\n&DirectConnectGatewayIds.0=dcg-dimeg9zd\n&DirectConnectGatewayIds.1=dcg-6eeis68f\n&DirectConnectGatewayIds.2=dcg-94cdyvfr\n&<公共请求参数>",
|
1513
|
-
"output": "{\n \"Response\": {\n \"DirectConnectGatewaySet\": [\n {\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"demo\",\n \"DirectConnectGatewayId\": \"dcg-6eeis68f\",\n \"DirectConnectGatewayName\": \"
|
1513
|
+
"output": "{\n \"Response\": {\n \"DirectConnectGatewaySet\": [\n {\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"demo\",\n \"DirectConnectGatewayId\": \"dcg-6eeis68f\",\n \"DirectConnectGatewayName\": \"我的网关01\",\n \"DirectConnectGatewayIp\": \"10.6.223.4\",\n \"GatewayType\": \"NORMAL\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"\",\n \"VpcId\": \"vpc-jkmjx7pd\",\n \"CcnId\": \"\",\n \"CcnRouteType\": \"STATIC\",\n \"EnableBGP\": false,\n \"CreateTime\": \"2018-10-22 21:22:26\",\n \"HaZoneList\": [\n \"demo\"\n ],\n \"EnableFlowDetails\": 1\n },\n {\n \"DirectConnectGatewayId\": \"dcg-94cdyvfr\",\n \"DirectConnectGatewayName\": \"我的网关02\",\n \"DirectConnectGatewayIp\": \"10.144.25.62\",\n \"GatewayType\": \"NORMAL\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"\",\n \"EnableFlowDetails\": 1,\n \"VpcId\": \"vpc-f796it7v\",\n \"CcnId\": \"\",\n \"CcnRouteType\": \"STATIC\",\n \"EnableBGP\": false,\n \"CreateTime\": \"2018-08-21 11:40:09\",\n \"HaZoneList\": [\n \"demo\"\n ],\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"demo\"\n },\n {\n \"DirectConnectGatewayId\": \"dcg-dimeg9zd\",\n \"DirectConnectGatewayName\": \"我的网关03\",\n \"DirectConnectGatewayIp\": \"10.144.25.62\",\n \"GatewayType\": \"NORMAL\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"ccn-atw2c2j1\",\n \"VpcId\": \"vpc-eg3eig77\",\n \"CcnId\": \"ccn-atw2c2j1\",\n \"CcnRouteType\": \"STATIC\",\n \"EnableFlowDetails\": 1,\n \"EnableBGP\": false,\n \"CreateTime\": \"2018-08-21 11:36:50\",\n \"HaZoneList\": [\n \"demo\"\n ],\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"nat\"\n }\n ],\n \"TotalCount\": 3,\n \"RequestId\": \"1b64d03b-7d2d-4d9b-b46e-49de115ac283\"\n }\n}",
|
1514
1514
|
"title": "按ID过滤查询专线网关"
|
1515
1515
|
},
|
1516
1516
|
{
|
1517
1517
|
"document": "",
|
1518
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeDirectConnectGateways\n&Filters.0.Name=direct-connect-gateway-name\n&Filters.0.Values.0
|
1519
|
-
"output": "{\n \"Response\": {\n \"DirectConnectGatewaySet\": [\n {\n \"DirectConnectGatewayId\": \"dcg-94cdyvfr\",\n \"DirectConnectGatewayName\": \"
|
1518
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeDirectConnectGateways\n&Filters.0.Name=direct-connect-gateway-name\n&Filters.0.Values.0=我的网关\n&Filters.1.Name=gateway-type\n&Filters.1.Values.0=NORMAL\n&Filters.2.Name=vpc-id\n&Filters.2.Values.0=vpc-f796it7v\n&Filters.2.Values.1=vpc-jkmjx7pd\n&<公共请求参数>",
|
1519
|
+
"output": "{\n \"Response\": {\n \"DirectConnectGatewaySet\": [\n {\n \"DirectConnectGatewayId\": \"dcg-94cdyvfr\",\n \"DirectConnectGatewayName\": \"我的网关\",\n \"DirectConnectGatewayIp\": \"10.144.25.62\",\n \"GatewayType\": \"NORMAL\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"\",\n \"VpcId\": \"vpc-f796it7v\",\n \"CcnId\": \"\",\n \"CcnRouteType\": \"STATIC\",\n \"EnableBGP\": false,\n \"EnableFlowDetails\": 1,\n \"CreateTime\": \"2018-08-21 11:40:09\",\n \"HaZoneList\": [\n \"demo\"\n ],\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"demo\"\n },\n {\n \"DirectConnectGatewayId\": \"dcg-6eeis68f\",\n \"DirectConnectGatewayName\": \"我的网关\",\n \"DirectConnectGatewayIp\": \"10.6.223.4\",\n \"GatewayType\": \"NORMAL\",\n \"NetworkType\": \"CCN\",\n \"NetworkInstanceId\": \"\",\n \"VpcId\": \"vpc-jkmjx7pd\",\n \"CcnId\": \"\",\n \"CcnRouteType\": \"STATIC\",\n \"EnableBGP\": false,\n \"CreateTime\": \"2018-10-22 21:22:26\",\n \"HaZoneList\": [\n \"demo\"\n ],\n \"LocalZone\": true,\n \"NewAfc\": 1,\n \"EnableBGPCommunity\": true,\n \"Zone\": \"demo\",\n \"FlowDetailsUpdateTime\": \"demo\",\n \"AccessNetworkType\": \"demo\",\n \"EnableFlowDetails\": 1,\n \"VXLANSupport\": [\n true\n ],\n \"ModeType\": \"demo\",\n \"NatGatewayId\": \"demo\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"8c77ce69-68e2-4dfa-94ea-a6df5c914f52\"\n }\n}",
|
1520
1520
|
"title": "多条件过滤查询专线网关列表"
|
1521
1521
|
}
|
1522
1522
|
],
|
@@ -1830,13 +1830,13 @@
|
|
1830
1830
|
{
|
1831
1831
|
"document": "按ID过滤查询私网NAT网关",
|
1832
1832
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrivateNatGateways\n<公共请求参数>\n\n{\n \"NatGatewayIds\": [\n \"intranat-0g3blj80\"\n ]\n}",
|
1833
|
-
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"NatGatewayName\": \"test_nat\",\n \"VpcId\": \"vpc-noanwmed\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2022-09-29 15:58:00\",\n \"DirectConnectGatewayIds\": [],\n \"TagSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"757e8409-faa3-4b7f-bfc3-7e1670bf40af\"\n }\n}",
|
1833
|
+
"output": "{\n \"Response\": {\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-0g3blj80\",\n \"NatGatewayName\": \"test_nat\",\n \"NatType\": \"DCG\",\n \"VpcId\": \"vpc-noanwmed\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2022-09-29 15:58:00\",\n \"DirectConnectGatewayIds\": [],\n \"TagSet\": []\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"757e8409-faa3-4b7f-bfc3-7e1670bf40af\"\n }\n}",
|
1834
1834
|
"title": "按ID过滤查询私网NAT网关"
|
1835
1835
|
},
|
1836
1836
|
{
|
1837
1837
|
"document": "按标签过滤查询私网NAT网关",
|
1838
1838
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePrivateNatGateways\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"TagKey\",\n \"Values\": [\n \"负责人\"\n ]\n }\n ]\n}",
|
1839
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-ryur99m8\",\n \"NatGatewayName\": \"example\",\n \"VpcId\": \"vpc-d3rrkwej\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2023-03-09 16:19:24\",\n \"TagSet\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"
|
1839
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"PrivateNatGatewaySet\": [\n {\n \"NatGatewayId\": \"intranat-ryur99m8\",\n \"NatGatewayName\": \"example\",\n \"VpcId\": \"vpc-d3rrkwej\",\n \"Status\": \"AVAILABLE\",\n \"CrossDomain\": false,\n \"CreatedTime\": \"2023-03-09 16:19:24\",\n \"TagSet\": [\n {\n \"Key\": \"负责人\",\n \"Value\": \"TencentCloud\"\n }\n ],\n \"DirectConnectGatewayIds\": [],\n \"NatType\": \"DCG\",\n \"CrossDomainInfo\": {\n \"CcnId\": \"ccn-123abcef\",\n \"LocalVpcId\": \"vpc-12345678\",\n \"PeerVpcId\": \"vpc-abcdefgh\"\n }\n }\n ],\n \"RequestId\": \"e13d67ca-4b7b-4337-b8c5-7df7707c89ca\"\n }\n}",
|
1840
1840
|
"title": "按标签过滤查询私网NAT网关"
|
1841
1841
|
}
|
1842
1842
|
],
|
@@ -2895,7 +2895,7 @@
|
|
2895
2895
|
"ModifyNatGatewayDestinationIpPortTranslationNatRule": [
|
2896
2896
|
{
|
2897
2897
|
"document": "修改NAT的端口转发规则时,SourceNatRule只需要传递IpProtocol,PublicIpAddress,PublicPort,对于DestinationNatRule参数都可以进行修改的。",
|
2898
|
-
"input": "https://vpc.tencentcloudapi.com/?Action=ModifyNatGatewayDestinationIpPortTranslationNatRule\n&NatGatewayId=nat-3isn9hr0\n&SourceNatRule.IpProtocol=TCP\n&SourceNatRule.PublicIpAddress=139.199.232.238\n&SourceNatRule.PublicPort=8989\n&SourceNatRule.Description=
|
2898
|
+
"input": "https://vpc.tencentcloudapi.com/?Action=ModifyNatGatewayDestinationIpPortTranslationNatRule\n&NatGatewayId=nat-3isn9hr0\n&SourceNatRule.IpProtocol=TCP\n&SourceNatRule.PublicIpAddress=139.199.232.238\n&SourceNatRule.PublicPort=8989\n&SourceNatRule.Description=default\n&SourceNatRule.PrivateIpAddress=10.0.8.9\n&SourceNatRule.PrivatePort=9090\n&DestinationNatRule.IpProtocol=UDP\n&DestinationNatRule.PublicIpAddress=139.199.232.226\n&DestinationNatRule.PublicPort=8586\n&DestinationNatRule.PrivateIpAddress=10.80.80.41\n&DestinationNatRule.PrivatePort=8586\n&DestinationNatRule.Description=test_modify\n&<公共请求参数>",
|
2899
2899
|
"output": "{\n \"Response\": {\n \"RequestId\": \"dbffc3f0-1807-4683-89ee-2d2b96425ee1\"\n }\n}",
|
2900
2900
|
"title": "修改NAT的端口转发规则"
|
2901
2901
|
}
|
@@ -2641,6 +2641,28 @@
|
|
2641
2641
|
"required": false,
|
2642
2642
|
"type": "float",
|
2643
2643
|
"value_allowed_null": true
|
2644
|
+
},
|
2645
|
+
{
|
2646
|
+
"disabled": false,
|
2647
|
+
"document": "时间范围单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
2648
|
+
"example": "minute",
|
2649
|
+
"member": "string",
|
2650
|
+
"name": "IndicatorTimeRangeUnit",
|
2651
|
+
"output_required": false,
|
2652
|
+
"required": false,
|
2653
|
+
"type": "string",
|
2654
|
+
"value_allowed_null": true
|
2655
|
+
},
|
2656
|
+
{
|
2657
|
+
"disabled": false,
|
2658
|
+
"document": "时间范围值\n注意:此字段可能返回 null,表示取不到有效值。",
|
2659
|
+
"example": "12",
|
2660
|
+
"member": "int64",
|
2661
|
+
"name": "IndicatorTimeRangeValue",
|
2662
|
+
"output_required": false,
|
2663
|
+
"required": false,
|
2664
|
+
"type": "int",
|
2665
|
+
"value_allowed_null": true
|
2644
2666
|
}
|
2645
2667
|
],
|
2646
2668
|
"usage": "both"
|
@@ -7589,6 +7611,24 @@
|
|
7589
7611
|
"name": "Async",
|
7590
7612
|
"required": false,
|
7591
7613
|
"type": "bool"
|
7614
|
+
},
|
7615
|
+
{
|
7616
|
+
"disabled": false,
|
7617
|
+
"document": "数据优化使用的资源",
|
7618
|
+
"example": "\"dlc_engine\"",
|
7619
|
+
"member": "string",
|
7620
|
+
"name": "DataOptimizationResource",
|
7621
|
+
"required": false,
|
7622
|
+
"type": "string"
|
7623
|
+
},
|
7624
|
+
{
|
7625
|
+
"disabled": false,
|
7626
|
+
"document": "是否开启数据优化",
|
7627
|
+
"example": "\"open\"",
|
7628
|
+
"member": "string",
|
7629
|
+
"name": "SmartOptimizerWritten",
|
7630
|
+
"required": false,
|
7631
|
+
"type": "string"
|
7592
7632
|
}
|
7593
7633
|
],
|
7594
7634
|
"type": "object"
|
@@ -7681,6 +7721,24 @@
|
|
7681
7721
|
"name": "Incharge",
|
7682
7722
|
"required": false,
|
7683
7723
|
"type": "string"
|
7724
|
+
},
|
7725
|
+
{
|
7726
|
+
"disabled": false,
|
7727
|
+
"document": "数据优化引擎",
|
7728
|
+
"example": "\"dlc_op\"",
|
7729
|
+
"member": "string",
|
7730
|
+
"name": "DataOptimizationResource",
|
7731
|
+
"required": false,
|
7732
|
+
"type": "string"
|
7733
|
+
},
|
7734
|
+
{
|
7735
|
+
"disabled": false,
|
7736
|
+
"document": "是否开启数据优化",
|
7737
|
+
"example": "\"open\"",
|
7738
|
+
"member": "string",
|
7739
|
+
"name": "SmartOptimizerWritten",
|
7740
|
+
"required": false,
|
7741
|
+
"type": "string"
|
7684
7742
|
}
|
7685
7743
|
],
|
7686
7744
|
"type": "object"
|
@@ -24708,6 +24766,15 @@
|
|
24708
24766
|
"name": "SinkSchemaName",
|
24709
24767
|
"required": false,
|
24710
24768
|
"type": "string"
|
24769
|
+
},
|
24770
|
+
{
|
24771
|
+
"disabled": false,
|
24772
|
+
"document": "获取源信息的环境",
|
24773
|
+
"example": "production",
|
24774
|
+
"member": "string",
|
24775
|
+
"name": "Env",
|
24776
|
+
"required": false,
|
24777
|
+
"type": "string"
|
24711
24778
|
}
|
24712
24779
|
],
|
24713
24780
|
"type": "object"
|
@@ -24718,7 +24785,7 @@
|
|
24718
24785
|
{
|
24719
24786
|
"disabled": false,
|
24720
24787
|
"document": "生成的ddl语句",
|
24721
|
-
"example": "CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint
|
24788
|
+
"example": "CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint ) ",
|
24722
24789
|
"member": "string",
|
24723
24790
|
"name": "DDLSql",
|
24724
24791
|
"output_required": true,
|
@@ -24728,7 +24795,7 @@
|
|
24728
24795
|
{
|
24729
24796
|
"disabled": false,
|
24730
24797
|
"document": "生成的ddl语句。与DDLSql相同含义,优先取Data,如果Data为空,则取DDLSql。\n注意:此字段可能返回 null,表示取不到有效值。",
|
24731
|
-
"example": "CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint
|
24798
|
+
"example": "CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint ) ",
|
24732
24799
|
"member": "string",
|
24733
24800
|
"name": "Data",
|
24734
24801
|
"output_required": true,
|
@@ -43012,6 +43079,17 @@
|
|
43012
43079
|
"required": false,
|
43013
43080
|
"type": "string",
|
43014
43081
|
"value_allowed_null": true
|
43082
|
+
},
|
43083
|
+
{
|
43084
|
+
"disabled": false,
|
43085
|
+
"document": "业务类型, 0-非默认, 1-默认\n注意:此字段可能返回 null,表示取不到有效值。",
|
43086
|
+
"example": "0",
|
43087
|
+
"member": "int64",
|
43088
|
+
"name": "BusinessType",
|
43089
|
+
"output_required": false,
|
43090
|
+
"required": false,
|
43091
|
+
"type": "int",
|
43092
|
+
"value_allowed_null": true
|
43015
43093
|
}
|
43016
43094
|
],
|
43017
43095
|
"usage": "both"
|
@@ -1599,7 +1599,7 @@
|
|
1599
1599
|
"GenHiveTableDDLSql": [
|
1600
1600
|
{
|
1601
1601
|
"document": "生成建hive表的sql",
|
1602
|
-
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenHiveTableDDLSql\n<公共请求参数>\n\n{\n \"Id\": \"\",\n \"ProjectId\": \"1486446569620893696\",\n \"MsType\": \"MYSQL\",\n \"DatasourceId\": \"915669\",\n \"SourceDatabase\": \"source_database_name\",\n \"TableName\": \"test_table_name\",\n \"SinkDatabase\": \"sink_database_name\",\n \"SinkType\": \"HIVE\",\n \"SchemaName\": \"test_schema_name\",\n \"SourceFieldInfoList\": [\n {\n \"FieldName\": \"name\",\n \"FieldType\": \"string\",\n \"Alias\": \"name\"\n }\n ],\n \"Partitions\": [\n {\n \"Transform\": \"identity\",\n \"Name\": \"id\",\n \"TransformArgs\": [\n \"\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"format-version\",\n \"Value\": \"2\"\n }\n ],\n \"TableMode\": 0,\n \"TableVersion\": \"
|
1602
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GenHiveTableDDLSql\n<公共请求参数>\n\n{\n \"Id\": \"\",\n \"ProjectId\": \"1486446569620893696\",\n \"MsType\": \"MYSQL\",\n \"DatasourceId\": \"915669\",\n \"SourceDatabase\": \"source_database_name\",\n \"TableName\": \"test_table_name\",\n \"SinkDatabase\": \"sink_database_name\",\n \"SinkType\": \"HIVE\",\n \"SchemaName\": \"test_schema_name\",\n \"SourceFieldInfoList\": [\n {\n \"FieldName\": \"name\",\n \"FieldType\": \"string\",\n \"Alias\": \"name\"\n }\n ],\n \"Partitions\": [\n {\n \"Transform\": \"identity\",\n \"Name\": \"id\",\n \"TransformArgs\": [\n \"\"\n ]\n }\n ],\n \"Properties\": [\n {\n \"Key\": \"format-version\",\n \"Value\": \"2\"\n }\n ],\n \"TableMode\": 0,\n \"TableVersion\": \"v1\",\n \"UpsertFlag\": true,\n \"TableComment\": \"表注释\",\n \"AddDataFiles\": 0,\n \"AddEqualityDeletes\": 0,\n \"AddPositionDeletes\": 0,\n \"AddDeleteFiles\": 0,\n \"TargetDatasourceId\": \"915792\"\n}",
|
1603
1603
|
"output": "{\n \"Response\": {\n \"DDLSql\": \"CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint comment '主键id',`name` string comment '名称',`len` decimal(5,2),`a1` bigint)row format delimited fields terminated by '\\\\t' STORED AS PARQUET;\",\n \"Data\": \"CREATE TABLE IF NOT EXISTS `test_hive`.`test_table`(`id` bigint comment '主键id',`name` string comment '名称',`len` decimal(5,2),`a1` bigint)row format delimited fields terminated by '\\\\t' STORED AS PARQUET;\",\n \"RequestId\": \"53042adf-3bf5-4d52-aa48-9b91ef2ccaa7\"\n }\n}",
|
1604
1604
|
"title": "GenHiveTableDDLSql"
|
1605
1605
|
}
|