tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1249.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/aca/v20210323/api.json +9 -9
- 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/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bh/v20230418/api.json +2 -2
- tccli/services/cbs/v20170312/api.json +6 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +3 -1
- tccli/services/clb/v20180317/api.json +29 -1
- tccli/services/clb/v20180317/examples.json +2 -2
- tccli/services/cloudapp/v20220530/api.json +43 -12
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +4 -4
- 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/cynosdb/v20190107/api.json +64 -0
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +202 -171
- tccli/services/drm/v20181115/api.json +18 -7
- tccli/services/dts/v20211206/api.json +37 -1
- tccli/services/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/emr/v20190103/api.json +639 -514
- tccli/services/emr/v20190103/examples.json +10 -10
- tccli/services/ess/v20201111/api.json +184 -165
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +109 -90
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gaap/v20180529/api.json +12 -11
- tccli/services/gaap/v20180529/examples.json +2 -8
- tccli/services/gme/v20180711/api.json +110 -100
- tccli/services/gme/v20180711/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hai/hai_client.py +121 -15
- tccli/services/hai/v20230812/api.json +259 -2
- tccli/services/hai/v20230812/examples.json +18 -2
- 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/keewidb/v20220308/api.json +17 -17
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +13 -13
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mna/v20210119/api.json +22 -22
- tccli/services/mongodb/v20180408/api.json +52 -50
- tccli/services/mongodb/v20180408/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +39 -44
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/postgres/postgres_client.py +106 -0
- tccli/services/postgres/v20170312/api.json +135 -0
- tccli/services/postgres/v20170312/examples.json +16 -0
- tccli/services/redis/v20180412/api.json +172 -172
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/sms/v20190711/api.json +48 -0
- tccli/services/sms/v20210111/api.json +48 -0
- tccli/services/ssl/v20191205/api.json +6 -6
- tccli/services/ssl/v20191205/examples.json +71 -5
- tccli/services/tcb/v20180608/api.json +828 -631
- tccli/services/tcb/v20180608/examples.json +19 -19
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +18 -17
- tccli/services/tcr/v20190924/examples.json +6 -6
- tccli/services/tione/v20211111/api.json +23 -3
- tccli/services/trro/v20220325/api.json +12 -2
- tccli/services/trtc/v20190722/api.json +165 -163
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +40 -30
- tccli/services/vpc/v20170312/examples.json +13 -13
- tccli/services/wedata/v20210820/api.json +80 -2
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/RECORD +89 -89
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/license_files/LICENSE +0 -0
@@ -474,13 +474,13 @@
|
|
474
474
|
{
|
475
475
|
"document": "无",
|
476
476
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdatePublishCdnStream\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400188366,\n \"TaskId\": \"-m97l2ZU7kOlV5cTRMoU6yoGp2nDYkzbJ13EC4K-4pycoZXVv+XVrNoUXQ8++8Z2PwUlAQ..\",\n \"SequenceNumber\": 20,\n \"WithTranscoding\": 1,\n \"PublishCdnParams\": [\n {\n \"IsTencentCdn\": 1,\n \"PublishCdnUrl\": \"rtmp://3891.livepush.myqcloud.com/live/trtc_publishcdn_test2?bizid=3891&txSecret=23aeb6ec16fd275af0d00a447b2282f7&txTime=62635BDE\"\n }\n ]\n}",
|
477
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"
|
477
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"-nHPekVU7h******sceOqAZ1YVQE.\"\n }\n}",
|
478
478
|
"title": "更新转推参数"
|
479
479
|
},
|
480
480
|
{
|
481
481
|
"document": "更新为混主播Trtc_User_0和Trtc_User_3的音视频。",
|
482
482
|
"input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdatePublishCdnStream\n<公共请求参数>\n\n{\n \"SdkAppId\": 1400188366,\n \"TaskId\": \"-m97l2ZU7kOlV5cTRMoU6yoGp2nDYkzbJ13EC4K-4pycoZXVv+XVrNoUXQ8++8Z2PwUlAQ..\",\n \"SequenceNumber\": 20,\n \"WithTranscoding\": 1,\n \"AudioParams\": {\n \"SubscribeAudioList\": [\n {\n \"UserInfo\": {\n \"RoomId\": \"48111\",\n \"RoomIdType\": 0,\n \"UserId\": \"Trtc_User_0\"\n }\n },\n {\n \"UserInfo\": {\n \"RoomId\": \"48111\",\n \"RoomIdType\": 0,\n \"UserId\": \"Trtc_User_3\"\n }\n }\n ]\n },\n \"VideoParams\": {\n \"LayoutParams\": {\n \"MixLayoutMode\": 4,\n \"MixLayoutList\": [\n {\n \"UserMediaStream\": {\n \"UserInfo\": {\n \"RoomId\": \"48111\",\n \"RoomIdType\": 0,\n \"UserId\": \"Trtc_User_3\"\n },\n \"StreamType\": 0\n },\n \"ImageWidth\": 640,\n \"ImageHeight\": 720,\n \"LocationX\": 0,\n \"LocationY\": 0,\n \"ZOrder\": 0,\n \"RenderMode\": 0\n },\n {\n \"UserMediaStream\": {\n \"UserInfo\": {\n \"RoomId\": \"48111\",\n \"RoomIdType\": 0,\n \"UserId\": \"Trtc_User_0\"\n },\n \"StreamType\": 0\n },\n \"ImageWidth\": 640,\n \"ImageHeight\": 720,\n \"LocationX\": 640,\n \"LocationY\": 360,\n \"ZOrder\": 0,\n \"RenderMode\": 0\n }\n ]\n }\n }\n}",
|
483
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"
|
483
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"71993312-6ab8-4768-9124-118e0a20c45f\",\n \"TaskId\": \"-nHPekVU7h******sceOqAZ1YVQE.\"\n }\n}",
|
484
484
|
"title": "更新混音和布局参数"
|
485
485
|
}
|
486
486
|
],
|
@@ -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"
|
@@ -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,
|
@@ -10352,13 +10352,13 @@
|
|
10352
10352
|
"members": [
|
10353
10353
|
{
|
10354
10354
|
"disabled": false,
|
10355
|
-
"document": "对等连接ID
|
10355
|
+
"document": "对等连接ID",
|
10356
10356
|
"example": "pcx-xxxxxx",
|
10357
10357
|
"member": "string",
|
10358
10358
|
"name": "PeeringConnectionId",
|
10359
10359
|
"output_required": true,
|
10360
10360
|
"type": "string",
|
10361
|
-
"value_allowed_null":
|
10361
|
+
"value_allowed_null": false
|
10362
10362
|
},
|
10363
10363
|
{
|
10364
10364
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -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"
|
@@ -24788,7 +24788,7 @@
|
|
24788
24788
|
},
|
24789
24789
|
{
|
24790
24790
|
"disabled": false,
|
24791
|
-
"document": "`IPv6`子网段。形如:`3402:4e00:20:1001::/64
|
24791
|
+
"document": "`IPv6`子网段。形如:`3402:4e00:20:1001::/64`。作为AssignIpv6SubnetCidrBlock接口入参时,该参数必填。",
|
24792
24792
|
"example": "3402:4e00:20:1202::/64",
|
24793
24793
|
"member": "string",
|
24794
24794
|
"name": "Ipv6CidrBlock",
|
@@ -27866,7 +27866,7 @@
|
|
27866
27866
|
{
|
27867
27867
|
"disabled": false,
|
27868
27868
|
"document": "对等连接ID。",
|
27869
|
-
"example": "
|
27869
|
+
"example": "pcx-0npfx81k",
|
27870
27870
|
"member": "string",
|
27871
27871
|
"name": "PeeringConnectionId",
|
27872
27872
|
"required": true,
|
@@ -27875,7 +27875,7 @@
|
|
27875
27875
|
{
|
27876
27876
|
"disabled": false,
|
27877
27877
|
"document": "对等连接名称。",
|
27878
|
-
"example": "
|
27878
|
+
"example": "内部使用",
|
27879
27879
|
"member": "string",
|
27880
27880
|
"name": "PeeringConnectionName",
|
27881
27881
|
"required": false,
|
@@ -28930,23 +28930,23 @@
|
|
28930
28930
|
},
|
28931
28931
|
{
|
28932
28932
|
"disabled": false,
|
28933
|
-
"document": "
|
28933
|
+
"document": "创建时间。",
|
28934
28934
|
"example": "2019-09-11 10:00:00",
|
28935
28935
|
"member": "datetime",
|
28936
28936
|
"name": "CreateTime",
|
28937
28937
|
"output_required": true,
|
28938
28938
|
"type": "string",
|
28939
|
-
"value_allowed_null":
|
28939
|
+
"value_allowed_null": false
|
28940
28940
|
},
|
28941
28941
|
{
|
28942
28942
|
"disabled": false,
|
28943
|
-
"document": "标签键值对。\t
|
28944
|
-
"example": "[]",
|
28943
|
+
"document": "标签键值对。\t",
|
28944
|
+
"example": "[{\"Key\": \"env\", \"Value\": \"prod\"}]",
|
28945
28945
|
"member": "Tag",
|
28946
28946
|
"name": "TagSet",
|
28947
28947
|
"output_required": false,
|
28948
28948
|
"type": "list",
|
28949
|
-
"value_allowed_null":
|
28949
|
+
"value_allowed_null": false
|
28950
28950
|
}
|
28951
28951
|
],
|
28952
28952
|
"usage": "out"
|
@@ -29854,7 +29854,7 @@
|
|
29854
29854
|
{
|
29855
29855
|
"disabled": false,
|
29856
29856
|
"document": "本端APPID。",
|
29857
|
-
"example": "
|
29857
|
+
"example": "120777408",
|
29858
29858
|
"member": "int64",
|
29859
29859
|
"name": "AppId",
|
29860
29860
|
"output_required": true,
|
@@ -29864,7 +29864,7 @@
|
|
29864
29864
|
{
|
29865
29865
|
"disabled": false,
|
29866
29866
|
"document": "对端APPID。",
|
29867
|
-
"example": "
|
29867
|
+
"example": "120777408",
|
29868
29868
|
"member": "int64",
|
29869
29869
|
"name": "PeerAppId",
|
29870
29870
|
"output_required": true,
|
@@ -29913,23 +29913,33 @@
|
|
29913
29913
|
},
|
29914
29914
|
{
|
29915
29915
|
"disabled": false,
|
29916
|
-
"document": "服务分级:PT、AU、AG
|
29916
|
+
"document": "服务分级:PT、AU、AG。",
|
29917
29917
|
"example": "AU",
|
29918
29918
|
"member": "string",
|
29919
29919
|
"name": "QosLevel",
|
29920
29920
|
"output_required": true,
|
29921
29921
|
"type": "string",
|
29922
|
-
"value_allowed_null":
|
29922
|
+
"value_allowed_null": false
|
29923
29923
|
},
|
29924
29924
|
{
|
29925
29925
|
"disabled": false,
|
29926
|
-
"document": "互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC
|
29926
|
+
"document": "互通类型,VPC_PEER:VPC间互通;VPC_BM_PEER:VPC与黑石网络互通。",
|
29927
29927
|
"example": "VPC_PEER",
|
29928
29928
|
"member": "string",
|
29929
29929
|
"name": "Type",
|
29930
29930
|
"output_required": true,
|
29931
29931
|
"type": "string",
|
29932
|
-
"value_allowed_null":
|
29932
|
+
"value_allowed_null": false
|
29933
|
+
},
|
29934
|
+
{
|
29935
|
+
"disabled": false,
|
29936
|
+
"document": "对端VPC唯一ID。",
|
29937
|
+
"example": "vpc-test5678",
|
29938
|
+
"member": "string",
|
29939
|
+
"name": "DestinationVpcId",
|
29940
|
+
"output_required": true,
|
29941
|
+
"type": "string",
|
29942
|
+
"value_allowed_null": false
|
29933
29943
|
}
|
29934
29944
|
],
|
29935
29945
|
"usage": "out"
|
@@ -31183,7 +31193,7 @@
|
|
31183
31193
|
{
|
31184
31194
|
"disabled": false,
|
31185
31195
|
"document": "路由策略对象。需要指定路由策略ID(RouteId)。",
|
31186
|
-
"example": "
|
31196
|
+
"example": "无",
|
31187
31197
|
"member": "Route",
|
31188
31198
|
"name": "Routes",
|
31189
31199
|
"required": true,
|
@@ -31198,7 +31208,7 @@
|
|
31198
31208
|
{
|
31199
31209
|
"disabled": false,
|
31200
31210
|
"document": "原路由策略信息。",
|
31201
|
-
"example": "
|
31211
|
+
"example": "无",
|
31202
31212
|
"member": "Route",
|
31203
31213
|
"name": "OldRouteSet",
|
31204
31214
|
"output_required": true,
|
@@ -31208,7 +31218,7 @@
|
|
31208
31218
|
{
|
31209
31219
|
"disabled": false,
|
31210
31220
|
"document": "修改后的路由策略信息。",
|
31211
|
-
"example": "
|
31221
|
+
"example": "无",
|
31212
31222
|
"member": "Route",
|
31213
31223
|
"name": "NewRouteSet",
|
31214
31224
|
"output_required": true,
|
@@ -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
|
}
|
@@ -739,8 +739,8 @@
|
|
739
739
|
"CreateVpcPeeringConnection": [
|
740
740
|
{
|
741
741
|
"document": "创建对等连接",
|
742
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpcPeeringConnection\n<公共请求参数>\n\n{\n \"PeeringConnectionName\": \"
|
743
|
-
"output": "{\n \"Response\": {\n \"PeeringConnectionId\": \"
|
742
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateVpcPeeringConnection\n<公共请求参数>\n\n{\n \"PeeringConnectionName\": \"研发测试使用\",\n \"DestinationUin\": \"100002840663\",\n \"ChargeType\": \"POSTPAID_BY_DAY_MAX\",\n \"SourceVpcId\": \"vpc-938r310k\",\n \"Bandwidth\": 0,\n \"DestinationVpcId\": \"vpc-938r310k\",\n \"QosLevel\": \"AU\",\n \"Type\": \"VPC_BM_PEER\",\n \"DestinationRegion\": \"ap-guangzhou\"\n}",
|
743
|
+
"output": "{\n \"Response\": {\n \"PeeringConnectionId\": \"pcx-qweq4567\",\n \"RequestId\": \"3477a917-5c3f-4554-942f-7c9b1d049d1d\"\n }\n}",
|
744
744
|
"title": "创建对等连接"
|
745
745
|
}
|
746
746
|
],
|
@@ -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
|
}
|
@@ -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
|
],
|
@@ -2144,7 +2144,7 @@
|
|
2144
2144
|
{
|
2145
2145
|
"document": "根据资源ID查询实例信息",
|
2146
2146
|
"input": "https://vpc.tencentcloudapi.com/?Action=DescribeVpcPeeringConnections\n&PeeringConnectionIds.0=pcx-test1234\n&<公共请求参数>",
|
2147
|
-
"output": "{\n \"Response\": {\n \"
|
2147
|
+
"output": "{\n \"Response\": {\n \"PeerConnectionSet\": [\n {\n \"AppId\": 1000001,\n \"SourceUin\": 1000001234,\n \"SourceRegion\": \"gz\",\n \"SourceVpcId\": \"vpc-test1234\",\n \"PeerAppId\": 1000001,\n \"DestinationUin\": 1000001234,\n \"DestinationRegion\": \"gz\",\n \"PeerVpcId\": \"vpc-test4567\",\n \"DestinationVpcId\": \"vpc-test4567\",\n \"PeeringConnectionId\": \"pcx-test6789\",\n \"PeeringConnectionName\": \"测试用\",\n \"IsNgw\": false,\n \"CreateTime\": \"2024-11-14 11:58:54\",\n \"Bandwidth\": 0,\n \"Type\": \"VPC0\",\n \"State\": \"ACTIVE\",\n \"TagSet\": [],\n \"ChargeType\": \"POSTPAID_BY_DAY_MAX\",\n \"QosLevel\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"65def86e-3408-4bce-b520-37c12559b082\"\n }\n}",
|
2148
2148
|
"title": "根据资源ID查询实例信息"
|
2149
2149
|
}
|
2150
2150
|
],
|
@@ -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
|
}
|
@@ -3141,7 +3141,7 @@
|
|
3141
3141
|
"ModifyVpcPeeringConnection": [
|
3142
3142
|
{
|
3143
3143
|
"document": "修改对等连接",
|
3144
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcPeeringConnection\n<公共请求参数>\n\n{\n \"PeeringConnectionId\": \"
|
3144
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyVpcPeeringConnection\n<公共请求参数>\n\n{\n \"PeeringConnectionId\": \"pcx-as1iqn14\",\n \"PeeringConnectionName\": \"内部网络环境\",\n \"Bandwidth\": 0,\n \"ChargeType\": \"POSTPAID_BY_DAY_MAX\"\n}",
|
3145
3145
|
"output": "{\n \"Response\": {\n \"RequestId\": \"e4008f6c-4bd9-42a7-9e6f-83043db431b2\"\n }\n}",
|
3146
3146
|
"title": "修改对等连接"
|
3147
3147
|
}
|
@@ -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
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1249.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1249
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|