tccli 3.0.1242.1__py2.py3-none-any.whl → 3.0.1244.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aca/v20210323/api.json +107 -107
  3. tccli/services/aca/v20210323/examples.json +5 -5
  4. tccli/services/asr/v20190614/examples.json +6 -6
  5. tccli/services/cbs/v20170312/api.json +9 -0
  6. tccli/services/cdwdoris/v20211228/api.json +22 -2
  7. tccli/services/cdwdoris/v20211228/examples.json +1 -1
  8. tccli/services/cfs/v20190719/examples.json +2 -2
  9. tccli/services/ckafka/v20190819/api.json +11 -0
  10. tccli/services/clb/v20180317/api.json +23 -18
  11. tccli/services/clb/v20180317/examples.json +14 -14
  12. tccli/services/cls/v20201016/api.json +185 -156
  13. tccli/services/cls/v20201016/examples.json +5 -5
  14. tccli/services/cvm/v20170312/api.json +8 -8
  15. tccli/services/cvm/v20170312/examples.json +4 -4
  16. tccli/services/cwp/v20180228/api.json +1 -1
  17. tccli/services/cwp/v20180228/examples.json +1 -1
  18. tccli/services/dts/v20211206/api.json +9 -0
  19. tccli/services/dts/v20211206/examples.json +1 -1
  20. tccli/services/ecm/v20190719/api.json +11 -11
  21. tccli/services/ecm/v20190719/examples.json +1 -1
  22. tccli/services/emr/v20190103/api.json +896 -841
  23. tccli/services/ess/v20201111/api.json +2 -2
  24. tccli/services/essbasic/v20210526/api.json +2 -2
  25. tccli/services/gaap/v20180529/api.json +3 -5
  26. tccli/services/gwlb/v20240906/api.json +14 -14
  27. tccli/services/hunyuan/v20230901/api.json +1 -1
  28. tccli/services/iotexplorer/v20190423/api.json +1 -1
  29. tccli/services/iotvideoindustry/v20201201/api.json +162 -110
  30. tccli/services/iotvideoindustry/v20201201/examples.json +3 -3
  31. tccli/services/mna/v20210119/api.json +80 -82
  32. tccli/services/mna/v20210119/examples.json +21 -21
  33. tccli/services/ocr/ocr_client.py +38 -91
  34. tccli/services/ocr/v20181119/api.json +12 -190
  35. tccli/services/ocr/v20181119/examples.json +2 -10
  36. tccli/services/pts/v20210728/api.json +36 -33
  37. tccli/services/pts/v20210728/examples.json +12 -12
  38. tccli/services/scf/scf_client.py +118 -65
  39. tccli/services/scf/v20180416/api.json +570 -475
  40. tccli/services/scf/v20180416/examples.json +52 -44
  41. tccli/services/sqlserver/v20180328/api.json +30 -1
  42. tccli/services/tcb/v20180608/api.json +72 -63
  43. tccli/services/tcb/v20180608/examples.json +1 -1
  44. tccli/services/tcm/v20210413/api.json +45 -47
  45. tccli/services/tcr/v20190924/api.json +399 -371
  46. tccli/services/tcr/v20190924/examples.json +32 -32
  47. tccli/services/thpc/v20211109/api.json +30 -44
  48. tccli/services/thpc/v20220401/api.json +30 -44
  49. tccli/services/thpc/v20230321/api.json +54 -54
  50. tccli/services/tke/v20180525/api.json +691 -591
  51. tccli/services/tke/v20180525/examples.json +130 -130
  52. tccli/services/tke/v20220501/api.json +15 -15
  53. tccli/services/vpc/v20170312/api.json +178 -150
  54. tccli/services/vpc/v20170312/examples.json +24 -24
  55. {tccli-3.0.1242.1.dist-info → tccli-3.0.1244.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1242.1.dist-info → tccli-3.0.1244.1.dist-info}/RECORD +59 -59
  57. {tccli-3.0.1242.1.dist-info → tccli-3.0.1244.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1242.1.dist-info → tccli-3.0.1244.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1242.1.dist-info → tccli-3.0.1244.1.dist-info}/license_files/LICENSE +0 -0
@@ -19,13 +19,13 @@
19
19
  "CreateCustomDomain": [
20
20
  {
21
21
  "document": "创建一个自定义域名,关闭了waf防护,路由配置开启重写策略,该策略是通配符匹配替换。",
22
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"BxxJ3DK7\"\n },\n \"EndpointsConfig\": [\n {\n \"PathMatch\": \"/aa/*\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"test1\",\n \"Qualifier\": \"$LATEST\",\n \"PathRewrite\": [\n {\n \"Path\": \"/aa/bb/*\",\n \"Type\": \"WildcardRules\",\n \"Rewrite\": \"/$\"\n }\n ]\n }\n ],\n \"WafConfig\": {\n \"WafOpen\": \"CLOSE\",\n \"WafInstanceId\": \"\"\n }\n}",
22
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"BxxJ3DK7\"\n },\n \"EndpointsConfig\": [\n {\n \"PathMatch\": \"/aa/*\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"test1\",\n \"Qualifier\": \"$LATEST\",\n \"PathRewrite\": [\n {\n \"Path\": \"/aa/bb/*\",\n \"Type\": \"WildcardRules\",\n \"Rewrite\": \"/$\"\n }\n ]\n }\n ],\n \"WafConfig\": {\n \"WafOpen\": \"CLOSE\",\n \"WafInstanceId\": \"waf_2kzh3vlq0umkkha9\"\n }\n}",
23
23
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
24
24
  "title": "示例1"
25
25
  },
26
26
  {
27
27
  "document": "创建一个自定义域名,开启了waf 防护,路由配置开启重写策略,该策略是精确路径匹配替换。",
28
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"BxxJ3DK7\"\n },\n \"EndpointsConfig\": [\n {\n \"PathMatch\": \"/aa/\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"test1\",\n \"Qualifier\": \"1\",\n \"PathRewrite\": [\n {\n \"Path\": \"/aa/\",\n \"Type\": \"WildcardRules\",\n \"Rewrite\": \"/\"\n }\n ]\n }\n ],\n \"WafConfig\": {\n \"WafOpen\": \"OPEN\",\n \"WafInstanceId\": \"waf-xxxxx\"\n }\n}",
28
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"BxxJ3DK7\"\n },\n \"EndpointsConfig\": [\n {\n \"PathMatch\": \"/aa/\",\n \"Namespace\": \"default\",\n \"FunctionName\": \"test1\",\n \"Qualifier\": \"1\",\n \"PathRewrite\": [\n {\n \"Path\": \"/aa/\",\n \"Type\": \"WildcardRules\",\n \"Rewrite\": \"/$\"\n }\n ]\n }\n ],\n \"WafConfig\": {\n \"WafOpen\": \"OPEN\",\n \"WafInstanceId\": \"waf_2kzh3vlq0umkkha9\"\n }\n}",
29
29
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
30
30
  "title": "示例2"
31
31
  }
@@ -41,7 +41,7 @@
41
41
  "CreateNamespace": [
42
42
  {
43
43
  "document": "创建命名空间。",
44
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNamespace\n<公共请求参数>\n\n{\n \"Namespace\": \"test\"\n}",
44
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateNamespace\n<公共请求参数>\n\n{\n \"Namespace\": \"ns1\",\n \"Description\": \"a ns\"\n}",
45
45
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
46
46
  "title": "创建命名空间。"
47
47
  }
@@ -78,10 +78,18 @@
78
78
  "title": "删除函数"
79
79
  }
80
80
  ],
81
+ "DeleteFunctionVersion": [
82
+ {
83
+ "document": "删除函数 test 的版本 2 ",
84
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteFunctionVersion\n<公共请求参数>\n\n{\n \"FunctionName\": \"test\",\n \"Namespace\": \"default\",\n \"Qualifier\": \"2\"\n}",
85
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n }\n}",
86
+ "title": "删除函数指定版本"
87
+ }
88
+ ],
81
89
  "DeleteLayerVersion": [
82
90
  {
83
91
  "document": "删除层版本",
84
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"abc\",\n \"LayerVersion\": 0\n}",
92
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"layer-1\",\n \"LayerVersion\": 1\n}",
85
93
  "output": "{\n \"Response\": {\n \"RequestId\": \"a1ffbba5-5489-45bc-89c5-453e50d5386e\"\n }\n}",
86
94
  "title": "删除层版本"
87
95
  }
@@ -89,7 +97,7 @@
89
97
  "DeleteNamespace": [
90
98
  {
91
99
  "document": "",
92
- "input": "https://scf.tencentcloudapi.com/?Action=DeleteNamespace\n&Namespace=test\n&<公共请求参数>",
100
+ "input": "https://scf.tencentcloudapi.com/?Action=DeleteNamespace\n&Namespace=namespace1\n&<公共请求参数>",
93
101
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
94
102
  "title": "删除命名空间"
95
103
  }
@@ -97,7 +105,7 @@
97
105
  "DeleteProvisionedConcurrencyConfig": [
98
106
  {
99
107
  "document": "",
100
- "input": "https://scf.tencentcloudapi.com/?Action=DeleteProvisionedConcurrencyConfig\n&FunctionName=test\n&Qualifier=1\n&<公共请求参数>",
108
+ "input": "https://scf.tencentcloudapi.com/?Action=DeleteProvisionedConcurrencyConfig\n&FunctionName=functionName1\n&Namespace=namespace1\n&Qualifier=1\n&<公共请求参数>",
101
109
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
102
110
  "title": "删除预置并发"
103
111
  }
@@ -105,7 +113,7 @@
105
113
  "DeleteReservedConcurrencyConfig": [
106
114
  {
107
115
  "document": "",
108
- "input": "https://scf.tencentcloudapi.com/?Action=DeleteReservedConcurrencyConfig\n&FunctionName=test\n&<公共请求参数>",
116
+ "input": "https://scf.tencentcloudapi.com/?Action=DeleteReservedConcurrencyConfig\n&FunctionName=functionName1\n&Namespace=default\n&<公共请求参数>",
109
117
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
110
118
  "title": "删除函数最大独占配额"
111
119
  }
@@ -122,7 +130,7 @@
122
130
  {
123
131
  "document": "",
124
132
  "input": "https://scf.tencentcloudapi.com/?Action=GetAccount\n&<公共请求参数>",
125
- "output": "{\n \"Response\": {\n \"AccountLimit\": {\n \"Namespace\": [\n {\n \"TimeoutLimit\": 0,\n \"MaxMsgTTL\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Total\": 11,\n \"Cm\": 0,\n \"Timer\": 3,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Clb\": 0,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"FunctionsCount\": 0,\n \"InitTimeoutLimit\": 0,\n \"TestModelLimit\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n },\n {\n \"TestModelLimit\": 0,\n \"FunctionsCount\": 0,\n \"Namespace\": \"xx\",\n \"ConcurrentExecutions\": 20,\n \"MinMsgTTL\": 0,\n \"Trigger\": {\n \"Vod\": 0,\n \"Cos\": 2,\n \"Cm\": 0,\n \"Clb\": 0,\n \"Timer\": 2,\n \"Ckafka\": 2,\n \"Mps\": 0,\n \"Apigw\": 2,\n \"Total\": 10,\n \"Cmq\": 2,\n \"Cls\": 0\n },\n \"RetryNumLimit\": 0,\n \"TimeoutLimit\": 0,\n \"InitTimeoutLimit\": 0,\n \"MaxMsgTTL\": 0\n }\n ],\n \"NamespacesCount\": 50\n },\n \"RequestId\": \"xx\",\n \"AccountUsage\": {\n \"TotalConcurrencyMem\": 0,\n \"Namespace\": [\n {\n \"Functions\": [\n \"testfun01\",\n \"testfun02\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 2\n },\n {\n \"Functions\": [\n \"xx\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 0\n },\n {\n \"Functions\": [\n \"xx\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 0\n },\n {\n \"Functions\": [\n \"louis06\",\n \"louis05\",\n \"louisw-f38e691\",\n \"louisw-f38e69\",\n \"louis04\",\n \"louis02\",\n \"louis01\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 7\n },\n {\n \"Functions\": [\n \"xx\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 0\n },\n {\n \"Functions\": [\n \"alano1\",\n \"alanoluo_desc\",\n \"ttstss\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 3\n },\n {\n \"Functions\": [\n \"xx\"\n ],\n \"Namespace\": \"xx\",\n \"FunctionsCount\": 0\n }\n ],\n \"TotalAllocatedConcurrencyMem\": 0,\n \"NamespacesCount\": 7,\n \"UserConcurrencyMemLimit\": 0\n }\n }\n}",
133
+ "output": "{\n \"Response\": {\n \"AccountUsage\": {\n \"NamespacesCount\": 1,\n \"Namespace\": [\n {\n \"Namespace\": \"default\",\n \"Functions\": [\n \"express_demo-test\"\n ],\n \"TotalConcurrencyMem\": 0,\n \"TotalAllocatedConcurrencyMem\": 0,\n \"TotalAllocatedProvisionedMem\": 0,\n \"FunctionsCount\": 1\n }\n ],\n \"TotalConcurrencyMem\": 128000,\n \"TotalAllocatedConcurrencyMem\": 0,\n \"UserConcurrencyMemLimit\": 128000\n },\n \"AccountLimit\": {\n \"NamespacesCount\": 5,\n \"Namespace\": [\n {\n \"Namespace\": \"default\",\n \"FunctionsCount\": 50,\n \"TimeoutLimit\": 900,\n \"InitTimeoutLimit\": 300,\n \"TestModelLimit\": 20,\n \"RetryNumLimit\": 2,\n \"MinMsgTTL\": 60,\n \"MaxMsgTTL\": 21600,\n \"ConcurrentExecutions\": 100,\n \"Trigger\": {\n \"Apigw\": 10,\n \"Ckafka\": 10,\n \"Clb\": 10,\n \"Cls\": 10,\n \"Cm\": 10,\n \"Cmq\": 10,\n \"Cos\": 10,\n \"Eb\": 10,\n \"Mps\": 10,\n \"Timer\": 10,\n \"Total\": 110,\n \"Vod\": 10\n }\n }\n ]\n },\n \"RequestId\": \"cvvdsds-af20-42a9-9314-84ad66b06ee4\"\n }\n}",
126
134
  "title": "获取账户信息"
127
135
  }
128
136
  ],
@@ -130,7 +138,7 @@
130
138
  {
131
139
  "document": "",
132
140
  "input": "https://scf.tencentcloudapi.com/?Action=GetAlias\n&Namespace=<Namespace>\n&FunctionName=<FunctionName>\n&Name=<AliasName>\n&<公共请求参数>",
133
- "output": "{\n \"Response\": {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"Description\": \"xx\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"FunctionVersion\": \"xx\",\n \"RequestId\": \"xx\",\n \"RoutingConfig\": {\n \"AdditionalVersionWeights\": [\n {\n \"Version\": \"xx\",\n \"Weight\": 0.3\n },\n {\n \"Version\": \"xx\",\n \"Weight\": 0.2\n }\n ],\n \"AddtionVersionMatchs\": [\n {\n \"Version\": \"xx\",\n \"Expression\": \"xx\",\n \"Method\": \"xx\",\n \"Key\": \"xx\"\n }\n ]\n },\n \"Name\": \"xx\"\n }\n}",
141
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Name\": \"ddd\",\n \"Description\": \"\",\n \"FunctionVersion\": \"1\",\n \"RoutingConfig\": {\n \"AdditionalVersionWeights\": [\n {\n \"Version\": \"$LATEST\",\n \"Weight\": 0.8\n }\n ],\n \"AddtionVersionMatchs\": []\n },\n \"AddTime\": \"2024-12-19 14:53:51\",\n \"ModTime\": \"2024-12-19 14:53:51\"\n }\n}",
134
142
  "title": "查询别名详细信息"
135
143
  }
136
144
  ],
@@ -138,15 +146,15 @@
138
146
  {
139
147
  "document": "查询函数异步事件状态",
140
148
  "input": "https://scf.tencentcloudapi.com/?Action=GetAsyncEventStatus\n&InvokeRequestId=b379787f-8487-4bac-bd8c-17a20a9ce40e\n&<公共请求参数>",
141
- "output": "{\n \"Response\": {\n \"Result\": {\n \"Status\": \"abc\",\n \"StatusCode\": 0,\n \"InvokeRequestId\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
149
+ "output": "{\n \"Response\": {\n \"Result\": {\n \"Status\": \"RUNNING\",\n \"StatusCode\": 0,\n \"InvokeRequestId\": \"5f825fd3-a59d-4879-aa28-3ac967c12888\"\n },\n \"RequestId\": \"5f825fd3-a59d-4879-aa28-3ac967c128885f82\"\n }\n}",
142
150
  "title": "查询函数异步事件状态"
143
151
  }
144
152
  ],
145
153
  "GetCustomDomain": [
146
154
  {
147
155
  "document": "",
148
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.xxx.com\"\n}",
149
- "output": "{\n \"Response\": {\n \"CertConfig\": {\n \"CertificateId\": \"BfHJsadd7\"\n },\n \"Domain\": \"www.xxx.com\",\n \"EndpointsConfig\": [\n {\n \"FunctionName\": \"test1\",\n \"Namespace\": \"default\",\n \"PathMatch\": \"/cc/\",\n \"PathRewrite\": [\n {\n \"Path\": \"/cc/\",\n \"Rewrite\": \"/\",\n \"Type\": \"ExactRules\"\n }\n ],\n \"Qualifier\": \"$LATEST\"\n }\n ],\n \"Protocol\": \"HTTP&HTTPS\",\n \"RequestId\": \"6941ssdd162b-925f-4c3a-b90f-3558c0aebf97\",\n \"WafConfig\": {\n \"WafInstanceId\": \"\",\n \"WafOpen\": \"CLOSE\"\n }\n }\n}",
156
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.demo.com\"\n}",
157
+ "output": "{\n \"Response\": {\n \"CertConfig\": {\n \"CertificateId\": \"BfHJsadd7\"\n },\n \"Domain\": \"www.demo.com\",\n \"EndpointsConfig\": [\n {\n \"FunctionName\": \"test1\",\n \"Namespace\": \"default\",\n \"PathMatch\": \"/cc/\",\n \"PathRewrite\": [\n {\n \"Path\": \"/cc/\",\n \"Rewrite\": \"/$1\",\n \"Type\": \"ExactRules\"\n }\n ],\n \"Qualifier\": \"$LATEST\"\n }\n ],\n \"Protocol\": \"HTTP&HTTPS\",\n \"RequestId\": \"6941ssdd162b-925f-4c3a-b90f-3558c0aebf97\",\n \"WafConfig\": {\n \"WafInstanceId\": \"\",\n \"WafOpen\": \"CLOSE\"\n }\n }\n}",
150
158
  "title": "示例1"
151
159
  }
152
160
  ],
@@ -154,7 +162,7 @@
154
162
  {
155
163
  "document": "用户用此函数获取对应的函数信息,可指定版本与命名空间。",
156
164
  "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFunction\n<公共请求参数>\n\n{\n \"FunctionName\": \"<FunctionName>\"\n}",
157
- "output": "{\n \"Response\": {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"CodeInfo\": \"abc\",\n \"Description\": \"abc\",\n \"Triggers\": [\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"Type\": \"abc\",\n \"TriggerDesc\": \"abc\",\n \"TriggerName\": \"abc\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Enable\": 0,\n \"CustomArgument\": \"abc\",\n \"AvailableStatus\": \"abc\",\n \"ResourceId\": \"abc\",\n \"BindStatus\": \"abc\",\n \"TriggerAttribute\": \"abc\",\n \"Qualifier\": \"abc\",\n \"Description\": \"abc\"\n }\n ],\n \"Handler\": \"abc\",\n \"CodeSize\": 0,\n \"Timeout\": 0,\n \"FunctionVersion\": \"abc\",\n \"MemorySize\": 0,\n \"Runtime\": \"abc\",\n \"FunctionName\": \"abc\",\n \"VpcConfig\": {\n \"VpcId\": \"abc\",\n \"SubnetId\": \"abc\"\n },\n \"UseGpu\": \"abc\",\n \"Environment\": {\n \"Variables\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n },\n \"CodeResult\": \"abc\",\n \"CodeError\": \"abc\",\n \"ErrNo\": 0,\n \"Namespace\": \"abc\",\n \"Role\": \"abc\",\n \"InstallDependency\": \"abc\",\n \"Status\": \"abc\",\n \"StatusDesc\": \"abc\",\n \"ClsLogsetId\": \"abc\",\n \"ClsTopicId\": \"abc\",\n \"FunctionId\": \"abc\",\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ],\n \"EipConfig\": {\n \"EipFixed\": \"abc\",\n \"Eips\": [\n \"abc\"\n ]\n },\n \"AccessInfo\": {\n \"Host\": \"abc\",\n \"Vip\": \"abc\"\n },\n \"Type\": \"abc\",\n \"L5Enable\": \"abc\",\n \"Layers\": [\n {\n \"CompatibleRuntimes\": [\n \"abc\"\n ],\n \"AddTime\": \"abc\",\n \"Description\": \"abc\",\n \"LicenseInfo\": \"abc\",\n \"LayerVersion\": 0,\n \"LayerName\": \"abc\",\n \"Status\": \"abc\",\n \"Stamp\": \"abc\"\n }\n ],\n \"DeadLetterConfig\": {\n \"Type\": \"abc\",\n \"Name\": \"abc\",\n \"FilterType\": \"abc\"\n },\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"PublicNetConfig\": {\n \"PublicNetStatus\": \"abc\",\n \"EipConfig\": {\n \"EipStatus\": \"abc\",\n \"EipAddress\": [\n \"abc\"\n ]\n }\n },\n \"OnsEnable\": \"abc\",\n \"CfsConfig\": {\n \"CfsInsList\": [\n {\n \"UserId\": \"abc\",\n \"UserGroupId\": \"abc\",\n \"CfsId\": \"abc\",\n \"MountInsId\": \"abc\",\n \"LocalMountDir\": \"abc\",\n \"RemoteMountDir\": \"abc\",\n \"IpAddress\": \"abc\",\n \"MountVpcId\": \"abc\",\n \"MountSubnetId\": \"abc\"\n }\n ]\n },\n \"AvailableStatus\": \"abc\",\n \"Qualifier\": \"abc\",\n \"InitTimeout\": 0,\n \"StatusReasons\": [\n {\n \"ErrorCode\": \"abc\",\n \"ErrorMessage\": \"abc\"\n }\n ],\n \"AsyncRunEnable\": \"abc\",\n \"TraceEnable\": \"abc\",\n \"ImageConfig\": {\n \"RegistryId\": \"abc\",\n \"ImageType\": \"abc\",\n \"ImageUri\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"Command\": \"abc\",\n \"Args\": \"abc\",\n \"ContainerImageAccelerate\": true,\n \"ImagePort\": 0\n },\n \"ProtocolType\": \"abc\",\n \"ProtocolParams\": {\n \"WSParams\": {\n \"IdleTimeOut\": 1\n }\n },\n \"DnsCache\": \"abc\",\n \"IntranetConfig\": {\n \"IpFixed\": \"abc\",\n \"IpAddress\": [\n \"abc\"\n ]\n },\n \"RequestId\": \"abc\"\n }\n}",
165
+ "output": "{\n \"Response\": {\n \"Qualifier\": \"$LATEST\",\n \"Description\": \"Created by Serverless\",\n \"Timeout\": 3,\n \"InitTimeout\": 90,\n \"MemorySize\": 128,\n \"Runtime\": \"CustomImage\",\n \"VpcConfig\": {\n \"VpcId\": \"\",\n \"SubnetId\": \"\"\n },\n \"Environment\": {\n \"Variables\": []\n },\n \"Handler\": \"\",\n \"UseGpu\": \"FALSE\",\n \"Role\": \"\",\n \"CodeSize\": 0,\n \"FunctionVersion\": \"$LATEST\",\n \"FunctionName\": \"function-index1\",\n \"FunctionId\": \"xccxvxcv\",\n \"Namespace\": \"default\",\n \"InstallDependency\": \"FALSE\",\n \"Status\": \"Active\",\n \"AvailableStatus\": \"Available\",\n \"StatusDesc\": \"\",\n \"L5Enable\": \"FALSE\",\n \"DnsCache\": \"FALSE\",\n \"EipConfig\": {\n \"EipFixed\": \"FALSE\",\n \"Eips\": []\n },\n \"ModTime\": \"2024-12-17 17:52:48\",\n \"AddTime\": \"2024-12-17 17:47:08\",\n \"Layers\": [],\n \"DeadLetterConfig\": {\n \"Type\": \"\",\n \"Name\": \"\",\n \"FilterType\": \"\"\n },\n \"OnsEnable\": \"FALSE\",\n \"PublicNetConfig\": {\n \"PublicNetStatus\": \"ENABLE\",\n \"EipConfig\": {\n \"EipStatus\": \"DISABLE\",\n \"EipAddress\": []\n }\n },\n \"ImageConfig\": {\n \"RegistryId\": \"\",\n \"ImageType\": \"personal\",\n \"ImageUri\": \"ccr.ccs.tencentyun.com/xxx/xxx:xx@sha256:xxxxxxxxxx\",\n \"ContainerImageAccelerate\": false,\n \"Command\": \"node\",\n \"Args\": \" index.js \",\n \"ImagePort\": 9000,\n \"EntryPoint\": null\n },\n \"ProtocolType\": \"\",\n \"Triggers\": [],\n \"ClsLogsetId\": \"b91e2c12-cccccccccccc\",\n \"ClsTopicId\": \"a3b039f5-bbbbbbbbbb\",\n \"CodeInfo\": \"\",\n \"CodeResult\": \"success\",\n \"CodeError\": \"\",\n \"ErrNo\": 0,\n \"Tags\": [],\n \"AccessInfo\": {\n \"Host\": \"\",\n \"Vip\": \"\"\n },\n \"Type\": \"Event\",\n \"CfsConfig\": {\n \"CfsInsList\": []\n },\n \"StatusReasons\": [],\n \"AsyncRunEnable\": \"FALSE\",\n \"TraceEnable\": \"FALSE\",\n \"ProtocolParams\": null,\n \"IntranetConfig\": {\n \"IpFixed\": \"DISABLE\"\n },\n \"RequestId\": \"08b4c93b-b515-4cf4-a7a3-72b5db4e21dc\"\n }\n}",
158
166
  "title": "获取函数详细信息"
159
167
  }
160
168
  ],
@@ -185,7 +193,7 @@
185
193
  "GetLayerVersion": [
186
194
  {
187
195
  "document": "获取层版本详情",
188
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"abc\",\n \"LayerVersion\": 0\n}",
196
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"layer-name1\",\n \"LayerVersion\": 1\n}",
189
197
  "output": "{\n \"Response\": {\n \"Status\": \"Active\",\n \"LayerVersion\": 1,\n \"CodeSha256\": \"c7c8bda601817ce4faab4c4fb3e73b9a32040e0e9f31f7a649d84d4bdde9e4a5\",\n \"Description\": \"desc\",\n \"LicenseInfo\": \"\",\n \"AddTime\": \"2019-11-26 16:15:33\",\n \"Location\": \"https://lambdalayerin-1253665819.cos.ap-mumbai.myqcloud.com/1253970226/layer3/1/1253970226_layer3_1.zip?sign=q-sign-algorithm%3Dsha1%26q-ak%3Dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx%26q-sign-time%3D1582083327%3B1582093387%26q-key-time%3D1582083327%3B1582093387%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3D255d3e5aaa6c7224396b39f857e134a0dfb27c89&response-content-type=application/octet-stream\",\n \"CompatibleRuntimes\": [\n \"Nodejs8.9\",\n \"Nodejs6.10\"\n ],\n \"LayerName\": \"layer3\",\n \"RequestId\": \"6c7578ed-b816-4e50-930a-54e855452b8b\"\n }\n}",
190
198
  "title": "获取层版本详情"
191
199
  }
@@ -193,8 +201,8 @@
193
201
  "GetProvisionedConcurrencyConfig": [
194
202
  {
195
203
  "document": "",
196
- "input": "https://scf.tencentcloudapi.com/?Action=GetProvisionedConcurrencyConfig\n&FunctionName=test\n&Qualifier=1\n&<公共请求参数>",
197
- "output": "{\n \"Response\": {\n \"UnallocatedConcurrencyNum\": 1,\n \"Allocated\": [\n {\n \"Status\": \"xx\",\n \"Qualifier\": \"xx\",\n \"AvailableProvisionedConcurrencyNum\": 1,\n \"StatusReason\": \"xx\",\n \"AllocatedProvisionedConcurrencyNum\": 1,\n \"TriggerActions\": [\n {\n \"TriggerProvisionedConcurrencyNum\": 1,\n \"TriggerCronConfig\": \"xx\",\n \"TriggerName\": \"xx\"\n }\n ]\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
204
+ "input": "https://scf.tencentcloudapi.com/?Action=GetProvisionedConcurrencyConfig\n&FunctionName=functionName1\n&Namespace=default\n&Qualifier=1\n&<公共请求参数>",
205
+ "output": "{\n \"Response\": {\n \"UnallocatedConcurrencyNum\": 2343,\n \"Allocated\": [\n {\n \"Qualifier\": \"1\",\n \"AvailableProvisionedConcurrencyNum\": 1,\n \"AllocatedProvisionedConcurrencyNum\": 1,\n \"Status\": \"Done\",\n \"StatusReason\": \"\",\n \"TriggerActions\": []\n },\n {\n \"Qualifier\": \"2\",\n \"AvailableProvisionedConcurrencyNum\": 1,\n \"AllocatedProvisionedConcurrencyNum\": 1,\n \"Status\": \"Done\",\n \"StatusReason\": \"\",\n \"TriggerActions\": [\n {\n \"TriggerName\": \"timer-1\",\n \"ProvisionedType\": \"Default\",\n \"TriggerProvisionedConcurrencyNum\": 1,\n \"TriggerCronConfig\": \"30 42 15 20 12 * 2024\"\n }\n ]\n }\n ],\n \"RequestId\": \"dsdsfsdf-b246-4fe5-812a-f77f1275471a\"\n }\n}",
198
206
  "title": "获取函数预置并发详情"
199
207
  }
200
208
  ],
@@ -202,14 +210,14 @@
202
210
  {
203
211
  "document": "",
204
212
  "input": "https://scf.tencentcloudapi.com/?Action=GetRequestStatus\n&FunctionName=<FunctionName>\n&FunctionRequestId=<FunctionRequestId>\n&<公共请求参数>",
205
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"FunctionName\": \"abc\",\n \"RetMsg\": \"abc\",\n \"RequestId\": \"abc\",\n \"StartTime\": \"abc\",\n \"RetCode\": 0,\n \"Duration\": 0,\n \"MemUsage\": 0,\n \"RetryNum\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
213
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"FunctionName\": \"function-demo\",\n \"RetMsg\": \"Hello\",\n \"RequestId\": \"96d91886-f49b-4962-825e-1b4b8a2585f7\",\n \"StartTime\": \"2024-12-25 19:50:07\",\n \"RetCode\": 0,\n \"Duration\": 0,\n \"MemUsage\": 0,\n \"RetryNum\": 0\n }\n ],\n \"RequestId\": \"a63607c3-581f-4be9-8c4b-631c75909f07\"\n }\n}",
206
214
  "title": "获取函数运行状态"
207
215
  }
208
216
  ],
209
217
  "GetReservedConcurrencyConfig": [
210
218
  {
211
219
  "document": "",
212
- "input": "https://scf.tencentcloudapi.com/?Action=GetReservedConcurrencyConfig\n&FunctionName=test\n&<公共请求参数>",
220
+ "input": "https://scf.tencentcloudapi.com/?Action=GetReservedConcurrencyConfig\n&FunctionName=functionName1\n&<公共请求参数>",
213
221
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"ReservedMem\": 128\n }\n}",
214
222
  "title": "获取函数最大独占配额详情"
215
223
  }
@@ -217,7 +225,7 @@
217
225
  "Invoke": [
218
226
  {
219
227
  "document": "运行函数",
220
- "input": "https://scf.tencentcloudapi.com/?Action=Invoke\n&FunctionName=xxxx\n&<公共请求参数>",
228
+ "input": "https://scf.tencentcloudapi.com/?Action=Invoke\n&FunctionName=function-demo\n&<公共请求参数>",
221
229
  "output": "{\n \"Response\": {\n \"Result\": {\n \"MemUsage\": 3207168,\n \"Log\": \"\",\n \"RetMsg\": \"hello from scf\",\n \"BillDuration\": 100,\n \"FunctionRequestId\": \"6add56fa-58f1-11e8-89a9-5254005d5fdb\",\n \"Duration\": 0.826,\n \"ErrMsg\": \"\",\n \"InvokeResult\": 0\n },\n \"RequestId\": \"c2af8a64-c922-4d55-aee0-bd86a5c2cd12\"\n }\n}",
222
230
  "title": "运行函数"
223
231
  }
@@ -225,7 +233,7 @@
225
233
  "InvokeFunction": [
226
234
  {
227
235
  "document": "",
228
- "input": "https://scf.tencentcloudapi.com/?Action=InvokeFunction\n&FunctionName=xxxx\n&<公共请求参数>",
236
+ "input": "https://scf.tencentcloudapi.com/?Action=InvokeFunction\n&FunctionName=function-demo\n&<公共请求参数>",
229
237
  "output": "{\n \"Response\": {\n \"Result\": {\n \"MemUsage\": 3207168,\n \"Log\": \"\",\n \"RetMsg\": \"hello from scf\",\n \"BillDuration\": 100,\n \"FunctionRequestId\": \"6add56fa-58f1-11e8-89a9-5254005d5fdb\",\n \"Duration\": 0.826,\n \"ErrMsg\": \"\",\n \"InvokeResult\": 0\n },\n \"RequestId\": \"c2af8a64-c922-4d55-aee0-bd86a5c2cd12\"\n }\n}",
230
238
  "title": "运行函数"
231
239
  }
@@ -233,8 +241,8 @@
233
241
  "ListAliases": [
234
242
  {
235
243
  "document": "",
236
- "input": "https://scf.tencentcloudapi.com/?Action=ListAliases\n&Namespace=<Namespace>\n&FunctionName=<FunctionName>\n&<公共请求参数>",
237
- "output": "{\n \"Response\": {\n \"Aliases\": [\n {\n \"FunctionVersion\": \"abc\",\n \"Name\": \"abc\",\n \"RoutingConfig\": {\n \"AdditionalVersionWeights\": [\n {\n \"Version\": \"abc\",\n \"Weight\": 0\n }\n ],\n \"AddtionVersionMatchs\": [\n {\n \"Version\": \"abc\",\n \"Key\": \"abc\",\n \"Method\": \"abc\",\n \"Expression\": \"abc\"\n }\n ]\n },\n \"Description\": \"abc\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"ModTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
244
+ "input": "https://scf.tencentcloudapi.com/?Action=ListAliases\n&Namespace=default\n&FunctionName=functionName1\n&<公共请求参数>",
245
+ "output": "{\n \"Response\": {\n \"Aliases\": [\n {\n \"ModTime\": \"2023-07-12 10:53:52\",\n \"AddTime\": \"2023-07-12 10:53:52\",\n \"Name\": \"$DEFAULT\",\n \"Description\": \"\",\n \"FunctionVersion\": \"$LATEST\",\n \"RoutingConfig\": {\n \"AdditionalVersionWeights\": [],\n \"AddtionVersionMatchs\": []\n }\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"dfdfdfd-e3ca-4756-bc18-09a22ec9048f\"\n }\n}",
238
246
  "title": "查询函数下的全部别名"
239
247
  }
240
248
  ],
@@ -250,7 +258,7 @@
250
258
  {
251
259
  "document": "",
252
260
  "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListCustomDomains\n<公共请求参数>\n\n{}",
253
- "output": "{\n \"Response\": {\n \"Domains\": [\n {\n \"CertConfig\": {\n \"CertificateId\": \"ccccaas\"\n },\n \"Domain\": \"www.xxx.com\",\n \"EndpointsConfig\": [\n {\n \"FunctionName\": \"test1\",\n \"Namespace\": \"default\",\n \"PathMatch\": \"/cc/\",\n \"PathRewrite\": [\n {\n \"Path\": \"/cc/\",\n \"Rewrite\": \"/\",\n \"Type\": \"ExactRules\"\n }\n ],\n \"Qualifier\": \"$LATEST\"\n }\n ],\n \"Protocol\": \"HTTP&HTTPS\",\n \"WafConfig\": {\n \"WafInstanceId\": \"\",\n \"WafOpen\": \"CLOSE\"\n }\n }\n ],\n \"RequestId\": \"6941ssdd162b-925f-4c3a-b90f-3558c0aebf97\",\n \"Total\": 1\n }\n}",
261
+ "output": "{\n \"Response\": {\n \"Domains\": [\n {\n \"CertConfig\": {\n \"CertificateId\": \"ccccaas\"\n },\n \"Domain\": \"www.demo.com\",\n \"EndpointsConfig\": [\n {\n \"FunctionName\": \"test1\",\n \"Namespace\": \"default\",\n \"PathMatch\": \"/cc/\",\n \"PathRewrite\": [\n {\n \"Path\": \"/cc/\",\n \"Rewrite\": \"/$1\",\n \"Type\": \"ExactRules\"\n }\n ],\n \"Qualifier\": \"$LATEST\"\n }\n ],\n \"Protocol\": \"HTTP&HTTPS\",\n \"WafConfig\": {\n \"WafInstanceId\": \"\",\n \"WafOpen\": \"CLOSE\"\n }\n }\n ],\n \"RequestId\": \"6941ssdd162b-925f-4c3a-b90f-3558c0aebf97\",\n \"Total\": 1\n }\n}",
254
262
  "title": "示例1"
255
263
  }
256
264
  ],
@@ -258,61 +266,61 @@
258
266
  {
259
267
  "document": "",
260
268
  "input": "https://scf.tencentcloudapi.com/?Action=ListFunctions\n&Limit=2\n&Order=ASC\n&<公共请求参数>",
261
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Functions\": [\n {\n \"ModTime\": \"xx\",\n \"Status\": \"xx\",\n \"StatusDesc\": \"xx\",\n \"FunctionName\": \"xx\",\n \"TotalProvisionedConcurrencyMem\": 1,\n \"Tags\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"AddTime\": \"xx\",\n \"Namespace\": \"xx\",\n \"StatusReasons\": [\n {\n \"ErrorCode\": \"xx\",\n \"ErrorMessage\": \"xx\"\n }\n ],\n \"Runtime\": \"xx\",\n \"Type\": \"xx\",\n \"FunctionId\": \"xx\",\n \"ReservedConcurrencyMem\": 1,\n \"Description\": \"xx\",\n \"TraceEnable\": \"FALSE\",\n \"AsyncRunEnable\": \"FALSE\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
269
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Functions\": [\n {\n \"Namespace\": \"defaut\",\n \"FunctionName\": \"functionName1\",\n \"FunctionId\": \"sdfdsgfd g\",\n \"Description\": \"\",\n \"Tags\": [],\n \"Runtime\": \"Nodejs8.9\",\n \"Type\": \"Event\",\n \"AsyncRunEnable\": \"FALSE\",\n \"TraceEnable\": \"FALSE\",\n \"ReservedConcurrencyMem\": null,\n \"TotalProvisionedConcurrencyMem\": 0,\n \"Status\": \"Active\",\n \"StatusDesc\": \"\",\n \"StatusReasons\": [],\n \"AddTime\": \"2024-08-27 15:27:43\",\n \"ModTime\": \"2024-08-27 15:27:43\"\n }\n ],\n \"RequestId\": \"sdfsdfdg-7d05-4d3e-91f8-e62e6695c8c8\"\n }\n}",
262
270
  "title": "获取函数列表"
263
271
  },
264
272
  {
265
273
  "document": "查询status标签的值是dev,且owner标签的值是me的函数",
266
274
  "input": "https://scf.tencentcloudapi.com/?Action=ListFunctions\n&Filters.0.Name=tag-status\n&Filters.0.Values.0=dev\n&Filters.1.Name=tag-owner\n&Filters.1.Values.0=me\n&<公共请求参数>",
267
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Functions\": [\n {\n \"ModTime\": \"xx\",\n \"Status\": \"xx\",\n \"StatusDesc\": \"xx\",\n \"FunctionName\": \"xx\",\n \"TotalProvisionedConcurrencyMem\": 1,\n \"Tags\": [\n {\n \"Value\": \"xx\",\n \"Key\": \"xx\"\n }\n ],\n \"AddTime\": \"xx\",\n \"Namespace\": \"xx\",\n \"StatusReasons\": [\n {\n \"ErrorCode\": \"xx\",\n \"ErrorMessage\": \"xx\"\n }\n ],\n \"Runtime\": \"xx\",\n \"Type\": \"xx\",\n \"FunctionId\": \"xx\",\n \"ReservedConcurrencyMem\": 1,\n \"Description\": \"xx\",\n \"TraceEnable\": \"FALSE\",\n \"AsyncRunEnable\": \"FALSE\"\n }\n ],\n \"RequestId\": \"xx\"\n }\n}",
275
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Functions\": [\n {\n \"Status\": \"Active\",\n \"FunctionName\": \"test\",\n \"TotalProvisionedConcurrencyMem\": 1,\n \"Namespace\": \"default\",\n \"Runtime\": \"Python3.6\",\n \"Type\": \"HTTP\",\n \"ReservedConcurrencyMem\": 1,\n \"Description\": \"just for test\",\n \"TraceEnable\": \"FALSE\",\n \"AsyncRunEnable\": \"FALSE\",\n \"FunctionId\": \"lam-xxxxxxxx\",\n \"StatusReasons\": [],\n \"StatusDesc\": \"\",\n \"AddTime\": \"2000-01-01 00:00:00\",\n \"ModTime\": \"2000-01-01 00:00:00\",\n \"Tags\": [\n {\n \"Value\": \"dev\",\n \"Key\": \"status\"\n },\n {\n \"Value\": \"me\",\n \"Key\": \"owner\"\n }\n ]\n }\n ],\n \"RequestId\": \"77ccef58-0ebb-4523-ab88-a37063443524\"\n }\n}",
268
276
  "title": "根据标签查询函数"
269
277
  }
270
278
  ],
271
279
  "ListLayerVersions": [
272
280
  {
273
281
  "document": "获取层版本列表",
274
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListLayerVersions\n<公共请求参数>\n\n{\n \"LayerName\": \"abc\",\n \"CompatibleRuntime\": [\n \"abc\"\n ]\n}",
275
- "output": "{\n \"Response\": {\n \"LayerVersions\": [\n {\n \"Status\": \"Active\",\n \"LayerVersion\": 1,\n \"Description\": \"desc\",\n \"LicenseInfo\": \"\",\n \"AddTime\": \"2019-11-26 16:15:33\",\n \"CompatibleRuntimes\": [\n \"Nodejs8.9\",\n \"Nodejs6.10\"\n ],\n \"LayerName\": \"layer3\"\n }\n ],\n \"RequestId\": \"4e9bc0ab-0b7c-45f1-8eec-e4f1f4f73e2b\"\n }\n}",
282
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListLayerVersions\n<公共请求参数>\n\n{\n \"LayerName\": \"layer-name1\",\n \"CompatibleRuntime\": [\n \"Nodejs16.13\"\n ]\n}",
283
+ "output": "{\n \"Response\": {\n \"LayerVersions\": [\n {\n \"LayerName\": \"layer-name1\",\n \"LayerVersion\": 1,\n \"CompatibleRuntimes\": [\n \"Nodejs16.13\"\n ],\n \"Description\": \"vxcx\",\n \"LicenseInfo\": \"\",\n \"AddTime\": \"2022-05-16 19:40:42\",\n \"Status\": \"Active\",\n \"Stamp\": \"default\"\n }\n ],\n \"RequestId\": \"ssssds-9783-424a-8f0b-48cfee89333b\"\n }\n}",
276
284
  "title": "获取层版本列表"
277
285
  }
278
286
  ],
279
287
  "ListLayers": [
280
288
  {
281
289
  "document": "拉取层列表",
282
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListLayers\n<公共请求参数>\n\n{\n \"CompatibleRuntime\": \"abc\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchKey\": \"abc\"\n}",
283
- "output": "{\n \"Response\": {\n \"Layers\": [\n {\n \"CompatibleRuntimes\": [\n \"abc\"\n ],\n \"AddTime\": \"abc\",\n \"Description\": \"abc\",\n \"LicenseInfo\": \"abc\",\n \"LayerVersion\": 0,\n \"LayerName\": \"abc\",\n \"Status\": \"abc\",\n \"Stamp\": \"abc\",\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
290
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListLayers\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10\n}",
291
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Layers\": [\n {\n \"LayerName\": \"test-layer\",\n \"LayerVersion\": 1,\n \"CompatibleRuntimes\": [\n \"Nodejs10.15\"\n ],\n \"Description\": \"Layer created by serverless component\",\n \"LicenseInfo\": \"\",\n \"AddTime\": \"2022-10-26 10:08:11\",\n \"Status\": \"Active\",\n \"Stamp\": \"default\",\n \"Tags\": []\n }\n ],\n \"RequestId\": \"dsfdf-cac3-451d-acfa-667d831521b4\"\n }\n}",
284
292
  "title": "拉取层列表"
285
293
  }
286
294
  ],
287
295
  "ListNamespaces": [
288
296
  {
289
297
  "document": "列出命名空间列表",
290
- "input": "https://scf.tencentcloudapi.com/?Action=ListNamespaces\n&SearchKey.0.Key=Namespace\n&SearchKey.0.Value=dev\n&<公共请求参数>",
291
- "output": "{\n \"Response\": {\n \"Namespaces\": [\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Description\": \"abc\",\n \"Name\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
298
+ "input": "https://scf.tencentcloudapi.com/?Action=ListNamespaces\n&SearchKey.0.Key=Namespace\n&SearchKey.0.Value=ns1\n&<公共请求参数>",
299
+ "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"Namespaces\": [\n {\n \"Name\": \"ns1\",\n \"Description\": \"\",\n \"AddTime\": \"2024-12-17 15:28:55\",\n \"ModTime\": \"2024-12-17 15:28:55\",\n \"Type\": \"default\"\n },\n {\n \"Name\": \"default\",\n \"Description\": \"\",\n \"AddTime\": \"2024-10-17 09:29:45\",\n \"ModTime\": \"2024-10-17 09:29:45\",\n \"Type\": \"default\"\n }\n ],\n \"RequestId\": \"sdfsdfs-3de5-459c-984a-cb43ec2625d2\"\n }\n}",
292
300
  "title": "列出命名空间列表"
293
301
  }
294
302
  ],
295
303
  "ListTriggers": [
296
304
  {
297
305
  "document": "获取函数触发器列表",
298
- "input": "https://scf.tencentcloudapi.com/?Action=ListTriggers\n&FunctionName=aaa\n&Limit=2\n&Order=ASC\n&<公共请求参数>",
299
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Triggers\": [\n {\n \"Enable\": 1,\n \"Qualifier\": \"abc\",\n \"TriggerName\": \"abc\",\n \"Type\": \"abc\",\n \"TriggerDesc\": \"abc\",\n \"AvailableStatus\": \"abc\",\n \"CustomArgument\": \"abc\",\n \"Description\": \"abc\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"ResourceId\": \"abc\",\n \"BindStatus\": \"abc\",\n \"TriggerAttribute\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
306
+ "input": "https://scf.tencentcloudapi.com/?Action=ListTriggers\n&FunctionName=function-demo\n&Limit=2\n&Order=ASC\n&<公共请求参数>",
307
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"Triggers\": [\n {\n \"Enable\": 1,\n \"Qualifier\": \"$DEFAULT\",\n \"TriggerName\": \"hulrzrbh9f\",\n \"Type\": \"http\",\n \"TriggerDesc\": \"{\\\"AuthType\\\":\\\"NONE\\\",\\\"NetConfig\\\":{\\\"EnableIntranet\\\":true,\\\"IntranetUrl\\\":\\\"https://1258888888-hulrzrbh9f.in.ap-chongqing.tencentscf.com\\\",\\\"IntranetHTTPUrl\\\":\\\"http://1258888888-hulrzrbh9f.in.ap-chongqing.tencentscf.com\\\",\\\"ExtranetUrl\\\":\\\"\\\",\\\"ExtranetHTTPUrl\\\":\\\"\\\",\\\"WssIntranetUrl\\\":\\\"\\\",\\\"WsIntranetUrl\\\":\\\"\\\",\\\"WssExtranetUrl\\\":\\\"\\\",\\\"WsExtranetUrl\\\":\\\"\\\",\\\"EnableExtranet\\\":false}}\",\n \"AvailableStatus\": \"Available\",\n \"CustomArgument\": \"custom\",\n \"Description\": \"Some Description\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"ResourceId\": \"qcs::scf:cq:uin/888888:function/function-demo/hulrzrbh9f\",\n \"BindStatus\": \"on\",\n \"TriggerAttribute\": \"single\"\n }\n ],\n \"RequestId\": \"52dd00b1-7197-4a11-97f5-2a67f9f49273\"\n }\n}",
300
308
  "title": "获取函数触发器列表"
301
309
  }
302
310
  ],
303
311
  "ListVersionByFunction": [
304
312
  {
305
313
  "document": "",
306
- "input": "https://scf.tencentcloudapi.com/?Action=ListVersionByFunction\n&FunctionName=xxxxx\n&<公共请求参数>",
307
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"FunctionVersion\": [\n \"$LATEST\",\n \"3\",\n \"2\",\n \"1\"\n ],\n \"RequestId\": \"xx\",\n \"Versions\": [\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Version\": \"xx\",\n \"Description\": \"xx\",\n \"Status\": \"xx\"\n },\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Version\": \"xx\",\n \"Description\": \"xx\",\n \"Status\": \"xx\"\n },\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Version\": \"xx\",\n \"Description\": \"xx\",\n \"Status\": \"xx\"\n },\n {\n \"ModTime\": \"2020-09-22 00:00:00\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"Version\": \"xx\",\n \"Description\": \"xx\",\n \"Status\": \"xx\"\n }\n ]\n }\n}",
314
+ "input": "https://scf.tencentcloudapi.com/?Action=ListVersionByFunction\n&FunctionName=functionName1\n&<公共请求参数>",
315
+ "output": "{\n \"Response\": {\n \"Versions\": [\n {\n \"Version\": \"$LATEST\",\n \"Description\": \"\",\n \"AddTime\": \"2024-12-18 10:11:51\",\n \"ModTime\": \"2024-12-18 17:04:41\",\n \"Status\": \"Active\"\n }\n ],\n \"FunctionVersion\": [\n \"$LATEST\"\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"sdssd-a36d-42d3-9c24-c276409592a7\"\n }\n}",
308
316
  "title": "查询函数版本"
309
317
  }
310
318
  ],
311
319
  "PublishLayerVersion": [
312
320
  {
313
321
  "document": "发布层版本",
314
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PublishLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"abc\",\n \"CompatibleRuntimes\": [\n \"abc\"\n ],\n \"Content\": {\n \"CosBucketName\": \"abc\",\n \"CosObjectName\": \"abc\",\n \"ZipFile\": \"abc\",\n \"CosBucketRegion\": \"abc\",\n \"DemoId\": \"abc\",\n \"TempCosObjectName\": \"abc\",\n \"GitUrl\": \"abc\",\n \"GitUserName\": \"abc\",\n \"GitPassword\": \"abc\",\n \"GitPasswordSecret\": \"abc\",\n \"GitBranch\": \"abc\",\n \"GitDirectory\": \"abc\",\n \"GitCommitId\": \"abc\",\n \"GitUserNameSecret\": \"abc\",\n \"ImageConfig\": {\n \"RegistryId\": \"abc\",\n \"ImageType\": \"abc\",\n \"ImageUri\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"Command\": \"abc\",\n \"Args\": \"abc\",\n \"ContainerImageAccelerate\": true\n }\n },\n \"Description\": \"abc\",\n \"LicenseInfo\": \"abc\"\n}",
315
- "output": "{\n \"Response\": {\n \"LayerVersion\": 0,\n \"RequestId\": \"abc\"\n }\n}",
322
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: PublishLayerVersion\n<公共请求参数>\n\n{\n \"LayerName\": \"layer-name1\",\n \"CompatibleRuntimes\": [\n \"Nodejs16.13\"\n ],\n \"Content\": {\n \"CosBucketName\": \"layer-name1-2343243543\",\n \"CosObjectName\": \"layer-name1/node_modules.zip\",\n \"CosBucketRegion\": \"ap-singapore\"\n },\n \"Description\": \"a layer\"\n}",
323
+ "output": "{\n \"Response\": {\n \"LayerVersion\": 8,\n \"RequestId\": \"197192d3-0b64-410a-8cd9-25cb7c1db0ee\"\n }\n}",
316
324
  "title": "发布层版本"
317
325
  }
318
326
  ],
@@ -327,7 +335,7 @@
327
335
  "PutProvisionedConcurrencyConfig": [
328
336
  {
329
337
  "document": "",
330
- "input": "https://scf.tencentcloudapi.com/?Action=PutProvisionedConcurrencyConfig\n&FunctionName=test\n&Qualifier=1\n&VersionProvisionedConcurrencyNum=10\n&<公共请求参数>",
338
+ "input": "https://scf.tencentcloudapi.com/?Action=PutProvisionedConcurrencyConfig\n&FunctionName=functionName1\n&Qualifier=1\n&VersionProvisionedConcurrencyNum=10\n&<公共请求参数>",
331
339
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
332
340
  "title": "设置预置并发"
333
341
  }
@@ -335,7 +343,7 @@
335
343
  "PutReservedConcurrencyConfig": [
336
344
  {
337
345
  "document": "",
338
- "input": "https://scf.tencentcloudapi.com/?Action=PutReservedConcurrencyConfig\n&FunctionName=test\n&ReservedConcurrencyMem=12800\n&<公共请求参数>",
346
+ "input": "https://scf.tencentcloudapi.com/?Action=PutReservedConcurrencyConfig\n&FunctionName=functionName1\n&ReservedConcurrencyMem=12800\n&<公共请求参数>",
339
347
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
340
348
  "title": "设置最大独占配额"
341
349
  }
@@ -359,7 +367,7 @@
359
367
  "UpdateAlias": [
360
368
  {
361
369
  "document": "",
362
- "input": "https://scf.tencentcloudapi.com/?Action=UpdateAlias\n&Name=abcAlias\n&Namespace=default\n&FunctionName=abc\n&FunctionVersion=1\n&RoutingConfig.AdditionalVersionWeights.0.Version=2\n&RoutingConfig.AdditionalVersionWeights.0.Weight=0.5\n&<公共请求参数>",
370
+ "input": "https://scf.tencentcloudapi.com/?Action=UpdateAlias\n&Name=abcAlias\n&Namespace=default\n&FunctionName=functionName1\n&FunctionVersion=1\n&RoutingConfig.AdditionalVersionWeights.0.Version=2\n&RoutingConfig.AdditionalVersionWeights.0.Weight=0.5\n&<公共请求参数>",
363
371
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
364
372
  "title": "更新别名的配置"
365
373
  }
@@ -367,7 +375,7 @@
367
375
  "UpdateCustomDomain": [
368
376
  {
369
377
  "document": "更新自定义域名的证书Id,并关闭waf",
370
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"cvvxxJ3DK7\"\n },\n \"WafConfig\": {\n \"WafOpen\": \"CLOSE\",\n \"WafInstanceId\": \"\"\n }\n}",
378
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCustomDomain\n<公共请求参数>\n\n{\n \"Domain\": \"www.ccc.com\",\n \"Protocol\": \"HTTP&HTTPS\",\n \"CertConfig\": {\n \"CertificateId\": \"cvvxxJ3DK7\"\n },\n \"WafConfig\": {\n \"WafOpen\": \"CLOSE\",\n \"WafInstanceId\": \"waf_2kzh3vlq0um\"\n }\n}",
371
379
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
372
380
  "title": "示例1"
373
381
  }
@@ -375,7 +383,7 @@
375
383
  "UpdateFunctionCode": [
376
384
  {
377
385
  "document": "",
378
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateFunctionCode\n<公共请求参数>\n\n{\n \"CosObjectName\": \"<CosObjectName>\",\n \"Handler\": \"index.main\",\n \"CosBucketName\": \"<CosBucketName>\",\n \"FunctionName\": \"test\"\n}",
386
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateFunctionCode\n<公共请求参数>\n\n{\n \"CosObjectName\": \"<CosObjectName>\",\n \"Handler\": \"index.main\",\n \"CosBucketName\": \"<CosBucketName>\",\n \"FunctionName\": \"functionName1\"\n}",
379
387
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
380
388
  "title": "更新函数代码"
381
389
  }
@@ -383,7 +391,7 @@
383
391
  "UpdateFunctionConfiguration": [
384
392
  {
385
393
  "document": "更新函数配置",
386
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateFunctionConfiguration\n<公共请求参数>\n\n{\n \"FunctionName\": \"<FunctionName>\",\n \"Description\": \"<Description>\"\n}",
394
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateFunctionConfiguration\n<公共请求参数>\n\n{\n \"FunctionName\": \"functionName1\",\n \"Namespace\": \"default\",\n \"Timeout\": 100,\n \"VpcConfig\": {\n \"SubnetId\": \"subnet-xxxx\",\n \"VpcId\": \"vpc-xxxxx\"\n },\n \"MemorySize\": 512\n}",
387
395
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
388
396
  "title": "更新函数配置"
389
397
  }
@@ -407,7 +415,7 @@
407
415
  "UpdateTrigger": [
408
416
  {
409
417
  "document": "接口调用示例",
410
- "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateTrigger\n<公共请求参数>\n\n{\n \"Enable\": \"CLOSE\",\n \"FunctionName\": \"helloworld-xxxxxxxx\",\n \"TriggerName\": \"\\t\\nSCF-timer-xxxxxxxx\",\n \"Type\": \"timer\",\n \"Qualifier\": \"$DEFAULT\",\n \"Namespace\": \"default\",\n \"TriggerDesc\": \"0 0 0 */2 * * *\",\n \"Description\": \"测试\",\n \"CustomArgument\": \"中文测试\"\n}",
418
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateTrigger\n<公共请求参数>\n\n{\n \"Enable\": \"CLOSE\",\n \"FunctionName\": \"helloworld-xxxxxxxx\",\n \"TriggerName\": \"\\t\\nSCF-timer-xxxxxxxx\",\n \"Type\": \"timer\",\n \"Qualifier\": \"$DEFAULT\",\n \"Namespace\": \"default\",\n \"TriggerDesc\": \"0 0 0 */2 * * *\",\n \"Description\": \"some description\",\n \"CustomArgument\": \"中文测试\"\n}",
411
419
  "output": "{\n \"Response\": {\n \"RequestId\": \"375d4028-xxxx-xxxxf-xxxx-2331cb974fc3\"\n }\n}",
412
420
  "title": "接口调用示例"
413
421
  }
@@ -12036,7 +12036,7 @@
12036
12036
  },
12037
12037
  {
12038
12038
  "disabled": false,
12039
- "document": "购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,cvmHA-虚拟机双机高可用,cvmRO-虚拟机只读",
12039
+ "document": "购买实例的类型 HA-高可用型(包括双机高可用,alwaysOn集群),RO-只读副本型,SI-单节点型,cvmHA-虚拟机双机高可用,cvmRO-虚拟机只读,MultiHA-多节点,cvmMultiHA-云盘",
12040
12040
  "example": "HA",
12041
12041
  "member": "string",
12042
12042
  "name": "InstanceType",
@@ -12051,6 +12051,15 @@
12051
12051
  "name": "MachineType",
12052
12052
  "required": false,
12053
12053
  "type": "string"
12054
+ },
12055
+ {
12056
+ "disabled": false,
12057
+ "document": "备节点可用区,默认为空。如果是多节点架构时必传,并且备机可用区集合最小为2个,最大不超过5个。",
12058
+ "example": "[\"ap-guangzhou-3\"]",
12059
+ "member": "string",
12060
+ "name": "DrZones",
12061
+ "required": false,
12062
+ "type": "list"
12054
12063
  }
12055
12064
  ],
12056
12065
  "type": "object"
@@ -15739,6 +15748,26 @@
15739
15748
  "output_required": true,
15740
15749
  "type": "int",
15741
15750
  "value_allowed_null": false
15751
+ },
15752
+ {
15753
+ "disabled": false,
15754
+ "document": "RO只读组类型,1-按照一个实例一个只读组的方式发货,2-新建只读组后发货的所有实例都在这个只读组下面, 3-发货的所有实例都在已有的只读组下面",
15755
+ "example": "1",
15756
+ "member": "int64",
15757
+ "name": "ReadOnlyGroupType",
15758
+ "output_required": true,
15759
+ "type": "int",
15760
+ "value_allowed_null": false
15761
+ },
15762
+ {
15763
+ "disabled": false,
15764
+ "document": "部署RO副本模式,0-默认不升级主实例,1-强制升级主实例完成RO部署",
15765
+ "example": "1",
15766
+ "member": "int64",
15767
+ "name": "ReadOnlyGroupForcedUpgrade",
15768
+ "output_required": true,
15769
+ "type": "int",
15770
+ "value_allowed_null": false
15742
15771
  }
15743
15772
  ],
15744
15773
  "usage": "out"