forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
1039 lines
84 KiB
HTML
1039 lines
84 KiB
HTML
<a name="functiongraph_06_0144"></a><a name="functiongraph_06_0144"></a>
|
||
|
||
<h1 class="topictitle1">Publishing a Function Version</h1>
|
||
<div id="body7388143820535"><div class="section" id="functiongraph_06_0144__section153881138185317"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0144__p193888383537">This API is used to publish a function version.</p>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section2390203810533"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0144__p8391193810532">POST /v2/{project_id}/fgs/functions/{function_urn}/versions</p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__table18394238115310" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row153911938175320"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0144__p6394203865314">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_0144__p13395238195315">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_0144__p2395938175315">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_0144__p12396738205320">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row1392638155319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0144__p3396238135315">project_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0144__p14397163835314">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0144__p12397838125311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0144__p839863865318">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row4392103818539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0144__p113991138105319">function_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0144__p1840083818535">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0144__p1940015389537">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0144__p3401143811531">Function URN. For details, see the function model description.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section7402143816538"><h4 class="sectiontitle">Request Parameters</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row16402153811539"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0144__p104041938105314">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_0144__p3404203813533">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_0144__p340503810531">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_0144__p74051338185318">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row1403173813532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0144__p9406173885314">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_0144__p24075384532">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0144__p740723814530">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0144__p184081238165315">User token.</p>
|
||
<p id="functiongraph_06_0144__p11408193810539">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_0144__row440383875316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0144__p1240815382533">Content-Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0144__p04094382531">Yes</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0144__p540916389536">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0144__p114101838115311">Message body type (format).</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__request_CreateFunctionVersionRequestBody" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row17416183895318"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="functiongraph_06_0144__p141893810534">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_0144__p144197384536">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_0144__p17419153855313">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_0144__p34205387534">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row4417113885312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0144__p4420163855314">digest</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0144__p842143814533">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0144__p1342113818532">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0144__p142213813531">MD5 key.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row20417123895314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0144__p2422163818531">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0144__p1242314380531">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0144__p6423133845311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0144__p15424738105311">Function version.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row154171338195320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="functiongraph_06_0144__p442553814536">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="functiongraph_06_0144__p942593835310">No</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="functiongraph_06_0144__p10426173895319">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="functiongraph_06_0144__p242873817533">Version description.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section13429938105315"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0144__p11430138125319"><strong id="functiongraph_06_0144__b10430123813532">Status code: 200</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_CreateFunctionVersionResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row5432113817537"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0144__p343763845314">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_0144__p20438173818534">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_0144__p14401438165318">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row443243813534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p114411638165314">func_urn</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p344211387531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p19442103814536">Function URN.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row2432238175316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p04431538185318">func_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p10443133810534">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p144410388538">Function name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row114321538155318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p1444473875315">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p244515388530">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p134457388536">Domain ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1843214382539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p24465387538">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p3446238125316">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p104471238145311">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1343293810538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p124471538125314">project_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p84481638175320">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p44481838105316">Project name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row543393819537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p16448183815311">package</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p644903885314">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p4449143895311">Group to which the function belongs. This field is defined to group functions.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row2043310389537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p6450938115315">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p10450738145310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p1645113805315">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_0144__p13451133818530">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0144__ul134521938115313"><li id="functiongraph_06_0144__li17452143895313"><strong id="functiongraph_06_0144__b14452113817531">Java8</strong></li><li id="functiongraph_06_0144__li745343825313"><strong id="functiongraph_06_0144__b1045310382539">Java11</strong></li><li id="functiongraph_06_0144__li345315384535"><strong id="functiongraph_06_0144__b84548387534">Node.js6.10</strong></li><li id="functiongraph_06_0144__li9454133820532"><strong id="functiongraph_06_0144__b3455193811536">Node.js8.10</strong></li><li id="functiongraph_06_0144__li94550383539"><strong id="functiongraph_06_0144__b9456173818539">Node.js10.16</strong></li><li id="functiongraph_06_0144__li3456173825320"><strong id="functiongraph_06_0144__b1456123845316">Node.js12.13</strong></li><li id="functiongraph_06_0144__li1245603845315"><strong id="functiongraph_06_0144__b0457123895312">Node.js14.18</strong></li><li id="functiongraph_06_0144__li154571438145319"><strong id="functiongraph_06_0144__b8457738135312">Python2.7</strong></li><li id="functiongraph_06_0144__li194572382536"><strong id="functiongraph_06_0144__b745863817539">Python3.6</strong></li><li id="functiongraph_06_0144__li1945833875316"><strong id="functiongraph_06_0144__b145813387535">Go1.8</strong></li><li id="functiongraph_06_0144__li16458133819537"><strong id="functiongraph_06_0144__b14459538115315">Go1.x</strong></li><li id="functiongraph_06_0144__li114591238195318"><strong id="functiongraph_06_0144__b20459038155311">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0144__li7459193835319"><strong id="functiongraph_06_0144__b1346016380537">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0144__li104604384534"><strong id="functiongraph_06_0144__b746053815532">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0144__li8461173812535"><strong id="functiongraph_06_0144__b1246163818538">Custom</strong></li><li id="functiongraph_06_0144__li19461173805313"><strong id="functiongraph_06_0144__b146114380535">PHP7.3</strong></li><li id="functiongraph_06_0144__li184611038165313"><strong id="functiongraph_06_0144__b1646273813539">Python3.9</strong></li><li id="functiongraph_06_0144__li9462103815320"><strong id="functiongraph_06_0144__b134621838145312">http</strong></li><li id="functiongraph_06_0144__li114629381533"><strong id="functiongraph_06_0144__b1846363812535">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row04339389531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p134631938185319">timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p19464938135311">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p646414381538">Maximum duration the function can be executed. Value range: 3s–259,200s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row24331238135310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p164651638125311">handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p104651381538">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p4466438175313">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
|
||
<p id="functiongraph_06_0144__p1846614382539">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_0144__row1443313384539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p13467153818537">memory_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p16467438125314">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p9468123865318">Memory consumed by a function.</p>
|
||
<p id="functiongraph_06_0144__p14681338205316">Unit: MB.</p>
|
||
<p id="functiongraph_06_0144__p13469123865315">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
|
||
<p id="functiongraph_06_0144__p1470338125313">The value ranges from 128 to 4096.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row15433103810535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p12470163875319">cpu</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p847103835319">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p1547153865314">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_0144__row143312384532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p104722384537">code_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p647203811539">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p247353810538">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_0144__p104741438115316">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0144__ul447412381535"><li id="functiongraph_06_0144__li34741838145319"><strong id="functiongraph_06_0144__b1747523875313">inline</strong></li><li id="functiongraph_06_0144__li1747553815538"><strong id="functiongraph_06_0144__b1747516381531">zip</strong></li><li id="functiongraph_06_0144__li1647617383537"><strong id="functiongraph_06_0144__b2476163885310">obs</strong></li><li id="functiongraph_06_0144__li347683813534"><strong id="functiongraph_06_0144__b947713855311">jar</strong></li><li id="functiongraph_06_0144__li1747713819532"><strong id="functiongraph_06_0144__b1147712383539">Custom-Image-Swr</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row4433123895310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p447819389535">code_url</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p847843835315">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p64791438105314">If code_type is set to obs, enter the OBS URL of the function code package. If code_type is not set to obs, leave this parameter blank.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row64338383539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p5480203813535">code_filename</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p104811938195312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p24811383530">Name of a function file. This parameter is mandatory only when code_type is set to jar or zip.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row15434103865311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p9482103813530">code_size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p15482183845311">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p11483173825320">Code size in bytes.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1943443825313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p0483163814531">user_data</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p19484143835313">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p5485238165311">Name/Value information defined for the function. These are parameters used in the function. For example, if a function needs to access a host, define Host={host_ip}. You can define a maximum of 20 such parameters, and their total length cannot exceed 4 KB.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row84341838155318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p44851238125315">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_0144__p10486838175313">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p648673810534">User-defined name/value to be encrypted.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1943418389531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p194871238175314">digest</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p4488638135311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p1948817389534">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row9434238175315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p2489133895311">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p74909384533">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p2049103818539">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_0144__row5434183895313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p18491038195320">image_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p34921538145313">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p164921538135315">Internal identifier of a function version.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row6434338165315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p17493438135316">xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p184931638205312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p249418387536">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_0144__row94341138185317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p8494183815539">app_xrole</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p14495103845315">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p4495173813535">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_0144__row143413816530"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p649611388530">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p154961938115320">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p74971338185317">Function description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row6434738205312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p15497103815319">version_description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p14981838145310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p74981538185312">Version description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row154355386535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p24991838145316">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p0499173875312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p3500838125316">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row243563865310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p10500183805318">func_vpc</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p1550103865311"><a href="#functiongraph_06_0144__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_0144__p8501238115311">VPC configuration. An agency with VPC permissions must be configured for the function.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row8435173815537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p125041238135314">mount_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p205046385533"><a href="#functiongraph_06_0144__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_0144__p7505193875318">Mounting configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row743563820534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p165061438195319">strategy_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p2506438145317"><a href="#functiongraph_06_0144__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_0144__p17507103819532">Function policy configuration.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row134351938135311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p1450863816531">dependencies</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p1450873817533">Array of <a href="#functiongraph_06_0144__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_0144__p3509163815315">Dependency packages.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row154354382534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p165108389530">initializer_handler</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p1651073812539">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p1951193825314">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_0144__row1043513385537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p2051123814530">initializer_timeout</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p10512138145318">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p85131384530">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_0144__row1343563885319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p4513338195317">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_0144__p5513133819534">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p8514638105312">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_0144__row1643583812539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p95142385531">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_0144__p15515133811534">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p551583805319">Maximum duration the function can be initialized. Value range: 1s–90s.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row10435338155317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p11516338115316">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_0144__p3516338125311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p451719388537">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row164363386533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p65171538185318">long_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p051811388531">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p19519638175314">Whether to allow a long timeout.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row13436338135320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p9519203813531">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_0144__p145208389531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p7520183817539">Log group ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row843623865317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p1436523919533">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_0144__p1365123913539">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p2036514394534">Log stream ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row5436938205313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p18366439125315">type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p133661339185311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p1036623915313">v2 indicates an official version, and v1 indicates a deprecated version.</p>
|
||
<p id="functiongraph_06_0144__p936643995316">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0144__ul133661439135320"><li id="functiongraph_06_0144__li936623905310"><strong id="functiongraph_06_0144__b17367173919538">v1</strong></li><li id="functiongraph_06_0144__li63671539195319"><strong id="functiongraph_06_0144__b15367203920539">v2</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1043616387531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p436717390538">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_0144__p10367039135318">Boolean</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p53674392533">Whether to enable dynamic memory allocation.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row184369389532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0144__p03671239185318">function_async_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0144__p8368153915538"><a href="#functiongraph_06_0144__response_FunctionAsyncConfig">FunctionAsyncConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0144__p113681039195310">Return struct of the asynchronous execution notification settings.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_FuncVpc"></a><a name="response_FuncVpc"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_FuncVpc" frame="border" border="1" rules="all"><caption><b>Table 5 </b>FuncVpc</caption><thead align="left"><tr id="functiongraph_06_0144__row185331838165319"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0144__p19368173917537">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_0144__p73681339195313">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_0144__p236920398537">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row453473817533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p83691139185310">domain_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p153691939175310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p536973905317">Domain name ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row175342384539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p6369639155314">namespace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p13369173945312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p113709399535">Project ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row053493815313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p1637033919531">vpc_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p16370193916531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p537033913537">VPC name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row0534143825313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p537013913532">vpc_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p15370113955311">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p9371739155317">VPC ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1153403815318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p133714395531">subnet_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p11371183912533">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p337173955311">Subnet name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row19534133875319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p737103915538">subnet_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p4371153945317">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p937133920531">Subnet ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row7534143865320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p1637283935317">cidr</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p1337273917534">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p53721139155316">Subnet mask.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row15534143814539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p637273905314">gateway</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p63721939175320">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0144__p1237243917532">Gateway.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1853483865318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0144__p9373839155315">security_groups</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0144__p537316395532">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_0144__p133739392536">Security group.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_MountConfig"></a><a name="response_MountConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_MountConfig" frame="border" border="1" rules="all"><caption><b>Table 6 </b>MountConfig</caption><thead align="left"><tr id="functiongraph_06_0144__row6553193816535"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0144__p133739396533">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_0144__p153731539125319">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_0144__p5374439185316">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row18553338125316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0144__p3374113935319">mount_user</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0144__p18374123915536"><a href="#functiongraph_06_0144__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_0144__p123741639135310">User information.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row05541381532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0144__p18374163910538">func_mounts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0144__p13741239135310">Array of <a href="#functiongraph_06_0144__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_0144__p15375173935317">Mounted resources.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_MountUser"></a><a name="response_MountUser"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_MountUser" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MountUser</caption><thead align="left"><tr id="functiongraph_06_0144__row655883855320"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0144__p12375183945311">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_0144__p037533985314">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_0144__p337553916539">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row11558438175311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0144__p15376173955317">user_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0144__p11376183910539">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0144__p43760396538">User ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row8558163835311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0144__p13376163905314">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_0144__p53761239115318">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0144__p4376173905315">User group ID, a non-0 integer from –1 to 65534.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_FuncMount"></a><a name="response_FuncMount"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_FuncMount" frame="border" border="1" rules="all"><caption><b>Table 8 </b>FuncMount</caption><thead align="left"><tr id="functiongraph_06_0144__row9562183865311"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0144__p18377239155312">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_0144__p0377153914537">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_0144__p1377173995312">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row256263855314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0144__p6377143965312">mount_type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0144__p837883916539">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0144__p2037819393530">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_0144__row19562238175312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0144__p12378123925316">mount_resource</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0144__p637883917538">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0144__p1737813985318">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_0144__row1562153814535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0144__p113781539165317">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_0144__p337953910536">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0144__p33791239145317">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_0144__row356283810537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0144__p23791039165316">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_0144__p7379153995312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0144__p113791139175311">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_0144__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 9 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0144__row9569538175310"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0144__p163807399538">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_0144__p1538073945318">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_0144__p123801139165313">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row15691838145315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0144__p33800394531">concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0144__p163805395531">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0144__p53801839155316">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_0144__ul1638116390531"><li id="functiongraph_06_0144__li19381143912531">-1: The function has unlimited instances.</li><li id="functiongraph_06_0144__li938118399539">0: The function is disabled.</li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row9569183810538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0144__p15381123905319">concurrent_num</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0144__p83811239175311">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0144__p113811639175311">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_0144__response_Dependency"></a><a name="response_Dependency"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_Dependency" frame="border" border="1" rules="all"><caption><b>Table 10 </b>Dependency</caption><thead align="left"><tr id="functiongraph_06_0144__row45747384534"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0144__p153825399534">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_0144__p3382103915317">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_0144__p53821939115314">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row1857417388532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p938223975312">id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p138313395536">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p938313925317">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1957483820537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p15383133935312">owner</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p133833398536">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p1383183915311">Domain ID of the dependency owner.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row105748383539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p33831339185315">link</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p7383103945310">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p1938493911538">URL of the dependency on OBS.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row3575153814534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p18384173975313">runtime</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p6384153912535">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p83841396534">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_0144__p11384183920532">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0144__ul1838413925312"><li id="functiongraph_06_0144__li43841539125318"><strong id="functiongraph_06_0144__b143851639195310">Java8</strong></li><li id="functiongraph_06_0144__li16385193912538"><strong id="functiongraph_06_0144__b938513935313">Java11</strong></li><li id="functiongraph_06_0144__li12385939165315"><strong id="functiongraph_06_0144__b153851939115314">Node.js6.10</strong></li><li id="functiongraph_06_0144__li143851439195317"><strong id="functiongraph_06_0144__b4385103965315">Node.js8.10</strong></li><li id="functiongraph_06_0144__li1038610396530"><strong id="functiongraph_06_0144__b938618397536">Node.js10.16</strong></li><li id="functiongraph_06_0144__li438620393530"><strong id="functiongraph_06_0144__b123861739145317">Node.js12.13</strong></li><li id="functiongraph_06_0144__li173861639115312"><strong id="functiongraph_06_0144__b14386639155315">Node.js14.18</strong></li><li id="functiongraph_06_0144__li3386183995311"><strong id="functiongraph_06_0144__b17386183916538">Python2.7</strong></li><li id="functiongraph_06_0144__li4387439155314"><strong id="functiongraph_06_0144__b2387339105312">Python3.6</strong></li><li id="functiongraph_06_0144__li13387339185315"><strong id="functiongraph_06_0144__b1838713919536">Go1.8</strong></li><li id="functiongraph_06_0144__li1738773912534"><strong id="functiongraph_06_0144__b73871339105318">Go1.x</strong></li><li id="functiongraph_06_0144__li238703915317"><strong id="functiongraph_06_0144__b13875390539">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0144__li43881439115314"><strong id="functiongraph_06_0144__b3388143916538">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0144__li16388143995310"><strong id="functiongraph_06_0144__b838883965313">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0144__li6388113914532"><strong id="functiongraph_06_0144__b1638873995315">Custom</strong></li><li id="functiongraph_06_0144__li11388203985315"><strong id="functiongraph_06_0144__b0388173975313">PHP7.3</strong></li><li id="functiongraph_06_0144__li1638933945315"><strong id="functiongraph_06_0144__b193897395538">Python3.9</strong></li><li id="functiongraph_06_0144__li338913912538"><strong id="functiongraph_06_0144__b16389239155318">http</strong></li><li id="functiongraph_06_0144__li538953919537"><strong id="functiongraph_06_0144__b13891039115314">Custom Image</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row13575123805314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p11389239125310">etag</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p13389639125316">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p93905398538">MD5 value of a dependency.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1957533812538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p63901439195314">size</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p18390163919534">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p3390193965317">Dependency size.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row10575103855318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p18390113975319">name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p1439073910531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p339011391537">Dependence name.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row165751438105319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p16391103965317">description</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p1139183955318">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p1539117393532">Dependency description.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row9575638165314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p2391133913538">file_name</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p1539153925317">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p1439193913539">File name of a dependency package (ZIP).</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row2575193810533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p1639203975315">version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p5392539165317">Long</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p1439283935315">Dependency version ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row957512382532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p3392163920538">dep_id</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p23921339135318">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p4392539175311">Dependency ID.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1557583855318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0144__p133921339145320">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0144__p839383918532">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0144__p17393163914533">Time when the function was last updated.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_FunctionAsyncConfig"></a><a name="response_FunctionAsyncConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_FunctionAsyncConfig" frame="border" border="1" rules="all"><caption><b>Table 11 </b>FunctionAsyncConfig</caption><thead align="left"><tr id="functiongraph_06_0144__row4595338155317"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.10.2.4.1.1"><p id="functiongraph_06_0144__p1039320396531">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_0144__p1139383905312">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_0144__p1839433918539">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row5596163895317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0144__p20394153911539">max_async_event_age_in_seconds</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0144__p11394103925312">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0144__p3394839155320">Maximum validity period of a message. Value range: 60–86,400. Unit: second.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row125967380537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0144__p1039415398539">max_async_retry_attempts</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0144__p12394439165316">Integer</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0144__p103951539125316">Maximum number of retry attempts to be made if asynchronous invocation fails. Default value: 3. Value range: 0–8.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row135971438175315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0144__p1239573918539">destination_config</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0144__p1395133911536"><a href="#functiongraph_06_0144__response_FuncAsyncDestinationConfig">FuncAsyncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0144__p639515393531">Asynchronous invocation target.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row10597538125312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0144__p12395153965319">created_time</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0144__p33951339165317">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0144__p939653918539">Time when asynchronous execution notification was configured.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1159712388532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.1 "><p id="functiongraph_06_0144__p2039615399532">last_modified</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.10.2.4.1.2 "><p id="functiongraph_06_0144__p17396133911533">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.10.2.4.1.3 "><p id="functiongraph_06_0144__p143961539115310">Time when the asynchronous execution notification settings were last modified.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_FuncAsyncDestinationConfig"></a><a name="response_FuncAsyncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_FuncAsyncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 12 </b>FuncAsyncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0144__row186056384538"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0144__p1397153925313">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.2"><p id="functiongraph_06_0144__p11397839185317">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.11.2.4.1.3"><p id="functiongraph_06_0144__p14397153917534">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row1560553815315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0144__p12397153918531">on_success</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0144__p339763925314"><a href="#functiongraph_06_0144__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0144__p1398039175319">Target to be invoked when a function is successfully executed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row126051538125319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0144__p5398103917532">on_failure</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0144__p153981339115317"><a href="#functiongraph_06_0144__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0144__p839963975320">Target to be invoked when a function fails to be executed due to a system error or an internal error.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
|
||
<div class="tablenoborder"><a name="functiongraph_06_0144__response_FuncDestinationConfig"></a><a name="response_FuncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_FuncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 13 </b>FuncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0144__row96101138115317"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.12.2.4.1.1"><p id="functiongraph_06_0144__p10399153945315">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_0144__p1539913945313">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_0144__p33993395539">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row16102038165310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0144__p8400143918535">destination</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0144__p9400183919537">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0144__p44006391532">Object type.</p>
|
||
<ul id="functiongraph_06_0144__ul24001439185317"><li id="functiongraph_06_0144__li124001399535">OBS</li><li id="functiongraph_06_0144__li2400143915537">SMN</li><li id="functiongraph_06_0144__li6401239175319">FunctionGraph</li></ul>
|
||
<p id="functiongraph_06_0144__p144011539195314">Enumeration values:</p>
|
||
<ul id="functiongraph_06_0144__ul2401173915315"><li id="functiongraph_06_0144__li64019394538"><strong id="functiongraph_06_0144__b164013395539">OBS</strong></li><li id="functiongraph_06_0144__li11402193985317"><strong id="functiongraph_06_0144__b1340273916534">SMN</strong></li><li id="functiongraph_06_0144__li34025390532"><strong id="functiongraph_06_0144__b164029397532">FunctionGraph</strong></li></ul>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row161093811535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.1 "><p id="functiongraph_06_0144__p540212392533">param</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.12.2.4.1.2 "><p id="functiongraph_06_0144__p194034397532">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.12.2.4.1.3 "><p id="functiongraph_06_0144__p10403143912535">Parameters (in JSON format) corresponding to the target service.</p>
|
||
<ul id="functiongraph_06_0144__ul174031139115320"><li id="functiongraph_06_0144__li74031139105311">OBS: Parameters related to the bucket name, object directory prefix, and object expiration time are included. The object expiration time ranges from 0 to 365 days. If the value is 0, the object will not expire.</li><li id="functiongraph_06_0144__li5403153918539">SMN: The topic_urn parameter is included.</li><li id="functiongraph_06_0144__li1440310392537">FunctionGraph: The func_urn parameter is included.</li></ul>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0144__p1840463917538"><strong id="functiongraph_06_0144__b3404143975315">Status code: 400</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row12619163815318"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.14.2.4.1.1"><p id="functiongraph_06_0144__p94048392530">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_0144__p7404203975311">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_0144__p1040543985310">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row1619938165317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0144__p2405193914538">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0144__p19405103917532">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0144__p840543914535">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row20619163875320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.1 "><p id="functiongraph_06_0144__p740633919539">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.14.2.4.1.2 "><p id="functiongraph_06_0144__p9406339125312">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.14.2.4.1.3 "><p id="functiongraph_06_0144__p7406173920535">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0144__p134062394530"><strong id="functiongraph_06_0144__b16406203995320">Status code: 401</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__table16623103815534" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row1162353814532"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.16.2.4.1.1"><p id="functiongraph_06_0144__p124075399539">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_0144__p1840720393533">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_0144__p740793910539">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row16624438175310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0144__p10407439195319">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0144__p10407173935313">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0144__p840873919538">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row19624338175318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.1 "><p id="functiongraph_06_0144__p540843995317">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.16.2.4.1.2 "><p id="functiongraph_06_0144__p1940833910532">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.16.2.4.1.3 "><p id="functiongraph_06_0144__p2408103911534">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0144__p1408123920534"><strong id="functiongraph_06_0144__b1540813399530">Status code: 403</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__table15628738165314" frame="border" border="1" rules="all"><caption><b>Table 16 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row9629123814536"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.18.2.4.1.1"><p id="functiongraph_06_0144__p3409439145310">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_0144__p1840910397531">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_0144__p740913945320">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row362963855316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0144__p0409173911535">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0144__p34091398533">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0144__p1941083945311">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row7629173815312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.1 "><p id="functiongraph_06_0144__p184101139125311">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.18.2.4.1.2 "><p id="functiongraph_06_0144__p0410139135315">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.18.2.4.1.3 "><p id="functiongraph_06_0144__p124101139165314">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0144__p14410639175315"><strong id="functiongraph_06_0144__b124101739175311">Status code: 404</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__table12633103835314" frame="border" border="1" rules="all"><caption><b>Table 17 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row1163317383533"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.20.2.4.1.1"><p id="functiongraph_06_0144__p1041119393531">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_0144__p1741173935312">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_0144__p144114396531">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row2633113811537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0144__p1641183911538">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0144__p2041163918531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0144__p16411163914533">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1563415389535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.1 "><p id="functiongraph_06_0144__p19412839105311">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.20.2.4.1.2 "><p id="functiongraph_06_0144__p15412203913531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.20.2.4.1.3 "><p id="functiongraph_06_0144__p541212396535">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="functiongraph_06_0144__p641223975312"><strong id="functiongraph_06_0144__b541243935310">Status code: 500</strong></p>
|
||
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__table76371538185311" frame="border" border="1" rules="all"><caption><b>Table 18 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0144__row17638938155313"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.1"><p id="functiongraph_06_0144__p3413153912532">Parameter</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.22.2.4.1.2"><p id="functiongraph_06_0144__p17413133917534">Type</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.22.2.4.1.3"><p id="functiongraph_06_0144__p1241303910537">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row19638163885318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0144__p1541323955320">error_code</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0144__p94131639155319">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0144__p04131639135318">Error code.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row96389384538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.1 "><p id="functiongraph_06_0144__p2413123918535">error_msg</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.22.2.4.1.2 "><p id="functiongraph_06_0144__p1141463916531">String</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.22.2.4.1.3 "><p id="functiongraph_06_0144__p8414239135316">Error message.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section3414193995313"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0144__p641413925317">Publish a function version.</p>
|
||
<pre class="screen" id="functiongraph_06_0144__screen10414193935310">POST https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/versions
|
||
|
||
{
|
||
"version" : "v1",
|
||
"description" : "v1"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section1941512394533"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0144__p641563914530"><strong id="functiongraph_06_0144__b1141683912533">Status code: 200</strong></p>
|
||
<p id="functiongraph_06_0144__p1416173965320">OK</p>
|
||
<pre class="screen" id="functiongraph_06_0144__screen741620392534">{
|
||
"func_urn" : "urn:fss:xxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test",
|
||
"func_name" : "test",
|
||
"domain_id" : "14ee2e3501124efcbca7998baa24xxxx",
|
||
"namespace" : "46b6f338fc3445b8846c71dfb1fbxxxx",
|
||
"project_name" : "xxxxx",
|
||
"package" : "default",
|
||
"runtime" : "Node.js6.10",
|
||
"timeout" : 3,
|
||
"handler" : "test.handler",
|
||
"memory_size" : 128,
|
||
"cpu" : 300,
|
||
"code_type" : "inline",
|
||
"code_filename" : "inline.js",
|
||
"code_size" : 272,
|
||
"digest" : "faa825575c45437cddd4e369bea69893bcbe195d478178462ad90984fe72993f3f59d15f41c5373f807f3e05fb9af322c55dabeb16565c386e402413458e6068",
|
||
"version" : "latest",
|
||
"image_name" : "latest-191025153727@zehht",
|
||
"last_modified" : "2019-10-25 15:37:27",
|
||
"strategy_config" : {
|
||
"concurrency" : 0
|
||
}
|
||
}</pre>
|
||
<p id="functiongraph_06_0144__p13419193918531"><strong id="functiongraph_06_0144__b1241923945311">Status code: 404</strong></p>
|
||
<p id="functiongraph_06_0144__p14419193919534">Not found.</p>
|
||
<pre class="screen" id="functiongraph_06_0144__screen14191639115318">{
|
||
"error_code" : "FSS.1051",
|
||
"error_msg" : "Not found the function"
|
||
}</pre>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section104201339125315"><h4 class="sectiontitle">Status Codes</h4>
|
||
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0144__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0144__row7662638135310"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0144__p142083915534">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_0144__p4420439175315">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="functiongraph_06_0144__row46631387533"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p174201439145319">200</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p64205399531">OK</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row1866373812537"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p1642193911537">400</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p642173914532">Bad request.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row66634383536"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p342112399533">401</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p1421839195316">Unauthorized.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row12663103816536"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p5421039195317">403</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p124211439205312">Forbidden.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row5663838115317"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p134226391530">404</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p174225396535">Not found.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="functiongraph_06_0144__row76631938145317"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0144__p194220399531">500</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0144__p6422143955314">Internal server error.</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<div class="section" id="functiongraph_06_0144__section11422439205310"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0144__p542211397537">See <a href="ErrorCode.html">Error Codes</a>.</p>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="VersionsandAliases.html">Versions and Aliases</a></div>
|
||
</div>
|
||
</div>
|
||
|