tccli 3.0.1200.1__py2.py3-none-any.whl → 3.0.1201.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/autoscaling/v20180419/api.json +33 -5
- tccli/services/autoscaling/v20180419/examples.json +3 -3
- tccli/services/batch/v20170312/api.json +2 -2
- tccli/services/ca/__init__.py +4 -0
- tccli/services/ca/ca_client.py +301 -0
- tccli/services/ca/v20230228/api.json +264 -0
- tccli/services/ca/v20230228/examples.json +41 -0
- tccli/services/ccc/ccc_client.py +153 -47
- tccli/services/ccc/v20200210/api.json +185 -1
- tccli/services/ccc/v20200210/examples.json +17 -1
- tccli/services/cdn/v20180606/api.json +30 -1
- tccli/services/cdwdoris/v20211228/api.json +5 -1
- tccli/services/cvm/cvm_client.py +53 -0
- tccli/services/cvm/v20170312/api.json +173 -25
- tccli/services/cvm/v20170312/examples.json +9 -1
- tccli/services/cynosdb/v20190107/api.json +56 -56
- tccli/services/dts/v20211206/api.json +12 -12
- tccli/services/emr/v20190103/api.json +9 -0
- tccli/services/ess/v20201111/api.json +6 -6
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +2 -2
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mrs/v20200910/api.json +71 -1
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/ses/v20201002/api.json +50 -0
- tccli/services/ses/v20201002/examples.json +6 -0
- tccli/services/teo/teo_client.py +724 -141
- tccli/services/teo/v20220901/api.json +993 -106
- tccli/services/teo/v20220901/examples.json +112 -0
- tccli/services/tke/v20180525/api.json +7 -4
- tccli/services/vpc/v20170312/api.json +1273 -17
- tccli/services/vpc/v20170312/examples.json +176 -0
- tccli/services/vpc/vpc_client.py +1315 -149
- {tccli-3.0.1200.1.dist-info → tccli-3.0.1201.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1200.1.dist-info → tccli-3.0.1201.1.dist-info}/RECORD +41 -37
- {tccli-3.0.1200.1.dist-info → tccli-3.0.1201.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1200.1.dist-info → tccli-3.0.1201.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1200.1.dist-info → tccli-3.0.1201.1.dist-info}/license_files/LICENSE +0 -0
@@ -106,6 +106,22 @@
|
|
106
106
|
"title": "创建自定义错误页面接口"
|
107
107
|
}
|
108
108
|
],
|
109
|
+
"CreateFunction": [
|
110
|
+
{
|
111
|
+
"document": "",
|
112
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFunction\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Name\": \"test-function\",\n \"Remark\": \"my test function\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\"\n}",
|
113
|
+
"output": "{\n \"Response\": {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"RequestId\": \"85caed2d-e16e-4205-a322-1e907e830b55\"\n }\n}",
|
114
|
+
"title": "创建函数"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"CreateFunctionRule": [
|
118
|
+
{
|
119
|
+
"document": "",
|
120
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateFunctionRule\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"FunctionRuleConditions\": [\n {\n \"RuleConditions\": [\n {\n \"Operator\": \"equal\",\n \"Values\": [\n \"/123\"\n ],\n \"Target\": \"url\"\n }\n ]\n }\n ],\n \"FunctionId\": \"ef-1pakhnuy\",\n \"Remark\": \"my function rule\"\n}",
|
121
|
+
"output": "{\n \"Response\": {\n \"RuleId\": \"rule-vnqup0uc\",\n \"RequestId\": \"aab9a28a-4cce-434d-852f-5442275817aa\"\n }\n}",
|
122
|
+
"title": "创建边缘函数规则"
|
123
|
+
}
|
124
|
+
],
|
109
125
|
"CreateL4Proxy": [
|
110
126
|
{
|
111
127
|
"document": "在 ZoneId 为 zone-2jc2xy3hr7f7 的站点下创建一个名称为 test,加速区域为中国大陆可用区的四层实例。",
|
@@ -332,6 +348,22 @@
|
|
332
348
|
"title": "删除自定义错误页面接口"
|
333
349
|
}
|
334
350
|
],
|
351
|
+
"DeleteFunction": [
|
352
|
+
{
|
353
|
+
"document": "",
|
354
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteFunction\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2gqxim9jstab\",\n \"FunctionId\": \"ef-zcyhwq1d\"\n}",
|
355
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cb52ba7d-ea45-4353-8972-88d0dc351c5b\"\n }\n}",
|
356
|
+
"title": "删除边缘函数"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"DeleteFunctionRules": [
|
360
|
+
{
|
361
|
+
"document": "",
|
362
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteFunctionRules\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2gqxim9jstab\",\n \"RuleIds\": [\n \"rule-vnqup0uc\"\n ]\n}",
|
363
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cb52ba7d-ea45-4353-8972-88d0dc351c5b\"\n }\n}",
|
364
|
+
"title": "删除边缘函数规则"
|
365
|
+
}
|
366
|
+
],
|
335
367
|
"DeleteL4Proxy": [
|
336
368
|
{
|
337
369
|
"document": "删除 ZoneId 为 zone-24wjy25v1cwi 下,ProxyId 为 sid-2qwk27xf7j9g 的四层代理实例。",
|
@@ -524,6 +556,36 @@
|
|
524
556
|
"title": "查询版本发布环境列表"
|
525
557
|
}
|
526
558
|
],
|
559
|
+
"DescribeFunctionRules": [
|
560
|
+
{
|
561
|
+
"document": "",
|
562
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctionRules\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\"\n}",
|
563
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"d7213f7f-a67b-4602-b630-ed6740e1a124\",\n \"FunctionRules\": [\n {\n \"RuleId\": \"rule-53qpdadi\",\n \"FunctionRuleConditions\": [\n {\n \"RuleConditions\": [\n {\n \"Operator\": \"equal\",\n \"Target\": \"url\",\n \"Values\": [\n \"/test3\"\n ],\n \"IgnoreCase\": false,\n \"Name\": \"\"\n }\n ]\n }\n ],\n \"FunctionId\": \"ef-n1j14wfm\",\n \"FunctionName\": \"test\",\n \"Priority\": 2,\n \"Remark\": \"my function rule\",\n \"CreateTime\": \"2023-04-19T07:32:09Z\",\n \"UpdateTime\": \"2023-04-19T07:36:43Z\"\n }\n ]\n }\n}",
|
564
|
+
"title": "查询边缘函数触发规则列表"
|
565
|
+
}
|
566
|
+
],
|
567
|
+
"DescribeFunctionRuntimeEnvironment": [
|
568
|
+
{
|
569
|
+
"document": "",
|
570
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctionRuntimeEnvironment\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-kwsqufps\",\n \"FunctionId\": \"ef-xs2333\"\n}",
|
571
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5f24d792-050d-439f-a864-353fd7b67e9f\",\n \"EnvironmentVariables\": [\n {\n \"Key\": \"name\",\n \"Type\": \"string\",\n \"Value\": \"edgeone\"\n }\n ]\n }\n}",
|
572
|
+
"title": "查询边缘函数运行环境"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"DescribeFunctions": [
|
576
|
+
{
|
577
|
+
"document": "",
|
578
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Filters\": [\n {\n \"Name\": \"name\",\n \"Values\": [\n \"test\"\n ]\n }\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
|
579
|
+
"output": "{\n \"Response\": {\n \"Functions\": [\n {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function\",\n \"Remark\": \"my function\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-19T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-19T15:27:13+08:00\"\n },\n {\n \"FunctionId\": \"ef-2pakw1uk\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World test!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function2\",\n \"Remark\": \"my function 2\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-20T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-20T15:27:13+08:00\"\n }\n ],\n \"TotalCount\": 17,\n \"RequestId\": \"ab8a61c5-4eef-45af-9384-b071f1922541\"\n }\n}",
|
580
|
+
"title": "根据名称匹配边缘函数列表"
|
581
|
+
},
|
582
|
+
{
|
583
|
+
"document": "",
|
584
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFunctions\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"FunctionIds\": [\n \"ef-1pakhnuy\"\n ],\n \"Offset\": 0,\n \"Limit\": 2\n}",
|
585
|
+
"output": "{\n \"Response\": {\n \"Functions\": [\n {\n \"FunctionId\": \"ef-1pakhnuy\",\n \"ZoneId\": \"zone-293e7s5jne1i\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\",\n \"Name\": \"test-function\",\n \"Remark\": \"my function\",\n \"Domain\": \"test-function-zone-293e7s5jne1i-123456789.eo-edgefunctions1.com\",\n \"CreateTime\": \"2022-09-19T15:23:25+08:00\",\n \"UpdateTime\": \"2022-09-19T15:27:13+08:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"ab8a61c5-4eef-45af-9384-b071f1922541\"\n }\n}",
|
586
|
+
"title": "根据函数 ID 匹配边缘函数列表"
|
587
|
+
}
|
588
|
+
],
|
527
589
|
"DescribeHostsSetting": [
|
528
590
|
{
|
529
591
|
"document": "",
|
@@ -810,6 +872,32 @@
|
|
810
872
|
"title": "下载七层离线日志"
|
811
873
|
}
|
812
874
|
],
|
875
|
+
"HandleFunctionRuntimeEnvironment": [
|
876
|
+
{
|
877
|
+
"document": "添加指定的环境变量列表到函数运行环境中。",
|
878
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HandleFunctionRuntimeEnvironment\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-28569s6od5na\",\n \"FunctionId\": \"ef-22xxf22\",\n \"Operation\": \"setEnvironmentVariable\",\n \"EnvironmentVariables\": [\n {\n \"Key\": \"name\",\n \"Type\": \"string\",\n \"Value\": \"edgeone\"\n }\n ]\n}",
|
879
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4dcgtb24-7dc5-46s2-9q3e-95825d53dcs3a\"\n }\n}",
|
880
|
+
"title": "添加环境变量"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"document": "删除函数运行环境中的指定环境变量列表。",
|
884
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HandleFunctionRuntimeEnvironment\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-28569s6od5na\",\n \"FunctionId\": \"ef-22xxf22\",\n \"Operation\": \"deleteEnvironmentVariable\",\n \"EnvironmentVariables\": [\n {\n \"Key\": \"name\",\n \"Value\": \"\"\n }\n ]\n}",
|
885
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4dcgtb24-7dc5-46s2-9q3e-95825d53dcs3a\"\n }\n}",
|
886
|
+
"title": "删除环境变量"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"document": "",
|
890
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HandleFunctionRuntimeEnvironment\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-28569s6od5na\",\n \"FunctionId\": \"ef-22xxf22\",\n \"Operation\": \"clearEnvironmentVariable\"\n}",
|
891
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4dcgtb24-7dc5-46s2-9q3e-95825d53dcs3a\"\n }\n}",
|
892
|
+
"title": "清空环境变量"
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"document": "在函数的运行环境中,使用新的环境变量列表覆盖已有的列表。",
|
896
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: HandleFunctionRuntimeEnvironment\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-28569s6od5na\",\n \"FunctionId\": \"ef-22xxf22\",\n \"Operation\": \"resetEnvironmentVariable\",\n \"EnvironmentVariables\": [\n {\n \"Key\": \"new_name\",\n \"Type\": \"string\",\n \"Value\": \"edgeone_new\"\n }\n ]\n}",
|
897
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4dcgtb24-7dc5-46s2-9q3e-95825d53dcs3a\"\n }\n}",
|
898
|
+
"title": "重置环境变量"
|
899
|
+
}
|
900
|
+
],
|
813
901
|
"IdentifyZone": [
|
814
902
|
{
|
815
903
|
"document": "认证站点",
|
@@ -904,6 +992,30 @@
|
|
904
992
|
"title": "修改自定义错误页面"
|
905
993
|
}
|
906
994
|
],
|
995
|
+
"ModifyFunction": [
|
996
|
+
{
|
997
|
+
"document": "",
|
998
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyFunction\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2gqxim9jstab\",\n \"FunctionId\": \"ef-1pakhnuy\",\n \"Remark\": \"my function\",\n \"Content\": \"addEventListener('fetch', e => {\\r\\n const response = new Response('Hello World!');\\r\\n e.respondWith(response);\\r\\n});\"\n}",
|
999
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b660855b-a0a7-4cd3-832d-e01fb1b8da93\"\n }\n}",
|
1000
|
+
"title": "修改边缘函数"
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"ModifyFunctionRule": [
|
1004
|
+
{
|
1005
|
+
"document": "",
|
1006
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyFunctionRule\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-2gqxim9jstab\",\n \"RuleId\": \"rule-vnqup0uc\",\n \"FunctionRuleConditions\": [\n {\n \"RuleConditions\": [\n {\n \"Operator\": \"equal\",\n \"Values\": [\n \"/test\"\n ],\n \"Target\": \"url\"\n }\n ]\n }\n ],\n \"FunctionId\": \"ef-1pakhnuy\",\n \"Remark\": \"my function\"\n}",
|
1007
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7a1e998f-fa00-4670-8457-ed4b4fe5018a\"\n }\n}",
|
1008
|
+
"title": "修改边缘函数规则"
|
1009
|
+
}
|
1010
|
+
],
|
1011
|
+
"ModifyFunctionRulePriority": [
|
1012
|
+
{
|
1013
|
+
"document": "",
|
1014
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyFunctionRulePriority\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-xvq1df34\",\n \"RuleIds\": [\n \"rule-x1f2dfhl\",\n \"rule-myuqwu2d\"\n ]\n}",
|
1015
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cb52ba7d-ea45-4353-8972-88d0dc351c5b\"\n }\n}",
|
1016
|
+
"title": "修改边缘函数规则优先级"
|
1017
|
+
}
|
1018
|
+
],
|
907
1019
|
"ModifyHostsCertificate": [
|
908
1020
|
{
|
909
1021
|
"document": "针对站点(ZoneId 为 zone-2fgd17m17xw)下的域名(abc.test.com)配置 SSL 证书(CertId 为 cert-244ffgv7m17xw)。",
|
@@ -18363,10 +18363,11 @@
|
|
18363
18363
|
"members": [
|
18364
18364
|
{
|
18365
18365
|
"disabled": false,
|
18366
|
-
"document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<
|
18367
|
-
"example": "
|
18366
|
+
"document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18367
|
+
"example": "无",
|
18368
18368
|
"member": "string",
|
18369
18369
|
"name": "Password",
|
18370
|
+
"output_required": true,
|
18370
18371
|
"required": false,
|
18371
18372
|
"type": "string",
|
18372
18373
|
"value_allowed_null": true
|
@@ -18374,19 +18375,21 @@
|
|
18374
18375
|
{
|
18375
18376
|
"disabled": false,
|
18376
18377
|
"document": "密钥ID列表。关联密钥后,就可以通过对应的私钥来访问实例;KeyId可通过接口[DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699)获取,密钥与密码不能同时指定,同时Windows操作系统不支持指定密钥。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18377
|
-
"example": "[
|
18378
|
+
"example": "[\"skey-3glfot13\"]",
|
18378
18379
|
"member": "string",
|
18379
18380
|
"name": "KeyIds",
|
18381
|
+
"output_required": true,
|
18380
18382
|
"required": false,
|
18381
18383
|
"type": "list",
|
18382
18384
|
"value_allowed_null": true
|
18383
18385
|
},
|
18384
18386
|
{
|
18385
18387
|
"disabled": false,
|
18386
|
-
"document": "保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为
|
18388
|
+
"document": "保持镜像的原始设置。该参数与Password或KeyIds.N不能同时指定。只有使用自定义镜像、共享镜像或外部导入镜像创建实例时才能指定该参数为true。取值范围:<li>true:表示保持镜像的登录设置</li><li>false:表示不保持镜像的登录设置</li>默认取值:false。\n注意:此字段可能返回 null,表示取不到有效值。",
|
18387
18389
|
"example": "abc",
|
18388
18390
|
"member": "string",
|
18389
18391
|
"name": "KeepImageLogin",
|
18392
|
+
"output_required": true,
|
18390
18393
|
"required": false,
|
18391
18394
|
"type": "string",
|
18392
18395
|
"value_allowed_null": true
|