tccli 3.0.1248.1__py2.py3-none-any.whl → 3.0.1249.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +3 -1
- 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/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/ess/v20201111/api.json +163 -163
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +88 -88
- 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 +22 -22
- tccli/services/redis/v20180412/api.json +161 -161
- 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 +134 -131
- tccli/services/tcb/v20180608/examples.json +6 -6
- tccli/services/tcr/v20190924/api.json +5 -5
- tccli/services/trro/v20220325/api.json +12 -2
- tccli/services/trtc/v20190722/api.json +114 -114
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +22 -22
- tccli/services/vpc/v20170312/examples.json +9 -9
- 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.1249.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1249.1.dist-info}/RECORD +52 -52
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1249.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1249.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1248.1.dist-info → tccli-3.0.1249.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"
|
@@ -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,
|
@@ -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"
|
@@ -31193,7 +31193,7 @@
|
|
31193
31193
|
{
|
31194
31194
|
"disabled": false,
|
31195
31195
|
"document": "路由策略对象。需要指定路由策略ID(RouteId)。",
|
31196
|
-
"example": "
|
31196
|
+
"example": "无",
|
31197
31197
|
"member": "Route",
|
31198
31198
|
"name": "Routes",
|
31199
31199
|
"required": true,
|
@@ -31208,7 +31208,7 @@
|
|
31208
31208
|
{
|
31209
31209
|
"disabled": false,
|
31210
31210
|
"document": "原路由策略信息。",
|
31211
|
-
"example": "
|
31211
|
+
"example": "无",
|
31212
31212
|
"member": "Route",
|
31213
31213
|
"name": "OldRouteSet",
|
31214
31214
|
"output_required": true,
|
@@ -31218,7 +31218,7 @@
|
|
31218
31218
|
{
|
31219
31219
|
"disabled": false,
|
31220
31220
|
"document": "修改后的路由策略信息。",
|
31221
|
-
"example": "
|
31221
|
+
"example": "无",
|
31222
31222
|
"member": "Route",
|
31223
31223
|
"name": "NewRouteSet",
|
31224
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
|
}
|
@@ -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
|
],
|
@@ -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
|
}
|
@@ -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
|
# 命令行工具简介
|