tccli 3.0.1342.1__py2.py3-none-any.whl → 3.0.1344.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/__init__.py +6 -0
- tccli/services/ams/v20201229/api.json +46 -46
- tccli/services/ams/v20201229/examples.json +1 -1
- tccli/services/apm/apm_client.py +53 -0
- tccli/services/apm/v20210622/api.json +107 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/batch/batch_client.py +53 -0
- tccli/services/batch/v20170312/api.json +125 -0
- tccli/services/batch/v20170312/examples.json +8 -0
- tccli/services/bh/v20230418/api.json +282 -1
- tccli/services/bh/v20230418/examples.json +3 -3
- tccli/services/bi/v20220105/api.json +9 -0
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdb/v20170320/api.json +40 -40
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdwch/cdwch_client.py +53 -0
- tccli/services/cdwch/v20200915/api.json +410 -0
- tccli/services/cdwch/v20200915/examples.json +8 -0
- tccli/services/cdwdoris/v20211228/api.json +22 -2
- tccli/services/cfg/v20210820/api.json +72 -0
- tccli/services/ckafka/v20190819/api.json +21 -1
- tccli/services/csip/csip_client.py +163 -4
- tccli/services/csip/v20221121/api.json +967 -164
- tccli/services/csip/v20221121/examples.json +29 -5
- tccli/services/cvm/v20170312/api.json +16 -5
- tccli/services/cvm/v20170312/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +65 -1
- tccli/services/ecm/v20190719/api.json +14 -14
- tccli/services/emr/emr_client.py +167 -8
- tccli/services/emr/v20190103/api.json +809 -14
- tccli/services/emr/v20190103/examples.json +24 -0
- tccli/services/es/v20250101/examples.json +2 -2
- tccli/services/ess/v20201111/api.json +16 -7
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/gs/v20191118/api.json +40 -1
- tccli/services/gs/v20191118/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/igtm/__init__.py +4 -0
- tccli/services/igtm/igtm_client.py +1373 -0
- tccli/services/igtm/v20231024/api.json +3569 -0
- tccli/services/igtm/v20231024/examples.json +207 -0
- tccli/services/ims/v20201229/api.json +20 -28
- tccli/services/ioa/ioa_client.py +114 -8
- tccli/services/ioa/v20220601/api.json +218 -3
- tccli/services/ioa/v20220601/examples.json +16 -0
- tccli/services/iss/v20230517/api.json +11 -2
- tccli/services/kms/v20190118/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/mongodb/mongodb_client.py +57 -4
- tccli/services/mongodb/v20190725/api.json +189 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +43 -5
- tccli/services/ocr/v20181119/api.json +137 -118
- tccli/services/partners/v20180321/api.json +1 -1
- tccli/services/securitylake/__init__.py +4 -0
- tccli/services/securitylake/securitylake_client.py +207 -0
- tccli/services/securitylake/v20240117/api.json +723 -0
- tccli/services/securitylake/v20240117/examples.json +13 -0
- tccli/services/tcbr/v20220217/api.json +70 -0
- tccli/services/tdmq/v20200217/api.json +263 -5
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/teo/teo_client.py +269 -4
- tccli/services/teo/v20220901/api.json +502 -23
- tccli/services/teo/v20220901/examples.json +77 -1
- tccli/services/tione/tione_client.py +57 -4
- tccli/services/tione/v20211111/api.json +283 -1
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +37 -28
- tccli/services/tms/v20201229/api.json +73 -80
- tccli/services/trocket/v20230308/api.json +80 -80
- tccli/services/trocket/v20230308/examples.json +1 -1
- tccli/services/tsf/tsf_client.py +61 -8
- tccli/services/tsf/v20180326/api.json +3161 -2106
- tccli/services/tsf/v20180326/examples.json +8 -0
- tccli/services/vdb/v20230616/api.json +49 -0
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vm/v20210922/api.json +8 -8
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/wav/v20210129/api.json +10 -10
- tccli/services/wav/v20210129/examples.json +3 -3
- tccli/services/wedata/v20210820/api.json +11 -0
- {tccli-3.0.1342.1.dist-info → tccli-3.0.1344.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1342.1.dist-info → tccli-3.0.1344.1.dist-info}/RECORD +87 -79
- {tccli-3.0.1342.1.dist-info → tccli-3.0.1344.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1342.1.dist-info → tccli-3.0.1344.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1342.1.dist-info → tccli-3.0.1344.1.dist-info}/license_files/LICENSE +0 -0
@@ -44,6 +44,14 @@
|
|
44
44
|
"title": "查询域名 CNAME 状态"
|
45
45
|
}
|
46
46
|
],
|
47
|
+
"ConfirmOriginACLUpdate": [
|
48
|
+
{
|
49
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点确认已将最新的回源 IP 网段更新至源站防火墙。",
|
50
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConfirmOriginACLUpdate\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
|
51
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"af0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
|
52
|
+
"title": "确认已更新至最新的回源 IP 网段"
|
53
|
+
}
|
54
|
+
],
|
47
55
|
"CreateAccelerationDomain": [
|
48
56
|
{
|
49
57
|
"document": "创建源站类型为域名的加速域名。",
|
@@ -796,6 +804,14 @@
|
|
796
804
|
"title": "查询负载均衡列表"
|
797
805
|
}
|
798
806
|
],
|
807
|
+
"DescribeOriginACL": [
|
808
|
+
{
|
809
|
+
"document": "查询 ZoneId 为 'zone-276zs184g93m' 的站点使用的七层加速域名/四层代理实例与回源 IP 网段的绑定关系,以及回源 IP 网段详情。",
|
810
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
|
811
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"de0a2b4f-df6d-4d2a-ac39-1706cbf8a797\",\n \"OriginACLInfo\": {\n \"L7Hosts\": [\n \"www.example.com\"\n ],\n \"L4ProxyIds\": [\n \"proxy-19389e5dwwxfs\"\n ],\n \"CurrentOriginACL\": {\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"Version\": \"mlc-1.0.1-20250421\",\n \"ActiveTime\": \"2014-11-30T10:00:00Z\",\n \"IsPlaned\": \"false\"\n },\n \"Status\": \"online\",\n \"NextOriginACL\": {\n \"Version\": \"mlc-1.0.1-20250422\",\n \"PlannedActiveTime\": \"2014-12-30T10:00:00Z\",\n \"EntireAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\",\n \"22.22.22.22/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n },\n \"AddedAddresses\": {\n \"IPv4\": [\n \"22.22.22.22/24\"\n ],\n \"IPv6\": []\n },\n \"RemovedAddresses\": {\n \"IPv4\": [],\n \"IPv6\": []\n },\n \"NoChangeAddresses\": {\n \"IPv4\": [\n \"11.11.11.11/24\"\n ],\n \"IPv6\": [\n \"2001:980:7002:6::/64\"\n ]\n }\n }\n }\n }\n}",
|
812
|
+
"title": "查询源站防护详情"
|
813
|
+
}
|
814
|
+
],
|
799
815
|
"DescribeOriginGroup": [
|
800
816
|
{
|
801
817
|
"document": "获取指定源站组ID的源站组列表",
|
@@ -838,7 +854,7 @@
|
|
838
854
|
{
|
839
855
|
"document": "查询套餐信息列表,按照套餐生效时间排序,顺序为降序,从第0个套餐开始,拉取4个套餐信息。",
|
840
856
|
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlans\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 4,\n \"Order\": \"enable-time\",\n \"Direction\": \"desc\"\n}",
|
841
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"55496a31-e798-4aef-b40c-5cdbaef7fe6f\",\n \"Plans\": [\n {\n \"Area\": \"overseas\",\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8ml4zpq\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p31c5q\",\n \"ZoneName\": \"edgeone.icu\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"global\",\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p345am\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p35jv2\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p36yfi\",\n \"PlanType\": \"plan-enterprise\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p38czy\",\n \"ZoneName\": \"edgeone.com\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p39rke\",\n \"PlanType\": \"plan-standard\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": true,\n \"ZoneId\": \"zone-2vv6990bixl1\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"false\"\n }\n ],\n \"TotalCount\": 28\n }\n}",
|
857
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"55496a31-e798-4aef-b40c-5cdbaef7fe6f\",\n \"Plans\": [\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8ml4zpq\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p31c5q\",\n \"ZoneName\": \"edgeone.icu\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"global\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p345am\",\n \"PlanType\": \"plan-enterprise-v2\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p35jv2\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p36yfi\",\n \"PlanType\": \"plan-enterprise\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": false,\n \"ZoneId\": \"zone-2ycvr8p38czy\",\n \"ZoneName\": \"edgeone.com\"\n }\n ],\n \"Bindable\": \"true\"\n },\n {\n \"Area\": \"overseas\",\n \"AutoRenewal\": false,\n \"PayMode\": 0,\n \"PlanId\": \"edgeone-2ycvr8p39rke\",\n \"PlanType\": \"plan-standard\",\n \"Status\": \"normal\",\n \"DDoSTrafficCapacity\": 10000,\n \"AccTrafficCapacity\": 10000,\n \"CrossMLCTrafficCapacity\": 10000,\n \"ExpiredTime\": \"2020-09-22T00:00:00Z\",\n \"EnabledTime\": \"2020-10-22T00:00:00Z\",\n \"SecRequestCapacity\": 10000,\n \"SecTrafficCapacity\": 10000,\n \"SmartTrafficCapacity\": 10000,\n \"L4TrafficCapacity\": 10000,\n \"SmartRequestCapacity\": 10000,\n \"VAUCapacity\": 50,\n \"ZonesInfo\": [\n {\n \"Paused\": true,\n \"ZoneId\": \"zone-2vv6990bixl1\",\n \"ZoneName\": \"edgeone.xyz\"\n }\n ],\n \"Bindable\": \"false\"\n }\n ],\n \"TotalCount\": 28\n }\n}",
|
842
858
|
"title": "查询套餐信息列表"
|
843
859
|
}
|
844
860
|
],
|
@@ -1010,6 +1026,14 @@
|
|
1010
1026
|
"title": "销毁计费套餐"
|
1011
1027
|
}
|
1012
1028
|
],
|
1029
|
+
"DisableOriginACL": [
|
1030
|
+
{
|
1031
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点关闭源站防护。",
|
1032
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\"\n}",
|
1033
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ce0a2b4f-df6d-4d2a-ac39-1706cbf8a863\"\n }\n}",
|
1034
|
+
"title": "关闭源站防护"
|
1035
|
+
}
|
1036
|
+
],
|
1013
1037
|
"DownloadL4Logs": [
|
1014
1038
|
{
|
1015
1039
|
"document": "",
|
@@ -1026,6 +1050,44 @@
|
|
1026
1050
|
"title": "下载七层离线日志"
|
1027
1051
|
}
|
1028
1052
|
],
|
1053
|
+
"EnableOriginACL": [
|
1054
|
+
{
|
1055
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置七层加速域名‘www.qq.com’和四层代理实例‘sid-19389e5dwwxfs’启用特定回源 IP 网段回源。",
|
1056
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"specific\",\n \"L7Hosts\": [\n \"www.qq.com\"\n ],\n \"L4EnableMode\": \"specific\",\n \"L4ProxyIds\": [\n \"sid-19389e5dwwxfs\"\n ]\n}",
|
1057
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
|
1058
|
+
"title": "站点首次启用源站防护,并配置为指定七层加速域名/四层代理实例启用特定回源 IP 网段回源"
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置七层加速域名‘www.qq.com’启用特定回源 IP 网段回源。",
|
1062
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"specific\",\n \"L7Hosts\": [\n \"www.qq.com\"\n ]\n}",
|
1063
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
|
1064
|
+
"title": "站点首次启用源站防护,并配置为指定七层加速域名启用特定回源 IP 网段回源"
|
1065
|
+
},
|
1066
|
+
{
|
1067
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置四层代理实例‘sid-19389e5dwwxfs’启用特定回源 IP 网段回源。",
|
1068
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L4EnableMode\": \"specific\",\n \"L4ProxyIds\": [\n \"sid-19389e5dwwxfs\"\n ]\n}",
|
1069
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706cbf8a869\"\n }\n}",
|
1070
|
+
"title": "站点首次启用源站防护,并配置为指定四层代理实例启用特定回源 IP 网段回源"
|
1071
|
+
},
|
1072
|
+
{
|
1073
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置所有的七层加速域名和四层代理实例启用特定回源 IP 网段回源。",
|
1074
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"all\",\n \"L4EnableMode\": \"all\"\n}",
|
1075
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
|
1076
|
+
"title": "站点首次启用源站防护,并配置站点下所有七层加速域名和四层代理实例启用特定回源 IP 网段回源"
|
1077
|
+
},
|
1078
|
+
{
|
1079
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置所有的七层加速域名启用特定回源 IP 网段回源。",
|
1080
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L7EnableMode\": \"all\"\n}",
|
1081
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
|
1082
|
+
"title": "站点首次启用源站防护,并配置站点下所有七层加速域名启用特定回源 IP 网段回源"
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点开启源站防护,并配置所有的四层代理实例启用特定回源 IP 网段回源。",
|
1086
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"L4EnableMode\": \"all\"\n}",
|
1087
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9e0a2b4f-df6d-4d2a-ac39-1706wdf8a869\"\n }\n}",
|
1088
|
+
"title": "站点首次启用源站防护,并配置站点下所有四层代理实例启用特定回源 IP 网段回源"
|
1089
|
+
}
|
1090
|
+
],
|
1029
1091
|
"ExportZoneConfig": [
|
1030
1092
|
{
|
1031
1093
|
"document": "导出站点 zone-21xfqlh5qjee 下的七层加速配置。",
|
@@ -1336,6 +1398,20 @@
|
|
1336
1398
|
"title": "修改负载均衡实例的检查策略"
|
1337
1399
|
}
|
1338
1400
|
],
|
1401
|
+
"ModifyOriginACL": [
|
1402
|
+
{
|
1403
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点新增七层加速域名 ‘www.qq.com’ 使用特定回源 IP 网段回源。",
|
1404
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"OriginACLEntities\": [\n {\n \"OperationMode\": \"enable\",\n \"Type\": \"l7\",\n \"Instances\": [\n \"www.qq.com\"\n ]\n }\n ]\n}",
|
1405
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fe0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
|
1406
|
+
"title": "新增七层加速域名使用特定回源 IP 网段回源"
|
1407
|
+
},
|
1408
|
+
{
|
1409
|
+
"document": "ZoneId 为 'zone-276zs184g93m' 的站点关闭四层代理实例 ‘sid-19389e5dwwxfs’ 的特定回源 IP 网段回源。",
|
1410
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyOriginACL\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-276zs184g93m\",\n \"OriginACLEntities\": [\n {\n \"OperationMode\": \"disable\",\n \"Type\": \"l4\",\n \"Instances\": [\n \"sid-19389e5dwwxfs\"\n ]\n }\n ]\n}",
|
1411
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"fe0a2b4f-df6d-4d2a-ac39-1706cbf8a868\"\n }\n}",
|
1412
|
+
"title": "四层代理实例关闭特定回源 IP 网段回源"
|
1413
|
+
}
|
1414
|
+
],
|
1339
1415
|
"ModifyOriginGroup": [
|
1340
1416
|
{
|
1341
1417
|
"document": "修改源站组名称为edgeone-new-origin",
|
@@ -3087,7 +3087,7 @@ def doDescribeTrainingJobs(args, parsed_globals):
|
|
3087
3087
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3088
3088
|
|
3089
3089
|
|
3090
|
-
def
|
3090
|
+
def doDescribePlatformImages(args, parsed_globals):
|
3091
3091
|
g_param = parse_global_arg(parsed_globals)
|
3092
3092
|
|
3093
3093
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3116,11 +3116,11 @@ def doDeleteNotebookLifecycleScript(args, parsed_globals):
|
|
3116
3116
|
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
3117
3117
|
client._sdkVersion += ("_CLI_" + __version__)
|
3118
3118
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3119
|
-
model = models.
|
3119
|
+
model = models.DescribePlatformImagesRequest()
|
3120
3120
|
model.from_json_string(json.dumps(args))
|
3121
3121
|
start_time = time.time()
|
3122
3122
|
while True:
|
3123
|
-
rsp = client.
|
3123
|
+
rsp = client.DescribePlatformImages(model)
|
3124
3124
|
result = rsp.to_json_string()
|
3125
3125
|
try:
|
3126
3126
|
json_obj = json.loads(result)
|
@@ -3711,6 +3711,58 @@ def doDescribeCodeRepository(args, parsed_globals):
|
|
3711
3711
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3712
3712
|
|
3713
3713
|
|
3714
|
+
def doDeleteNotebookLifecycleScript(args, parsed_globals):
|
3715
|
+
g_param = parse_global_arg(parsed_globals)
|
3716
|
+
|
3717
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3718
|
+
cred = credential.CVMRoleCredential()
|
3719
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3720
|
+
cred = credential.STSAssumeRoleCredential(
|
3721
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3722
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3723
|
+
)
|
3724
|
+
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):
|
3725
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3726
|
+
else:
|
3727
|
+
cred = credential.Credential(
|
3728
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3729
|
+
)
|
3730
|
+
http_profile = HttpProfile(
|
3731
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3732
|
+
reqMethod="POST",
|
3733
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3734
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3735
|
+
)
|
3736
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3737
|
+
if g_param[OptionsDefine.Language]:
|
3738
|
+
profile.language = g_param[OptionsDefine.Language]
|
3739
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3740
|
+
client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
|
3741
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3742
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3743
|
+
model = models.DeleteNotebookLifecycleScriptRequest()
|
3744
|
+
model.from_json_string(json.dumps(args))
|
3745
|
+
start_time = time.time()
|
3746
|
+
while True:
|
3747
|
+
rsp = client.DeleteNotebookLifecycleScript(model)
|
3748
|
+
result = rsp.to_json_string()
|
3749
|
+
try:
|
3750
|
+
json_obj = json.loads(result)
|
3751
|
+
except TypeError as e:
|
3752
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3753
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3754
|
+
break
|
3755
|
+
cur_time = time.time()
|
3756
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3757
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3758
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3759
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3760
|
+
else:
|
3761
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3762
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3763
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3764
|
+
|
3765
|
+
|
3714
3766
|
def doStopNotebook(args, parsed_globals):
|
3715
3767
|
g_param = parse_global_arg(parsed_globals)
|
3716
3768
|
|
@@ -3835,7 +3887,7 @@ ACTION_MAP = {
|
|
3835
3887
|
"DeleteCodeRepository": doDeleteCodeRepository,
|
3836
3888
|
"DescribeNotebookSummary": doDescribeNotebookSummary,
|
3837
3889
|
"DescribeTrainingJobs": doDescribeTrainingJobs,
|
3838
|
-
"
|
3890
|
+
"DescribePlatformImages": doDescribePlatformImages,
|
3839
3891
|
"DescribeBillingResourceGroup": doDescribeBillingResourceGroup,
|
3840
3892
|
"DescribeNotebook": doDescribeNotebook,
|
3841
3893
|
"DescribeNotebookInstance": doDescribeNotebookInstance,
|
@@ -3847,6 +3899,7 @@ ACTION_MAP = {
|
|
3847
3899
|
"DescribeCodeRepositories": doDescribeCodeRepositories,
|
3848
3900
|
"UpdateCodeRepository": doUpdateCodeRepository,
|
3849
3901
|
"DescribeCodeRepository": doDescribeCodeRepository,
|
3902
|
+
"DeleteNotebookLifecycleScript": doDeleteNotebookLifecycleScript,
|
3850
3903
|
"StopNotebook": doStopNotebook,
|
3851
3904
|
|
3852
3905
|
}
|
@@ -245,6 +245,13 @@
|
|
245
245
|
"output": "DescribeNotebooksResponse",
|
246
246
|
"status": "online"
|
247
247
|
},
|
248
|
+
"DescribePlatformImages": {
|
249
|
+
"document": "查询平台镜像信息",
|
250
|
+
"input": "DescribePlatformImagesRequest",
|
251
|
+
"name": "查询平台镜像信息",
|
252
|
+
"output": "DescribePlatformImagesResponse",
|
253
|
+
"status": "online"
|
254
|
+
},
|
248
255
|
"DescribeTrainingModelVersion": {
|
249
256
|
"document": "查询模型版本",
|
250
257
|
"input": "DescribeTrainingModelVersionRequest",
|
@@ -358,6 +365,56 @@
|
|
358
365
|
"serviceShortName": "tione"
|
359
366
|
},
|
360
367
|
"objects": {
|
368
|
+
"Attribute": {
|
369
|
+
"document": "镜像属性",
|
370
|
+
"members": [
|
371
|
+
{
|
372
|
+
"disabled": false,
|
373
|
+
"document": "为‘List’时属性值取Values 否则取Value\n注意:此字段可能返回 null,表示取不到有效值。",
|
374
|
+
"example": "无",
|
375
|
+
"member": "string",
|
376
|
+
"name": "Type",
|
377
|
+
"output_required": false,
|
378
|
+
"required": false,
|
379
|
+
"type": "string",
|
380
|
+
"value_allowed_null": true
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"disabled": false,
|
384
|
+
"document": "属性key\n注意:此字段可能返回 null,表示取不到有效值。",
|
385
|
+
"example": "无",
|
386
|
+
"member": "string",
|
387
|
+
"name": "Key",
|
388
|
+
"output_required": false,
|
389
|
+
"required": false,
|
390
|
+
"type": "string",
|
391
|
+
"value_allowed_null": true
|
392
|
+
},
|
393
|
+
{
|
394
|
+
"disabled": false,
|
395
|
+
"document": "属性值\n注意:此字段可能返回 null,表示取不到有效值。",
|
396
|
+
"example": "无",
|
397
|
+
"member": "string",
|
398
|
+
"name": "Value",
|
399
|
+
"output_required": false,
|
400
|
+
"required": false,
|
401
|
+
"type": "string",
|
402
|
+
"value_allowed_null": true
|
403
|
+
},
|
404
|
+
{
|
405
|
+
"disabled": false,
|
406
|
+
"document": "属性值列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
407
|
+
"example": "无",
|
408
|
+
"member": "string",
|
409
|
+
"name": "Values",
|
410
|
+
"output_required": false,
|
411
|
+
"required": false,
|
412
|
+
"type": "list",
|
413
|
+
"value_allowed_null": true
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"usage": "both"
|
417
|
+
},
|
361
418
|
"AuthToken": {
|
362
419
|
"document": "在线服务的 AuthToken 数据",
|
363
420
|
"members": [
|
@@ -4981,6 +5038,71 @@
|
|
4981
5038
|
],
|
4982
5039
|
"type": "object"
|
4983
5040
|
},
|
5041
|
+
"DescribePlatformImagesRequest": {
|
5042
|
+
"document": "DescribePlatformImages请求参数结构体",
|
5043
|
+
"members": [
|
5044
|
+
{
|
5045
|
+
"disabled": false,
|
5046
|
+
"document": "过滤器, Name支持ImageId/ImageName/SupportDataPipeline/AllowSaveAllContent/ImageRange,其中ImageRange支持枚举值Train,Inference,Notebook",
|
5047
|
+
"example": "无",
|
5048
|
+
"member": "Filter",
|
5049
|
+
"name": "Filters",
|
5050
|
+
"required": false,
|
5051
|
+
"type": "list"
|
5052
|
+
},
|
5053
|
+
{
|
5054
|
+
"disabled": false,
|
5055
|
+
"document": "偏移信息",
|
5056
|
+
"example": "0",
|
5057
|
+
"member": "uint64",
|
5058
|
+
"name": "Offset",
|
5059
|
+
"required": false,
|
5060
|
+
"type": "int"
|
5061
|
+
},
|
5062
|
+
{
|
5063
|
+
"disabled": false,
|
5064
|
+
"document": "返回数量, 默认100",
|
5065
|
+
"example": "100",
|
5066
|
+
"member": "uint64",
|
5067
|
+
"name": "Limit",
|
5068
|
+
"required": false,
|
5069
|
+
"type": "int"
|
5070
|
+
}
|
5071
|
+
],
|
5072
|
+
"type": "object"
|
5073
|
+
},
|
5074
|
+
"DescribePlatformImagesResponse": {
|
5075
|
+
"document": "DescribePlatformImages返回参数结构体",
|
5076
|
+
"members": [
|
5077
|
+
{
|
5078
|
+
"disabled": false,
|
5079
|
+
"document": "数量",
|
5080
|
+
"example": "10",
|
5081
|
+
"member": "uint64",
|
5082
|
+
"name": "TotalCount",
|
5083
|
+
"output_required": false,
|
5084
|
+
"type": "int",
|
5085
|
+
"value_allowed_null": false
|
5086
|
+
},
|
5087
|
+
{
|
5088
|
+
"disabled": false,
|
5089
|
+
"document": "镜像列表",
|
5090
|
+
"example": "无",
|
5091
|
+
"member": "PlatformImageInfo",
|
5092
|
+
"name": "PlatformImageInfos",
|
5093
|
+
"output_required": false,
|
5094
|
+
"type": "list",
|
5095
|
+
"value_allowed_null": false
|
5096
|
+
},
|
5097
|
+
{
|
5098
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5099
|
+
"member": "string",
|
5100
|
+
"name": "RequestId",
|
5101
|
+
"type": "string"
|
5102
|
+
}
|
5103
|
+
],
|
5104
|
+
"type": "object"
|
5105
|
+
},
|
4984
5106
|
"DescribeTrainingModelVersionRequest": {
|
4985
5107
|
"document": "DescribeTrainingModelVersion请求参数结构体",
|
4986
5108
|
"members": [
|
@@ -6211,7 +6333,7 @@
|
|
6211
6333
|
},
|
6212
6334
|
{
|
6213
6335
|
"disabled": false,
|
6214
|
-
"document": "节点状态 \n注意:此字段为枚举值\n说明: \nDEPLOYING: 部署中\nRUNNING: 运行中 \nDEPLOY_FAILED: 部署失败\
|
6336
|
+
"document": "节点状态 \n注意:此字段为枚举值\n说明: \nDEPLOYING: 部署中\nRUNNING: 运行中 \nDEPLOY_FAILED: 部署失败\nRELEASING 释放中 \nRELEASED:已释放 \nEXCEPTION:异常\nDEBT_OR_EXPIRED: 欠费过期\n注意:此字段可能返回 null,表示取不到有效值。",
|
6215
6337
|
"example": "RUNNING",
|
6216
6338
|
"member": "string",
|
6217
6339
|
"name": "InstanceStatus",
|
@@ -8638,6 +8760,166 @@
|
|
8638
8760
|
],
|
8639
8761
|
"usage": "both"
|
8640
8762
|
},
|
8763
|
+
"PlatformImageInfo": {
|
8764
|
+
"document": "平台镜像信息详情",
|
8765
|
+
"members": [
|
8766
|
+
{
|
8767
|
+
"disabled": false,
|
8768
|
+
"document": "框架名\n注意:此字段可能返回 null,表示取不到有效值。",
|
8769
|
+
"example": "无",
|
8770
|
+
"member": "string",
|
8771
|
+
"name": "Framework",
|
8772
|
+
"output_required": false,
|
8773
|
+
"required": false,
|
8774
|
+
"type": "string",
|
8775
|
+
"value_allowed_null": true
|
8776
|
+
},
|
8777
|
+
{
|
8778
|
+
"disabled": false,
|
8779
|
+
"document": "镜像类型: ccr or tcr\n注意:此字段可能返回 null,表示取不到有效值。",
|
8780
|
+
"example": "无",
|
8781
|
+
"member": "string",
|
8782
|
+
"name": "ImageType",
|
8783
|
+
"output_required": false,
|
8784
|
+
"required": false,
|
8785
|
+
"type": "string",
|
8786
|
+
"value_allowed_null": true
|
8787
|
+
},
|
8788
|
+
{
|
8789
|
+
"disabled": false,
|
8790
|
+
"document": "镜像地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
8791
|
+
"example": "无",
|
8792
|
+
"member": "string",
|
8793
|
+
"name": "ImageUrl",
|
8794
|
+
"output_required": false,
|
8795
|
+
"required": false,
|
8796
|
+
"type": "string",
|
8797
|
+
"value_allowed_null": true
|
8798
|
+
},
|
8799
|
+
{
|
8800
|
+
"disabled": false,
|
8801
|
+
"document": "TCR镜像示例所属地域\n注意:此字段可能返回 null,表示取不到有效值。",
|
8802
|
+
"example": "ap-shanghai",
|
8803
|
+
"member": "string",
|
8804
|
+
"name": "RegistryRegion",
|
8805
|
+
"output_required": false,
|
8806
|
+
"required": false,
|
8807
|
+
"type": "string",
|
8808
|
+
"value_allowed_null": true
|
8809
|
+
},
|
8810
|
+
{
|
8811
|
+
"disabled": false,
|
8812
|
+
"document": "TCR镜像所属实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
8813
|
+
"example": "无",
|
8814
|
+
"member": "string",
|
8815
|
+
"name": "RegistryId",
|
8816
|
+
"output_required": false,
|
8817
|
+
"required": false,
|
8818
|
+
"type": "string",
|
8819
|
+
"value_allowed_null": true
|
8820
|
+
},
|
8821
|
+
{
|
8822
|
+
"disabled": false,
|
8823
|
+
"document": "镜像名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
8824
|
+
"example": "无",
|
8825
|
+
"member": "string",
|
8826
|
+
"name": "ImageName",
|
8827
|
+
"output_required": false,
|
8828
|
+
"required": false,
|
8829
|
+
"type": "string",
|
8830
|
+
"value_allowed_null": true
|
8831
|
+
},
|
8832
|
+
{
|
8833
|
+
"disabled": false,
|
8834
|
+
"document": "镜像Id\n注意:此字段可能返回 null,表示取不到有效值。",
|
8835
|
+
"example": "无",
|
8836
|
+
"member": "string",
|
8837
|
+
"name": "ImageId",
|
8838
|
+
"output_required": false,
|
8839
|
+
"required": false,
|
8840
|
+
"type": "string",
|
8841
|
+
"value_allowed_null": true
|
8842
|
+
},
|
8843
|
+
{
|
8844
|
+
"disabled": false,
|
8845
|
+
"document": "框架版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
8846
|
+
"example": "无",
|
8847
|
+
"member": "string",
|
8848
|
+
"name": "FrameworkVersion",
|
8849
|
+
"output_required": false,
|
8850
|
+
"required": false,
|
8851
|
+
"type": "string",
|
8852
|
+
"value_allowed_null": true
|
8853
|
+
},
|
8854
|
+
{
|
8855
|
+
"disabled": false,
|
8856
|
+
"document": "支持的gpu列表\n注意:此字段可能返回 null,表示取不到有效值。",
|
8857
|
+
"example": "无",
|
8858
|
+
"member": "string",
|
8859
|
+
"name": "SupportGpuList",
|
8860
|
+
"output_required": false,
|
8861
|
+
"required": false,
|
8862
|
+
"type": "list",
|
8863
|
+
"value_allowed_null": true
|
8864
|
+
},
|
8865
|
+
{
|
8866
|
+
"disabled": false,
|
8867
|
+
"document": "描述信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
8868
|
+
"example": "无",
|
8869
|
+
"member": "string",
|
8870
|
+
"name": "Description",
|
8871
|
+
"output_required": false,
|
8872
|
+
"required": false,
|
8873
|
+
"type": "string",
|
8874
|
+
"value_allowed_null": true
|
8875
|
+
},
|
8876
|
+
{
|
8877
|
+
"disabled": false,
|
8878
|
+
"document": "业务属性\n注意:此字段可能返回 null,表示取不到有效值。",
|
8879
|
+
"example": "无",
|
8880
|
+
"member": "Attribute",
|
8881
|
+
"name": "ExtraAttributes",
|
8882
|
+
"output_required": false,
|
8883
|
+
"required": false,
|
8884
|
+
"type": "list",
|
8885
|
+
"value_allowed_null": true
|
8886
|
+
},
|
8887
|
+
{
|
8888
|
+
"disabled": false,
|
8889
|
+
"document": "镜像适用场景Train/Inference/Notebook\n注意:此字段可能返回 null,表示取不到有效值。",
|
8890
|
+
"example": "无",
|
8891
|
+
"member": "string",
|
8892
|
+
"name": "ImageRange",
|
8893
|
+
"output_required": false,
|
8894
|
+
"required": false,
|
8895
|
+
"type": "list",
|
8896
|
+
"value_allowed_null": true
|
8897
|
+
},
|
8898
|
+
{
|
8899
|
+
"disabled": false,
|
8900
|
+
"document": "是否支持分布式部署\n注意:此字段可能返回 null,表示取不到有效值。",
|
8901
|
+
"example": "true",
|
8902
|
+
"member": "bool",
|
8903
|
+
"name": "SupportDistributedDeploy",
|
8904
|
+
"output_required": false,
|
8905
|
+
"required": false,
|
8906
|
+
"type": "bool",
|
8907
|
+
"value_allowed_null": true
|
8908
|
+
},
|
8909
|
+
{
|
8910
|
+
"disabled": false,
|
8911
|
+
"document": "支持的地域 all(所有地域)/autonomous(自动驾驶地域)/general(通用地域)\n注意:此字段可能返回 null,表示取不到有效值。",
|
8912
|
+
"example": "all",
|
8913
|
+
"member": "string",
|
8914
|
+
"name": "RegionScope",
|
8915
|
+
"output_required": false,
|
8916
|
+
"required": false,
|
8917
|
+
"type": "string",
|
8918
|
+
"value_allowed_null": true
|
8919
|
+
}
|
8920
|
+
],
|
8921
|
+
"usage": "both"
|
8922
|
+
},
|
8641
8923
|
"Pod": {
|
8642
8924
|
"document": "Pod信息展示",
|
8643
8925
|
"members": [
|
@@ -280,6 +280,14 @@
|
|
280
280
|
"title": "Notebook列表"
|
281
281
|
}
|
282
282
|
],
|
283
|
+
"DescribePlatformImages": [
|
284
|
+
{
|
285
|
+
"document": "",
|
286
|
+
"input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePlatformImages\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 200,\n \"Filters\": [\n {\n \"Name\": \"ImageRange\",\n \"Values\": [\n \"Train\"\n ]\n }\n ]\n}",
|
287
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"PlatformImageInfos\": [\n {\n \"Framework\": \"PYTORCH\",\n \"ImageType\": \"TCR\",\n \"ImageUrl\": \"tione.tencentcloudcr.com/qcloud-ti-platform/llm-train:24.03-gpu-py310-cu124-tilearn-llm-v1.8.0\",\n \"RegistryRegion\": \"\",\n \"RegistryId\": \"\",\n \"ImageName\": \"tilearn-llm0.9-torch2.3-py3.10-cuda12.4-gpu\",\n \"ImageId\": \"35551e3c-b0e3-40dc-8e91-cc10a5613cd3\",\n \"FrameworkVersion\": \"2.3\",\n \"SupportGpuList\": [\n \"A10\",\n \"V100\",\n \"T4\"\n ],\n \"Description\": \"支持的核心库:Python 3.10,CUDA 12.4,jupyterlab 2.3.2,torch 2.3.0a0+40ec155e58.nv24.3,transformers 4.39.3,deepspeed 0.13.4,tilearn-llm 0.9.9,tilearn.ops 0.2.2.175,angel-vllm 0.4.2\\n支持的卡型:A10,V100,T4\",\n \"ImageRange\": [\n \"Notebook\",\n \"Train\"\n ],\n \"ExtraAttributes\": [\n {\n \"Type\": \"\",\n \"Key\": \"AllowSaveAllContent\",\n \"Value\": \"true\",\n \"Values\": []\n },\n {\n \"Type\": \"\",\n \"Key\": \"SupportDataPipeline\",\n \"Value\": \"false\",\n \"Values\": []\n },\n {\n \"Type\": \"List\",\n \"Key\": \"TrainingModes\",\n \"Value\": \"\",\n \"Values\": [\n \"DDP\"\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"8a3942be-0e3c-4efd-bf03-422e0410afa9\"\n }\n}",
|
288
|
+
"title": "示例"
|
289
|
+
}
|
290
|
+
],
|
283
291
|
"DescribeTrainingModelVersion": [
|
284
292
|
{
|
285
293
|
"document": "",
|