doc-exports/docs/fg/api-ref/functiongraph_06_0108.html
Chen, Junjie cb4b0ade33 FG API 20240924 version
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>
2024-10-28 18:55:02 +00:00

1947 lines
153 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="functiongraph_06_0108"></a><a name="functiongraph_06_0108"></a>
<h1 class="topictitle1">Creating a Function</h1>
<div id="body1821215193519"><div class="section" id="functiongraph_06_0108__section78214155351"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0108__p682218151351">This API is used to create a function.</p>
</div>
<div class="section" id="functiongraph_06_0108__section198231515193511"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0108__p68251815143510">POST /v2/{project_id}/fgs/functions</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table9827111520352" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row3826161516354"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0108__p11827101553512">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_0108__p7827111519353">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_0108__p1582741520359">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_0108__p1782871518353">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row48267158357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0108__p5828215133511">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0108__p882831583512">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0108__p28292157354">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0108__p108295153359">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0108__section1482921518354"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row08303152354"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0108__p58301915123514">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_0108__p1583191533511">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_0108__p283111583516">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_0108__p08311015133512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row1983031514359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0108__p16831131513354">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_0108__p1483112154352">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0108__p1383261553510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0108__p16832101563519">User token.</p>
<p id="functiongraph_06_0108__p4832315163515">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_0108__row208301715173518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0108__p198321215203512">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0108__p138323150356">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0108__p1783381593517">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0108__p18833515113515">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_CreateFunctionRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row1283418157351"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="functiongraph_06_0108__p383861533510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="functiongraph_06_0108__p883816151351">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="functiongraph_06_0108__p17839201513350">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="functiongraph_06_0108__p8839515143513">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row16834161513514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p383920155358">func_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p48406158355">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p58401515193513">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p284017153354">Function name.Max. 60 of letters, digits, hyphens (-), and underscores (_). Start with a letter, and end with a letter or digit.</p>
<p id="functiongraph_06_0108__p98223403616">Minimum length: 1 character.</p>
<p id="functiongraph_06_0108__p14959164553616">Maximum length: 60 characters.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row18834181516355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p12841815133518">package</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p784101513518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p2084191514359">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p98426152351">Group to which the function belongs. This field is defined to group functions.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row583461511359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p7842115173519">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p284221533516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p148421115103517">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p48431415133517">Environment in which a FunctionGraph function is executed. Options:</p>
<ul id="functiongraph_06_0108__ul684313153358"><li id="functiongraph_06_0108__li684311153359">Python 2.7</li><li id="functiongraph_06_0108__li9843201514358">Python 3.6</li><li id="functiongraph_06_0108__li1784317153356">Python 3.9</li><li id="functiongraph_06_0108__li3843161503513">Go 1.8</li><li id="functiongraph_06_0108__li78431215113518">Go 1.x</li><li id="functiongraph_06_0108__li684471520352">Java 8</li><li id="functiongraph_06_0108__li1784418150353">Java 11</li><li id="functiongraph_06_0108__li6844151511354">Node.js 6.10</li><li id="functiongraph_06_0108__li98441615173519">Node.js 8.10</li><li id="functiongraph_06_0108__li108449156353">Node.js 10.16</li><li id="functiongraph_06_0108__li128441515113517">Node.js 12.13</li><li id="functiongraph_06_0108__li6845171543513">Node.js 14.18</li><li id="functiongraph_06_0108__li38451115193512">C# (.NET Core 2.0)</li><li id="functiongraph_06_0108__li188451815143516">C# (.NET Core 2.1)</li><li id="functiongraph_06_0108__li7845915133517">C# (.NET Core 3.1)</li><li id="functiongraph_06_0108__li1584510154355">Custom</li><li id="functiongraph_06_0108__li38451015103512">PHP 7.3</li><li id="functiongraph_06_0108__li178461715183514">HTTP</li></ul>
<p id="functiongraph_06_0108__p11846715103516">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul11846415173516"><li id="functiongraph_06_0108__li1384631513359"><strong id="functiongraph_06_0108__b1846115143511">Java8</strong></li><li id="functiongraph_06_0108__li1584611533514"><strong id="functiongraph_06_0108__b884671515356">Java11</strong></li><li id="functiongraph_06_0108__li1846315173519"><strong id="functiongraph_06_0108__b5847151543514">Node.js6.10</strong></li><li id="functiongraph_06_0108__li18847115103510"><strong id="functiongraph_06_0108__b3847111503520">Node.js8.10</strong></li><li id="functiongraph_06_0108__li12847121523517"><strong id="functiongraph_06_0108__b1847141513355">Node.js10.16</strong></li><li id="functiongraph_06_0108__li6847191563517"><strong id="functiongraph_06_0108__b684731518358">Node.js12.13</strong></li><li id="functiongraph_06_0108__li984711583516"><strong id="functiongraph_06_0108__b178472015153511">Node.js14.18</strong></li><li id="functiongraph_06_0108__li68471215203517"><strong id="functiongraph_06_0108__b1684813151351">Python2.7</strong></li><li id="functiongraph_06_0108__li1684871513517"><strong id="functiongraph_06_0108__b684819159356">Python3.6</strong></li><li id="functiongraph_06_0108__li68482015143519"><strong id="functiongraph_06_0108__b984871520354">Go1.8</strong></li><li id="functiongraph_06_0108__li20848151514358"><strong id="functiongraph_06_0108__b128481615153517">Go1.x</strong></li><li id="functiongraph_06_0108__li284811512356"><strong id="functiongraph_06_0108__b1284812159355">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0108__li8848515193511"><strong id="functiongraph_06_0108__b1384931533510">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0108__li148498155359"><strong id="functiongraph_06_0108__b10849515153510">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0108__li6849151519353"><strong id="functiongraph_06_0108__b2849615183517">Custom</strong></li><li id="functiongraph_06_0108__li10849131518357"><strong id="functiongraph_06_0108__b684912158357">PHP7.3</strong></li><li id="functiongraph_06_0108__li7849171523511"><strong id="functiongraph_06_0108__b188491715103518">Python3.9</strong></li><li id="functiongraph_06_0108__li8849141533520"><strong id="functiongraph_06_0108__b38491515163517">http</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row98341158358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p4850171573515">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p128501615113511">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p4850115173512">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p585011511359">Maximum duration the function can be executed. Value range: 3s259,200s.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row6835915103519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p8850171520359">handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p1785171553518">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p13851111553510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p185181517352">Handler of the function.</p>
<p id="functiongraph_06_0108__p168511515143512">It must be in the format of "xx.xx" and contain a period (.). For a function created with a custom image, the handler must be "-".</p>
<p id="functiongraph_06_0108__p3853415173515">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_0108__row148351015143510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p1854131520351">depend_version_list</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p158547157355">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p1885421520352">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p15854815153519">Dependency version IDs.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1783551510352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p88551815163511">func_vpc</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p7855151519353">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p8855111503513"><a href="#functiongraph_06_0108__request_FuncVpc">FuncVpc</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p5856015143513">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row2835915183517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p18856141512359">memory_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p108561015113517">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p68561115123520">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p138571515163520">Memory consumed by a function.</p>
<p id="functiongraph_06_0108__p17857215123510">Unit: MB.</p>
<p id="functiongraph_06_0108__p785716158353">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
<p id="functiongraph_06_0108__p1685712158351">The value ranges from 128 to 4096.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row983501553512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p185914159350">code_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p58591615173516">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p1185921523514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p13860715153517">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_0108__p071381914911">This parameter is optional for custom image functions, but mandatory for other functions.</p>
<p id="functiongraph_06_0108__p17860171511350">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul3860141510355"><li id="functiongraph_06_0108__li7860115103512"><strong id="functiongraph_06_0108__b286031593510">inline</strong></li><li id="functiongraph_06_0108__li138601715163514"><strong id="functiongraph_06_0108__b1486111514352">zip</strong></li><li id="functiongraph_06_0108__li686191593519"><strong id="functiongraph_06_0108__b5861101515356">obs</strong></li><li id="functiongraph_06_0108__li1886111553519"><strong id="functiongraph_06_0108__b98613159353">jar</strong></li><li id="functiongraph_06_0108__li58615155355"><strong id="functiongraph_06_0108__b4861215123518">Custom-Image-Swr</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row18835815143516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p2861151523513">code_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p118625158357">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p786291563518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p586218157356">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_0108__row383520155351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p118621215153517">code_filename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p286212158353">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p108631815183516">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p186381510355">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_0108__row8835015163520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p178631715173516">custom_image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p88631915143518">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p7864191515357"><a href="#functiongraph_06_0108__request_CustomImage">CustomImage</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p198641815173511">Container image. This parameter is mandatory only when code_type is set to Custom-Image-Swr.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row188351515153510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p1086411157356">user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p586461515358">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p158657154359">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p19865141510354">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_0108__row5836101516353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p138651156359">encrypted_user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p5865161511357">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p1086511158352">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1086613153357">Name/value information to be encrypted. For example, if a function needs an encryption password, define password={1234}. You can define a maximum of 20 such parameters, and their total length cannot exceed 4 KB.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1283618159354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p118664152352">xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p2086661533510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p286616154352">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p98661915113518">Configuration agency. 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 configuration 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_0108__row1483618151353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p7867215103513">app_xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p686731518354">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p0867161513354">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1867615163512">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_0108__row78362157352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p886713156354">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p2086701533514">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p128681315193515">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p188681015183513">Function description.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row18361715153518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p148682015193515">func_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p1486881543517">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p2868191520358"><a href="#functiongraph_06_0108__request_FuncCode">FuncCode</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p286971553520">Response body of the FuncCode struct.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1783617155358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p18691715143518">mount_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p786917155357">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p16869111503518"><a href="#functiongraph_06_0108__request_MountConfig">MountConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p38697155353">Mounting configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row183661533516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p38701215143519">initializer_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p11870715123513">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p787031533518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p3870715103511">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_0108__row483611503513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p287081573513">initializer_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p14871101518359">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p0871111514355">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p19871131512357">Maximum duration the function can be initialized. Value range: 1s300s. This parameter is mandatory when the initialization function is configured.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1883661518358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p118711153355">pre_stop_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p1587117151356">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p148721515133518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p087312152356">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_0108__row5836111513351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p2087351511356">pre_stop_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p987341533515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p8874141513356">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1087417157356">Maximum duration the function can be initialized. Value range: 1s90s.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1683731523519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p8874171593510">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p7875131563513">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p1987551583519">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1887520156351">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row11837131517356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p687612152355">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p587613155350">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p88761115173518">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p7876191516355">Function version. Some regions support only v1. The default value is v1.</p>
<p id="functiongraph_06_0108__p4877151513351">Default: <strong id="functiongraph_06_0108__b887718159352">v2</strong></p>
<p id="functiongraph_06_0108__p4877131553520">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul178776152350"><li id="functiongraph_06_0108__li0877615103512"><strong id="functiongraph_06_0108__b28774159358">v1</strong></li><li id="functiongraph_06_0108__li58774155356"><strong id="functiongraph_06_0108__b7877111563519">v2</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row14837121573516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p4877915203513">log_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p198781715183519">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p1687812158351"><a href="#functiongraph_06_0108__request_FuncLogConfig">FuncLogConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p178781615103518">Function log configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row38378158351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p168782015163511">network_controller</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p1567331713515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p36731217153510"><a href="#functiongraph_06_0108__request_NetworkControlConfig">NetworkControlConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1567319179359">Network configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row88376158357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p13673141715358">is_stateful_function</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p86735173351">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p0673517193516">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p1467421713512">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_0108__row208371415113516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0108__p1367414171358">enable_dynamic_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0108__p166747174351">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0108__p867413171355">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0108__p567420171354">Whether to enable dynamic memory allocation.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_FuncVpc"></a><a name="request_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 4 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0108__row18882415143518"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="functiongraph_06_0108__p36741217183514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.2"><p id="functiongraph_06_0108__p26741517133511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.3"><p id="functiongraph_06_0108__p267491763514">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.4.2.5.1.4"><p id="functiongraph_06_0108__p19674131743516">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row158821215113514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p2674217183510">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p18674121716352">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p196741417153514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p1167591717356">Domain name ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row488212155357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p106753172352">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p16675717143516">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p1067571733514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p1467516177355">Project ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row11882111513358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p2067517172358">vpc_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p186751217203510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p1267521712357">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p156757175351">VPC name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row38824158351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p1867531793517">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p6675717173516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p06759177351">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p867541753517">VPC ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row288281516359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p767511711353">subnet_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p3675517163516">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p667521773510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p4676617183512">Subnet name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1883201520352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p186818176356">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p13681151753516">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p868121753510">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p12681117163520">Subnet ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1588391510352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p1568111743517">cidr</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p46811617193515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p176815171351">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p12681141720358">Subnet mask.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row6883111515352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p8681817143513">gateway</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p16681101793515">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p176817175354">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p13682171713358">Gateway.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row118832157355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0108__p568241718353">security_groups</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0108__p18682217113514">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0108__p7682181716356">Array of strings</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0108__p14682181715353">Security group.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_CustomImage"></a><a name="request_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 5 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0108__row2891915153514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="functiongraph_06_0108__p268271723510">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.2"><p id="functiongraph_06_0108__p56821117183518">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.3"><p id="functiongraph_06_0108__p7682917133519">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.5.2.5.1.4"><p id="functiongraph_06_0108__p76829175354">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row128921315163510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p3682181733510">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p1268216177352">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p15682191714351">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p168318173352">Whether to enable this feature.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1089261513359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p868391703515">image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p4683717153511">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p4683181763512">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p166831417173512">Image address.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row2089271593512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p2683181716358">command</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p1168311179357">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p1468311172351">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p136832174356">Command for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row38924152355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p1468321753520">args</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p3683517153512">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p16683111717353">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p66831917103516">Command line parameter for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1689201573511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p368461712359">working_dir</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p1068431753520">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p6684151719357">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p1768412175352">Working directory of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row389251533510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p1684111753519">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p19684917193519">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p15684417143513">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p1968411753517">User ID of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1089221533515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0108__p1468414170355">gid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0108__p068491743510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0108__p768471763519">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0108__p3685131773517">User group ID of an image container.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_FuncCode"></a><a name="request_FuncCode"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_FuncCode" frame="border" border="1" rules="all"><caption><b>Table 6 </b>FuncCode</caption><thead align="left"><tr id="functiongraph_06_0108__row1898111593516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="functiongraph_06_0108__p568571743514">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.2"><p id="functiongraph_06_0108__p1368515179357">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.3"><p id="functiongraph_06_0108__p96851817103518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.6.2.5.1.4"><p id="functiongraph_06_0108__p96861417173511">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row18898215193513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="functiongraph_06_0108__p9686191710354">file</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="functiongraph_06_0108__p06867176357">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="functiongraph_06_0108__p1168616177352">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="functiongraph_06_0108__p46861617203516">Function code, which must be encoded using Base64. If this parameter is left blank, the default code is used.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row189841510357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="functiongraph_06_0108__p46919173355">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="functiongraph_06_0108__p669131723510">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="functiongraph_06_0108__p1769113175358">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="functiongraph_06_0108__p16911017193512">Function code URL.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_MountConfig"></a><a name="request_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row12901181563514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="functiongraph_06_0108__p1269211718354">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.2"><p id="functiongraph_06_0108__p669291743517">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.3"><p id="functiongraph_06_0108__p369271743517">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.7.2.5.1.4"><p id="functiongraph_06_0108__p76927178357">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row109017151351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0108__p169219177354">mount_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0108__p2692161713359">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0108__p36926175350"><a href="#functiongraph_06_0108__request_MountUser">MountUser</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0108__p1692517153520">User information.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1990116152353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0108__p19692171793517">func_mounts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0108__p369251710358">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0108__p7692717153514">Array of <a href="#functiongraph_06_0108__request_FuncMount">FuncMount</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0108__p12692121717350">Mounted resources.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_MountUser"></a><a name="request_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_MountUser" frame="border" border="1" rules="all"><caption><b>Table 8 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0108__row190571563513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="functiongraph_06_0108__p36922017123513">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.2"><p id="functiongraph_06_0108__p969213179359">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.3"><p id="functiongraph_06_0108__p269251715356">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.8.2.5.1.4"><p id="functiongraph_06_0108__p146931317133519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row2090551543510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="functiongraph_06_0108__p669341743519">user_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="functiongraph_06_0108__p8693111713350">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="functiongraph_06_0108__p169331713516">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="functiongraph_06_0108__p166931817123511">User ID, a non-0 integer from 1 to 65534.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1790541519357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="functiongraph_06_0108__p3693121717352">user_group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="functiongraph_06_0108__p15693417103512">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="functiongraph_06_0108__p769371718351">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="functiongraph_06_0108__p19693131783518">User group ID, a non-0 integer from 1 to 65534.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_FuncMount"></a><a name="request_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 9 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0108__row59083157355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="functiongraph_06_0108__p10693317173511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.2"><p id="functiongraph_06_0108__p66931117193512">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.3"><p id="functiongraph_06_0108__p269312176359">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.9.2.5.1.4"><p id="functiongraph_06_0108__p9693917143515">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row290812158352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0108__p1869311175357">mount_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0108__p269314171357">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0108__p8693111710352">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0108__p569411719352">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_0108__row9908915183511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0108__p7694111711351">mount_resource</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0108__p86941317153515">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0108__p1569431793514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0108__p86941417123510">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_0108__row1908915133510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0108__p11694141715355">mount_share_path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0108__p176941517183517">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0108__p7694141718354">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0108__p6694717133518">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_0108__row990821511351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0108__p46941170355">local_mount_path</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0108__p186946170355">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0108__p969431714357">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0108__p156941817123510">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_0108__request_FuncLogConfig"></a><a name="request_FuncLogConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_FuncLogConfig" frame="border" border="1" rules="all"><caption><b>Table 10 </b>FuncLogConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row11912111533518"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="functiongraph_06_0108__p166941417183511">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.2"><p id="functiongraph_06_0108__p116941617173516">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.3"><p id="functiongraph_06_0108__p569491733516">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.10.2.5.1.4"><p id="functiongraph_06_0108__p15694181713519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row119120154358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0108__p8694151714351">group_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0108__p167007171356">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0108__p18700317183514">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0108__p170031723514">Name of the log group bound to the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row2912141523514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0108__p1170071773517">group_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0108__p370011743514">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0108__p870021712353">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0108__p970041719356">ID of the log group bound to the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row14912415163520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0108__p4700101711357">stream_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0108__p12700151714353">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0108__p11700171715350">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0108__p270019177359">Name of the log stream bound to the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1691281513358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0108__p07001017143511">stream_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0108__p970041753516">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0108__p11700141773511">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0108__p2701181715351">ID of the log stream bound to the function.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_NetworkControlConfig"></a><a name="request_NetworkControlConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_NetworkControlConfig" frame="border" border="1" rules="all"><caption><b>Table 11 </b>NetworkControlConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row16920161573512"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.1"><p id="functiongraph_06_0108__p97011817163513">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.2"><p id="functiongraph_06_0108__p570117179354">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.3"><p id="functiongraph_06_0108__p1370131723518">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.11.2.5.1.4"><p id="functiongraph_06_0108__p870191733517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row12920615183510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="functiongraph_06_0108__p270110174358">disable_public_network</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="functiongraph_06_0108__p187014174352">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="functiongraph_06_0108__p1670151763515">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="functiongraph_06_0108__p270181718355">Disable public access.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row9921141519350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="functiongraph_06_0108__p1670115178359">trigger_access_vpcs</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.2 "><p id="functiongraph_06_0108__p10701101715355">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="functiongraph_06_0108__p1470110175357">Array of <a href="#functiongraph_06_0108__request_VpcConfig">VpcConfig</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="functiongraph_06_0108__p970215178353">VPC access restriction.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__request_VpcConfig"></a><a name="request_VpcConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__request_VpcConfig" frame="border" border="1" rules="all"><caption><b>Table 12 </b>VpcConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row292461543513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.1"><p id="functiongraph_06_0108__p27027171355">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.2"><p id="functiongraph_06_0108__p9702217113511">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.3"><p id="functiongraph_06_0108__p1570211716351">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.12.2.5.1.4"><p id="functiongraph_06_0108__p18702917183517">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row15924121519352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="functiongraph_06_0108__p1970221793514">vpc_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="functiongraph_06_0108__p87021917153512">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="functiongraph_06_0108__p57029173351">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="functiongraph_06_0108__p1170216170354">VPC name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row129241715153515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="functiongraph_06_0108__p3702131733518">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="functiongraph_06_0108__p14702201716350">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="functiongraph_06_0108__p1770241773512">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="functiongraph_06_0108__p0702171710356">VPC ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0108__section1070221719354"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0108__p8703111753519"><strong id="functiongraph_06_0108__b127031017183518">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_CreateFunctionResponseBody" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row119281415173514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0108__p47061417173518">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_0108__p117061317173512">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_0108__p670619171358">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row1392871518355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1870620171354">func_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p97061217153520">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p97076173355">Function ID, which uniquely identifies a function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row119281715153513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p77072017163516">func_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p0707101733516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p2707101753513">Function URN.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row492801514355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p14707141717353">func_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p4707017133513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p167121417203517">Function name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row5928111513350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1871381717351">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p7713121716356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p4713141715351">Domain ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row992861553510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p27131817163519">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1271331703517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p6713317173517">Project ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row99281151351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p471315178352">project_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p3713017173513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p7713817103510">Project name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row3928715153515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p14713191715358">package</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p871331793512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1471311177354">Group to which the function belongs. This field is defined to group functions.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row5929141583517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p187138171351">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p20713151723511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p171319178351">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_0108__p1471371713516">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul117147179354"><li id="functiongraph_06_0108__li6714121793512"><strong id="functiongraph_06_0108__b15714111733516">Java8</strong></li><li id="functiongraph_06_0108__li15714141723516"><strong id="functiongraph_06_0108__b6714181717350">Java11</strong></li><li id="functiongraph_06_0108__li15714117133515"><strong id="functiongraph_06_0108__b16714181723519">Node.js6.10</strong></li><li id="functiongraph_06_0108__li87144172353"><strong id="functiongraph_06_0108__b127141217133519">Node.js8.10</strong></li><li id="functiongraph_06_0108__li197141417193514"><strong id="functiongraph_06_0108__b117141217143512">Node.js10.16</strong></li><li id="functiongraph_06_0108__li671414177354"><strong id="functiongraph_06_0108__b19715141714355">Node.js12.13</strong></li><li id="functiongraph_06_0108__li10715917183512"><strong id="functiongraph_06_0108__b147157179351">Node.js14.18</strong></li><li id="functiongraph_06_0108__li07152174350"><strong id="functiongraph_06_0108__b37162173358">Python2.7</strong></li><li id="functiongraph_06_0108__li9716817173512"><strong id="functiongraph_06_0108__b371661773519">Python3.6</strong></li><li id="functiongraph_06_0108__li17716151714355"><strong id="functiongraph_06_0108__b671661793519">Go1.8</strong></li><li id="functiongraph_06_0108__li9716131713518"><strong id="functiongraph_06_0108__b971615171353">Go1.x</strong></li><li id="functiongraph_06_0108__li471615173357"><strong id="functiongraph_06_0108__b1071681773513">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0108__li37161717113515"><strong id="functiongraph_06_0108__b107161617133514">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0108__li1571614170351"><strong id="functiongraph_06_0108__b2716191723518">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0108__li2722191719350"><strong id="functiongraph_06_0108__b372261783515">Custom</strong></li><li id="functiongraph_06_0108__li172212174353"><strong id="functiongraph_06_0108__b8722517193513">PHP7.3</strong></li><li id="functiongraph_06_0108__li1372241720357"><strong id="functiongraph_06_0108__b1572219175354">Python3.9</strong></li><li id="functiongraph_06_0108__li1672281783510"><strong id="functiongraph_06_0108__b12722161719354">http</strong></li><li id="functiongraph_06_0108__li5722141733513"><strong id="functiongraph_06_0108__b27227176357">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row4929181517355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p18722161723512">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1972314171357">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1723181783513">Maximum duration the function can be executed. Value range: 3s259,200s.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row11929111516353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1472361712358">handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p872311711356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p5723161733516">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
<p id="functiongraph_06_0108__p8723717163511">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_0108__row1892991514354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p5723117183518">memory_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p87231517193518">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p57236179359">Memory consumed by a function.</p>
<p id="functiongraph_06_0108__p1372381753515">Unit: MB.</p>
<p id="functiongraph_06_0108__p2072431733515">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
<p id="functiongraph_06_0108__p13724817143516">The value ranges from 128 to 4096.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row892915156351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p15724141703517">cpu</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p18725171718356">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p16725151773510">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_0108__row192931553514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1172541715350">code_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p67258172359">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p57256175353">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_0108__p177251017183512">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul4725151703514"><li id="functiongraph_06_0108__li14725117103518"><strong id="functiongraph_06_0108__b272501723514">inline</strong></li><li id="functiongraph_06_0108__li772551743515"><strong id="functiongraph_06_0108__b2072501743511">zip</strong></li><li id="functiongraph_06_0108__li1372518175351"><strong id="functiongraph_06_0108__b1472511773510">obs</strong></li><li id="functiongraph_06_0108__li7726111715356"><strong id="functiongraph_06_0108__b13726191718357">jar</strong></li><li id="functiongraph_06_0108__li67264172357"><strong id="functiongraph_06_0108__b6726161716352">Custom-Image-Swr</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row12929111503519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p67262170359">code_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1072681717350">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p172641718356">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_0108__row199297158357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p107261175357">code_filename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1272691713355">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p572611174355">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_0108__row9929121583510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1973271719353">code_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p173231743520">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1773211719350">Code size in bytes.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1192919150351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p47321717193518">domain_names</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p11732171723511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1873217173355">Private domain name configured for resolution.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row159291115173512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1373281710358">user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p11732717183514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p10732111733519">Name/Value information defined for the function.</p>
<p id="functiongraph_06_0108__p107321179356">These are parameters used in a function.</p>
<p id="functiongraph_06_0108__p5732171753518">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_0108__row292901523517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p197335175350">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_0108__p10733141715356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p9733517163518">User-defined name/value to be encrypted.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row5930415193518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p2733151763513">digest</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1473331710357">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p7733151773520">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row49301915173519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p11733617173512">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p673313175357">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p973301733513">Function version.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row10930201516359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p17733131713514">image_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p177330178356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p473381713513">Internal identifier of a function version.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1193071520351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1573351719352">xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1733101793520">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p973361783512">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.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row14930191513516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p2073321718353">app_xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p19733917103520">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p6734121710354">Agency used by the function app. You need to create an agency on the IAM console. This field is mandatory when a function needs to access other services.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1930131513351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p97349172358">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1273411743518">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p173451719353">Function description.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row4930315143514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1373401715353">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p137341817163510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1073413179353">Time when the function was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row4930171573515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p157341170356">func_vpc</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p8734917123519"><a href="#functiongraph_06_0108__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_0108__p1473491711351">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1693018150350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p8734161733515">mount_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p47341217193517"><a href="#functiongraph_06_0108__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_0108__p15734917133519">Mounting configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row17930131553517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1373421793512">reserved_instance_count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p97341217133516">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p17734191717352">The number of instances reserved for a function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row9930315113513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p97351617113511">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_0108__p177356173359">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_0108__p473514178356">Dependency version IDs.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row8930191517354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p13735317143518">strategy_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p14735111712353"><a href="#functiongraph_06_0108__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_0108__p10735121714356">Function policy configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row16931171512351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p197351917123510">extend_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p6735161793520">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1073531716353">Extended configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row119311415123518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p16740121713356">dependencies</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p13740151713356">Array of <a href="#functiongraph_06_0108__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_0108__p1174031733511">Dependency packages.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row393121513510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p474081723512">initializer_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1574011710356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p274071710355">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_0108__row1693112150352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p197413174352">initializer_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p5741717193519">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p2741017203512">Maximum duration the function can be initialized. Value range: 1s300s. This parameter is mandatory when the initialization function is configured.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row593101510358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p674110171357">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_0108__p2741417163510">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1741117113517">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_0108__row69312159356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p6741817133520">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_0108__p8741717203511">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p9741141723513">Maximum duration the function can be initialized. Value range: 1s90s.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row14931171513513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p12741161753518">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_0108__p474181713516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p1474101783514">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row8931181510353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p47411317153513">long_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p3741517153512">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p17741717153515">Whether to allow a long timeout.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1593141503511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p2741101753510">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_0108__p7741111763516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p13741717113516">Log group ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1493131511350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p167417170352">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_0108__p19742181793516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p19742317103516">Log stream ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row893171511352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p17421517183514">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p147421817203511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p5742817173511">v2 indicates an official version, and v1 indicates a deprecated version.</p>
<p id="functiongraph_06_0108__p8742151703510">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul16742191733516"><li id="functiongraph_06_0108__li474251763520"><strong id="functiongraph_06_0108__b1774215173353">v1</strong></li><li id="functiongraph_06_0108__li17421017203511"><strong id="functiongraph_06_0108__b1674241712354">v2</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row154981954113513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p94991354183513">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_0108__p94990545353">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p549975410355">Whether to enable cloud debugging to adapt to the CloudDebug scenario. (discarded)</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row3932101593513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p1874291733516">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_0108__p167426177359">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p197421717153514">Whether to enable dynamic memory allocation.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row4932201515353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p2742171763511">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_0108__p1774221718350">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p574341703511">Whether stateful functions are supported. This parameter is supported in FunctionGraph v2.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1093221553519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p97431917203519">custom_image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p17743417103517"><a href="#functiongraph_06_0108__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_0108__p18743151773511">Container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row17932171519359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p374311173354">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_0108__p1974361713353">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p15743181793514">Whether this is a bridge function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1893241563512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p157430178350">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_0108__p574301717351">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p8743101793519">Whether to configure gateway routing rules.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1093214150353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p12743191783510">heartbeat_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p147434175356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p197439170351">Entry of the heartbeat function in the format of "xx.xx". It must contain a period (.).This parameter can be configured only for Java functions. 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_0108__row19321515123518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p15748917113518">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_0108__p974814173353">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p177498175354">Indicates whether to enable class isolation. This parameter can be configured only for Java functions. Enable to dump logs to Kafka and improve class loading efficiency. However, this may cause compatibility issues.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row179321015103513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p4749141743512">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_0108__p1474917174355">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p12749217103519">Indicates whether ephemeral storage can be configured.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row7932141583510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p07491417133510">ephemeral_storage</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p167491717133512">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p127491217143512">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_0108__p3749171783510">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul274991718356"><li id="functiongraph_06_0108__li7749517113520"><strong id="functiongraph_06_0108__b4749017183515">512</strong></li><li id="functiongraph_06_0108__li11749191710356"><strong id="functiongraph_06_0108__b19749117193515">10240</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row993231523519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p274913170357">network_controller</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p137491517143511"><a href="#functiongraph_06_0108__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_0108__p18749171763513">Network configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row15932415183514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p197501617203520">resource_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0108__p1175071723517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p4750617163514">Resource ID. Unique ID of a function.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row275335814366"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p10753175819368">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_0108__p8753858123614">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p11753135893613">Whether to return stream data. (discarded)</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row146137114379"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0108__p96131712376">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_0108__p10613515375">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0108__p861361203719">Whether to add authentication information to request header for custom image-based functions. (This parameter cannot be modified when creating a function.)</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_FuncVpc"></a><a name="response_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 14 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0108__row119731415113511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0108__p9750201753520">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_0108__p675011174355">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_0108__p18750417103519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row1297331517358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p18750917133515">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p1975091773512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p15750917173510">Domain name ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1973121593512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p147514177355">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p1275141717351">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p7751161712352">Project ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row17973191520359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p17518173354">vpc_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p15751171753515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p7751161718358">VPC name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row12973815163510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p975121713355">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p2075116173358">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p1875101723515">VPC ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row10973161513520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p137511417183510">subnet_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p9751111733517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p175151793518">Subnet name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1297310151356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p11751151753511">subnet_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p187512017113515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p14751131743510">Subnet ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1597313155356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p12752151783519">cidr</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p1975291733511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p1275216170351">Subnet mask.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row797391517354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p187525172352">gateway</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p17752111773515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0108__p775291723520">Gateway.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row2973121503519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0108__p10752191718356">security_groups</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0108__p97520177356">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_0108__p1775216174350">Security group.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_MountConfig"></a><a name="response_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 15 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row1979131513352"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0108__p15758161710351">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_0108__p275891743513">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_0108__p1375831743518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row15979161516354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0108__p167583173359">mount_user</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0108__p775831783513"><a href="#functiongraph_06_0108__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_0108__p18758151703510">User information.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row2979181553511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0108__p475881733520">func_mounts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0108__p37581817133514">Array of <a href="#functiongraph_06_0108__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_0108__p16758181719354">Mounted resources.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_MountUser"></a><a name="response_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_MountUser" frame="border" border="1" rules="all"><caption><b>Table 16 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0108__row0982101553514"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0108__p15759111710351">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_0108__p97597179358">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_0108__p20759517143512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row17982141518355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0108__p1375915175351">user_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0108__p1975921713353">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0108__p1375921783519">User ID, a non-0 integer from 1 to 65534.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row119821115173510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0108__p4759101714355">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_0108__p0759191712357">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0108__p4759117133510">User group ID, a non-0 integer from 1 to 65534.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_FuncMount"></a><a name="response_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 17 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0108__row298511153355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0108__p10759171723513">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_0108__p9759151713520">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_0108__p19759217113514">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row2098511518353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0108__p1675981715355">mount_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0108__p6760181783516">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0108__p10760117193515">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_0108__row898518152358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0108__p157601117123516">mount_resource</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0108__p107606171359">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0108__p127604178354">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_0108__row698514156355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0108__p107604174353">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_0108__p187601417133517">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0108__p13760151712352">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_0108__row149851115103518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0108__p27601917173516">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_0108__p1760191714351">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0108__p197604170356">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_0108__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 18 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row0989151583516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0108__p1476061715357">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_0108__p1076091717358">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_0108__p177601317193518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row8989191543514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0108__p19761017143515">concurrency</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0108__p976112173358">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0108__p7761217143518">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_0108__ul14761141720354"><li id="functiongraph_06_0108__li376141717353">-1: The function has unlimited instances.</li><li id="functiongraph_06_0108__li197611717103510">0: The function is disabled.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row1298981510354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0108__p147612178357">concurrent_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0108__p276117171352">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0108__p19765217103511">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_0108__response_Dependency"></a><a name="response_Dependency"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_Dependency" frame="border" border="1" rules="all"><caption><b>Table 19 </b>Dependency</caption><thead align="left"><tr id="functiongraph_06_0108__row39924159357"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0108__p87657175351">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_0108__p127658178351">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_0108__p187659179353">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row17992115193511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p14767717133517">id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p3767161714358">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p377221793514">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row0992161518351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p87729176352">owner</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p20772517163514">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p47722172354">Domain ID of the dependency owner.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row16992715173519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p19772217123518">link</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p877211714357">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p13772181719357">URL of the dependency on OBS.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row169931815163510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p377215176355">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p7772101714358">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p2772101713351">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_0108__p07731417153517">Enumeration values:</p>
<ul id="functiongraph_06_0108__ul147739177353"><li id="functiongraph_06_0108__li577315176357"><strong id="functiongraph_06_0108__b677321717352">Java8</strong></li><li id="functiongraph_06_0108__li17731817193513"><strong id="functiongraph_06_0108__b207735174355">Java11</strong></li><li id="functiongraph_06_0108__li477311713352"><strong id="functiongraph_06_0108__b977312172357">Node.js6.10</strong></li><li id="functiongraph_06_0108__li10773101718356"><strong id="functiongraph_06_0108__b137732171353">Node.js8.10</strong></li><li id="functiongraph_06_0108__li0773171719358"><strong id="functiongraph_06_0108__b107731817183514">Node.js10.16</strong></li><li id="functiongraph_06_0108__li1877331713351"><strong id="functiongraph_06_0108__b207731717173518">Node.js12.13</strong></li><li id="functiongraph_06_0108__li5774217103520"><strong id="functiongraph_06_0108__b577481715352">Node.js14.18</strong></li><li id="functiongraph_06_0108__li4774201718357"><strong id="functiongraph_06_0108__b3774181723516">Python2.7</strong></li><li id="functiongraph_06_0108__li5774131711357"><strong id="functiongraph_06_0108__b577421783514">Python3.6</strong></li><li id="functiongraph_06_0108__li1677461712350"><strong id="functiongraph_06_0108__b377411711350">Go1.8</strong></li><li id="functiongraph_06_0108__li14774191712354"><strong id="functiongraph_06_0108__b1477421783518">Go1.x</strong></li><li id="functiongraph_06_0108__li27748174358"><strong id="functiongraph_06_0108__b377451711356">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0108__li18774191783519"><strong id="functiongraph_06_0108__b107746177353">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0108__li4774131717351"><strong id="functiongraph_06_0108__b97745179357">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0108__li1177581719354"><strong id="functiongraph_06_0108__b5775117163517">Custom</strong></li><li id="functiongraph_06_0108__li127751177351"><strong id="functiongraph_06_0108__b377531753515">PHP7.3</strong></li><li id="functiongraph_06_0108__li177511773516"><strong id="functiongraph_06_0108__b978031793517">Python3.9</strong></li><li id="functiongraph_06_0108__li97801517163519"><strong id="functiongraph_06_0108__b16780111713351">http</strong></li><li id="functiongraph_06_0108__li167801517163513"><strong id="functiongraph_06_0108__b19780161718359">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0108__row699321520357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p137801179354">etag</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p12780141715350">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p1678091733510">MD5 value of a dependency.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row19939157350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p57801217183517">size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p19781417193514">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p16781171714357">Dependency size.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1993131553518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p12781517103510">name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p1078151773511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p17818173353">Dependence name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row899321513356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p157814171359">description</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p0781161713354">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p1781417173512">Dependency description.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row5993111512351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p1178141773518">file_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p97811717143515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p14781111723515">File name of a dependency package (ZIP).</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row13993615193512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p8781131793512">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p978101712359">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p178110173353">Dependency version ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row6993121512359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p5781161763514">dep_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p5782517163511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p1578251714352">Dependency ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row11993121515352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0108__p17782121743519">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0108__p878261713356">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0108__p1678217171355">Time when the function was last updated.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_CustomImage"></a><a name="response_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 20 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0108__row1241816183519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0108__p1578291714356">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_0108__p1878361773518">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_0108__p3783141712352">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row04111673519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p1778315170358">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p5783201718351">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p97831317123514">Whether to enable this feature.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row18414168353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p20783181733510">image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p778331713511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p16783517163511">Image address.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row194161613354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p177831117103513">command</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p1578301711352">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p87839177350">Command for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row341716153517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p197831017183515">args</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p1378371763511">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p15783201715355">Command line parameter for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1141416203520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p1178314178355">working_dir</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p478381712354">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p7783917163511">Working directory of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row195111693512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p1578420171356">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p1878481713357">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p18784171717357">User ID of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row13518164350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0108__p17784191717355">gid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0108__p1378420173355">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0108__p14784117183513">User group ID of an image container.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_NetworkControlConfig"></a><a name="response_NetworkControlConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_NetworkControlConfig" frame="border" border="1" rules="all"><caption><b>Table 21 </b>NetworkControlConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row39151633513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0108__p57891517143511">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_0108__p1278921714355">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_0108__p3789117203512">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row20912163352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0108__p1178910173358">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_0108__p10790151763511">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0108__p13790181713350">Disable public access.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row18921617350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0108__p97908174353">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_0108__p187902172353">Array of <a href="#functiongraph_06_0108__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_0108__p1790171712352">VPC access restriction.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0108__response_VpcConfig"></a><a name="response_VpcConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_VpcConfig" frame="border" border="1" rules="all"><caption><b>Table 22 </b>VpcConfig</caption><thead align="left"><tr id="functiongraph_06_0108__row14131416143515"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0108__p379118178352">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_0108__p18791217133520">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_0108__p1679113176356">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row181351683514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0108__p16791151718353">vpc_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0108__p479111171353">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0108__p1379110173358">VPC name.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1713141673514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0108__p1179141733515">vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0108__p179171715353">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0108__p1179161715350">VPC ID.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p979117173352"><strong id="functiongraph_06_0108__b179151773514">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 23 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row215416183517"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="functiongraph_06_0108__p979221710354">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_0108__p137921317103512">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_0108__p14792141753519">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row9154166359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0108__p4792141715350">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0108__p1879212177354">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0108__p197921617143518">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1415181623517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0108__p17792191743516">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0108__p37921717103512">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0108__p11792817183519">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p1793317103515"><strong id="functiongraph_06_0108__b6793151763518">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table1718171610357" frame="border" border="1" rules="all"><caption><b>Table 24 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row51821614356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="functiongraph_06_0108__p379391793514">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_0108__p7793141718352">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_0108__p1379331715355">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row151831616356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0108__p137932172357">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0108__p1179319173351">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0108__p17793101710358">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row1718716173510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0108__p1793171793510">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0108__p20793101715358">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0108__p479311172359">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p2794121714351"><strong id="functiongraph_06_0108__b5794181713356">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table142017166354" frame="border" border="1" rules="all"><caption><b>Table 25 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row1121141617358"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="functiongraph_06_0108__p279461719358">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_0108__p4794181716352">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_0108__p19794151716351">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row62114166359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0108__p17794017143514">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0108__p1279471716358">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0108__p7794217183518">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row02118164356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0108__p179461719351">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0108__p279471713350">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0108__p127941917113515">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p15794171713515"><strong id="functiongraph_06_0108__b779471713357">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table132717168353" frame="border" border="1" rules="all"><caption><b>Table 26 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row9285169359"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.1"><p id="functiongraph_06_0108__p1180091716357">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_0108__p1580031715355">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_0108__p10800121783518">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row328111653512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0108__p380051712353">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0108__p17800111718355">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0108__p5800717103516">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row82851653517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0108__p19800141715355">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0108__p13800101712350">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0108__p118001317143515">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p3800817123512"><strong id="functiongraph_06_0108__b1801161710354">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table1430151663517" frame="border" border="1" rules="all"><caption><b>Table 27 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row930516143511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.1"><p id="functiongraph_06_0108__p198012017173512">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_0108__p1080181753510">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_0108__p1801181719355">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row203013166351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0108__p15801191703510">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0108__p1801201720359">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0108__p198011717153516">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row230181618351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0108__p14801111733517">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0108__p11801151783513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0108__p380161715352">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0108__p11801017163516"><strong id="functiongraph_06_0108__b15802317183516">Status code: 503</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__table83211162352" frame="border" border="1" rules="all"><caption><b>Table 28 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0108__row83361611357"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.24.2.4.1.1"><p id="functiongraph_06_0108__p180210175355">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.24.2.4.1.2"><p id="functiongraph_06_0108__p16802121793514">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.24.2.4.1.3"><p id="functiongraph_06_0108__p1680216174354">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row2334164351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.1 "><p id="functiongraph_06_0108__p8802317203510">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.2 "><p id="functiongraph_06_0108__p1280281703515">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.24.2.4.1.3 "><p id="functiongraph_06_0108__p16802121719353">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row93351683515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.1 "><p id="functiongraph_06_0108__p10802121773513">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.24.2.4.1.2 "><p id="functiongraph_06_0108__p9802717123513">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.24.2.4.1.3 "><p id="functiongraph_06_0108__p148022177352">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0108__section19802141713515"><h4 class="sectiontitle">Example Requests</h4><ul id="functiongraph_06_0108__ul178021617153512"><li id="functiongraph_06_0108__li128029172354">Create a Python 2.7 function with 128 MB memory and 3s timeout. Add environment variable password and mount a disk.<pre class="screen" id="functiongraph_06_0108__screen480319175356">POST https://{Endpoint}/v2/{project_id}/fgs/functions
{
"func_name" : "xxx",
"package" : "xxx",
"runtime" : "Python2.7",
"handler" : "index.py",
"type" : "v2",
"memory_size" : 128,
"timeout" : 3,
"code_type" : "inline",
"mount_config" : {
"mount_user" : {
"user_id" : -1,
"user_group_id" : -1
},
"func_mounts" : [ {
"mount_resource" : "268xxx-d3xx-4cxx-98xx-d1dbxxx",
"local_mount_path" : "/mnt",
"mount_type" : "sfsTurbo"
} ]
},
"encrypted_user_data" : "{\"password\":\"1234\"}",
"func_code" : {
"file" : "xxxxx",
"link" : ""
}
}</pre>
</li><li id="functiongraph_06_0108__li88037176351">Create a Python 3.9 function with 128 MB memory and 3s timeout, and upload the code from OBS.<pre class="screen" id="functiongraph_06_0108__screen480471711358">POST https://{Endpoint}/v2/{project_id}/fgs/functions
{
"func_name" : "xxx",
"package" : "xxx",
"runtime" : "Python3.9",
"handler" : "index.py",
"type" : "v2",
"memory_size" : 128,
"timeout" : 3,
"code_type" : "obs",
"code_url" : "https:xxx"
}</pre>
</li><li id="functiongraph_06_0108__li680451712354">Create a custom image function named xxx. The memory size is 128 MB, the timeout period is 3s, and the code is uploaded by SWR.<pre class="screen" id="functiongraph_06_0108__screen1680416170355">POST https://{Endpoint}/v2/{project_id}/fgs/functions
{
"func_name" : "xxx",
"package" : "xxx",
"runtime" : "Custom Image",
"handler" : "-",
"type" : "v2",
"memory_size" : 128,
"timeout" : 3,
"code_type" : "obs",
"code_url" : "https:xxx",
"xrole" : "xxx",
"custom_image" : {
"enabled" : true,
"image" : "swr.xxx"
}
}</pre>
</li></ul>
</div>
<div class="section" id="functiongraph_06_0108__section5810017133512"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0108__p3810111718355"><strong id="functiongraph_06_0108__b11810111713357">Status code: 200</strong></p>
<p id="functiongraph_06_0108__p181031718358">ok</p>
<pre class="screen" id="functiongraph_06_0108__screen17810171713514">{
"func_urn" : "urn:fss:xxxxxxxxx:c3b2459a6d5e4b548e6777e57852692d:function:default:TestCreateFunctionInPythonSdk:latest",
"func_name" : "TestCreateFunctionInPythonSdk",
"domain_id" : "14ee2e3501124efcbca7998baa24xxxx",
"namespace" : "46b6f338fc3445b8846c71dfb1fbxxxx",
"project_name" : "xxxxxxxxxx",
"package" : "default",
"runtime" : "Python3.6",
"timeout" : 3,
"handler" : "index.handler",
"memory_size" : 128,
"encrypted_user_data" : "{\"password\":\"\"}",
"mount_config" : {
"mount_user" : {
"user_id" : -1,
"user_group_id" : -1
},
"func_mounts" : [ {
"mount_resource" : "268xxx-d3xx-4cxx-98xx-d1dbxxx",
"local_mount_path" : "/mnt",
"mount_type" : "sfsTurbo"
} ]
},
"cpu" : 300,
"code_type" : "inline",
"code_filename" : "index.py",
"code_size" : 100,
"digest" : "1c8610d1870731a818a037f1d2adf3223e8ac351aeb293fb1f8eabd2e9820069a61ed8b5d38182e760adc33a307d0e957afc357f415cd8c9c3ff6f0426fd85cd",
"version" : "latest",
"image_name" : "latest-191025153727@zehht",
"last_modified" : "2019-10-25 15:37:27",
"strategy_config" : {
"concurrency" : 0
}
}</pre>
<p id="functiongraph_06_0108__p1181214179355"><strong id="functiongraph_06_0108__b1181211174359">Status code: 400</strong></p>
<p id="functiongraph_06_0108__p18127171350">Bad request.</p>
<pre class="screen" id="functiongraph_06_0108__screen2081201783513">{
"error_code" : "FSS.0400",
"error_msg" : "invalid parameter"
}</pre>
<p id="functiongraph_06_0108__p1981216172350"><strong id="functiongraph_06_0108__b2812617163511">Status code: 401</strong></p>
<p id="functiongraph_06_0108__p108121617183511">Unauthorized.</p>
<pre class="screen" id="functiongraph_06_0108__screen1781211176357">{
"error_code" : "FSS.0401",
"error_msg" : "not permit"
}</pre>
<p id="functiongraph_06_0108__p208131317193518"><strong id="functiongraph_06_0108__b881391733511">Status code: 403</strong></p>
<p id="functiongraph_06_0108__p1281331723516">Forbidden.</p>
<pre class="screen" id="functiongraph_06_0108__screen10813191719352">{
"error_code" : "FSS.0403",
"error_msg" : "invalid token"
}</pre>
</div>
<div class="section" id="functiongraph_06_0108__section10813117133519"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0108__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0108__row2051216163511"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0108__p1181318177352">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_0108__p68132172358">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0108__row8511816133515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p581311713353">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p188131917133514">ok</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row151316163515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p198137174353">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p981419170351">Bad request.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row15191673513"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p17814417103517">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p781471711352">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row5511416173515"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p15814161714359">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p181441793517">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row851121610359"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p18148179359">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p2081461763510">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row051161663513"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p28141617123512">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p58146173352">Internal server error.</p>
</td>
</tr>
<tr id="functiongraph_06_0108__row05191603514"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0108__p3814181716352">503</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0108__p681419174351">Service unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0108__section281414174350"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0108__p68141717153514">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>