doc-exports/docs/fg/api-ref/functiongraph_06_0113.html
Chen, Junjie cb4b0ade33 FG API 20240924 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-10-28 18:55:02 +00:00

855 lines
68 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

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

<a name="functiongraph_06_0113"></a><a name="functiongraph_06_0113"></a>
<h1 class="topictitle1">Querying the Versions of a Function</h1>
<div id="body2501038165317"><div class="section" id="functiongraph_06_0113__section9511386537"><h4 class="sectiontitle">Function</h4><p id="functiongraph_06_0113__p1552123895319">This API is used to query the versions of a function.</p>
</div>
<div class="section" id="functiongraph_06_0113__section1254938105312"><h4 class="sectiontitle">URI</h4><p id="functiongraph_06_0113__p1254338145314">GET /v2/{project_id}/fgs/functions/{function_urn}/versions</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table1456338185317" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row195523816537"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="functiongraph_06_0113__p10570386531">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_0113__p125763855316">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_0113__p458538175317">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_0113__p259738155310">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row10551038135312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0113__p259113812539">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0113__p106043845310">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0113__p136113381533">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0113__p1261163865314">Project ID. For details, see <a href="functiongraph_06_0260.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1455138175312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="functiongraph_06_0113__p10625388537">function_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="functiongraph_06_0113__p7631838135311">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="functiongraph_06_0113__p166516386537">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="functiongraph_06_0113__p12661238185310">Function URN. For details, see the function model description.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table12681138155317" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row166717383532"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="functiongraph_06_0113__p196973875315">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="functiongraph_06_0113__p15691138195310">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="functiongraph_06_0113__p770838135317">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="functiongraph_06_0113__p671143820534">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row8678383538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0113__p167293855314">marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0113__p1572438145313">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0113__p373103816538">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0113__p3747389531">Final record queried last time.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1767038185320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="functiongraph_06_0113__p175183817534">maxitems</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="functiongraph_06_0113__p128043818538">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="functiongraph_06_0113__p128143815313">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="functiongraph_06_0113__p168212380538">Maximum number of functions to obtain in a request.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0113__section1982123815533"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row1084183865312"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="functiongraph_06_0113__p1085103825316">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_0113__p58613812538">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_0113__p18633810539">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_0113__p58715386530">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row12841638195316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0113__p2088138205319">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_0113__p148983835311">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0113__p68933825318">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0113__p1590133814536">User token.</p>
<p id="functiongraph_06_0113__p14901438175312">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_0113__row168483816537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="functiongraph_06_0113__p991133805318">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="functiongraph_06_0113__p159143895318">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="functiongraph_06_0113__p1792133885310">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="functiongraph_06_0113__p79215386536">Message body type (format).</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0113__section99433815316"><h4 class="sectiontitle">Response Parameters</h4><p id="functiongraph_06_0113__p1295938115315"><strong id="functiongraph_06_0113__b1495153817532">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_ListFunctionVersionsResponseBody" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row696193895319"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="functiongraph_06_0113__p397538105311">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_0113__p8984383532">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_0113__p7981738145313">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row2961638175310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0113__p1399143835317">versions</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0113__p159911383531">Array of <a href="#functiongraph_06_0113__response_ListFunctionVersionResult">ListFunctionVersionResult</a> objects</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0113__p20100133814538">Version list.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1996183855313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0113__p81018381535">next_marker</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0113__p13101183885313">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0113__p20102163895319">Next record location.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row496238115312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="functiongraph_06_0113__p810213388532">count</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="functiongraph_06_0113__p1010343815532">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="functiongraph_06_0113__p210483865317">Total number of versions.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0113__response_ListFunctionVersionResult"></a><a name="response_ListFunctionVersionResult"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_ListFunctionVersionResult" frame="border" border="1" rules="all"><caption><b>Table 5 </b>ListFunctionVersionResult</caption><thead align="left"><tr id="functiongraph_06_0113__row1610613815312"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.4.2.4.1.1"><p id="functiongraph_06_0113__p2111238165319">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_0113__p1911223825311">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_0113__p711715389539">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1510614387531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p7118143855319">func_urn</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p5118113814534">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p131191385535">Function URN.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row91061038165312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p10120183813533">func_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p11120173815310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p10121103813532">Function name.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row0106193885314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p9122173865313">domain_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1122938175315">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p161231838185312">Domain ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row7106133811535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p15123143815536">namespace</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1124133813530">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p13124123855316">Project ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1110613812539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p512517388539">project_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p312503810536">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p61261938105312">Project name.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row310743811535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p212719380539">package</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p812719383535">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1012853812532">Group to which the function belongs. This field is defined to group functions.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row9107538135311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p512903815318">runtime</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p112923814539">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p413043855312">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_0113__p6130538205318">Enumeration values:</p>
<ul id="functiongraph_06_0113__ul1413153815319"><li id="functiongraph_06_0113__li1131133811533"><strong id="functiongraph_06_0113__b13131203817536">Java8</strong></li><li id="functiongraph_06_0113__li16132193895314"><strong id="functiongraph_06_0113__b613273875312">Java11</strong></li><li id="functiongraph_06_0113__li2132638125316"><strong id="functiongraph_06_0113__b1013319382538">Node.js6.10</strong></li><li id="functiongraph_06_0113__li7133203855315"><strong id="functiongraph_06_0113__b131336382532">Node.js8.10</strong></li><li id="functiongraph_06_0113__li1713313820532"><strong id="functiongraph_06_0113__b1713418387539">Node.js10.16</strong></li><li id="functiongraph_06_0113__li2134138145317"><strong id="functiongraph_06_0113__b171342385531">Node.js12.13</strong></li><li id="functiongraph_06_0113__li313403815310"><strong id="functiongraph_06_0113__b10135193845318">Node.js14.18</strong></li><li id="functiongraph_06_0113__li17135123817535"><strong id="functiongraph_06_0113__b1013573819535">Python2.7</strong></li><li id="functiongraph_06_0113__li1513512381534"><strong id="functiongraph_06_0113__b1113623835310">Python3.6</strong></li><li id="functiongraph_06_0113__li1413612389535"><strong id="functiongraph_06_0113__b10136638145311">Go1.8</strong></li><li id="functiongraph_06_0113__li191371438125313"><strong id="functiongraph_06_0113__b1413783810535">Go1.x</strong></li><li id="functiongraph_06_0113__li2137173810534"><strong id="functiongraph_06_0113__b513812385538">C#(.NET Core 2.0)</strong></li><li id="functiongraph_06_0113__li5138183865317"><strong id="functiongraph_06_0113__b8138133855312">C#(.NET Core 2.1)</strong></li><li id="functiongraph_06_0113__li613818389535"><strong id="functiongraph_06_0113__b12139163817532">C#(.NET Core 3.1)</strong></li><li id="functiongraph_06_0113__li6139338105317"><strong id="functiongraph_06_0113__b8139163816538">Custom</strong></li><li id="functiongraph_06_0113__li11139838205310"><strong id="functiongraph_06_0113__b12140113820534">PHP7.3</strong></li><li id="functiongraph_06_0113__li81401038175319"><strong id="functiongraph_06_0113__b3140153895317">Python3.9</strong></li><li id="functiongraph_06_0113__li19140738155320"><strong id="functiongraph_06_0113__b61411738155316">http</strong></li><li id="functiongraph_06_0113__li8141238195320"><strong id="functiongraph_06_0113__b10141153817535">Custom Image</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0113__row9107123835316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p191421538195315">timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p71431238165319">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p414483813534">Maximum duration the function can be executed. Value range: 3s259,200s.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row10107738155311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p914410386537">handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p161452038195316">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p81451938125319">Handler of a function in the format of "xx.xx". It must contain a period (.).</p>
<p id="functiongraph_06_0113__p91461038195319">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_0113__row16107193816531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p614643825319">memory_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p61471438195315">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p151491538185317">Memory consumed by a function.</p>
<p id="functiongraph_06_0113__p2149103875311">Unit: MB.</p>
<p id="functiongraph_06_0113__p7150163816537">The value can be 128, 256, 512, 768, 1024, 1280, 1536, 1792, 2048, 2560, 3072, 3584 or 4096.</p>
<p id="functiongraph_06_0113__p81501738165318">The value ranges from 128 to 4096.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row61071938175318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1615111386538">cpu</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p51511738155315">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p17152143815533">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_0113__row10107153865314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1715343895315">code_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p81531838165316">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p151540383531">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_0113__p14154838115317">Enumeration values:</p>
<ul id="functiongraph_06_0113__ul415619382533"><li id="functiongraph_06_0113__li31564382538"><strong id="functiongraph_06_0113__b151571538175317">inline</strong></li><li id="functiongraph_06_0113__li71576383537"><strong id="functiongraph_06_0113__b151571383531">zip</strong></li><li id="functiongraph_06_0113__li7157238155315"><strong id="functiongraph_06_0113__b21581338205320">obs</strong></li><li id="functiongraph_06_0113__li415883845312"><strong id="functiongraph_06_0113__b3158143816539">jar</strong></li><li id="functiongraph_06_0113__li1158183812536"><strong id="functiongraph_06_0113__b131598388533">Custom-Image-Swr</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0113__row1810713875316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p14159738185316">code_url</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p16161123819534">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p19161738175310">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_0113__row4107173816534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p91623381533">code_filename</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p21621838195314">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p61631938125314">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_0113__row210763835311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p416363811530">code_size</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1164193875317">Long</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p14164838125318">Code size in bytes.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row61078389532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p416563810534">user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p18165163813531">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p13166438105311">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_0113__row1810883814535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p616743835319">encrypted_user_data</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p17168738135313">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p14168238135311">User-defined name/value to be encrypted.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row4108738145315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p18169438195315">digest</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1016913381537">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p141709383536">SHA512 hash value of function code, which is used to determine whether the function has changed.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row15108193817538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p15170113895320">version</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p18171183819537">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p91718388536">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_0113__row610853885311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1717293855310">image_name</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p8172738135320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p817310380537">Internal identifier of a function version.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row610815384536"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p7174113819530">xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1317563805311">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p20175193815539">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_0113__row121081838115316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p11765385533">app_xrole</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p3176338155314">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p9177438185318">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_0113__row111089385537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p17177103812532">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p13178173875319">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p14178163818536">Time when the function was last updated.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row13108183895317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p191791638135320">func_vpc_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p617933811538">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1118093865314">VPC ID.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row111081838115319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p15181123895312">concurrency</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p218110382539">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p11182538175314">0: A function is disabled. -1: A function is enabled.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1010883855311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p16182103813538">concurrent_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p1418316381537">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1518314385533">Number of concurrent instances.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row610813385535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p201841338115312">strategy_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p118415389535"><a href="#functiongraph_06_0113__response_StrategyConfig">StrategyConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1185238135314">Function policy configuration.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row510811381532"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p11185163812534">initializer_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p191861538165310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p4186113816536">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_0113__row131081838195312"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p151878389539">initializer_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p11193538195310">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p119419386532">Maximum duration the function can be initialized. Value range: 1s300s. This parameter is mandatory when the initialization function is configured.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1109738185313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p8195193816538">pre_stop_handler</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p15195133885312">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p131961538145316">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_0113__row910993815310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1419613810539">pre_stop_timeout</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p719723819535">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p11972038115311">Maximum duration the function can be initialized. Value range: 1s90s.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row16109133811539"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p191981938105310">long_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p10198123813535">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p7199173885315">Whether long-term running is supported.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row71091538125318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1519993820539">function_async_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p92001138135311"><a href="#functiongraph_06_0113__response_FunctionAsyncConfig">FunctionAsyncConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p12728138185313">Return struct of the asynchronous execution notification settings.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1810913388538"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p20728123811533">type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p37281338195317">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p16728103818532">Function version.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row910933805313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1272963865312">enable_dynamic_memory</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p3729438175315">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1372916381536">Whether to enable dynamic memory allocation.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row710953865311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1172963865311">enterprise_project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p157291538195320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1272933865316">Enterprise project ID. This parameter is mandatory if you create a function as an enterprise user.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row12109183810531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1372983812535">is_stateful_function</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p12730203875312">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p10730103845311">Whether stateful functions are supported. This parameter is supported in FunctionGraph v2.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1210917384535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p10730193811537">enable_auth_in_header</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p137301238165318">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p167301238125310">Whether to allow authentication information in the request header.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row510983816534"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p1873016388533">custom_image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p2073019388532"><a href="#functiongraph_06_0113__response_CustomImage">CustomImage</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p16731738185316">Container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row4110538105311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.1 "><p id="functiongraph_06_0113__p273112387531">reserved_instance_idle_mode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.4.2.4.1.2 "><p id="functiongraph_06_0113__p67311038195318">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.4.2.4.1.3 "><p id="functiongraph_06_0113__p1473143855315">Whether to enable idle mode for reserved instances.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0113__response_StrategyConfig"></a><a name="response_StrategyConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_StrategyConfig" frame="border" border="1" rules="all"><caption><b>Table 6 </b>StrategyConfig</caption><thead align="left"><tr id="functiongraph_06_0113__row52117385531"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="functiongraph_06_0113__p6731638155312">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_0113__p8732133817532">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_0113__p1173214383531">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row16211133895314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0113__p273210386532">concurrency</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0113__p47321338165316">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0113__p16732183895315">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_0113__ul1732338115310"><li id="functiongraph_06_0113__li10732123825318">-1: The function has unlimited instances.</li><li id="functiongraph_06_0113__li117335384535">0: The function is disabled.</li></ul>
</td>
</tr>
<tr id="functiongraph_06_0113__row1621114382531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="functiongraph_06_0113__p47331388539">concurrent_num</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="functiongraph_06_0113__p07331838125314">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="functiongraph_06_0113__p573353817532">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_0113__response_FunctionAsyncConfig"></a><a name="response_FunctionAsyncConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_FunctionAsyncConfig" frame="border" border="1" rules="all"><caption><b>Table 7 </b>FunctionAsyncConfig</caption><thead align="left"><tr id="functiongraph_06_0113__row122161238195317"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.6.2.4.1.1"><p id="functiongraph_06_0113__p173319389533">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_0113__p573443817534">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_0113__p973403812533">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row2021743815313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0113__p97341038145314">max_async_event_age_in_seconds</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0113__p67341338205312">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0113__p473417384536">Maximum validity period of a message. Value range: 6086,400. Unit: second.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row2217938185311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0113__p1873543845315">max_async_retry_attempts</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0113__p1073516388530">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0113__p1473523855319">Maximum number of retry attempts to be made if asynchronous invocation fails. Default value: 3. Value range: 08.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1121711389533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0113__p1873563875314">destination_config</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0113__p8735133855320"><a href="#functiongraph_06_0113__response_FuncAsyncDestinationConfig">FuncAsyncDestinationConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0113__p1073563810534">Asynchronous invocation target.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row19217338165313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0113__p16736193810533">created_time</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0113__p77361238135317">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0113__p2736173813531">Time when asynchronous execution notification was configured.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row16217438175311"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.1 "><p id="functiongraph_06_0113__p1573693810537">last_modified</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.6.2.4.1.2 "><p id="functiongraph_06_0113__p167368389533">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.6.2.4.1.3 "><p id="functiongraph_06_0113__p19736838145313">Time when the asynchronous execution notification settings were last modified.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0113__response_FuncAsyncDestinationConfig"></a><a name="response_FuncAsyncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_FuncAsyncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 8 </b>FuncAsyncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0113__row622773815536"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="functiongraph_06_0113__p1373714383531">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_0113__p673712385530">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_0113__p97371138145313">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row3227938195315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0113__p127371438105318">on_success</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0113__p173712383539"><a href="#functiongraph_06_0113__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0113__p1673719381539">Target to be invoked when a function is successfully executed.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row11228203812530"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="functiongraph_06_0113__p0737338175314">on_failure</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="functiongraph_06_0113__p573816389531"><a href="#functiongraph_06_0113__response_FuncDestinationConfig">FuncDestinationConfig</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="functiongraph_06_0113__p1573817387537">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_0113__response_FuncDestinationConfig"></a><a name="response_FuncDestinationConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_FuncDestinationConfig" frame="border" border="1" rules="all"><caption><b>Table 9 </b>FuncDestinationConfig</caption><thead align="left"><tr id="functiongraph_06_0113__row2232938175314"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.8.2.4.1.1"><p id="functiongraph_06_0113__p1673815384533">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_0113__p137388385536">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_0113__p1273863835315">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1023253815531"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0113__p117391238125312">destination</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0113__p17394389536">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0113__p11739238165313">Object type.</p>
<ul id="functiongraph_06_0113__ul9739203813533"><li id="functiongraph_06_0113__li77391238135311">OBS</li><li id="functiongraph_06_0113__li167394383539">SMN</li><li id="functiongraph_06_0113__li17409381536">FunctionGraph</li></ul>
<p id="functiongraph_06_0113__p674083818536">Enumeration values:</p>
<ul id="functiongraph_06_0113__ul3740173820531"><li id="functiongraph_06_0113__li674014381534"><strong id="functiongraph_06_0113__b19740123815531">OBS</strong></li><li id="functiongraph_06_0113__li1874093845314"><strong id="functiongraph_06_0113__b1874093815538">SMN</strong></li><li id="functiongraph_06_0113__li1741123855312"><strong id="functiongraph_06_0113__b10741238175311">FunctionGraph</strong></li></ul>
</td>
</tr>
<tr id="functiongraph_06_0113__row0232143885319"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.1 "><p id="functiongraph_06_0113__p87411838175317">param</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.8.2.4.1.2 "><p id="functiongraph_06_0113__p2742113816538">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.8.2.4.1.3 "><p id="functiongraph_06_0113__p16742163811536">Parameters (in JSON format) corresponding to the target service.</p>
<ul id="functiongraph_06_0113__ul9742138165317"><li id="functiongraph_06_0113__li97421381535">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_0113__li27424389530">SMN: The topic_urn parameter is included.</li><li id="functiongraph_06_0113__li10743238155317">FunctionGraph: The func_urn parameter is included.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="functiongraph_06_0113__response_CustomImage"></a><a name="response_CustomImage"></a><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_CustomImage" frame="border" border="1" rules="all"><caption><b>Table 10 </b>CustomImage</caption><thead align="left"><tr id="functiongraph_06_0113__row92411538155320"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.9.2.4.1.1"><p id="functiongraph_06_0113__p19743153875315">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_0113__p67441538205314">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_0113__p574403810531">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row182418385535"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p57441938185314">enabled</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p14744133810536">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p1744113817534">Whether to enable this feature.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1724293845317"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p14744163815314">image</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p197441538165320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p474511386539">Image address.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row11242203835318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p37455382533">command</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p187451238165313">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p7745838175320">Command for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row4242123885310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p2745103817534">args</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p157461038165312">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p14746173817533">Command line parameter for starting a container image.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1824216388533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p1974683895316">working_dir</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p57461938125314">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p1474614384532">Working directory of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row92421338135314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p574683819532">uid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p19746143835310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p177471538115318">User ID of an image container.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1242738135318"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.1 "><p id="functiongraph_06_0113__p1974713815313">gid</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.9.2.4.1.2 "><p id="functiongraph_06_0113__p127471538135310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.9.2.4.1.3 "><p id="functiongraph_06_0113__p97478382537">User group ID of an image container.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0113__p47471438125315"><strong id="functiongraph_06_0113__b137475388535">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__response_ErrorResp" frame="border" border="1" rules="all"><caption><b>Table 11 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row1325423812534"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.11.2.4.1.1"><p id="functiongraph_06_0113__p15748838185310">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_0113__p774820383532">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_0113__p187487382538">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row4255173865310"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0113__p974893885317">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0113__p274833813536">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0113__p207481538105317">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row925573825316"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.1 "><p id="functiongraph_06_0113__p5748113812535">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.11.2.4.1.2 "><p id="functiongraph_06_0113__p14749133810532">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.11.2.4.1.3 "><p id="functiongraph_06_0113__p3749103817536">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0113__p2749338135315"><strong id="functiongraph_06_0113__b11749133825317">Status code: 401</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table926013817531" frame="border" border="1" rules="all"><caption><b>Table 12 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row42615386530"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.1"><p id="functiongraph_06_0113__p12750103819535">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.13.2.4.1.2"><p id="functiongraph_06_0113__p1375020381535">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.13.2.4.1.3"><p id="functiongraph_06_0113__p9751153805317">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row726183815536"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0113__p1775117384537">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0113__p11751103818531">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0113__p47512382538">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row2261153855313"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.1 "><p id="functiongraph_06_0113__p1775593814535">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.13.2.4.1.2 "><p id="functiongraph_06_0113__p1775516389532">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.13.2.4.1.3 "><p id="functiongraph_06_0113__p167561438145319">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0113__p1775683813538"><strong id="functiongraph_06_0113__b1175633805312">Status code: 403</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table22663384532" frame="border" border="1" rules="all"><caption><b>Table 13 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row6267133825315"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.1"><p id="functiongraph_06_0113__p2756133811538">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.15.2.4.1.2"><p id="functiongraph_06_0113__p1775743817535">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.15.2.4.1.3"><p id="functiongraph_06_0113__p875713816536">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1326711389537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0113__p187576381531">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="functiongraph_06_0113__p177574388531">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0113__p475713383536">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row52671638185320"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.1 "><p id="functiongraph_06_0113__p11757113835320">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.15.2.4.1.2 "><p id="functiongraph_06_0113__p275716386535">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.15.2.4.1.3 "><p id="functiongraph_06_0113__p147589383537">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0113__p167580381539"><strong id="functiongraph_06_0113__b77581038165319">Status code: 404</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table2272163875315" frame="border" border="1" rules="all"><caption><b>Table 14 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row18273538185311"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.17.2.4.1.1"><p id="functiongraph_06_0113__p97583380539">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.17.2.4.1.2"><p id="functiongraph_06_0113__p975893810533">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.17.2.4.1.3"><p id="functiongraph_06_0113__p127581238175310">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1727353816533"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.17.2.4.1.1 "><p id="functiongraph_06_0113__p47595383531">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.17.2.4.1.2 "><p id="functiongraph_06_0113__p275916388539">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.17.2.4.1.3 "><p id="functiongraph_06_0113__p1975923825316">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row42734384537"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.17.2.4.1.1 "><p id="functiongraph_06_0113__p1075993855310">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.17.2.4.1.2 "><p id="functiongraph_06_0113__p1875983819533">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.17.2.4.1.3 "><p id="functiongraph_06_0113__p127591538145319">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="functiongraph_06_0113__p11759143825314"><strong id="functiongraph_06_0113__b117593389539">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__table52777380539" frame="border" border="1" rules="all"><caption><b>Table 15 </b>Response body parameters</caption><thead align="left"><tr id="functiongraph_06_0113__row15278143818538"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.19.2.4.1.1"><p id="functiongraph_06_0113__p117601538205311">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.19.2.4.1.2"><p id="functiongraph_06_0113__p87601738195311">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.19.2.4.1.3"><p id="functiongraph_06_0113__p9760123817535">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1427853855315"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.19.2.4.1.1 "><p id="functiongraph_06_0113__p14760163819532">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.19.2.4.1.2 "><p id="functiongraph_06_0113__p5761438135320">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.19.2.4.1.3 "><p id="functiongraph_06_0113__p17761123817539">Error code.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row12781338125314"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.19.2.4.1.1 "><p id="functiongraph_06_0113__p376103875310">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.19.2.4.1.2 "><p id="functiongraph_06_0113__p127611738135310">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.19.2.4.1.3 "><p id="functiongraph_06_0113__p157611038175311">Error message.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0113__section4761193855320"><h4 class="sectiontitle">Example Requests</h4><p id="functiongraph_06_0113__p9761538205316">Query functions.</p>
<pre class="screen" id="functiongraph_06_0113__screen576233815316">GET https://{Endpoint}/v2/{project_id}/fgs/functions/{function_urn}/versions</pre>
</div>
<div class="section" id="functiongraph_06_0113__section1476243818531"><h4 class="sectiontitle">Example Responses</h4><p id="functiongraph_06_0113__p57621438195319"><strong id="functiongraph_06_0113__b16762153813535">Status code: 200</strong></p>
<p id="functiongraph_06_0113__p6762203818536">OK</p>
<pre class="screen" id="functiongraph_06_0113__screen1762153818539">{
"versions" : [ {
"func_urn" : "urn:fss:xxxxxxxxxxx: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" : "index.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
}
} ],
"next_marker" : 5
}</pre>
<p id="functiongraph_06_0113__p07651438175314"><strong id="functiongraph_06_0113__b1765123825315">Status code: 404</strong></p>
<p id="functiongraph_06_0113__p5765123865312">Not found.</p>
<pre class="screen" id="functiongraph_06_0113__screen5765438175318">{
"error_code" : "FSS.1051",
"error_msg" : "Not found the function"
}</pre>
</div>
<div class="section" id="functiongraph_06_0113__section7766238115311"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="functiongraph_06_0113__status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="functiongraph_06_0113__row1529763817539"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="functiongraph_06_0113__p18767338115317">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_0113__p1276703885315">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="functiongraph_06_0113__row1429763814535"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p87671638135317">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p976717384530">OK</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row8297143818535"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p676763810536">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p1976783885310">Bad request.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row129753811531"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p1876763845312">401</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p13768153819533">Unauthorized.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row429719382537"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p476813815318">403</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p20768538175317">Forbidden.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1729713812533"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p2769123819532">404</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p9769143845316">Not found.</p>
</td>
</tr>
<tr id="functiongraph_06_0113__row1129793865313"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="functiongraph_06_0113__p1176973814530">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="functiongraph_06_0113__p127691838155316">Internal server error.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="functiongraph_06_0113__section677015382530"><h4 class="sectiontitle">Error Codes</h4><p id="functiongraph_06_0113__p15770133819533">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>