forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com> Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
512 lines
44 KiB
HTML
512 lines
44 KiB
HTML
<a name="EN-US_TOPIC_0000002374856353"></a><a name="EN-US_TOPIC_0000002374856353"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Service Update Logs</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002374856353__section9880103612176"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002374856353__p14880113661711">This API is used to obtain the update logs of a real-time service.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section18881336171716"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002374856353__p168811936171712">GET /v1/{project_id}/services/{service_id}/logs</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__table14882123618171" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row3881153613173"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002374856353__p178824369176">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000002374856353__p28821436101711">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000002374856353__p08821336171718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000002374856353__p1988263691712">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row108811636161711"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856353__p158821536151712">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856353__p19882536151714">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856353__p13883436161720">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856353__p28831136121713">Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row208811136141719"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856353__p8883336101716">service_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856353__p118835364178">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856353__p13883133681711">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856353__p488383610179">Service ID</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__table168840364175" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row1788483621714"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002374856353__p118844363174">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.2"><p id="EN-US_TOPIC_0000002374856353__p18885236191712">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.3"><p id="EN-US_TOPIC_0000002374856353__p1588553612177">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.4.2.5.1.4"><p id="EN-US_TOPIC_0000002374856353__p388583619177">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row688420367172"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856353__p188543620178">update_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856353__p588510369170">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856353__p16885183681716">Number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856353__p78852036131716">Update time for filtering. This parameter can be used to obtain the update logs of a real-time service. By default, update logs are not filtered.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section14886163661720"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row12886336121711"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000002374856353__p178867361173">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000002374856353__p1988773691714">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000002374856353__p788711361172">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000002374856353__p28876361177">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row1088613615171"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002374856353__p16887836181718">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002374856353__p888763614174">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002374856353__p1888713366175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002374856353__p11887203601712">User token. It can be obtained by calling the IAM API that is used to obtain a user token. The value of <strong id="EN-US_TOPIC_0000002374856353__b1188763619179">X-Subject-Token</strong> in the response header is the user token.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section13888336121711"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002374856353__p138888363176"><strong id="EN-US_TOPIC_0000002374856353__b48881336161711">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_GetServiceUpdateLogsResponse" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row16888183671718"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p8889163612171">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p198891536111718">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p288916369177">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row19888183651710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p888919366170">service_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p17889163611717">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p68891136191714">Service name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row2888163641713"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p17889436181714">service_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p8889173617179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p1288983661712">Service ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row198888364174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p16890183611177">logs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p8890336121715">Array of <a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_Log">Log</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p19890036151718">Service update records</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_Log"></a><a name="en-us_topic_0000002091201397_response_Log"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_Log" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Log</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row989014364174"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p178911368175">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p1589213641719">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.4.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p18892193616177">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row789063611719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p289283671713">update_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p9892103615173">Number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p98927361173">Update time, in milliseconds calculated from 1970.1.1 0:0:0 UTC.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row7890183681714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p78921736131711">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p16893336171718">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p7893136151717">Update result. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856353__ul1489315361172"><li id="EN-US_TOPIC_0000002374856353__li1089383617173"><p id="EN-US_TOPIC_0000002374856353__p168931536181714"><a name="EN-US_TOPIC_0000002374856353__li1089383617173"></a><a name="li1089383617173"></a><strong id="EN-US_TOPIC_0000002374856353__b208930364173">SUCCESS</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002374856353__li28931836171711"><p id="EN-US_TOPIC_0000002374856353__p8893113611177"><a name="EN-US_TOPIC_0000002374856353__li28931836171711"></a><a name="li28931836171711"></a><strong id="EN-US_TOPIC_0000002374856353__b14893136101717">FAIL</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002374856353__li16893103619174"><p id="EN-US_TOPIC_0000002374856353__p1889313612171"><a name="EN-US_TOPIC_0000002374856353__li16893103619174"></a><a name="li16893103619174"></a><strong id="EN-US_TOPIC_0000002374856353__b138939363171">RUNNING</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row178901836161710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p5893236171717">config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p98931436191715">Array of <a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ServiceLogConfig">ServiceLogConfig</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p188931136171713">Model running configurations</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row168911336151715"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p789463671711">success_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p18894153617179">Number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p989443691720">Number of nodes that are successfully operated. This parameter is returned when <strong id="EN-US_TOPIC_0000002374856353__b189453601715">infer_type</strong> is set to <strong id="EN-US_TOPIC_0000002374856353__b9894636151718">edge</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row5891163615175"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p168941936151719">failed_num</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p108941636101712">Number</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p189412366179">Number of nodes that fail to be operated. This parameter is returned when <strong id="EN-US_TOPIC_0000002374856353__b1689412369176">infer_type</strong> is set to <strong id="EN-US_TOPIC_0000002374856353__b17894436171718">edge</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row15891236131714"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p10894133620178">result_detail</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p689433661710">Array of <a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_UpdateResult">UpdateResult</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p198941836181718">Operation result details. This parameter is returned when <strong id="EN-US_TOPIC_0000002374856353__b108951836181720">infer_type</strong> is set to <strong id="EN-US_TOPIC_0000002374856353__b0895113618172">edge</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row1989183691713"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p1789523619172">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p28953362174">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p1189593651715">ID of a dedicated resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row1089113369179"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p3895113613170">extend_config</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p1689543681719">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p138951136171718">Personalized configuration</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ServiceLogConfig"></a><a name="en-us_topic_0000002091201397_response_ServiceLogConfig"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ServiceLogConfig" frame="border" border="1" rules="all"><caption><b>Table 6 </b>ServiceLogConfig</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row58961368172"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p20897153610175">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p9897123691712">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p9897153618171">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row7896636131716"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p138971836121717">model_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p15897163612173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p889712363174">Common parameters Model ID You can obtain the value by calling the API for querying the AI application list.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row158961536161712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p1189703641718">model_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p6897136201710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p168975365170">Model name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row18896113611717"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p18898203621714">model_version</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p2898123617171">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p128989363175">Model version</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row889653611174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p989873631719">weight</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p28981365172">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p889818368177">This parameter is mandatory for the real-time type. Traffic weight allocated to the model. This parameter is mandatory only when infer_type is set to real-time. The sum of multiple weights must be 100. When multiple model versions are configured in a real-time service and different traffic weight ratios are set, ModelArts forwards prediction requests to the corresponding model version instance based on the weight ratio when the prediction API of the service is continuously accessed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row128961836101717"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p19898173610179">specification</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p98981367179">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p8898163619177">Resource specifications. This parameter is returned when infer_type is set to real-time or edge.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row5896163691710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p589833661714">custom_spec</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p15899836171719"><a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_CustomSpec">CustomSpec</a> object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p39006363178">Custom resource specifications</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row19896336131710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p189008361176">envs</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p159017369178">Map<String,String></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p1890113615176">Environment variable key-value pair required for running a model</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row188961236171710"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p14901173616177">cluster_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p190110360173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p19901173618175">ID of a dedicated resource pool</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row88961636201712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p15901136121717">instance_count</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p090173671714">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p0901536131712">Number of instances deployed in a model. This parameter is returned when infer_type is set to real-time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row889683619173"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p159021936161712">additional_properties</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p16902936111717">Map<String,<a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ModelAdditionalProperties">ModelAdditionalProperties</a>></p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p1590213368177">Additional properties for model deployment, facilitating service instance management.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_CustomSpec"></a><a name="en-us_topic_0000002091201397_response_CustomSpec"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_CustomSpec" frame="border" border="1" rules="all"><caption><b>Table 7 </b>CustomSpec</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row690283613171"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p1690313366176">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p3903436191713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.6.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p19033366178">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row59021936151715"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p99031936141719">gpu_p4</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p39031736191719">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p99038367179">Number of GPUs, which can be a decimal. The value cannot be smaller than 0, with the third decimal place is rounded off. This parameter is optional and is not used by default.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row1902203611175"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p119031836151711">memory</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p59035363177">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p19041636131711">Memory in MB, which must be an integer</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row19022036201712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p490473601716">cpu</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p15904123617172">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p16904183611714">Number of CPU cores, which can be a decimal. The value cannot be smaller than 0.01, with the third decimal place is rounded off.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ModelAdditionalProperties"></a><a name="en-us_topic_0000002091201397_response_ModelAdditionalProperties"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_ModelAdditionalProperties" frame="border" border="1" rules="all"><caption><b>Table 8 </b>ModelAdditionalProperties</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row4905236171716"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p10905103616176">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p18905036161712">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.7.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p1290593661717">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row29051636101712"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p1790619361173">log_volume</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p9906143661717">Array of <a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_LogVolume">LogVolume</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p590673641720">Host directory mounting.</p>
|
|
<p id="EN-US_TOPIC_0000002374856353__p1906193613173">This parameter takes effect only if a dedicated resource pool is used. If a public resource pool is used to deploy services, this parameter cannot be configured. Otherwise, an error will occur.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row1290513611719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p1990633612172">max_surge</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p12906153618176">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p209062366178">The value must be greater than 0. If this parameter is not set, the default value 1 is used. If the value is less than 1, it indicates the percentage of instances to be added during the rolling upgrade. If the value is greater than 1, it indicates the maximum number of instances to be added during the rolling upgrade.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row7905133661720"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p090693610174">max_unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p2090615367171">Float</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p09061362178">The value must be greater than 0. If this parameter is not set, the default value 0 is used. If the value is less than 1, it indicates the percentage of instances that can be scaled in during the rolling upgrade. If the value is greater than 1, it indicates the number of instances that can be scaled in during the rolling upgrade.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row7905153617174"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p119071636171716">termination_grace_period_seconds</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p1890703611720">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p11907113601720">Graceful stop period of a container.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row9905436201719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p490733613176">persistent_volumes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p9907336161717">Array of <a href="#EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_PersistentVolumes">PersistentVolumes</a> objects</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p69071536101717">Persistent storage mounting.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_LogVolume"></a><a name="en-us_topic_0000002091201397_response_LogVolume"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_LogVolume" frame="border" border="1" rules="all"><caption><b>Table 9 </b>LogVolume</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row13907136121713"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p990817361170">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p190973615176">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.8.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p13909153611174">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row1490883651713"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p13909123613179">host_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p690993618175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p390953616172">Log path to be mapped on the host</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row590883621719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p8909123651714">mount_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p10909133618173">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p10910103621715">Path to the logs in the container</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_PersistentVolumes"></a><a name="en-us_topic_0000002091201397_response_PersistentVolumes"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_PersistentVolumes" frame="border" border="1" rules="all"><caption><b>Table 10 </b>PersistentVolumes</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row391018363174"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p991113619171">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.9.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p991143641713">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.9.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p391243614178">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row591063621718"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p18912153613177">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p199121536101710">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p89123367178">Volume name.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row29101363170"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p291212364178">mount_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p119130363174">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p291393610178">Mount path of a volume in the container. Example: /tmp. The container path must not be a system directory, such as / and /var/run. Otherwise, an exception occurs. It is a good practice to mount the container to an empty directory. If the directory is not empty, ensure that there are no files affecting container startup in the directory. Otherwise, such files will be replaced, resulting in failures to start the container and create the workload.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row6911163601713"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p391393620178">storage_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p991313681712">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p209131736121716">Mount type: sfs_turbo.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row891123614178"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p1991419361179">source_address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.9.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p491412361175">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.9.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p15914163611179">Specifies the mounting source path. The value is the SFS Turbo ID when an EFS file is mounted.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_UpdateResult"></a><a name="en-us_topic_0000002091201397_response_UpdateResult"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_response_UpdateResult" frame="border" border="1" rules="all"><caption><b>Table 11 </b>UpdateResult</caption><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row691519363175"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.1"><p id="EN-US_TOPIC_0000002374856353__p591612367173">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.10.2.4.1.2"><p id="EN-US_TOPIC_0000002374856353__p1991620364174">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.10.2.4.1.3"><p id="EN-US_TOPIC_0000002374856353__p15916193616172">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row091513366171"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p6916036191717">result</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p15916636181716">Boolean</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p179161636111712">Operation result. <strong id="EN-US_TOPIC_0000002374856353__b79162036141711">true</strong> indicates that the operation is successful, and <strong id="EN-US_TOPIC_0000002374856353__b1891613681716">false</strong> indicates that the operation failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row13915836131719"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p7916103691718">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p1715310372178">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p0153193711710">Name of an edge node</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row4915736171715"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p215312375177">operation</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p13153133731713">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p2153123716179">Operation. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002374856353__ul215333751712"><li id="EN-US_TOPIC_0000002374856353__li161536376172"><p id="EN-US_TOPIC_0000002374856353__p19153437161710"><a name="EN-US_TOPIC_0000002374856353__li161536376172"></a><a name="li161536376172"></a><strong id="EN-US_TOPIC_0000002374856353__b015318377175">deploy</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002374856353__li191531937131717"><p id="EN-US_TOPIC_0000002374856353__p1615318373176"><a name="EN-US_TOPIC_0000002374856353__li191531937131717"></a><a name="li191531937131717"></a><strong id="EN-US_TOPIC_0000002374856353__b4153153710176">delete</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002374856353__row591533612177"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.1 "><p id="EN-US_TOPIC_0000002374856353__p191531037161712">node_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.10.2.4.1.2 "><p id="EN-US_TOPIC_0000002374856353__p1015310370172">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.10.2.4.1.3 "><p id="EN-US_TOPIC_0000002374856353__p10153173721718">Edge node ID You can obtain the value after creating an edge node on IEF.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section51531337181718"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000002374856353__screen1715313378177">GET https://{endpoint}/v1/{project_id}/services/{service_id}/logs</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section21531937181718"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002374856353__p515315371173"><strong id="EN-US_TOPIC_0000002374856353__b3153737101719">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002374856353__p61538379179">Service update logs</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002374856353__screen161531237161715">{
|
|
"service_name" : "mnist",
|
|
"service_id" : "195c1f2d-136d-40af-a0f3-db5717d2634a",
|
|
"logs" : [ {
|
|
"result" : "SUCCESS",
|
|
"update_time" : 1574770228888,
|
|
"config" : [ {
|
|
"model_version" : "0.0.1",
|
|
"specification" : "modelarts.vm.cpu.2u",
|
|
"model_name" : "minst",
|
|
"weight" : 100,
|
|
"model_id" : "0e07b41b-173e-42db-8c16-8e1b44cc0d44",
|
|
"instance_count" : 1
|
|
} ]
|
|
} ]
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section4159137151719"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002374856353__en-us_topic_0000002091201397_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002374856353__row892033601711"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002374856353__p1515943717172">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000002374856353__p315912371178">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002374856353__row1392023610172"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002374856353__p21591837141717">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002374856353__p9160937101719">Service update logs</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002374856353__section1016083716177"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002374856353__p141601737141720">See <a href="modelarts_03_0095.html">Error Codes</a>.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="service_management.html">Service Management</a></div>
|
|
</div>
|
|
</div>
|
|
|