forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1811 lines
144 KiB
HTML
1811 lines
144 KiB
HTML
<a name="functiongraph_06_0111"></a><a name="functiongraph_06_0111"></a>
|
||
|
||
<h1 class="topictitle1">Modifying the Metadata of a Function</h1>
|
||
<div id="body13756131618350"><div class="section" id="functiongraph_06_0111__section97563166353"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0111__p575616166353">This API is used to modify the metadata of a function.</p>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section1675751615353"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0111__p16757181673519">PUT /v2/{project_id}/fgs/functions/{function_urn}/config</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__table1275919162351" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row1075814167354"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0111__p37591216193519">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_0111__p20759191653512">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_0111__p16760191633514">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_0111__p4760316133514">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row57581816173516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0111__p1176051618353">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0111__p9761191633511">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0111__p1576151617350">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0111__p197615162359">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row375871611354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0111__p147627161359">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0111__p10762161643515">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0111__p97621416183515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0111__p16762101610357">Function URN. For details, see the function model description.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section187635168352"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row15764171683516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0111__p976551619357">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_0111__p19765131613353">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_0111__p776514162359">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_0111__p8765181618358">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row1576441663516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0111__p15766181693517">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_0111__p18766171614350">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0111__p197661716123517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0111__p1376781614352">User token.</p>
|
||
<p id="functiongraph_06_0111__p1076720163352">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_0111__row11764191683520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0111__p1576718169352">Content-Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0111__p9767141618351">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0111__p47672163354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0111__p127685161355">Message body type (format).</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_UpdateFunctionConfigRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row1277031693515"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="functiongraph_06_0111__p1877571673520">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_0111__p13775131663511">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_0111__p167761716173514">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_0111__p1877701613513">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row187709160359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1777151693512">func_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p187771516163518">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p67781516203512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p12778141619351">Function name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row57701216163511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1277819167359">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p277915165355">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p1177931617355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p477915162354">Environment in which a FunctionGraph function is executed. Options:</p>
|
||
<ul id="functiongraph_06_0111__ul6779191616355"><li id="functiongraph_06_0111__li67791116183520">Python 2.7</li><li id="functiongraph_06_0111__li177804161357">Python 3.6</li><li id="functiongraph_06_0111__li1778031619351">Python 3.9</li><li id="functiongraph_06_0111__li6781416163516">Go 1.8</li><li id="functiongraph_06_0111__li13781916123515">Go 1.x</li><li id="functiongraph_06_0111__li127811165353">Java 8</li><li id="functiongraph_06_0111__li18782516163514">Java 11</li><li id="functiongraph_06_0111__li1278291653513">Node.js 6.10</li><li id="functiongraph_06_0111__li2782141620352">Node.js 8.10</li><li id="functiongraph_06_0111__li878391618356">Node.js 10.16</li><li id="functiongraph_06_0111__li1578371611355">Node.js 12.13</li><li id="functiongraph_06_0111__li18784416183514">Node.js 14.18</li><li id="functiongraph_06_0111__li157841216163517">C# (.NET Core 2.0)</li><li id="functiongraph_06_0111__li1784216163515">C# (.NET Core 2.1)</li><li id="functiongraph_06_0111__li9785131633518">C# (.NET Core 3.1)</li><li id="functiongraph_06_0111__li1878561612353">Custom</li><li id="functiongraph_06_0111__li37851016193515">PHP 7.3</li><li id="functiongraph_06_0111__li10785616153519">HTTP</li></ul>
|
||
<p id="functiongraph_06_0111__p17786016183510">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul1978615168350"><li id="functiongraph_06_0111__li1878601643510"><strong id="functiongraph_06_0111__b12786151614359">Java8</strong></li><li id="functiongraph_06_0111__li978719162358"><strong id="functiongraph_06_0111__b478721633517">Java11</strong></li><li id="functiongraph_06_0111__li1678715169355"><strong id="functiongraph_06_0111__b1787111611351">Node.js6.10</strong></li><li id="functiongraph_06_0111__li2787151693511"><strong id="functiongraph_06_0111__b5787216203513">Node.js8.10</strong></li><li id="functiongraph_06_0111__li378751618354"><strong id="functiongraph_06_0111__b20788191693511">Node.js10.16</strong></li><li id="functiongraph_06_0111__li2788216163520"><strong id="functiongraph_06_0111__b12788151673515">Node.js12.13</strong></li><li id="functiongraph_06_0111__li1178821611359"><strong id="functiongraph_06_0111__b87882164350">Node.js14.18</strong></li><li id="functiongraph_06_0111__li1878821663516"><strong id="functiongraph_06_0111__b187889164353">Python2.7</strong></li><li id="functiongraph_06_0111__li19788516203515"><strong id="functiongraph_06_0111__b1788216123510">Python3.6</strong></li><li id="functiongraph_06_0111__li1778913165352"><strong id="functiongraph_06_0111__b878919164354">Go1.8</strong></li><li id="functiongraph_06_0111__li878951633512"><strong id="functiongraph_06_0111__b5789161610351">Go1.x</strong></li><li id="functiongraph_06_0111__li147891916133519"><strong id="functiongraph_06_0111__b1378991612358">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0111__li7789816163518"><strong id="functiongraph_06_0111__b19789016103519">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0111__li147891616123511"><strong id="functiongraph_06_0111__b1789201614351">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0111__li4789131643517"><strong id="functiongraph_06_0111__b979014165353">Custom</strong></li><li id="functiongraph_06_0111__li1879051683510"><strong id="functiongraph_06_0111__b1279061613513">PHP7.3</strong></li><li id="functiongraph_06_0111__li1279071614358"><strong id="functiongraph_06_0111__b12790516143520">Python3.9</strong></li><li id="functiongraph_06_0111__li16790151618354"><strong id="functiongraph_06_0111__b87901016113511">http</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row6770201653511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p779001614354">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p079181693510">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p7791191616355">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p579131613517">Maximum duration the function can be executed. Value range: 3s–259,200s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row157701916153519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p127930167350">handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p579391693516">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p157932161355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p167947166359">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
|
||
<p id="functiongraph_06_0111__p19794416103516">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_0111__row47701316173512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p12794216183515">memory_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p137945160354">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p079512165355">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p18795216173511">Memory consumed by a function.</p>
|
||
<p id="functiongraph_06_0111__p13795201612357">Unit: MB.</p>
|
||
<p id="functiongraph_06_0111__p6796316153516">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
|
||
<p id="functiongraph_06_0111__p87967161353">The value ranges from 128 to 4096.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row9770201613516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p18796716193517">gpu_memory</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p679621673518">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p77961916123518">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p16797916123519">GPU memory. This parameter is available only for functions created with a custom runtime or image.</p>
|
||
<p id="functiongraph_06_0111__p0797141643511">Unit: MB.</p>
|
||
<p id="functiongraph_06_0111__p11797151614356">Options: 1024, 2048, 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10,240, 11,264, 12,288, 13,312, 14,336, 15,360, and 16,384.</p>
|
||
<p id="functiongraph_06_0111__p1679711611359">Range: 1024 to 16,384.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10771111618358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p67971216163516">user_data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p12797151611357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p207981116203519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p197987168359">Name/Value information defined for the function.</p>
|
||
<p id="functiongraph_06_0111__p11798916173514">These are parameters used in a function.</p>
|
||
<p id="functiongraph_06_0111__p1479861653514">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_0111__row3771181623517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p779881613359">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_0111__p87981116193519">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p27990162357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p87991816103510">User-defined name/value to be encrypted.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1577121615356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p2079941663511">xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p16799516153517">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p27991716183511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p1780081623512">Agency used by the function. You need to create an agency on the IAM console. This field is mandatory when a function needs to access other services. After specifying a function execution agency, you can use the context method in the function handler to obtain a token, an AK, and an SK for accessing other cloud services. No agency is required if FunctionGraph does not access any cloud services.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1177171610356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p28001716183518">app_xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p20801716123511">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p4801161653514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p1801151613355">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_0111__row57711916173516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p28021316103514">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p20802171623511">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p7803141643519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p780331633517">Function description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row13771181616354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1680311161350">func_vpc</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p6803161613352">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p1480401673514"><a href="#functiongraph_06_0111__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_0111__p7804616123513">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1077161612358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1180415161353">mount_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p178051165353">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p12805121610351"><a href="#functiongraph_06_0111__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_0111__p7805161613512">Mounting configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row777141633512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p0806121643515">strategy_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p1680611673510">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p98061016123515"><a href="#functiongraph_06_0111__request_StrategyConfig">StrategyConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p680616161354">Function policy configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row17711016143514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p20807121615354">custom_image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p780891612355">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p1580821610357"><a href="#functiongraph_06_0111__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_0111__p5809121623516">Container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row107711116183510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1380912163356">extend_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p1810111611355">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p128102164359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p18100168355">Extended configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row2077216165354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p48116169350">initializer_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p68111816193515">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p18811216173510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p2812101653516">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_0111__row15772141693515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p181271653513">initializer_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p481251611353">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p1481301616356">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p381341613358">Maximum duration the function can be initialized. Value range: 1s–300s. This parameter is mandatory when the initialization function is configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1677281614353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p1381310167353">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_0111__p1781311620357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p118141016163520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p158141316183510">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_0111__row277221610354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p2814111614353">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_0111__p5814101693520">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p208141416173511">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p1281541614355">Maximum duration the function can be initialized. Value range: 1s–90s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row877211160359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p38151616193511">ephemeral_storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p9815111683515">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p178151016123511">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p48161516173513">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_0111__p881611618356">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul981691693519"><li id="functiongraph_06_0111__li881641610350"><strong id="functiongraph_06_0111__b1381651617350">512</strong></li><li id="functiongraph_06_0111__li181618163359"><strong id="functiongraph_06_0111__b8817191653513">10240</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10772141618355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p381731683520">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_0111__p38171162352">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p281711163353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p981771619355">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1077214164353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p138188169352">log_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p981811673519">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p14818161619358"><a href="#functiongraph_06_0111__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_0111__p8819151633511">Function log configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row17731816163520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p981911612359">network_controller</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p19819151673519">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p782041613359"><a href="#functiongraph_06_0111__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_0111__p882012164355">Network configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row77731316113519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p9820916203510">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_0111__p2082013164357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p208218166350">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p18821416163520">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_0111__row167731216183511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p9821416133512">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_0111__p282181610357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p482251619356">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p3822111613515">Whether to enable dynamic memory allocation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10773416113510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p16822161623519">enable_auth_in_header</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p17822161673517">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p682341617356">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p8823191610358">Whether to allow authentication information in the request header.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row97735165356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p8362181933510">domain_names</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p183631819103519">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p43631719183514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p43632193354">Private domain name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row37738162359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p12363319163516">restore_hook_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p836331910357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p23632019163513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p6363121919353">Restore Hook entry point for snapshot-based cold start in the format "xx.xx". The period (.) must be included. For example, com.xxx.demo.Test.restoreHook.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1677461693512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p113631919103520">restore_hook_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p103641119113512">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p6364131953519">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p153641419203514">Restore Hook timeout of snapshot-based cold start. Range: 1s to 300s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row117747160356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p10364619173516">heartbeat_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p836471943518">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p183640194355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p83641819173515">Entry of the heartbeat function in the format of "xx.xx". It must contain a period (.).This parameter can be configured only in Java. The heartbeat function entry must be in the same file as your function handler. This parameter is mandatory when the heartbeat function is enabled.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10774616153519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p123641193355">enable_class_isolation</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p6364111920355">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p16364141953511">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p8364419163510">Indicates whether to enable class isolation. This parameter can be configured only in Java. Enable to dump logs to Kafka and improve class loading efficiency. However, this may cause compatibility issues.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row677471643516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0111__p19365619153519">gpu_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0111__p5365131912355">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0111__p16365101953517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0111__p33651419153519">GPU type.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_FuncVpc"></a><a name="request_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 4 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0111__row883021693513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.4.2.5.1.1"><p id="functiongraph_06_0111__p436511913352">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_0111__p17365719103515">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_0111__p3365121913353">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_0111__p1736661973517">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row283051611355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p4366419183515">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p1636611910352">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p14366819123512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p2036631943510">Domain name ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16838216193514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p1636601913353">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p1036611933518">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p163667199352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p0366131919350">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1783814166354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p43668198352">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p133661019113513">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p1436616194356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p536718194352">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row983851613356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p43678194351">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p20367201913520">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p53678192355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p336721923515">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row783851623512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p1736771913518">subnet_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p13367151918350">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p736751917354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p16367519103510">Subnet name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row148391316203518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p8367919153513">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p536810190357">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p1736831910353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p136813194351">Subnet ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row483918163352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p153682195350">cidr</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p93681819173517">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p1536815197354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p1336891911358">Subnet mask.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row8839816123517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p103681519103514">gateway</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p193681619203512">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p036901983512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.4.2.5.1.4 "><p id="functiongraph_06_0111__p436991919353">Gateway.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row128395161352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.1 "><p id="functiongraph_06_0111__p13369171916357">security_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.2 "><p id="functiongraph_06_0111__p1136901917350">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.4.2.5.1.3 "><p id="functiongraph_06_0111__p436918194359">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_0111__p1836961912356">Security group.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_MountConfig"></a><a name="request_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 5 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row684811683510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.5.2.5.1.1"><p id="functiongraph_06_0111__p13701819113520">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_0111__p19370111913355">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_0111__p2370319133518">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_0111__p1037061919355">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row984821612351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0111__p1370101933520">mount_user</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0111__p23709193353">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0111__p183709194359"><a href="#functiongraph_06_0111__request_MountUser">MountUser</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0111__p203711819183515">User information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16848111633519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.1 "><p id="functiongraph_06_0111__p1371101943510">func_mounts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.2 "><p id="functiongraph_06_0111__p9371191943510">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.5.2.5.1.3 "><p id="functiongraph_06_0111__p10371101910354">Array of <a href="#functiongraph_06_0111__request_FuncMount">FuncMount</a> objects</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.5.2.5.1.4 "><p id="functiongraph_06_0111__p163711719123512">Mounted resources.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_MountUser"></a><a name="request_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_MountUser" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0111__row20851716133516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.6.2.5.1.1"><p id="functiongraph_06_0111__p93728199359">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_0111__p237291916351">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_0111__p937211914359">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_0111__p1137271913510">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row385131617354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="functiongraph_06_0111__p937219193357">user_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="functiongraph_06_0111__p13372919163514">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="functiongraph_06_0111__p19372101903518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="functiongraph_06_0111__p2372121903514">User ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row58521716173519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.1 "><p id="functiongraph_06_0111__p837241914350">user_group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.2 "><p id="functiongraph_06_0111__p16373319123515">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.6.2.5.1.3 "><p id="functiongraph_06_0111__p737391913354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.6.2.5.1.4 "><p id="functiongraph_06_0111__p737331983510">User group ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_FuncMount"></a><a name="request_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 7 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0111__row385551616355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.7.2.5.1.1"><p id="functiongraph_06_0111__p13373121918351">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_0111__p2373819173512">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_0111__p1837341910359">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_0111__p1837381914359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row1985571653514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0111__p33732019113515">mount_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0111__p737311953512">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0111__p4374121919359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0111__p7374519133514">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_0111__row20855111617350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0111__p17374161920357">mount_resource</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0111__p183741119113518">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0111__p437421913515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0111__p53741319183511">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_0111__row18855191618359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0111__p537451918354">mount_share_path</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0111__p837481918356">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0111__p837441933518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0111__p7374151933516">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_0111__row128551816123516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.1 "><p id="functiongraph_06_0111__p73747193358">local_mount_path</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.2 "><p id="functiongraph_06_0111__p153741619193510">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.7.2.5.1.3 "><p id="functiongraph_06_0111__p7375161993515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.7.2.5.1.4 "><p id="functiongraph_06_0111__p63751219133515">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_0111__request_StrategyConfig"></a><a name="request_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 8 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row1385919168355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.8.2.5.1.1"><p id="functiongraph_06_0111__p153750191356">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_0111__p163751319173511">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_0111__p6375181919355">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_0111__p237516194356">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row1485921613351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="functiongraph_06_0111__p637501983518">concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="functiongraph_06_0111__p183751219183516">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="functiongraph_06_0111__p16376151943520">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="functiongraph_06_0111__p19376519133513">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_0111__ul23761119133517"><li id="functiongraph_06_0111__li19376171910353">-1: The function has unlimited instances.</li><li id="functiongraph_06_0111__li11376919103515">0: The function is disabled.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row38591016133519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.1 "><p id="functiongraph_06_0111__p1837631917353">concurrent_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.2 "><p id="functiongraph_06_0111__p19376101923517">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.8.2.5.1.3 "><p id="functiongraph_06_0111__p1937641919358">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.8.2.5.1.4 "><p id="functiongraph_06_0111__p737618199352">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_0111__request_CustomImage"></a><a name="request_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 9 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0111__row186310166356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.9.2.5.1.1"><p id="functiongraph_06_0111__p13377219173510">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_0111__p0377181915354">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_0111__p9377619163512">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_0111__p1837731914359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row10863111633519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p6377141915356">enabled</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p4377101993518">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p15377919133517">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p10377101943518">Whether to enable this feature.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row086411169356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p16377191953520">image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p13377141914351">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p9378171923517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p03781319113516">Image address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16864101653515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p143788194353">command</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p13378191912358">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p2378131917355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p18378151912354">Command for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row786451693512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p18378171973515">args</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p17378191953515">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p133781819173510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p14378131912350">Command line parameter for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1486416169353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p537831963514">working_dir</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p1837891912358">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p5379919173514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p33792194359">Working directory of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row8864171653512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p93791019183515">uid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p16379101916357">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p73791919153516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p10379119183516">User ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1286451612359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.1 "><p id="functiongraph_06_0111__p183792196356">gid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.2 "><p id="functiongraph_06_0111__p3379219133512">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.9.2.5.1.3 "><p id="functiongraph_06_0111__p3379161983513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.9.2.5.1.4 "><p id="functiongraph_06_0111__p3379171903510">User group ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_FuncLogConfig"></a><a name="request_FuncLogConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_FuncLogConfig" frame="border" border="1" rules="all"><caption><b>Table 10 </b>FuncLogConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row1487171610353"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.10.2.5.1.1"><p id="functiongraph_06_0111__p338041993520">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_0111__p93804192359">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_0111__p638017196352">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_0111__p15380919193513">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row1687161616354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0111__p1138051953515">group_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0111__p16380919163513">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0111__p13380151913520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0111__p1738020194351">Name of the log group bound to the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1587151693510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0111__p2380121913515">group_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0111__p138171973514">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0111__p1038111916352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0111__p14381219173518">ID of the log group bound to the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row0872171610353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0111__p4381161911356">stream_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0111__p1338110190359">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0111__p10381121919355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0111__p5381519103512">Name of the log stream bound to the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1987251643516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.1 "><p id="functiongraph_06_0111__p63811196351">stream_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.2 "><p id="functiongraph_06_0111__p338101903517">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.10.2.5.1.3 "><p id="functiongraph_06_0111__p8381519183515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.10.2.5.1.4 "><p id="functiongraph_06_0111__p43811219103513">ID of the log stream bound to the function.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_NetworkControlConfig"></a><a name="request_NetworkControlConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_NetworkControlConfig" frame="border" border="1" rules="all"><caption><b>Table 11 </b>NetworkControlConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row148765168356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.11.2.5.1.1"><p id="functiongraph_06_0111__p7382519203519">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_0111__p0382151993518">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_0111__p1038281973512">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_0111__p638221917351">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row587781618358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="functiongraph_06_0111__p203821198358">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_0111__p138241943515">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="functiongraph_06_0111__p93827193354">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.11.2.5.1.4 "><p id="functiongraph_06_0111__p73821019153519">Disable public access.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row887781613512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.1 "><p id="functiongraph_06_0111__p838391963512">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_0111__p15383191912351">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.11.2.5.1.3 "><p id="functiongraph_06_0111__p5383151918359">Array of <a href="#functiongraph_06_0111__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_0111__p438311953513">VPC access restriction.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__request_VpcConfig"></a><a name="request_VpcConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__request_VpcConfig" frame="border" border="1" rules="all"><caption><b>Table 12 </b>VpcConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row16879141615355"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.12.2.5.1.1"><p id="functiongraph_06_0111__p12383319163519">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_0111__p20383161918353">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_0111__p1838321918353">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_0111__p4383111910350">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row0879191643513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="functiongraph_06_0111__p5384219173513">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="functiongraph_06_0111__p133841319123512">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="functiongraph_06_0111__p1384619203516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="functiongraph_06_0111__p19384419113510">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row188801616103515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.1 "><p id="functiongraph_06_0111__p23848190353">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.2 "><p id="functiongraph_06_0111__p10384619183510">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.12.2.5.1.3 "><p id="functiongraph_06_0111__p3384111914353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.12.2.5.1.4 "><p id="functiongraph_06_0111__p63842194354">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section1238418195358"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0111__p2038521919353"><strong id="functiongraph_06_0111__b18385419203514">Status code: 200</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_UpdateFunctionConfigResponseBody" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row988461619357"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0111__p43861019153516">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_0111__p93862019153513">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_0111__p12386131916356">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row18884141653515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1938619197352">func_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p23861194355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1338691914351">Function ID, which uniquely identifies a function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1488461613359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1738651923513">resource_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p13387111911351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p5387121911356">Function resource ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row988416168359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p18387121914359">func_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p238711915354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p13876196355">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row128841416123517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p7387171913517">func_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p83871919113515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1938820191359">Function name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row148852168352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p133881219143516">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p7388161917357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p6388191916351">Domain ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1885516153514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p15388161993514">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p93881719153511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p9388319103520">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row988571620359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p12388319133510">project_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1138821917354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p43894196352">Project name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1688512167353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p16389141915350">package</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p103896190357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p73891719143517">Group to which the function belongs. This field is defined to group functions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row188561643513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p19389151923514">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1038911915354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p2389819183516">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_0111__p153891195351">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul1038913193350"><li id="functiongraph_06_0111__li0389101903514"><strong id="functiongraph_06_0111__b33891219113520">Java8</strong></li><li id="functiongraph_06_0111__li19389919123518"><strong id="functiongraph_06_0111__b12390419143514">Java11</strong></li><li id="functiongraph_06_0111__li19390111917351"><strong id="functiongraph_06_0111__b63901619183511">Node.js6.10</strong></li><li id="functiongraph_06_0111__li039019198350"><strong id="functiongraph_06_0111__b19390161923513">Node.js8.10</strong></li><li id="functiongraph_06_0111__li1039012191356"><strong id="functiongraph_06_0111__b1339031993518">Node.js10.16</strong></li><li id="functiongraph_06_0111__li113906196359"><strong id="functiongraph_06_0111__b15390519133517">Node.js12.13</strong></li><li id="functiongraph_06_0111__li17391219163511"><strong id="functiongraph_06_0111__b1039115199351">Node.js14.18</strong></li><li id="functiongraph_06_0111__li839111923515"><strong id="functiongraph_06_0111__b163911919143520">Python2.7</strong></li><li id="functiongraph_06_0111__li1339151913356"><strong id="functiongraph_06_0111__b1039191963516">Python3.6</strong></li><li id="functiongraph_06_0111__li18391191910350"><strong id="functiongraph_06_0111__b139119194358">Go1.8</strong></li><li id="functiongraph_06_0111__li19391171943516"><strong id="functiongraph_06_0111__b83911019183510">Go1.x</strong></li><li id="functiongraph_06_0111__li9391151923519"><strong id="functiongraph_06_0111__b103915195352">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0111__li83921219133516"><strong id="functiongraph_06_0111__b13922198351">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0111__li103921319153511"><strong id="functiongraph_06_0111__b3392161983514">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0111__li2392131918353"><strong id="functiongraph_06_0111__b153921919143513">Custom</strong></li><li id="functiongraph_06_0111__li839216193353"><strong id="functiongraph_06_0111__b23921119173510">PHP7.3</strong></li><li id="functiongraph_06_0111__li133921019173514"><strong id="functiongraph_06_0111__b1639261973513">Python3.9</strong></li><li id="functiongraph_06_0111__li939291973517"><strong id="functiongraph_06_0111__b639271943515">http</strong></li><li id="functiongraph_06_0111__li173922199351"><strong id="functiongraph_06_0111__b53921819123517">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row12885161683513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p103936198353">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p139331923520">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1439381993515">Maximum duration the function can be executed. Value range: 3s–259,200s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row8885716183513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p23938199355">handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p123931219163510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p5393419173518">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
|
||
<p id="functiongraph_06_0111__p1539331915358">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_0111__row1488561619358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p83931119193516">memory_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p16393161916354">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p14393131912357">Memory consumed by a function.</p>
|
||
<p id="functiongraph_06_0111__p239313193354">Unit: MB.</p>
|
||
<p id="functiongraph_06_0111__p1139481973515">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
|
||
<p id="functiongraph_06_0111__p3394111953519">The value ranges from 128 to 4096.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row5885816183511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p3394141963510">gpu_memory</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1439481912351">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p039411191353">GPU memory. This parameter is available only for functions created with a custom runtime or image.</p>
|
||
<p id="functiongraph_06_0111__p639481913512">Unit: MB.</p>
|
||
<p id="functiongraph_06_0111__p3394191916356">Options: 1024, 2048, 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10,240, 11,264, 12,288, 13,312, 14,336, 15,360, and 16,384.</p>
|
||
<p id="functiongraph_06_0111__p3394919183516">Range: 1024 to 16,384.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row688531643511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p63941719173513">cpu</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p6394181912355">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p8394141910354">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_0111__row6885191683520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p15395319113513">code_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1839591963510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1639510198353">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_0111__p15395131912357">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul2395161933512"><li id="functiongraph_06_0111__li113951219183510"><strong id="functiongraph_06_0111__b11395151983518">inline</strong></li><li id="functiongraph_06_0111__li103951419173515"><strong id="functiongraph_06_0111__b039531923510">zip</strong></li><li id="functiongraph_06_0111__li03951019193510"><strong id="functiongraph_06_0111__b739501923515">obs</strong></li><li id="functiongraph_06_0111__li14395819153512"><strong id="functiongraph_06_0111__b739518198358">jar</strong></li><li id="functiongraph_06_0111__li3395111953511"><strong id="functiongraph_06_0111__b839691917353">Custom-Image-Swr</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16885191673517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p19396141919358">code_url</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1939611199356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p8396101919356">If CodeType is set to obs, enter the OBS URL of the function code package. If CodeType is not set to obs, leave this parameter blank.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row19885121614353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p5396519143515">code_filename</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p53961919113516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p14396181913354">Name of a function file. This parameter is mandatory only when CodeType is set to jar or zip.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row19886171693517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p14396191963517">code_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p103961219143518">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p14396319173519">Code size in bytes.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row138861316193514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p939641914354">user_data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p153967198356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1339714193353">Name/Value information defined for the function.</p>
|
||
<p id="functiongraph_06_0111__p7397131910351">These are parameters used in a function.</p>
|
||
<p id="functiongraph_06_0111__p13397619103514">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_0111__row3886121613352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1739718192353">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_0111__p1439731910353">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1239791910352">User-defined name/value to be encrypted.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row6886181663512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p33970194356">digest</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p23971719153519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1739731953518">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10886716193515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p16397181917352">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p339741918356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1339710195356">Function version, which is automatically generated by the system. The version name is in the format of "vYYYYMMDD-HHMMSS" (v+year/month/day-hour/minute/second).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1388661610352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p93981419193512">image_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p439814198356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p15398101953511">Internal identifier of a function version.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row108861716123516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p113980196359">xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p18398161913359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p739816191353">Agency used by the function. You need to create an agency on the IAM console. This field is mandatory when a function needs to access other services. After specifying a function execution agency, you can use the context method in the function handler to obtain a token, an AK, and an SK for accessing other cloud services. No agency is required if FunctionGraph does not access any cloud services.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row4887131673520"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p9398619113517">app_xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1339861933515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p43981819143519">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_0111__row288717163359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p639871993519">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p53981019123518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p13981319203511">Function description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row148873166354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1239911914357">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p939914190355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p439931953516">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1288711169357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p143991119103514">ephemeral_storage</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1239912194353">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p5399171917353">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_0111__p03997198354">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul8399219173513"><li id="functiongraph_06_0111__li1239981963510"><strong id="functiongraph_06_0111__b14399141911356">512</strong></li><li id="functiongraph_06_0111__li1239941918353"><strong id="functiongraph_06_0111__b139931993514">10240</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10887171613517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p16400141911356">func_vpc</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p124003195351"><a href="#functiongraph_06_0111__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_0111__p54001419133517">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1788791614353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1840081917356">mount_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p5400121993512"><a href="#functiongraph_06_0111__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_0111__p11400121916352">Mounting configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row15887616173514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p18400181963520">strategy_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p04001719103513"><a href="#functiongraph_06_0111__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_0111__p15400219153510">Function policy configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row088712167351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p1640011199355">dependencies</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p14401119163511">Array of <a href="#functiongraph_06_0111__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_0111__p840121914352">Dependency packages.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row13887181613351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p18401141933513">initializer_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p4401181993511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p740121912355">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_0111__row78881416123514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p440171915359">initializer_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1940111195356">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p540111194350">Maximum duration the function can be initialized. Value range: 1s–300s. This parameter is mandatory when the initialization function is configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row688811169358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p140131917351">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_0111__p194011419173512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p4401171953510">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_0111__row7888101653517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p94025194358">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_0111__p13402201916356">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p12402181983510">Maximum duration the function can be initialized. Value range: 1s–90s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1388831603518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p440361920357">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_0111__p1540361918358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p840341973513">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row68896163355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p8403111993519">long_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p2403119133518">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1403419133519">Whether to allow a long timeout.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row2889216133519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p9403171993518">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_0111__p8403101919357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p34031619123516">Log group ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1988913165353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p154031819103519">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_0111__p194031619123520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p13404151973514">Log stream ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1488919169356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p18404101913514">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p184054196358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p1040531973517">v2 indicates an official version, and v1 indicates a deprecated version.</p>
|
||
<p id="functiongraph_06_0111__p140571916357">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul1640521903519"><li id="functiongraph_06_0111__li184057195351"><strong id="functiongraph_06_0111__b34051819123518">v1</strong></li><li id="functiongraph_06_0111__li14405171983519"><strong id="functiongraph_06_0111__b1640611917352">v2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row11255153164712"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p52551053164719">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_0111__p11255195344715">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p7255205344717">Whether to enable cloud debugging to adapt to the CloudDebug scenario. (discarded)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row13889201617353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p640614194357">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_0111__p1406519123518">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p12406171912353">Whether to enable dynamic memory allocation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1648815452488"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p10488124517484">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_0111__p94881645104819">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p10488194544816">Whether to add authentication information to request header for custom image-based functions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row2889161643511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p204064199353">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_0111__p340671920356">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p144069195352">Whether stateful functions are supported. This parameter is supported in FunctionGraph v2.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row14889161616356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p12406131918356">domain_names</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p13406191913358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p84061619203517">Private domain name configured for resolution.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row488971613351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p44072019113519">custom_image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0111__p1140714194353"><a href="#functiongraph_06_0111__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_0111__p144071193352">Container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row79411917502"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0111__p18948905017">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_0111__p2025402135515">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0111__p199413925012">Whether to return stream data. (discarded)</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__response_FuncVpc"></a><a name="response_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 14 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0111__row11922131619353"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0111__p1740851913513">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_0111__p04088190351">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_0111__p4408121943517">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row3922616133510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p1140801963512">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p17408191963517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p2408141911353">Domain name ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row9922716153516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p1040821917353">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p1240851963512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p134081619203511">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row119231416163516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p20408171915355">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p19409191913352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p54095192356">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row12923191614353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p194091019123517">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p104096195357">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p194091619203516">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row59232166351"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p184091195356">subnet_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p3409201903519">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p194091519173510">Subnet name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row14923141610354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p840911196356">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p1640971963516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p184091819193511">Subnet ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row13923111614357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p5410121917353">cidr</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p134101319153510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p1341061920358">Subnet mask.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row199231169352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p341011933515">gateway</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p1641010194354">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0111__p14410131917355">Gateway.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1492341620352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0111__p6410181910352">security_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0111__p114101199358">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_0111__p9410319183514">Security group.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__response_MountConfig"></a><a name="response_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 15 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row7928151619352"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0111__p1741112193354">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_0111__p174111019103513">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_0111__p1341101915355">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row692991616359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0111__p11411319193517">mount_user</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0111__p10411181911350"><a href="#functiongraph_06_0111__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_0111__p19411121953510">User information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row392916163350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0111__p1941114195353">func_mounts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0111__p114111819123513">Array of <a href="#functiongraph_06_0111__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_0111__p741271943517">Mounted resources.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__response_MountUser"></a><a name="response_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_MountUser" frame="border" border="1" rules="all"><caption><b>Table 16 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0111__row293121613356"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0111__p7412519133519">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_0111__p54120197357">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_0111__p1041231993510">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row293116165354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0111__p54121819133513">user_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0111__p5412181953518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0111__p1241210197358">User ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16931171612355"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0111__p15412619153520">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_0111__p5412181993515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0111__p14413419173519">User group ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__response_FuncMount"></a><a name="response_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 17 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0111__row393651617351"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0111__p204131419123514">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_0111__p041361912355">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_0111__p541319196352">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row7936121673519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0111__p2413171973514">mount_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0111__p1413419113512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0111__p19413519133514">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_0111__row13936151613517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0111__p13413119143511">mount_resource</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0111__p841401917355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0111__p84149192354">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_0111__row20936616163516"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0111__p1541431983519">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_0111__p941441903510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0111__p11414131910356">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_0111__row119361016163519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0111__p13414141953519">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_0111__p104141190356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0111__p4414111943517">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_0111__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 18 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0111__row1794001683516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0111__p204141199353">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_0111__p19414219173510">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_0111__p20415101914355">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row149402164356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0111__p441511918358">concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0111__p1641511953517">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0111__p641515190358">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_0111__ul1241511199359"><li id="functiongraph_06_0111__li144151319193518">-1: The function has unlimited instances.</li><li id="functiongraph_06_0111__li94151319163511">0: The function is disabled.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1940716173511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0111__p2416131993514">concurrent_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0111__p1941671903517">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0111__p4416171923515">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_0111__response_Dependency"></a><a name="response_Dependency"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_Dependency" frame="border" border="1" rules="all"><caption><b>Table 19 </b>Dependency</caption><thead align="left"><tr id="functiongraph_06_0111__row15943111663519"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0111__p1441751920356">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_0111__p114170194353">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_0111__p10417719103510">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row17943141613352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p641710193352">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p164171019153510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p204176199354">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1494314160358"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p104171419133510">owner</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p14417151973517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p13417121983512">Domain ID of the dependency owner.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row16943191693512"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p1941717199358">link</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p194181819163515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p1441812193359">URL of the dependency on OBS.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10943181614350"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p5418719143511">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p184181819153513">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p2418161923519">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_0111__p124183192358">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0111__ul20418171917353"><li id="functiongraph_06_0111__li741871923518"><strong id="functiongraph_06_0111__b7418919173510">Java8</strong></li><li id="functiongraph_06_0111__li1741951914356"><strong id="functiongraph_06_0111__b64191319193516">Java11</strong></li><li id="functiongraph_06_0111__li134201119153511"><strong id="functiongraph_06_0111__b142021993513">Node.js6.10</strong></li><li id="functiongraph_06_0111__li742018195359"><strong id="functiongraph_06_0111__b164201119163510">Node.js8.10</strong></li><li id="functiongraph_06_0111__li1542017193351"><strong id="functiongraph_06_0111__b242041917357">Node.js10.16</strong></li><li id="functiongraph_06_0111__li4420319123512"><strong id="functiongraph_06_0111__b942051912352">Node.js12.13</strong></li><li id="functiongraph_06_0111__li18420919153515"><strong id="functiongraph_06_0111__b1842071923512">Node.js14.18</strong></li><li id="functiongraph_06_0111__li942001914359"><strong id="functiongraph_06_0111__b2420131913359">Python2.7</strong></li><li id="functiongraph_06_0111__li742112195357"><strong id="functiongraph_06_0111__b04213193350">Python3.6</strong></li><li id="functiongraph_06_0111__li19421131913355"><strong id="functiongraph_06_0111__b642114197354">Go1.8</strong></li><li id="functiongraph_06_0111__li1421181910353"><strong id="functiongraph_06_0111__b18421131973517">Go1.x</strong></li><li id="functiongraph_06_0111__li17421171933510"><strong id="functiongraph_06_0111__b13421181983513">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0111__li1542111910350"><strong id="functiongraph_06_0111__b542131911355">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0111__li1342161914358"><strong id="functiongraph_06_0111__b184213192355">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0111__li24211219183510"><strong id="functiongraph_06_0111__b1542141973513">Custom</strong></li><li id="functiongraph_06_0111__li17422219123518"><strong id="functiongraph_06_0111__b11422119133514">PHP7.3</strong></li><li id="functiongraph_06_0111__li13422181983510"><strong id="functiongraph_06_0111__b14422619163512">Python3.9</strong></li><li id="functiongraph_06_0111__li0422101973514"><strong id="functiongraph_06_0111__b742241915352">http</strong></li><li id="functiongraph_06_0111__li11422119193517"><strong id="functiongraph_06_0111__b16422141915358">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row119431316193518"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p84227199353">etag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p1042216195351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p12422141920353">MD5 value of a dependency.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1943131613357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p1642214194354">size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p542211197352">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p124231019183516">Dependency size.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row109432016183515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p4423101911357">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p64231191351">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p1142381923517">Dependence name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1694351610352"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p174237198354">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p18423111916358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p242301918356">Dependency description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1594410168354"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p194246195353">file_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p74241919113516">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p19424131953516">File name of a dependency package (ZIP).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row3944616203513"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p1424161903512">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p1142414194358">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p184241319143515">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row29441316163514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p34241019183514">dep_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p11424619133515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p19424141914355">Dependency ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row14944101612353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0111__p44241719203514">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0111__p124241919153510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0111__p144251619103516">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0111__response_CustomImage"></a><a name="response_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 20 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0111__row195491693511"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0111__p6425119143516">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_0111__p1642610190356">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_0111__p11426191918351">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row795451618356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p3426141953517">enabled</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p18426151943511">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p1842651933515">Whether to enable this feature.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row5954131623519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p1942641953516">image</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p15426151963514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p1542691912354">Image address.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1295414160356"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p54265193358">command</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p124261719203514">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p84271119143510">Command for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row395521683511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p18427131916354">args</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p1042791933518">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p154271819123513">Command line parameter for starting a container image.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row39551016103517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p1242731943511">working_dir</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p1942716198356">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p44270191351">Working directory of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row795501663514"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p7427201916354">uid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p8427141911359">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p10427121911354">User ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row2955416123511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0111__p24271819143515">gid</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0111__p042761933517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0111__p842820193352">User group ID of an image container.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0111__p642871923512"><strong id="functiongraph_06_0111__b134282195356">Status code: 400</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 21 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row15961131683516"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0111__p174281219133517">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_0111__p442961915356">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_0111__p1942951919359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row9961121611357"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0111__p542913190356">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0111__p74297196355">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0111__p1042911914353">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row10961111613515"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0111__p144291919163516">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0111__p16429161915358">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0111__p8429131910351">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0111__p104301619153514"><strong id="functiongraph_06_0111__b6430161913514">Status code: 401</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__table139631316193512" frame="border" border="1" rules="all"><caption><b>Table 22 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row29631316113510"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="functiongraph_06_0111__p943071915350">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_0111__p54301119193519">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_0111__p114301919143518">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row2096321653519"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0111__p4431201913358">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0111__p1143121973517">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0111__p24314194353">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row3963121612359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0111__p114318196354">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0111__p1043151963510">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0111__p17431161913519">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0111__p44311619123520"><strong id="functiongraph_06_0111__b204312195357">Status code: 403</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__table2967101614359" frame="border" border="1" rules="all"><caption><b>Table 23 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row896711673513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="functiongraph_06_0111__p16432131923516">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_0111__p17432101912359">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_0111__p11432219183518">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row16967141673511"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0111__p144324194355">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0111__p0432201913515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0111__p18432101916359">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1796721643510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0111__p3432191923518">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0111__p15432161943511">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0111__p11432019113516">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0111__p643212196354"><strong id="functiongraph_06_0111__b84321819193511">Status code: 404</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__table2969916173515" frame="border" border="1" rules="all"><caption><b>Table 24 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row1997061612358"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="functiongraph_06_0111__p11433201993518">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_0111__p13433101993511">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_0111__p3433191973510">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row149701716183510"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0111__p94339197357">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0111__p114331419133515">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0111__p04331194357">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row209705169353"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0111__p1243316193354">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0111__p543315194352">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0111__p1443341953511">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0111__p1343351917356"><strong id="functiongraph_06_0111__b44343190350">Status code: 500</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__table10972161643511" frame="border" border="1" rules="all"><caption><b>Table 25 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0111__row2972161693513"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.1"><p id="functiongraph_06_0111__p743491910352">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_0111__p243411913514">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_0111__p143401911356">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row8972616153517"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0111__p7434101914355">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0111__p164351519143512">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0111__p443518194352">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row99729160359"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0111__p44351319193516">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0111__p184351319143520">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0111__p04351219193520">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section16435719123519"><h4 class="sectiontitle">Example Requests</h4><ul id="functiongraph_06_0111__ul14435219173514"><li id="functiongraph_06_0111__li3435121920358">Modify the configuration of Node.js function fgsTest to change the memory to 768 MB and timeout to 40s. Add environment variable host and mount a disk.<pre class="screen" id="functiongraph_06_0111__screen1243614192353">PUT https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/config
|
||
|
||
{
|
||
"func_name" : "fgsTest",
|
||
"handler" : "index.handler",
|
||
"memory_size" : 768,
|
||
"user_data" : "{\"host\":\"192.168.0.1\"}",
|
||
"runtime" : "Node.js6.10",
|
||
"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"
|
||
} ]
|
||
},
|
||
"timeout" : 40
|
||
}</pre>
|
||
</li><li id="functiongraph_06_0111__li3437919163513">Modify the GPU configuration of a custom runtime function to change the GPU memory to 1 GB and memory size to 4 GB.<pre class="screen" id="functiongraph_06_0111__screen8437161983517">PUT https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/config
|
||
|
||
{
|
||
"func_name" : "test_GPU",
|
||
"handler" : "bootstrap",
|
||
"memory_size" : 4096,
|
||
"runtime" : "Custom",
|
||
"timeout" : 40,
|
||
"gpu_memory" : 1024
|
||
}</pre>
|
||
</li></ul>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section7438121963513"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0111__p84389194353"><strong id="functiongraph_06_0111__b19438819123513">Status code: 200</strong></p>
|
||
<p id="functiongraph_06_0111__p843815193352">OK</p>
|
||
<pre class="screen" id="functiongraph_06_0111__screen1443819195355">{
|
||
"func_id" : "0d075978-5a54-4ee1-8e24-ff5bd070xxxx",
|
||
"resource_id" : "0d075978-5a54-4ee1-8e24-ff5bd070xxxx:test",
|
||
"func_urn" : "urn:fss:xxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test",
|
||
"func_name" : "test",
|
||
"domain_id" : "14ee2e3501124efcbca7998baa24xxxx",
|
||
"namespace" : "46b6f338fc3445b8846c71dfb1fbxxxx",
|
||
"project_name" : "xxxxxx",
|
||
"package" : "default",
|
||
"runtime" : "Node.js6.10",
|
||
"timeout" : 3,
|
||
"handler" : "fssExampleCsharp2.1::fssExampleCsharp21.Program::MyFunc",
|
||
"memory_size" : 128,
|
||
"cpu" : 300,
|
||
"code_type" : "inline",
|
||
"code_filename" : "index.js",
|
||
"code_size" : 272,
|
||
"user_data" : "{\"host\":\"192.168.0.1\"}",
|
||
"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"
|
||
} ]
|
||
},
|
||
"digest" : "faa825575c45437cddd4e369bea69893bcbe195d478178462ad90984fe72993f3f59d15f41c5373f807f3e05fb9af322c55dabeb16565c386e402413458e6068",
|
||
"version" : "latest",
|
||
"ephemeral_storage" : 512,
|
||
"image_name" : "latest-191025153727@zehht",
|
||
"last_modified" : "2019-10-25 15:37:27",
|
||
"strategy_config" : {
|
||
"concurrency" : 0
|
||
}
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section16441171983517"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0111__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0111__row189861416163519"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0111__p14441111983519">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_0111__p744121912359">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0111__row12986016113518"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p1744181915355">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p144410192356">OK</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row18987116163519"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p644118193359">400</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p74414194354">Bad request.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row49871316103512"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p1442161917352">401</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p12442151910355">Unauthorized.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row1098791615356"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p164428193353">403</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p9442121912351">Forbidden.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row898751612359"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p1344214194355">404</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p8442191993517">Not found.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0111__row3987101693512"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0111__p1044212192352">500</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0111__p1344220194356">Internal server error.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0111__section134429197354"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0111__p1544318192355">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>
|
||
|