tccli 3.0.1308.1__py2.py3-none-any.whl → 3.0.1309.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/cat/cat_client.py +53 -0
- tccli/services/cat/v20180409/api.json +80 -0
- tccli/services/cat/v20180409/examples.json +8 -0
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +155 -0
- tccli/services/hunyuan/v20230901/examples.json +8 -0
- tccli/services/iss/v20230517/examples.json +1 -1
- tccli/services/mongodb/v20190725/api.json +1 -1
- tccli/services/partners/partners_client.py +57 -4
- tccli/services/partners/v20180321/api.json +151 -0
- tccli/services/partners/v20180321/examples.json +14 -0
- tccli/services/postgres/v20170312/api.json +1 -1
- tccli/services/teo/v20220901/api.json +9 -9
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/thpc/v20230321/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +8 -8
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +20 -1
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20210820/api.json +100 -0
- tccli/services/wedata/v20210820/examples.json +8 -0
- tccli/services/wedata/wedata_client.py +53 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/RECORD +30 -30
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1308.1.dist-info → tccli-3.0.1309.1.dist-info}/license_files/LICENSE +0 -0
@@ -70,6 +70,13 @@
|
|
70
70
|
"output": "DescribeAgentDealsByCacheResponse",
|
71
71
|
"status": "online"
|
72
72
|
},
|
73
|
+
"DescribeAgentDealsPriceDetailByDealName": {
|
74
|
+
"document": "供代理商使用名下有效普通代客的预付费子订单号查询订单费用详情",
|
75
|
+
"input": "DescribeAgentDealsPriceDetailByDealNameRequest",
|
76
|
+
"name": "查询伙伴订单的费用详情",
|
77
|
+
"output": "DescribeAgentDealsPriceDetailByDealNameResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
73
80
|
"DescribeAgentPayDealsV2": {
|
74
81
|
"document": "可以查询代理商代付的预付费订单",
|
75
82
|
"input": "DescribeAgentPayDealsV2Request",
|
@@ -1321,6 +1328,45 @@
|
|
1321
1328
|
],
|
1322
1329
|
"usage": "out"
|
1323
1330
|
},
|
1331
|
+
"DealPriceDetail": {
|
1332
|
+
"document": "订单价格详情",
|
1333
|
+
"members": [
|
1334
|
+
{
|
1335
|
+
"disabled": false,
|
1336
|
+
"document": "子订单号",
|
1337
|
+
"example": "20250411030002711111111",
|
1338
|
+
"member": "string",
|
1339
|
+
"name": "DealName",
|
1340
|
+
"output_required": false,
|
1341
|
+
"required": false,
|
1342
|
+
"type": "string",
|
1343
|
+
"value_allowed_null": false
|
1344
|
+
},
|
1345
|
+
{
|
1346
|
+
"disabled": false,
|
1347
|
+
"document": "订单归属人uin(代客uin)",
|
1348
|
+
"example": "1000001",
|
1349
|
+
"member": "string",
|
1350
|
+
"name": "OwnerUin",
|
1351
|
+
"output_required": false,
|
1352
|
+
"required": false,
|
1353
|
+
"type": "string",
|
1354
|
+
"value_allowed_null": false
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
"disabled": false,
|
1358
|
+
"document": "子产品价格详情列表",
|
1359
|
+
"example": "无",
|
1360
|
+
"member": "SubProductPriceDetail",
|
1361
|
+
"name": "SubProductPriceDetail",
|
1362
|
+
"output_required": false,
|
1363
|
+
"required": false,
|
1364
|
+
"type": "list",
|
1365
|
+
"value_allowed_null": false
|
1366
|
+
}
|
1367
|
+
],
|
1368
|
+
"usage": "both"
|
1369
|
+
},
|
1324
1370
|
"DescribeAgentAuditedClientsRequest": {
|
1325
1371
|
"document": "DescribeAgentAuditedClients请求参数结构体",
|
1326
1372
|
"members": [
|
@@ -1882,6 +1928,61 @@
|
|
1882
1928
|
],
|
1883
1929
|
"type": "object"
|
1884
1930
|
},
|
1931
|
+
"DescribeAgentDealsPriceDetailByDealNameRequest": {
|
1932
|
+
"document": "DescribeAgentDealsPriceDetailByDealName请求参数结构体",
|
1933
|
+
"members": [
|
1934
|
+
{
|
1935
|
+
"disabled": false,
|
1936
|
+
"document": "下单年份(订单创建时间归属年份)",
|
1937
|
+
"example": "2025",
|
1938
|
+
"member": "uint64",
|
1939
|
+
"name": "DealCreatYear",
|
1940
|
+
"required": true,
|
1941
|
+
"type": "int"
|
1942
|
+
},
|
1943
|
+
{
|
1944
|
+
"disabled": false,
|
1945
|
+
"document": "子订单号,每个请求最多查询100条",
|
1946
|
+
"example": "[\"20250411030002711111111\", \"20250411030002722222222\"]",
|
1947
|
+
"member": "string",
|
1948
|
+
"name": "DealNames",
|
1949
|
+
"required": true,
|
1950
|
+
"type": "list"
|
1951
|
+
},
|
1952
|
+
{
|
1953
|
+
"disabled": false,
|
1954
|
+
"document": "订单归属代客uin",
|
1955
|
+
"example": "100001",
|
1956
|
+
"member": "string",
|
1957
|
+
"name": "OwnerUin",
|
1958
|
+
"required": false,
|
1959
|
+
"type": "string"
|
1960
|
+
}
|
1961
|
+
],
|
1962
|
+
"type": "object"
|
1963
|
+
},
|
1964
|
+
"DescribeAgentDealsPriceDetailByDealNameResponse": {
|
1965
|
+
"document": "DescribeAgentDealsPriceDetailByDealName返回参数结构体",
|
1966
|
+
"members": [
|
1967
|
+
{
|
1968
|
+
"disabled": false,
|
1969
|
+
"document": "子订单的费用详情",
|
1970
|
+
"example": "无",
|
1971
|
+
"member": "DealPriceDetail",
|
1972
|
+
"name": "DealList",
|
1973
|
+
"output_required": false,
|
1974
|
+
"type": "list",
|
1975
|
+
"value_allowed_null": false
|
1976
|
+
},
|
1977
|
+
{
|
1978
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1979
|
+
"member": "string",
|
1980
|
+
"name": "RequestId",
|
1981
|
+
"type": "string"
|
1982
|
+
}
|
1983
|
+
],
|
1984
|
+
"type": "object"
|
1985
|
+
},
|
1885
1986
|
"DescribeAgentPayDealsV2Request": {
|
1886
1987
|
"document": "DescribeAgentPayDealsV2请求参数结构体",
|
1887
1988
|
"members": [
|
@@ -2888,6 +2989,56 @@
|
|
2888
2989
|
],
|
2889
2990
|
"type": "object"
|
2890
2991
|
},
|
2992
|
+
"SubProductPriceDetail": {
|
2993
|
+
"document": "订单子产品价格详情",
|
2994
|
+
"members": [
|
2995
|
+
{
|
2996
|
+
"disabled": false,
|
2997
|
+
"document": "子产品名称",
|
2998
|
+
"example": "云服务器CVM-标准型SA5",
|
2999
|
+
"member": "string",
|
3000
|
+
"name": "Name",
|
3001
|
+
"output_required": false,
|
3002
|
+
"required": false,
|
3003
|
+
"type": "string",
|
3004
|
+
"value_allowed_null": false
|
3005
|
+
},
|
3006
|
+
{
|
3007
|
+
"disabled": false,
|
3008
|
+
"document": "折扣值,=100时表示无折扣,=85时表示8.5折",
|
3009
|
+
"example": "85",
|
3010
|
+
"member": "float",
|
3011
|
+
"name": "DiscountValue",
|
3012
|
+
"output_required": false,
|
3013
|
+
"required": false,
|
3014
|
+
"type": "float",
|
3015
|
+
"value_allowed_null": false
|
3016
|
+
},
|
3017
|
+
{
|
3018
|
+
"disabled": false,
|
3019
|
+
"document": "原价,折扣前价格,单位:分",
|
3020
|
+
"example": "900000",
|
3021
|
+
"member": "int64",
|
3022
|
+
"name": "TotalCost",
|
3023
|
+
"output_required": false,
|
3024
|
+
"required": false,
|
3025
|
+
"type": "int",
|
3026
|
+
"value_allowed_null": false
|
3027
|
+
},
|
3028
|
+
{
|
3029
|
+
"disabled": false,
|
3030
|
+
"document": "折后价,单位:分",
|
3031
|
+
"example": "765000",
|
3032
|
+
"member": "int64",
|
3033
|
+
"name": "RealTotalCost",
|
3034
|
+
"output_required": false,
|
3035
|
+
"required": false,
|
3036
|
+
"type": "int",
|
3037
|
+
"value_allowed_null": false
|
3038
|
+
}
|
3039
|
+
],
|
3040
|
+
"usage": "both"
|
3041
|
+
},
|
2891
3042
|
"UnbindClientElem": {
|
2892
3043
|
"document": "解绑客户信息",
|
2893
3044
|
"members": [
|
@@ -86,6 +86,20 @@
|
|
86
86
|
"title": "获取某代理商缓存订单"
|
87
87
|
}
|
88
88
|
],
|
89
|
+
"DescribeAgentDealsPriceDetailByDealName": [
|
90
|
+
{
|
91
|
+
"document": "订单号不存在或订单非当前伙伴的普通代客预付费订单",
|
92
|
+
"input": "POST / HTTP/1.1\nHost: partners.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAgentDealsPriceDetailByDealName\n<公共请求参数>\n\n{\n \"DealCreatYear\": 2022,\n \"DealNames\": [\n \"20221129388001245619661\",\n \"20221129388001245611101\"\n ]\n}",
|
93
|
+
"output": "{\n \"Response\": {\n \"DealList\": [],\n \"RequestId\": \"b70c7e34-9ea6-44a9-ba7c-40dc071b5116\"\n }\n}",
|
94
|
+
"title": "输入的订单未查询到结果"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"document": "成功查询订单费用详情",
|
98
|
+
"input": "POST / HTTP/1.1\nHost: partners.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAgentDealsPriceDetailByDealName\n<公共请求参数>\n\n{\n \"DealCreatYear\": 2025,\n \"DealNames\": [\n \"20250411030002731555371\",\n \"20250411941002731407001\"\n ]\n}",
|
99
|
+
"output": "{\n \"Response\": {\n \"DealList\": [\n {\n \"DealName\": \"20250411030002731555371\",\n \"OwnerUin\": \"100000032030\",\n \"SubProductPriceDetail\": [\n {\n \"DiscountValue\": 100,\n \"Name\": \"流量包\",\n \"RealTotalCost\": 9900,\n \"TotalCost\": 9900\n }\n ]\n },\n {\n \"DealName\": \"20250411941002731407001\",\n \"OwnerUin\": \"700001111941\",\n \"SubProductPriceDetail\": [\n {\n \"DiscountValue\": 100,\n \"Name\": \"带宽-按带宽计费\",\n \"RealTotalCost\": 0,\n \"TotalCost\": 0\n },\n {\n \"DiscountValue\": 87,\n \"Name\": \"内存-标准型S5\",\n \"RealTotalCost\": 3900,\n \"TotalCost\": 4500\n },\n {\n \"DiscountValue\": 87,\n \"Name\": \"CPU-标准型S5\",\n \"RealTotalCost\": 3900,\n \"TotalCost\": 4500\n },\n {\n \"DiscountValue\": 100,\n \"Name\": \"高效云系统盘\",\n \"RealTotalCost\": 3500,\n \"TotalCost\": 3500\n }\n ]\n }\n ],\n \"RequestId\": \"73a3fa9b-6149-4165-aaf9-c6cc7f57e87c\"\n }\n}",
|
100
|
+
"title": "成功查询订单"
|
101
|
+
}
|
102
|
+
],
|
89
103
|
"DescribeAgentPayDealsV2": [
|
90
104
|
{
|
91
105
|
"document": "",
|
@@ -4066,7 +4066,7 @@
|
|
4066
4066
|
"members": [
|
4067
4067
|
{
|
4068
4068
|
"disabled": false,
|
4069
|
-
"document": "数据库对象,当ObjectType为database时,
|
4069
|
+
"document": "数据库对象,当ObjectType为database时,DatabaseName/SchemaName/TableName可为空;当ObjectType为schema时,SchemaName/TableName可为空;当ObjectType为column时,TableName不可为空,其余情况均可为空。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4070
4070
|
"example": "{\"ObjectType\":\"table\",\"ObjectName\":\"test_table\",\"DatabaseName\":\"test_database\",\"SchemaName\":\"test_schema\"}",
|
4071
4071
|
"member": "DatabaseObject",
|
4072
4072
|
"name": "Object",
|
@@ -4666,7 +4666,7 @@
|
|
4666
4666
|
{
|
4667
4667
|
"disabled": false,
|
4668
4668
|
"document": "待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置文件内容可参考下方示例。",
|
4669
|
-
"example": "
|
4669
|
+
"example": "{\"FormatVersion\": \"1.0\"***}",
|
4670
4670
|
"member": "string",
|
4671
4671
|
"name": "Content",
|
4672
4672
|
"required": true,
|
@@ -8058,7 +8058,7 @@
|
|
8058
8058
|
{
|
8059
8059
|
"disabled": false,
|
8060
8060
|
"document": "版本文件的内容。以 JSON 格式返回。",
|
8061
|
-
"example": "
|
8061
|
+
"example": "{\"FormatVersion\": \"1.0\"***}",
|
8062
8062
|
"member": "string",
|
8063
8063
|
"name": "Content",
|
8064
8064
|
"output_required": true,
|
@@ -9344,7 +9344,7 @@
|
|
9344
9344
|
{
|
9345
9345
|
"disabled": false,
|
9346
9346
|
"document": "四层代理实例所属站点的 ID。",
|
9347
|
-
"example": "
|
9347
|
+
"example": "zone-24wjy25v1cwi",
|
9348
9348
|
"member": "string",
|
9349
9349
|
"name": "ZoneId",
|
9350
9350
|
"required": true,
|
@@ -9767,7 +9767,7 @@
|
|
9767
9767
|
},
|
9768
9768
|
{
|
9769
9769
|
"disabled": false,
|
9770
|
-
"document": "过滤条件,Filters.Values的上限为20。详细的过滤条件如下:\n<li>origin-group-id
|
9770
|
+
"document": "过滤条件,Filters.Values的上限为20。详细的过滤条件如下:\n<li>origin-group-id:按照源站组 ID 进行过滤,不支持模糊查询。源站组 ID 形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a;</li><li>origin-group-name: 按照源站组名称进行过滤,使用模糊查询时,仅支持填写一个源站组名称。</li>",
|
9771
9771
|
"example": "无",
|
9772
9772
|
"member": "AdvancedFilter",
|
9773
9773
|
"name": "Filters",
|
@@ -10623,7 +10623,7 @@
|
|
10623
10623
|
{
|
10624
10624
|
"disabled": false,
|
10625
10625
|
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10626
|
-
"example": "
|
10626
|
+
"example": "mainland",
|
10627
10627
|
"member": "string",
|
10628
10628
|
"name": "Area",
|
10629
10629
|
"required": false,
|
@@ -12577,7 +12577,7 @@
|
|
12577
12577
|
{
|
12578
12578
|
"disabled": false,
|
12579
12579
|
"document": "导出的配置的具体内容。以 JSON 格式返回,按照 UTF-8 方式进行编码。配置内容可参考下方示例。",
|
12580
|
-
"example": "
|
12580
|
+
"example": "{\"FormatVersion\": \"1.0\"***}",
|
12581
12581
|
"member": "string",
|
12582
12582
|
"name": "Content",
|
12583
12583
|
"output_required": false,
|
@@ -13959,7 +13959,7 @@
|
|
13959
13959
|
{
|
13960
13960
|
"disabled": false,
|
13961
13961
|
"document": "待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置内容可通过站点配置导出接口(ExportZoneConfig)获取。您可以单独导入「站点加速-全局加速配置」或「站点加速-规则引擎」,传入对应的字段即可,详情可以参考下方示例。",
|
13962
|
-
"example": "
|
13962
|
+
"example": "{\"FormatVersion\": \"1.0\"***}",
|
13963
13963
|
"member": "string",
|
13964
13964
|
"name": "Content",
|
13965
13965
|
"required": true,
|
@@ -22505,7 +22505,7 @@
|
|
22505
22505
|
"members": [
|
22506
22506
|
{
|
22507
22507
|
"disabled": false,
|
22508
|
-
"document": "
|
22508
|
+
"document": "站点域名或者站点下的加速域名。",
|
22509
22509
|
"example": "qq.com",
|
22510
22510
|
"member": "string",
|
22511
22511
|
"name": "Domain",
|
@@ -22531,7 +22531,7 @@
|
|
22531
22531
|
{
|
22532
22532
|
"disabled": false,
|
22533
22533
|
"document": "当验证结果为不通过时,该字段会返回原因,协助您排查问题。",
|
22534
|
-
"example": "
|
22534
|
+
"example": "DnsVerification look up \"edgeonereclaim.hewhehe.qq.cool\" TXT record , content expected: \"reclaim-szexbv5iejcjxne8agf4lr2resmj7c3a\", actual: empty.",
|
22535
22535
|
"member": "string",
|
22536
22536
|
"name": "Result",
|
22537
22537
|
"output_required": true,
|
@@ -754,7 +754,7 @@
|
|
754
754
|
{
|
755
755
|
"document": "查询站点 ID 为 zone-24wjy25v1cwi 的站点下四层代理实例列表。",
|
756
756
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeL4Proxy\n<公共请求参数>\n\n{\n \"Offset\": 1,\n \"Limit\": 10,\n \"Filters\": [],\n \"ZoneId\": \"zone-24wjy25v1cwi\"\n}",
|
757
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4Proxies\": [\n {\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"ProxyName\": \"
|
757
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"L4Proxies\": [\n {\n \"ZoneId\": \"zone-24wjy25v1cwi\",\n \"ProxyId\": \"sid-2qwk27xf7j9g\",\n \"ProxyName\": \"myproxy\",\n \"Area\": \"mainland\",\n \"Cname\": \"myproxy.24wjy25v1cwi.eo.dnse5.com\",\n \"Ips\": [],\n \"Status\": \"online\",\n \"Ipv6\": \"off\",\n \"StaticIp\": \"off\",\n \"AccelerateMainland\": \"off\",\n \"L4ProxyRuleCount\": 1,\n \"UpdateTime\": \"2023-09-22T15:31:04+00:00\"\n }\n ],\n \"RequestId\": \"6f8h5258-cdda-4f82-b7sc-0aef4a219244\"\n }\n}",
|
758
758
|
"title": "查询站点下四层代理实例列表"
|
759
759
|
}
|
760
760
|
],
|
@@ -2017,7 +2017,7 @@
|
|
2017
2017
|
"status": "online"
|
2018
2018
|
},
|
2019
2019
|
"InquiryPriceModifyAddressesBandwidth": {
|
2020
|
-
"document": "EIP
|
2020
|
+
"document": "本接口(InquiryPriceModifyAddressesBandwidth)用于EIP修改带宽询价。",
|
2021
2021
|
"input": "InquiryPriceModifyAddressesBandwidthRequest",
|
2022
2022
|
"name": "弹性公网IP调整带宽询价",
|
2023
2023
|
"output": "InquiryPriceModifyAddressesBandwidthResponse",
|
@@ -3906,7 +3906,7 @@
|
|
3906
3906
|
},
|
3907
3907
|
{
|
3908
3908
|
"disabled": false,
|
3909
|
-
"document": "EIP类型。各种EIP类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:EIP。\n<li>EIP:弹性公网 IP。 </li>\n<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP。</li>\n<li>HighQualityEIP:精品 IP
|
3909
|
+
"document": "EIP类型。各种EIP类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:EIP。\n<li>EIP:弹性公网 IP。 </li>\n<li>AnycastEIP:加速 IP,已开通 [Anycast 公网加速](https://cloud.tencent.com/document/product/644)白名单的用户可选。仅部分地域支持加速IP,详情可见Anycast公网加速[购买指南](https://cloud.tencent.com/document/product/644/12617)。</li>\n<li>HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>\n<li>AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见弹性公网IP[产品概述](https://cloud.tencent.com/document/product/1199/41646)。</li>",
|
3910
3910
|
"example": "AnycastEIP",
|
3911
3911
|
"member": "string",
|
3912
3912
|
"name": "AddressType",
|
@@ -25242,7 +25242,7 @@
|
|
25242
25242
|
"members": [
|
25243
25243
|
{
|
25244
25244
|
"disabled": false,
|
25245
|
-
"document": "EIP唯一ID",
|
25245
|
+
"document": "EIP唯一ID,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressId。",
|
25246
25246
|
"example": "eip-e7yggyi0",
|
25247
25247
|
"member": "string",
|
25248
25248
|
"name": "AddressIds",
|
@@ -25251,7 +25251,7 @@
|
|
25251
25251
|
},
|
25252
25252
|
{
|
25253
25253
|
"disabled": false,
|
25254
|
-
"document": "
|
25254
|
+
"document": "新带宽值,可调整的带宽上限值参考产品文档[带宽上限](https://cloud.tencent.com/document/product/1199/48333)。",
|
25255
25255
|
"example": "1",
|
25256
25256
|
"member": "int64",
|
25257
25257
|
"name": "InternetMaxBandwidthOut",
|
@@ -27788,7 +27788,7 @@
|
|
27788
27788
|
"members": [
|
27789
27789
|
{
|
27790
27790
|
"disabled": false,
|
27791
|
-
"document": "弹性公网IPv6地址唯一ID",
|
27791
|
+
"document": "弹性公网IPv6地址唯一ID,可以使用[DescribeIPv6Addresses](https://cloud.tencent.com/document/api/215/113677)接口获取IPv6AddressId。",
|
27792
27792
|
"example": "[\"eipv6-3lxpc6sh\"]",
|
27793
27793
|
"member": "string",
|
27794
27794
|
"name": "IPv6AddressIds",
|
@@ -27797,7 +27797,7 @@
|
|
27797
27797
|
},
|
27798
27798
|
{
|
27799
27799
|
"disabled": false,
|
27800
|
-
"document": "弹性公网IPv6
|
27800
|
+
"document": "弹性公网IPv6地址网络带宽,可调整的带宽上限值参考产品文档中[IPv6 计费限制说明](https://cloud.tencent.com/document/product/1142/38369)。",
|
27801
27801
|
"example": "10",
|
27802
27802
|
"member": "int64",
|
27803
27803
|
"name": "InternetMaxBandwidthOut",
|
@@ -34119,11 +34119,11 @@
|
|
34119
34119
|
"members": [
|
34120
34120
|
{
|
34121
34121
|
"disabled": false,
|
34122
|
-
"document": "普通公网IP 的 IP
|
34122
|
+
"document": "普通公网IP 的 IP 地址,可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取AddressIps。",
|
34123
34123
|
"example": "[\"101.35.139.183\"]",
|
34124
34124
|
"member": "string",
|
34125
34125
|
"name": "AddressIps",
|
34126
|
-
"required":
|
34126
|
+
"required": true,
|
34127
34127
|
"type": "list"
|
34128
34128
|
}
|
34129
34129
|
],
|
@@ -2649,7 +2649,7 @@
|
|
2649
2649
|
"InquiryPriceModifyAddressesBandwidth": [
|
2650
2650
|
{
|
2651
2651
|
"document": "小时流量EIP修改带宽询价。",
|
2652
|
-
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceModifyAddressesBandwidth\n<公共请求参数>\n\n{\n \"InternetMaxBandwidthOut\":
|
2652
|
+
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceModifyAddressesBandwidth\n<公共请求参数>\n\n{\n \"InternetMaxBandwidthOut\": 2,\n \"AddressIds\": [\n \"eip-hxlqja90\"\n ]\n}",
|
2653
2653
|
"output": "{\n \"Response\": {\n \"Price\": {\n \"AddressPrice\": {\n \"UnitPrice\": 0.8,\n \"DiscountPrice\": 0.8,\n \"ChargeUnit\": \"HOUR\"\n }\n },\n \"RequestId\": \"7daad6af-50de-4df5-8238-0d76c7be62e1\"\n }\n}",
|
2654
2654
|
"title": "小时流量EIP修改带宽询价"
|
2655
2655
|
},
|
@@ -19761,7 +19761,26 @@
|
|
19761
19761
|
},
|
19762
19762
|
"ModifyInstanceAttackLogPostRequest": {
|
19763
19763
|
"document": "ModifyInstanceAttackLogPost请求参数结构体",
|
19764
|
-
"members": [
|
19764
|
+
"members": [
|
19765
|
+
{
|
19766
|
+
"disabled": false,
|
19767
|
+
"document": "实例ID",
|
19768
|
+
"example": "waf_000001",
|
19769
|
+
"member": "string",
|
19770
|
+
"name": "InstanceId",
|
19771
|
+
"required": true,
|
19772
|
+
"type": "string"
|
19773
|
+
},
|
19774
|
+
{
|
19775
|
+
"disabled": false,
|
19776
|
+
"document": "攻击日志投递开关",
|
19777
|
+
"example": "1",
|
19778
|
+
"member": "int64",
|
19779
|
+
"name": "AttackLogPost",
|
19780
|
+
"required": true,
|
19781
|
+
"type": "int"
|
19782
|
+
}
|
19783
|
+
],
|
19765
19784
|
"type": "object"
|
19766
19785
|
},
|
19767
19786
|
"ModifyInstanceAttackLogPostResponse": {
|
@@ -1137,7 +1137,7 @@
|
|
1137
1137
|
"ModifyInstanceAttackLogPost": [
|
1138
1138
|
{
|
1139
1139
|
"document": "",
|
1140
|
-
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceAttackLogPost\n<公共请求参数>\n\n{}",
|
1140
|
+
"input": "POST / HTTP/1.1\nHost: waf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyInstanceAttackLogPost\n<公共请求参数>\n\n{\n \"InstanceId\": \"waf_000000001\",\n \"AttackLogPost\": 1\n}",
|
1141
1141
|
"output": "{\n \"Response\": {\n \"RequestId\": \"b4f13899-561b-46a0-a045-6ba6b72c38f2\"\n }\n}",
|
1142
1142
|
"title": "开通实例攻击日志投递"
|
1143
1143
|
}
|
@@ -476,6 +476,13 @@
|
|
476
476
|
"output": "DescribeApproveTypeListResponse",
|
477
477
|
"status": "online"
|
478
478
|
},
|
479
|
+
"DescribeBaseBizCatalogs": {
|
480
|
+
"document": "数据地图-信息配置 数据类目列表",
|
481
|
+
"input": "DescribeBaseBizCatalogsRequest",
|
482
|
+
"name": "数据类目基础信息列表",
|
483
|
+
"output": "DescribeBaseBizCatalogsResponse",
|
484
|
+
"status": "online"
|
485
|
+
},
|
479
486
|
"DescribeBatchOperateTask": {
|
480
487
|
"document": "批量操作页面获取任务列表",
|
481
488
|
"input": "DescribeBatchOperateTaskRequest",
|
@@ -5551,6 +5558,72 @@
|
|
5551
5558
|
],
|
5552
5559
|
"type": "object"
|
5553
5560
|
},
|
5561
|
+
"BizCatalogsInfo": {
|
5562
|
+
"document": "数据地图-数据类目信息",
|
5563
|
+
"members": [
|
5564
|
+
{
|
5565
|
+
"disabled": false,
|
5566
|
+
"document": "应用id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5567
|
+
"example": "1234",
|
5568
|
+
"member": "string",
|
5569
|
+
"name": "AppId",
|
5570
|
+
"required": true,
|
5571
|
+
"type": "string",
|
5572
|
+
"value_allowed_null": true
|
5573
|
+
},
|
5574
|
+
{
|
5575
|
+
"disabled": false,
|
5576
|
+
"document": "类目id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5577
|
+
"example": "122",
|
5578
|
+
"member": "int64",
|
5579
|
+
"name": "Id",
|
5580
|
+
"required": true,
|
5581
|
+
"type": "int",
|
5582
|
+
"value_allowed_null": true
|
5583
|
+
},
|
5584
|
+
{
|
5585
|
+
"disabled": false,
|
5586
|
+
"document": "类目层级\n注意:此字段可能返回 null,表示取不到有效值。",
|
5587
|
+
"example": "1",
|
5588
|
+
"member": "int64",
|
5589
|
+
"name": "Level",
|
5590
|
+
"required": true,
|
5591
|
+
"type": "int",
|
5592
|
+
"value_allowed_null": true
|
5593
|
+
},
|
5594
|
+
{
|
5595
|
+
"disabled": false,
|
5596
|
+
"document": "类目名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
5597
|
+
"example": "类目名称",
|
5598
|
+
"member": "string",
|
5599
|
+
"name": "Name",
|
5600
|
+
"required": true,
|
5601
|
+
"type": "string",
|
5602
|
+
"value_allowed_null": true
|
5603
|
+
},
|
5604
|
+
{
|
5605
|
+
"disabled": false,
|
5606
|
+
"document": "上级类目id\n注意:此字段可能返回 null,表示取不到有效值。",
|
5607
|
+
"example": "144",
|
5608
|
+
"member": "int64",
|
5609
|
+
"name": "ParentId",
|
5610
|
+
"required": true,
|
5611
|
+
"type": "int",
|
5612
|
+
"value_allowed_null": true
|
5613
|
+
},
|
5614
|
+
{
|
5615
|
+
"disabled": false,
|
5616
|
+
"document": "类目顺序\n注意:此字段可能返回 null,表示取不到有效值。",
|
5617
|
+
"example": "1",
|
5618
|
+
"member": "int64",
|
5619
|
+
"name": "Position",
|
5620
|
+
"required": true,
|
5621
|
+
"type": "int",
|
5622
|
+
"value_allowed_null": true
|
5623
|
+
}
|
5624
|
+
],
|
5625
|
+
"usage": "both"
|
5626
|
+
},
|
5554
5627
|
"BytesSpeed": {
|
5555
5628
|
"document": "实时任务同步速度 字节/s",
|
5556
5629
|
"members": [
|
@@ -13100,6 +13173,33 @@
|
|
13100
13173
|
],
|
13101
13174
|
"type": "object"
|
13102
13175
|
},
|
13176
|
+
"DescribeBaseBizCatalogsRequest": {
|
13177
|
+
"document": "DescribeBaseBizCatalogs请求参数结构体",
|
13178
|
+
"members": [],
|
13179
|
+
"type": "object"
|
13180
|
+
},
|
13181
|
+
"DescribeBaseBizCatalogsResponse": {
|
13182
|
+
"document": "DescribeBaseBizCatalogs返回参数结构体",
|
13183
|
+
"members": [
|
13184
|
+
{
|
13185
|
+
"disabled": false,
|
13186
|
+
"document": "类目列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
13187
|
+
"example": "无",
|
13188
|
+
"member": "BizCatalogsInfo",
|
13189
|
+
"name": "Data",
|
13190
|
+
"required": true,
|
13191
|
+
"type": "list",
|
13192
|
+
"value_allowed_null": true
|
13193
|
+
},
|
13194
|
+
{
|
13195
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13196
|
+
"member": "string",
|
13197
|
+
"name": "RequestId",
|
13198
|
+
"type": "string"
|
13199
|
+
}
|
13200
|
+
],
|
13201
|
+
"type": "object"
|
13202
|
+
},
|
13103
13203
|
"DescribeBatchOperateTaskDTO": {
|
13104
13204
|
"document": "批量操作任务列表",
|
13105
13205
|
"members": [
|
@@ -574,6 +574,14 @@
|
|
574
574
|
"title": "测试通过示例"
|
575
575
|
}
|
576
576
|
],
|
577
|
+
"DescribeBaseBizCatalogs": [
|
578
|
+
{
|
579
|
+
"document": "",
|
580
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaseBizCatalogs\n<公共请求参数>\n\n{}",
|
581
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"AppId\": \"\",\n \"Name\": \"\",\n \"Id\": 0,\n \"Level\": 0,\n \"ParentId\": 0,\n \"Position\": 0\n }\n ],\n \"RequestId\": \"123\"\n }\n}",
|
582
|
+
"title": "类目基础信息列表"
|
583
|
+
}
|
584
|
+
],
|
577
585
|
"DescribeBatchOperateTask": [
|
578
586
|
{
|
579
587
|
"document": "查询失败",
|
@@ -849,6 +849,58 @@ def doRegisterEventListener(args, parsed_globals):
|
|
849
849
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
850
|
|
851
851
|
|
852
|
+
def doDescribeBaseBizCatalogs(args, parsed_globals):
|
853
|
+
g_param = parse_global_arg(parsed_globals)
|
854
|
+
|
855
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
856
|
+
cred = credential.CVMRoleCredential()
|
857
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
858
|
+
cred = credential.STSAssumeRoleCredential(
|
859
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
860
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
861
|
+
)
|
862
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
863
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
864
|
+
else:
|
865
|
+
cred = credential.Credential(
|
866
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
867
|
+
)
|
868
|
+
http_profile = HttpProfile(
|
869
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
870
|
+
reqMethod="POST",
|
871
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
872
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
873
|
+
)
|
874
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
875
|
+
if g_param[OptionsDefine.Language]:
|
876
|
+
profile.language = g_param[OptionsDefine.Language]
|
877
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
878
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
879
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
880
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
+
model = models.DescribeBaseBizCatalogsRequest()
|
882
|
+
model.from_json_string(json.dumps(args))
|
883
|
+
start_time = time.time()
|
884
|
+
while True:
|
885
|
+
rsp = client.DescribeBaseBizCatalogs(model)
|
886
|
+
result = rsp.to_json_string()
|
887
|
+
try:
|
888
|
+
json_obj = json.loads(result)
|
889
|
+
except TypeError as e:
|
890
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
891
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
892
|
+
break
|
893
|
+
cur_time = time.time()
|
894
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
895
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
896
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
897
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
898
|
+
else:
|
899
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
900
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
901
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
|
+
|
903
|
+
|
852
904
|
def doCreateHiveTable(args, parsed_globals):
|
853
905
|
g_param = parse_global_arg(parsed_globals)
|
854
906
|
|
@@ -13356,6 +13408,7 @@ ACTION_MAP = {
|
|
13356
13408
|
"BatchKillIntegrationTaskInstances": doBatchKillIntegrationTaskInstances,
|
13357
13409
|
"ModifyExecStrategy": doModifyExecStrategy,
|
13358
13410
|
"RegisterEventListener": doRegisterEventListener,
|
13411
|
+
"DescribeBaseBizCatalogs": doDescribeBaseBizCatalogs,
|
13359
13412
|
"CreateHiveTable": doCreateHiveTable,
|
13360
13413
|
"DescribeDrInstancePage": doDescribeDrInstancePage,
|
13361
13414
|
"DescribeOperateOpsTasks": doDescribeOperateOpsTasks,
|