forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1120 lines
90 KiB
HTML
1120 lines
90 KiB
HTML
<a name="functiongraph_06_0106"></a><a name="functiongraph_06_0106"></a>
|
||
|
||
<h1 class="topictitle1">Querying the Metadata of a Function</h1>
|
||
<div id="body125453167352"><div class="section" id="functiongraph_06_0106__section75456167353"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0106__p5546201613357">This API is used to query the metadata of a function.</p>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section155461416163518"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0106__p12547111623512">GET /v2/{project_id}/fgs/functions/{function_urn}/config</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__table8548111643520" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row4547316193515"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0106__p95493160356">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="functiongraph_06_0106__p85495165352">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="functiongraph_06_0106__p854915165359">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="functiongraph_06_0106__p554911617357">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row17547141673518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0106__p55505163351">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0106__p555051611350">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0106__p13550191611358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0106__p15550121614355">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row19547171618359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0106__p55511916113511">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0106__p17551516183517">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0106__p15551171663516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0106__p1755111166353">Function URN. For details, see the function model description.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section8552171673511"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row3552111673514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0106__p165531616103520">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="functiongraph_06_0106__p455431618358">Mandatory</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="functiongraph_06_0106__p95547165350">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="functiongraph_06_0106__p115549162358">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row105521916193516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0106__p15547169354">X-Auth-Token</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0106__p185552163353">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0106__p9555181613516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0106__p12555161610355">User token.</p>
|
||
<p id="functiongraph_06_0106__p11555101611353">It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row5552111663511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0106__p13555161616359">Content-Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0106__p5556171614354">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0106__p19556151613516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0106__p105561216193510">Message body type (format).</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section10558121673512"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0106__p175591116133511"><strong id="functiongraph_06_0106__b14559916153514">Status code: 200</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_ShowFunctionConfigResponseBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row756111613519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0106__p85671016173518">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="functiongraph_06_0106__p856811165353">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="functiongraph_06_0106__p656811168359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row356131614356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1568816123513">func_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p12568716123516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p35681616173514">Function ID, which uniquely identifies a function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1656214162352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p14569716163512">resource_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p356971615358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p856921616352">Resource ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row15562516183510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p175691167359">func_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p856941643510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1457013163351">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row19562716103511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p185705160357">func_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p4570616153510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p95701716163512">Function name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row55621916113513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p10570216103512">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1357119161351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p157191613514">Domain ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row17562416153517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p125711616153517">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p18571161617356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p13571141643515">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1956211169351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p457221614354">project_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p125726167356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p65721716133512">Project name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row20562171613511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p19572151683517">package</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p11573181619356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1657301614358">Group to which the function belongs. This field is defined to group functions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row9562111633511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p85731616113520">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p857316167351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p8573111617351">Environment for executing a function. Options: Python2.7 Python 3.6 Python 3.9 Go 1.8 Go 1.x Java 8 Java 11 Node.js 6.10 Node.js 8.10 Node.js 10.16 Node.js 12.13 Node.js 14.18 C# (.NET Core 2.0) C# (.NET Core 2.1) C# (.NET Core 3.1) Custom PHP 7.3 HTTP Custom image-based functions</p>
|
||
<p id="functiongraph_06_0106__p5574121615359">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0106__ul1057481619351"><li id="functiongraph_06_0106__li125741316163511"><strong id="functiongraph_06_0106__b1657441603513">Java8</strong></li><li id="functiongraph_06_0106__li157491620357"><strong id="functiongraph_06_0106__b1575516163518">Java11</strong></li><li id="functiongraph_06_0106__li1057561683511"><strong id="functiongraph_06_0106__b7576111693510">Node.js6.10</strong></li><li id="functiongraph_06_0106__li18576816143518"><strong id="functiongraph_06_0106__b55761316173515">Node.js8.10</strong></li><li id="functiongraph_06_0106__li13576191611354"><strong id="functiongraph_06_0106__b195767161359">Node.js10.16</strong></li><li id="functiongraph_06_0106__li1257691611353"><strong id="functiongraph_06_0106__b1757741663515">Node.js12.13</strong></li><li id="functiongraph_06_0106__li05771416183514"><strong id="functiongraph_06_0106__b1957713169352">Node.js14.18</strong></li><li id="functiongraph_06_0106__li057717167357"><strong id="functiongraph_06_0106__b557717169354">Python2.7</strong></li><li id="functiongraph_06_0106__li857716167358"><strong id="functiongraph_06_0106__b55781416123510">Python3.6</strong></li><li id="functiongraph_06_0106__li165789165353"><strong id="functiongraph_06_0106__b957881613518">Go1.8</strong></li><li id="functiongraph_06_0106__li14578161693516"><strong id="functiongraph_06_0106__b4579111663512">Go1.x</strong></li><li id="functiongraph_06_0106__li155791416193511"><strong id="functiongraph_06_0106__b65795169352">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0106__li105791316143512"><strong id="functiongraph_06_0106__b3580121653519">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0106__li8580131620356"><strong id="functiongraph_06_0106__b10580141616358">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0106__li6580101683519"><strong id="functiongraph_06_0106__b8580516183515">Custom</strong></li><li id="functiongraph_06_0106__li65801016133515"><strong id="functiongraph_06_0106__b185803168353">PHP7.3</strong></li><li id="functiongraph_06_0106__li1258081618351"><strong id="functiongraph_06_0106__b6581161633517">Python3.9</strong></li><li id="functiongraph_06_0106__li18581191653519"><strong id="functiongraph_06_0106__b19581131615354">http</strong></li><li id="functiongraph_06_0106__li9581161618355"><strong id="functiongraph_06_0106__b19581101693520">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row75626169356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p158181633514">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p155811916193512">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1658291617352">Maximum duration the function can be executed. Value range: 3s–259,200s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1356271683510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p13582201615357">handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p10582016143513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p4582101610354">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
|
||
<p id="functiongraph_06_0106__p13582171663512">For example, for Node.js function myfunction.handler, the file name is myfunction.js, and the handler function is handler.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1356331618357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1583181643519">memory_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1458311616356">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1458313164351">Memory consumed by a function.</p>
|
||
<p id="functiongraph_06_0106__p135831116113520">Unit: MB.</p>
|
||
<p id="functiongraph_06_0106__p1058321613357">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
|
||
<p id="functiongraph_06_0106__p1658361663513">The value ranges from 128 to 4096.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row4563116153517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1584191663512">gpu_memory</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1458411618351">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1258461623513">GPU memory. This parameter is available only for functions created with a custom runtime or image. Unit: MB. Options: 1024, 2048, 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10,240, 11,264, 12,288, 13,312, 14,336, 15,360, and 16,384. Range: 1024 to 16,384.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row856371614350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1158413164352">cpu</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p165841616193512">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1658511610356">CPU resources of a function. Unit: millicore (1 core = 1000 millicores). The value of this field is proportional to that of MemorySize. By default, 100 CPU millicores are required for 128 MB memory.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row85630168352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p458501653514">code_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p18585416183517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p16585516203514">Function code type. Options: inline: inline code zip: ZIP file obs: function code stored in an OBS bucket jar: JAR file, mainly for Java functions Custom-Image-Swr: The function code comes from the SWR custom image.</p>
|
||
<p id="functiongraph_06_0106__p3585151613516">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0106__ul145857169357"><li id="functiongraph_06_0106__li185863161357"><strong id="functiongraph_06_0106__b18586516183512">inline</strong></li><li id="functiongraph_06_0106__li13586516103511"><strong id="functiongraph_06_0106__b185865160355">zip</strong></li><li id="functiongraph_06_0106__li458671653510"><strong id="functiongraph_06_0106__b2058661614351">obs</strong></li><li id="functiongraph_06_0106__li55861616133512"><strong id="functiongraph_06_0106__b958716163355">jar</strong></li><li id="functiongraph_06_0106__li195871168357"><strong id="functiongraph_06_0106__b15587101693516">Custom-Image-Swr</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row16563111619353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p155871316183510">code_url</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p165871816113517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p55871616123519">If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1256310167352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p115878169359">code_filename</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p858871673510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p4588181693515">Name of a function file. This parameter is mandatory only when code_type is set to jar or zip.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1456316164355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p6589191619353">code_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p155891516163519">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p75901716153519">Code size in bytes.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row175639167356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p3590131603519">user_data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p95911716163514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1459111693518">Name/Value information defined for the function. These are parameters used in the function. For example, if a function needs to access a host, define Host={host_ip}. You can define a maximum of 20 such parameters, and their total length cannot exceed 4 KB.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row4564151613519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1659271619359">encrypted_user_data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p105921916173517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1359241619356">User-defined name/value to be encrypted.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row4564101615359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1159217163357">digest</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p145931516183513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p159318168352">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row4564816123510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p10593131617355">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p16593216143516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p6593121611357">Function version, which is automatically generated by the system. The version name is in the format of "vYYYYMMDD-HHMMSS" (v+year/month/day-hour/minute/second).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row65648164351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p059411673516">image_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p259417166353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p459401643517">Internal identifier of a function version.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1656401612359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p65951616113514">xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p059501617354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p9595151612355">Agency used by the function. You need to create an agency on the IAM console. This field is mandatory when a function needs to access other services. After specifying a function execution agency, you can use the context method in the function handler to obtain a token, an AK, and an SK for accessing other cloud services. No agency is required if FunctionGraph does not access any cloud services.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row056441612357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p75952164355">app_xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p159614164358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p5596181610357">Execution agency. You can optimize performance by configuring a separate agency for function execution, otherwise, the same agency is used for both execution and configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row13564111611353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p10597181616355">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p659771693518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p6597316183520">Function description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row856411619353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p359819163355">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p12598161617353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p35981916123519">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row11565141633510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p859891619359">ephemeral_storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p459911161359">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p459911623519">Ephemeral storage. By default, the /tmp directory of each function is 512 MB. You can increase the size to 10,240 MB (10 GB) if necessary.</p>
|
||
<p id="functiongraph_06_0106__p1159901683515">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0106__ul759951613510"><li id="functiongraph_06_0106__li115991916113513"><strong id="functiongraph_06_0106__b1260031673520">512</strong></li><li id="functiongraph_06_0106__li13600171619356"><strong id="functiongraph_06_0106__b160020162354">10240</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row956520168358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p360020162357">func_vpc</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p7600151616355"><a href="#functiongraph_06_0106__response_FuncVpc">FuncVpc</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p860013167357">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row205659161359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p2601131683512">mount_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p15601616193514"><a href="#functiongraph_06_0106__response_MountConfig">MountConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p2601171673517">Mounting configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row135651316123515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1460211163355">depend_version_list</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p0602131611353">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p166021216153515">Dependency version IDs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row5565816103516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p13602181619354">strategy_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p660312163357"><a href="#functiongraph_06_0106__response_StrategyConfig">StrategyConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p2060311618354">Function policy configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row456520165350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1760391683514">dependencies</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p360391623511">Array of <a href="#functiongraph_06_0106__response_Dependency">Dependency</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p0604101613519">Dependency packages.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row2565116143510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1604416153512">initializer_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1660471611352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p17604121663517">Initializer of the function in the format of "xx.xx". It must contain a period (.). This parameter is mandatory when the initialization function is configured. For example, for Node.js function myfunction.initializer, the file name is myfunction.js, and the initialization function is initializer.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1565141610353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p760431683510">initializer_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p18605111610353">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1605161612350">Maximum duration the function can be initialized. Value range: 1s–300s. This parameter is mandatory when the initialization function is configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row15565201623518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p13605816173510">pre_stop_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p6605016163518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p9605171693510">The pre-stop handler of a function. The value must contain a period (.) in the format of xx.xx. For example, for Node.js function myfunction.pre_stop_handler, the file name is myfunction.js, and the initialization function is pre_stop_handler.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1256531653511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1960611612351">pre_stop_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p126069161353">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p7606016113513">Maximum duration the function can be initialized. Value range: 1s–90s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row185651016113512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p196065169357">enterprise_project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1560716166354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p560713169357">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1256612161350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p2607616133511">long_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p860811643513">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p7608111615355">Whether to allow a long timeout.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row55662016133518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p7608316123519">log_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1760841633510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1960921611350">Log group ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row3566131612353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p17159819183513">log_stream_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1216014197352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p15160131912357">Log stream ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row11566111611351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p1916019190354">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p14160819183513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p816111993513">v2 indicates an official version, and v1 indicates a deprecated version.</p>
|
||
<p id="functiongraph_06_0106__p19161131963510">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0106__ul816131913351"><li id="functiongraph_06_0106__li17161181963514"><strong id="functiongraph_06_0106__b51616191352">v1</strong></li><li id="functiongraph_06_0106__li5161181913518"><strong id="functiongraph_06_0106__b1616181913513">v2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row17285205154110"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p528519519415">enable_cloud_debug</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p92853516419">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p92854510414">Whether to enable cloud debugging to adapt to the CloudDebug scenario. (discarded)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1256621618357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p161611019113517">enable_dynamic_memory</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p8161141953517">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p21611519103513">Whether to enable dynamic memory allocation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row75661116183516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p516119196354">is_stateful_function</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p4162101983515">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1016261916353">Whether stateful functions are supported. If they are supported, set this parameter to true. This parameter is supported in FunctionGraph v2.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row4566171673513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p3162151917350">is_bridge_function</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1816241953517">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p9162101973517">Whether this is a bridge function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row14745153504113"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p167451935174117">enable_auth_in_header</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p674573517419">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1074523544113">Whether to add authentication information to request header for custom image-based functions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row12566141618352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p116213195354">custom_image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p416301963511"><a href="#functiongraph_06_0106__response_CustomImage">CustomImage</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p13163119103512">Container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row15566716153513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p51631419183515">reserved_instance_idle_mode</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p6163101903520">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p121638191357">Whether to enable idle mode for reserved instances.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row10566121643512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p81638193359">apig_route_enable</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p416361963515">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p191631919133514">Whether to configure gateway routing rules.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row175668167351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p12163419113514">heartbeat_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p141644191350">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p616481920359">Entry of the heartbeat function in the format of "xx.xx". It must contain a period (.).This parameter can be configured only in Java. The heartbeat function entry must be in the same file as your function handler. This parameter is mandatory when the heartbeat function is enabled.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row195661916163512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p2164151923511">enable_class_isolation</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p81641119153515">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p18164151933517">Indicates whether to enable class isolation. This parameter can be configured only in Java. Enable to dump logs to Kafka and improve class loading efficiency. However, this may cause compatibility issues.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row115671916123513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p141641819123515">gpu_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p15170121919356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p1317011192358">GPU type.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row556720167351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p917018198359">allow_ephemeral_storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p217014190350">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p9170519153513">Indicates whether ephemeral storage can be configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row156711623510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p21711819153513">network_controller</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p517111196351"><a href="#functiongraph_06_0106__response_NetworkControlConfig">NetworkControlConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p4171191933515">Network configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row56039113428"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0106__p17604811114217">is_return_stream</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0106__p1604611134217">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0106__p360411112429">Whether to return stream data. (discarded)</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_FuncVpc"></a><a name="response_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 4 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0106__row1261801618350"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0106__p17171819103510">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.2"><p id="functiongraph_06_0106__p15172171916354">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.4.2.4.1.3"><p id="functiongraph_06_0106__p61726195354">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row4619111613514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p217271915359">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p3172191983515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p151721319153513">Domain name ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1961913169355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p7172181916351">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p1117211943513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p1017231920350">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1561931663516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p717211196358">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p31721419133513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p917361917356">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1619616163510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p4173419163514">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p111731619163514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p11173719123511">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1861961613518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p191738190358">subnet_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p141731919153517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p0173201933513">Subnet name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row12619181611358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p4173121912351">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p1717320195357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p121731419153518">Subnet ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row17619916183514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p817391916354">cidr</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p1717481993516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p6174131919357">Subnet mask.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row7619916143519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p18174219183517">gateway</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p8174181915357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p117491915357">Gateway.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row5619111616359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0106__p1917411919355">security_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0106__p21749195352">Array of strings</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0106__p1617412198359">Security group.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_MountConfig"></a><a name="response_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0106__row20628416163514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0106__p111741919183516">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="functiongraph_06_0106__p14175121913354">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="functiongraph_06_0106__p51755191356">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row1862811618356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0106__p6175141912354">mount_user</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0106__p19175181910358"><a href="#functiongraph_06_0106__response_MountUser">MountUser</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0106__p1117514196354">User information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row7628201623519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0106__p19175819203517">func_mounts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0106__p817551983518">Array of <a href="#functiongraph_06_0106__response_FuncMount">FuncMount</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0106__p14175219183514">Mounted resources.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_MountUser"></a><a name="response_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_MountUser" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0106__row20631141617351"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0106__p9176111912359">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.2"><p id="functiongraph_06_0106__p10176101913514">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.6.2.4.1.3"><p id="functiongraph_06_0106__p3176191963519">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row2631116153514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0106__p1317621983516">user_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0106__p12176419103516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0106__p1317631912357">User ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row96311316143514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0106__p15184819153512">user_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0106__p0184419153512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0106__p21841419133518">User group ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_FuncMount"></a><a name="response_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 7 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0106__row1363319161356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0106__p161845198354">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="functiongraph_06_0106__p7185121911359">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="functiongraph_06_0106__p1518551917359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row263319161352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0106__p1018531910359">mount_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0106__p161851319203520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0106__p118521912354">Mount type. The value can be sfs, sfsTurbo, or ecs. This parameter is mandatory when func_mounts is not empty.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row2063415162352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0106__p418511191358">mount_resource</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0106__p2018531913358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0106__p161865193353">ID of the mounted resource (cloud service ID). This parameter is mandatory when func_mounts is not empty.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row14634131615358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0106__p9186219123514">mount_share_path</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0106__p191861119103515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0106__p10186161916355">Remote mount path. For example, 192.168.0.12:/data. This parameter is mandatory if mount_type is set to ecs.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row14634171653517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0106__p1186819133516">local_mount_path</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0106__p1018613193356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0106__p18186141914351">Function access path. This parameter is mandatory when func_mounts is not empty.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 8 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0106__row264771623510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0106__p131873195359">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.2"><p id="functiongraph_06_0106__p1518716196351">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.8.2.4.1.3"><p id="functiongraph_06_0106__p12187161919359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row66471216153511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0106__p151877198352">concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0106__p31871419113510">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0106__p8187151993512">Maximum number of instances for a single function. For v1, the value can be 0 or –1; for v2, it ranges from –1 to 1000.</p>
|
||
<ul id="functiongraph_06_0106__ul1118751911355"><li id="functiongraph_06_0106__li5187819113517">-1: The function has unlimited instances.</li><li id="functiongraph_06_0106__li19188121953514">0: The function is disabled.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row564771616351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0106__p191884196356">concurrent_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0106__p11188619143511">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0106__p21889199354">Number of concurrent requests per instance. This parameter is supported only by v2. The value ranges from 1 to 1,000.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_Dependency"></a><a name="response_Dependency"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_Dependency" frame="border" border="1" rules="all"><caption><b>Table 9 </b>Dependency</caption><thead align="left"><tr id="functiongraph_06_0106__row20650111614354"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0106__p18188121913518">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.2"><p id="functiongraph_06_0106__p1218821917353">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.9.2.4.1.3"><p id="functiongraph_06_0106__p1918831953511">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row565021673512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p10188141973520">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p1218991963517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p171891219193511">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row065114168350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p161898191351">owner</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p018951914355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p14189819123519">Domain ID of the dependency owner.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row15651191613511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p1318931933520">link</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p91891519153511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p1018931919353">URL of the dependency on OBS.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row3651101613514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p318931916354">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p31891819143511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p1218918197353">Environment for executing a function. Options: Python2.7 Python 3.6 Python 3.9 Go 1.8 Go 1.x Java 8 Java 11 Node.js 6.10 Node.js 8.10 Node.js 10.16 Node.js 12.13 Node.js 14.18 C# (.NET Core 2.0) C# (.NET Core 2.1) C# (.NET Core 3.1) Custom PHP 7.3 HTTP Custom image-based functions</p>
|
||
<p id="functiongraph_06_0106__p10189111943511">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0106__ul419031993513"><li id="functiongraph_06_0106__li19190101913351"><strong id="functiongraph_06_0106__b219081913516">Java8</strong></li><li id="functiongraph_06_0106__li1019019190357"><strong id="functiongraph_06_0106__b13190419123520">Java11</strong></li><li id="functiongraph_06_0106__li191951419153511"><strong id="functiongraph_06_0106__b9195191917355">Node.js6.10</strong></li><li id="functiongraph_06_0106__li619519194359"><strong id="functiongraph_06_0106__b14195171910351">Node.js8.10</strong></li><li id="functiongraph_06_0106__li171959197355"><strong id="functiongraph_06_0106__b1919641913355">Node.js10.16</strong></li><li id="functiongraph_06_0106__li131961819153518"><strong id="functiongraph_06_0106__b1419661923514">Node.js12.13</strong></li><li id="functiongraph_06_0106__li121963194351"><strong id="functiongraph_06_0106__b151967193350">Node.js14.18</strong></li><li id="functiongraph_06_0106__li161961419203513"><strong id="functiongraph_06_0106__b191979193353">Python2.7</strong></li><li id="functiongraph_06_0106__li191983198352"><strong id="functiongraph_06_0106__b4198101903519">Python3.6</strong></li><li id="functiongraph_06_0106__li16198101920355"><strong id="functiongraph_06_0106__b619851963519">Go1.8</strong></li><li id="functiongraph_06_0106__li119861993511"><strong id="functiongraph_06_0106__b1719851912356">Go1.x</strong></li><li id="functiongraph_06_0106__li21999197356"><strong id="functiongraph_06_0106__b17199101943510">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0106__li0199191910354"><strong id="functiongraph_06_0106__b31991619193514">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0106__li1619918190353"><strong id="functiongraph_06_0106__b0199319203516">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0106__li1219910193359"><strong id="functiongraph_06_0106__b319951911357">Custom</strong></li><li id="functiongraph_06_0106__li2019911993513"><strong id="functiongraph_06_0106__b192001519183514">PHP7.3</strong></li><li id="functiongraph_06_0106__li920051993513"><strong id="functiongraph_06_0106__b162004198358">Python3.9</strong></li><li id="functiongraph_06_0106__li1220011993517"><strong id="functiongraph_06_0106__b142001198356">http</strong></li><li id="functiongraph_06_0106__li12008192352"><strong id="functiongraph_06_0106__b1920061914354">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row19651916153513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p1720031993519">etag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p12200219193512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p15201111943512">MD5 value of a dependency.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1565110164357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p120131918359">size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p72011019103512">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p520115198359">Dependency size.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row2651181623515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p1920111195354">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p2201201923514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p520119197355">Dependence name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1965113162353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p220131993515">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p1420616196359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p02062019133516">Dependency description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row19651916173515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p32071219163512">file_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p19207319143510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p1620711918356">File name of a dependency package (ZIP).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row0651181633515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p620715192354">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p1520721913354">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p7207019173516">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row196521216183511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p1207419163513">dep_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p5207819163511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p52071919143512">Dependency ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1165214161354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0106__p62079194355">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0106__p182081019173518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0106__p2208121911352">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_CustomImage"></a><a name="response_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 10 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0106__row36611016153516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0106__p1520810191351">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.2"><p id="functiongraph_06_0106__p12081919163511">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.10.2.4.1.3"><p id="functiongraph_06_0106__p1720961918354">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row96621116153520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p152091719193520">enabled</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p11209121919358">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p1620911915354">Whether to enable this feature.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row196621169356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p12209141918351">image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p72090191351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p15209219133513">Image address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row966216164357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p13209019173514">command</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p520971918351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p1320981919353">Command for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1666219169351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p14209719153513">args</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p2210519143513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p5210319103512">Command line parameter for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row866241623511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p1210121983520">working_dir</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p1521031917359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p52101919123511">Working directory of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row46621716173515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p421081993518">uid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p1321021913520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p162101319163516">User ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row13662141613516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0106__p02101019103511">gid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0106__p162108197352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0106__p102107194357">User group ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_NetworkControlConfig"></a><a name="response_NetworkControlConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_NetworkControlConfig" frame="border" border="1" rules="all"><caption><b>Table 11 </b>NetworkControlConfig</caption><thead align="left"><tr id="functiongraph_06_0106__row266681610358"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0106__p421120195352">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="functiongraph_06_0106__p15211141933516">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="functiongraph_06_0106__p8211219203520">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row86661516183514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0106__p8211101919355">disable_public_network</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0106__p14211319103511">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0106__p1021171943511">Disable public access.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row16666121653517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0106__p18211151933513">trigger_access_vpcs</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0106__p1621131903511">Array of <a href="#functiongraph_06_0106__response_VpcConfig">VpcConfig</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0106__p102121199357">VPC access restriction.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0106__response_VpcConfig"></a><a name="response_VpcConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_VpcConfig" frame="border" border="1" rules="all"><caption><b>Table 12 </b>VpcConfig</caption><thead align="left"><tr id="functiongraph_06_0106__row1366812163355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0106__p2212181913520">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.2"><p id="functiongraph_06_0106__p192120199357">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.12.2.4.1.3"><p id="functiongraph_06_0106__p2021211198357">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row166914166358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0106__p142124195355">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0106__p12122194359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0106__p72121519123519">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row156691116183518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0106__p16212181993513">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0106__p20213151903515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0106__p721881913514">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0106__p1218131993510"><strong id="functiongraph_06_0106__b14218171913515">Status code: 400</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row067210163356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="functiongraph_06_0106__p1421881913359">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.2"><p id="functiongraph_06_0106__p13219519163511">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.14.2.4.1.3"><p id="functiongraph_06_0106__p9219101993515">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row0672016183512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0106__p1521914192358">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0106__p1521971983517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0106__p9219181910357">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row1167351633511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0106__p6219191917356">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0106__p7219719123515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0106__p102191619153518">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0106__p1021971910359"><strong id="functiongraph_06_0106__b16219161915354">Status code: 401</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__table16675141613519" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row19676116183510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="functiongraph_06_0106__p8220151917350">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.2"><p id="functiongraph_06_0106__p142201319193510">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.16.2.4.1.3"><p id="functiongraph_06_0106__p8220161919351">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row166761516133511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0106__p1822001983517">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0106__p42201019203519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0106__p15220191912351">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row2676131673516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0106__p3220919103519">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0106__p62201219173513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0106__p14220201918358">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0106__p10220121913517"><strong id="functiongraph_06_0106__b14220111916356">Status code: 403</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__table20678916183518" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row1967814162358"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="functiongraph_06_0106__p1022111199353">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.2"><p id="functiongraph_06_0106__p10221191913354">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.18.2.4.1.3"><p id="functiongraph_06_0106__p2221819143512">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row166788169359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0106__p8221111910355">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0106__p1722161918355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0106__p52211198358">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row116781816193512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0106__p7221219183517">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0106__p6221131911353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0106__p12222619123513">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0106__p132221419193519"><strong id="functiongraph_06_0106__b1722271918350">Status code: 404</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__table166800161357" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row186813166355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.1"><p id="functiongraph_06_0106__p10222101915357">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.2"><p id="functiongraph_06_0106__p16222161919350">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.20.2.4.1.3"><p id="functiongraph_06_0106__p17222141943514">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row9681616113515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0106__p152227191359">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0106__p22221419103519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0106__p1022221983516">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row17681101613517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0106__p1922331943510">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0106__p62233197355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0106__p14223319133511">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0106__p1622371911355"><strong id="functiongraph_06_0106__b152231519123516">Status code: 500</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__table968681653512" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0106__row11687616193517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.1"><p id="functiongraph_06_0106__p6223019133513">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.2"><p id="functiongraph_06_0106__p12223111916352">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.22.2.4.1.3"><p id="functiongraph_06_0106__p22234195358">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row11687191613519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0106__p122311913353">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0106__p1422312198357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0106__p6224181919356">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row7687141673515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0106__p422917197351">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0106__p1422991917359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0106__p6229181920355">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section1322917192351"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0106__p822910191357">Query the metadata of a function.</p>
|
||
<pre class="screen" id="functiongraph_06_0106__screen1123011913358">GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/config</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section923041973514"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0106__p11230101910354"><strong id="functiongraph_06_0106__b6230171933511">Status code: 200</strong></p>
|
||
<p id="functiongraph_06_0106__p5230919163516">OK</p>
|
||
<pre class="screen" id="functiongraph_06_0106__screen3231121953514">{
|
||
"func_id" : "0d075978-5a54-4ee1-8e24-ff5bd070xxxx",
|
||
"resource_id" : "0d075978-5a54-4ee1-8e24-ff5bd070xxxx:test",
|
||
"func_urn" : "urn:fss:xxxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test:latest",
|
||
"func_name" : "test",
|
||
"domain_id" : "14ee2e3501124efcbca7998baa24xxxx",
|
||
"namespace" : "46b6f338fc3445b8846c71dfb1fbxxxx",
|
||
"project_name" : "xxxxxxxxx",
|
||
"package" : "default",
|
||
"runtime" : "Node.js6.10",
|
||
"timeout" : 3,
|
||
"handler" : "test.handler",
|
||
"memory_size" : 128,
|
||
"cpu" : 300,
|
||
"code_type" : "inline",
|
||
"code_filename" : "index.js",
|
||
"code_size" : 272,
|
||
"digest" : "faa825575c45437cddd4e369bea69893bcbe195d478178462ad90984fe72993f3f59d15f41c5373f807f3e05fb9af322c55dabeb16565c386e402413458e6068",
|
||
"version" : "latest",
|
||
"ephemeral_storage" : 512,
|
||
"image_name" : "latest-191025153727@zehht",
|
||
"last_modified" : "2019-10-25 15:37:27",
|
||
"strategy_config" : {
|
||
"concurrency" : 0
|
||
}
|
||
}</pre>
|
||
<p id="functiongraph_06_0106__p823391912359"><strong id="functiongraph_06_0106__b2233111933515">Status code: 404</strong></p>
|
||
<p id="functiongraph_06_0106__p2023391993514">Not found.</p>
|
||
<pre class="screen" id="functiongraph_06_0106__screen62331619163515">{
|
||
"error_code" : "FSS.1051",
|
||
"error_msg" : "Not found the function"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section1923314199355"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0106__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0106__row2695141614356"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0106__p9234141916354">Status Code</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="functiongraph_06_0106__p15234319103511">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0106__row146951316153515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p1623421913357">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p1723471910354">OK</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row14695111614351"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p623414194359">400</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p1223411917353">Bad request.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row869517167354"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p1523411191352">401</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p14234181923518">Unauthorized.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row2069518161357"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p823411943515">403</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p172349194357">Forbidden.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row16695131603517"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p152342196355">404</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p1523518190351">Not found.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0106__row169591693519"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0106__p5235171916351">500</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0106__p1823531914354">Internal server error.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0106__section12358191354"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0106__p172351219163515">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="FunctionLifecycleManagement.html">Function Lifecycle Management</a></div>
|
||
</div>
|
||
</div>
|
||
|