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>
414 lines
40 KiB
HTML
414 lines
40 KiB
HTML
<a name="EN-US_TOPIC_0000002340898538"></a><a name="EN-US_TOPIC_0000002340898538"></a>
|
|
|
|
<h1 class="topictitle1">Registering a Custom Image</h1>
|
|
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002340898538__section1379111251286"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002340898538__p279117256819">Register a custom image with ModelArts Image Management.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section37918251789"><h4 class="sectiontitle">Constraints</h4><p id="EN-US_TOPIC_0000002340898538__p47919251580">None</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section27921725582"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002340898538__p1379212253815">POST /v1/{project_id}/images</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002340898538__table1279216252815" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002340898538__row679213257820"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000002340898538__p117939251582">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000002340898538__p97931525387">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000002340898538__p379320253816">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000002340898538__p167934251582">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002340898538__row177922251813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p879319251980">project_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p9793225388">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p67931225985">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p1793725881">Project ID. For details, see <a href="modelarts_03_0147.html">Obtaining a Project ID and Name</a>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section167941325185"><h4 class="sectiontitle">Request Parameters</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002340898538__en-us_topic_0000002091282797_request_ImageRegRequest" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002340898538__row1794925981"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.1"><p id="EN-US_TOPIC_0000002340898538__p127961925581">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.2"><p id="EN-US_TOPIC_0000002340898538__p187961225185">Mandatory</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.2.2.5.1.3"><p id="EN-US_TOPIC_0000002340898538__p167961525589">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.4.2.2.5.1.4"><p id="EN-US_TOPIC_0000002340898538__p27961225782">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002340898538__row1179410251288"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1479615251886">arch</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p18796192514811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1079613255817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p1279652510819">Processor architecture supported by the image. The default value is <strong id="EN-US_TOPIC_0000002340898538__b20797182512813">X86_64</strong>. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul1079722518812"><li id="EN-US_TOPIC_0000002340898538__li207971225187"><p id="EN-US_TOPIC_0000002340898538__p1797112510816"><a name="EN-US_TOPIC_0000002340898538__li207971225187"></a><a name="li207971225187"></a><strong id="EN-US_TOPIC_0000002340898538__b1079732514810">X86_64</strong>: x86 architecture</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1797202513816"><p id="EN-US_TOPIC_0000002340898538__p157972025986"><a name="EN-US_TOPIC_0000002340898538__li1797202513816"></a><a name="li1797202513816"></a><strong id="EN-US_TOPIC_0000002340898538__b1779713251982">AARCH64</strong>: Arm architecture</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row16795425380"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p9797102514815">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p137977251987">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1279713251289">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p1079752513810">Image description with a maximum of 512 characters.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row9795132511819"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p17978251288">origin</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p207982256811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1379811251082">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p579810251284">Image source, which defaults to <strong id="EN-US_TOPIC_0000002340898538__b18798142517820">CUSTOMIZE</strong>. This parameter is optional. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul9798162515819"><li id="EN-US_TOPIC_0000002340898538__li157981625588"><p id="EN-US_TOPIC_0000002340898538__p5798025180"><a name="EN-US_TOPIC_0000002340898538__li157981625588"></a><a name="li157981625588"></a><strong id="EN-US_TOPIC_0000002340898538__b879812252819">CUSTOMIZE</strong>: custom image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li17982253816"><p id="EN-US_TOPIC_0000002340898538__p07981259817"><a name="EN-US_TOPIC_0000002340898538__li17982253816"></a><a name="li17982253816"></a><strong id="EN-US_TOPIC_0000002340898538__b15798182517811">IMAGE_SAVE</strong>: image saved by a notebook instance</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row37951625483"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1679812255818">resource_category</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p1879814255817">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p9798725885">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p17799172516819">Flavor supported by the image. The default value is <strong id="EN-US_TOPIC_0000002340898538__b15799525789">CPU</strong> or <strong id="EN-US_TOPIC_0000002340898538__b1679911254815">GPU</strong>. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul479914251810"><li id="EN-US_TOPIC_0000002340898538__li157997252811"><p id="EN-US_TOPIC_0000002340898538__p879912251882"><a name="EN-US_TOPIC_0000002340898538__li157997252811"></a><a name="li157997252811"></a><strong id="EN-US_TOPIC_0000002340898538__b117999254819">CPU</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li279911251883"><p id="EN-US_TOPIC_0000002340898538__p18799122513812"><a name="EN-US_TOPIC_0000002340898538__li279911251883"></a><a name="li279911251883"></a><strong id="EN-US_TOPIC_0000002340898538__b117991325181">GPU</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1079517257811"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1799122515816">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p1800182518819">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p380011253815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p380018256812">Supported image types. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul2800202516818"><li id="EN-US_TOPIC_0000002340898538__li1680011251089"><p id="EN-US_TOPIC_0000002340898538__p1680015251283"><a name="EN-US_TOPIC_0000002340898538__li1680011251089"></a><a name="li1680011251089"></a><strong id="EN-US_TOPIC_0000002340898538__b58001025289">COMMON</strong>: common image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1880011251689"><p id="EN-US_TOPIC_0000002340898538__p68015251485"><a name="EN-US_TOPIC_0000002340898538__li1880011251689"></a><a name="li1880011251689"></a><strong id="EN-US_TOPIC_0000002340898538__b178015255820">INFERENCE</strong>: image used for inference</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li158013257813"><p id="EN-US_TOPIC_0000002340898538__p16801325684"><a name="EN-US_TOPIC_0000002340898538__li158013257813"></a><a name="li158013257813"></a>TRAIN: image used for training</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li168014252818"><p id="EN-US_TOPIC_0000002340898538__p180112251084"><a name="EN-US_TOPIC_0000002340898538__li168014252818"></a><a name="li168014252818"></a>DEV: image used for development and debugging</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li380116251812"><p id="EN-US_TOPIC_0000002340898538__p148012253812"><a name="EN-US_TOPIC_0000002340898538__li380116251812"></a><a name="li380116251812"></a>UNKNOWN: image whose supported services are not specified</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row15795122518818"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p2080120251783">services</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p5801102511813">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p68022025083">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p380218251783">Services supported by the image. The default value is <strong id="EN-US_TOPIC_0000002340898538__b18029251084">NOTEBOOK</strong> or <strong id="EN-US_TOPIC_0000002340898538__b138027254811">SSH</strong>. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul18802102520810"><li id="EN-US_TOPIC_0000002340898538__li1880242517813"><p id="EN-US_TOPIC_0000002340898538__p580220251282"><a name="EN-US_TOPIC_0000002340898538__li1880242517813"></a><a name="li1880242517813"></a><strong id="EN-US_TOPIC_0000002340898538__b480213251189">NOTEBOOK</strong>: You can access a notebook instance using HTTPS.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1580210251382"><p id="EN-US_TOPIC_0000002340898538__p1880242510814"><a name="EN-US_TOPIC_0000002340898538__li1580210251382"></a><a name="li1580210251382"></a><strong id="EN-US_TOPIC_0000002340898538__b7802225684">SSH</strong>: You can remotely access a notebook instance from a local IDE through SSH.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1379592517810"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1080262510818">swr_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p1080319252818">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1980313250814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p380319251188">SWR image address</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1279515251681"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1880312517813">visibility</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p280318259811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p13803025186">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p13803132517815">Image visibility. The default value is PRIVATE. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul1580392512811"><li id="EN-US_TOPIC_0000002340898538__li1804122514817"><p id="EN-US_TOPIC_0000002340898538__p12804112517817"><a name="EN-US_TOPIC_0000002340898538__li1804122514817"></a><a name="li1804122514817"></a>PRIVATE: private image.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li128041251183"><p id="EN-US_TOPIC_0000002340898538__p680452519813"><a name="EN-US_TOPIC_0000002340898538__li128041251183"></a><a name="li128041251183"></a>PUBLIC: All users can perform read-only operations based on the image ID.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row18795162519813"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1680413259812">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.2 "><p id="EN-US_TOPIC_0000002340898538__p12804202513811">No</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002340898538__p580414251181">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.4.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002340898538__p980412252818">Workspace ID If no workspace is created, the default value is 0. If a workspace is created and used, the actual value prevails.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section7805925480"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002340898538__p1780519253811"><strong id="EN-US_TOPIC_0000002340898538__b18052254820">Status code: 200</strong></p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002340898538__en-us_topic_0000002091282797_response_Image" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002340898538__row8806142512815"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.1"><p id="EN-US_TOPIC_0000002340898538__p380817250815">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.5.3.2.4.1.2"><p id="EN-US_TOPIC_0000002340898538__p148089254816">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.3.2.4.1.3"><p id="EN-US_TOPIC_0000002340898538__p980812255814">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002340898538__row2806122510811"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p480811251815">arch</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p680918252087">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p2080912251886">Processor architecture supported by the image. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul208092251882"><li id="EN-US_TOPIC_0000002340898538__li48094255819"><p id="EN-US_TOPIC_0000002340898538__p2809162510814"><a name="EN-US_TOPIC_0000002340898538__li48094255819"></a><a name="li48094255819"></a><strong id="EN-US_TOPIC_0000002340898538__b188091525989">X86_64</strong>: x86 architecture</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li580972518815"><p id="EN-US_TOPIC_0000002340898538__p118097251287"><a name="EN-US_TOPIC_0000002340898538__li580972518815"></a><a name="li580972518815"></a><strong id="EN-US_TOPIC_0000002340898538__b980932520812">AARCH64</strong>: Arm architecture</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1680719252813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p48091225281">create_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p880932516810">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1981122510813">Specifies the time (UTC ms) when the image is created.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row17807425484"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p178111525988">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p188113259817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1681112251386">Image description with a maximum of 512 characters</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row48073258816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p28117258815">dev_services</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p58111025086">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p881214252812">Services supported by the image. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul158121025582"><li id="EN-US_TOPIC_0000002340898538__li581215250817"><p id="EN-US_TOPIC_0000002340898538__p58121825281"><a name="EN-US_TOPIC_0000002340898538__li581215250817"></a><a name="li581215250817"></a><strong id="EN-US_TOPIC_0000002340898538__b281219251781">NOTEBOOK</strong>: You can access a notebook instance using HTTPS.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li118127251681"><p id="EN-US_TOPIC_0000002340898538__p15812182510819"><a name="EN-US_TOPIC_0000002340898538__li118127251681"></a><a name="li118127251681"></a><strong id="EN-US_TOPIC_0000002340898538__b208129251481">SSH</strong>: You can remotely access a notebook instance from a local IDE through SSH.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row7807425480"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p58129254818">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p128122252086">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p381272518814">Specifies the image ID of the notebook instance to be created. The image ID is in the Universally Unique Identifier (UUID) format. For details about how to obtain the ID of a preset image, see ListImage.xml.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1180720253816"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1781218251583">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p781214258815">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1481392513812">Image name, which contains a maximum of 512 characters, including lowercase letters, digits, hyphens (-), underscores (_), and periods (.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row78075257818"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p5813192518816">namespace</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p108137259814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p2081314254817">Organization to which the image belongs. You can create and view the organization on the <strong id="EN-US_TOPIC_0000002340898538__b481352518816">Organization Management</strong> page of the SWR console.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row108076252085"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p148133251880">origin</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p128133255811">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p58136254811">Image source, which defaults to <strong id="EN-US_TOPIC_0000002340898538__b14813225989">CUSTOMIZE</strong>. This parameter is optional. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul16813152518814"><li id="EN-US_TOPIC_0000002340898538__li108135251385"><p id="EN-US_TOPIC_0000002340898538__p1381342514812"><a name="EN-US_TOPIC_0000002340898538__li108135251385"></a><a name="li108135251385"></a><strong id="EN-US_TOPIC_0000002340898538__b1681314251819">CUSTOMIZE</strong>: custom image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li148132252818"><p id="EN-US_TOPIC_0000002340898538__p1881442514817"><a name="EN-US_TOPIC_0000002340898538__li148132252818"></a><a name="li148132252818"></a><strong id="EN-US_TOPIC_0000002340898538__b19814112518814">IMAGE_SAVE</strong>: image saved by a notebook instance</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1880719258819"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p8814125288">resource_categories</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p68142025681">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p181413256815">Flavors supported by the image. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul1781415251983"><li id="EN-US_TOPIC_0000002340898538__li12814182511814"><p id="EN-US_TOPIC_0000002340898538__p1814122511819"><a name="EN-US_TOPIC_0000002340898538__li12814182511814"></a><a name="li12814182511814"></a><strong id="EN-US_TOPIC_0000002340898538__b178149251483">CPU</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1381462518818"><p id="EN-US_TOPIC_0000002340898538__p581419251188"><a name="EN-US_TOPIC_0000002340898538__li1381462518818"></a><a name="li1381462518818"></a><strong id="EN-US_TOPIC_0000002340898538__b118143253815">GPU</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row17807102518819"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p9814122514818">service_type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p58143252083">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p188151125482">Supported image types. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul178158256819"><li id="EN-US_TOPIC_0000002340898538__li178153250812"><p id="EN-US_TOPIC_0000002340898538__p1781516254818"><a name="EN-US_TOPIC_0000002340898538__li178153250812"></a><a name="li178153250812"></a><strong id="EN-US_TOPIC_0000002340898538__b481572516815">COMMON</strong>: common image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li781512520813"><p id="EN-US_TOPIC_0000002340898538__p20815025983"><a name="EN-US_TOPIC_0000002340898538__li781512520813"></a><a name="li781512520813"></a><strong id="EN-US_TOPIC_0000002340898538__b38159258814">INFERENCE</strong>: image used for inference</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li681512520811"><p id="EN-US_TOPIC_0000002340898538__p18153251981"><a name="EN-US_TOPIC_0000002340898538__li681512520811"></a><a name="li681512520811"></a>TRAIN: image used for training</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li13815162510815"><p id="EN-US_TOPIC_0000002340898538__p198159251484"><a name="EN-US_TOPIC_0000002340898538__li13815162510815"></a><a name="li13815162510815"></a>DEV: image used for development and debugging</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li48152251681"><p id="EN-US_TOPIC_0000002340898538__p681502520812"><a name="EN-US_TOPIC_0000002340898538__li48152251681"></a><a name="li48152251681"></a>UNKNOWN: image whose supported services are not specified</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row128074251885"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p88161625687">size</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p48166254812">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p158169251814">Specifies the image size, in KB.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row680716252810"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p128161254811">status</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p38167254816">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p17816122513811">Image status. Options:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul28163250819"><li id="EN-US_TOPIC_0000002340898538__li38166251687"><p id="EN-US_TOPIC_0000002340898538__p8816125682"><a name="EN-US_TOPIC_0000002340898538__li38166251687"></a><a name="li38166251687"></a><strong id="EN-US_TOPIC_0000002340898538__b281662515810">INIT</strong>: The image is being initialized.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li18816162518817"><p id="EN-US_TOPIC_0000002340898538__p198166251889"><a name="EN-US_TOPIC_0000002340898538__li18816162518817"></a><a name="li18816162518817"></a><strong id="EN-US_TOPIC_0000002340898538__b281618255816">CREATING</strong>: The image is being saved. In this case, the notebook instance is unavailable.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li9816825486"><p id="EN-US_TOPIC_0000002340898538__p108161225186"><a name="EN-US_TOPIC_0000002340898538__li9816825486"></a><a name="li9816825486"></a><strong id="EN-US_TOPIC_0000002340898538__b38171625682">CREATE_FAILED</strong>: Saving the image failed.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li15817625184"><p id="EN-US_TOPIC_0000002340898538__p781716257818"><a name="EN-US_TOPIC_0000002340898538__li15817625184"></a><a name="li15817625184"></a><strong id="EN-US_TOPIC_0000002340898538__b1781717251484">ERROR</strong>: An error occurs.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li48173255815"><p id="EN-US_TOPIC_0000002340898538__p2817192519818"><a name="EN-US_TOPIC_0000002340898538__li48173255815"></a><a name="li48173255815"></a><strong id="EN-US_TOPIC_0000002340898538__b148173252082">DELETED</strong>: The image has been deleted.</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li19817725583"><p id="EN-US_TOPIC_0000002340898538__p081713251388"><a name="EN-US_TOPIC_0000002340898538__li19817725583"></a><a name="li19817725583"></a><strong id="EN-US_TOPIC_0000002340898538__b7817125982">ACTIVE</strong>: The image has been saved, which you can view on the SWR console and use to create notebook instances.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row78079251383"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p28172251189">status_message</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p18172251385">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p14817425581">Build information during image saving</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row6807162512814"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p881720251484">support_res_categories</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p5817525188">Array of strings</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1281815255814">Flavors supported by the image. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul1481816257811"><li id="EN-US_TOPIC_0000002340898538__li138181725186"><p id="EN-US_TOPIC_0000002340898538__p188181325785"><a name="EN-US_TOPIC_0000002340898538__li138181725186"></a><a name="li138181725186"></a><strong id="EN-US_TOPIC_0000002340898538__b118187251382">CPU</strong></p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1181818256818"><p id="EN-US_TOPIC_0000002340898538__p281813258820"><a name="EN-US_TOPIC_0000002340898538__li1181818256818"></a><a name="li1181818256818"></a><strong id="EN-US_TOPIC_0000002340898538__b2818132514811">GPU</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1080722511813"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1818152514811">swr_path</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p1781822516814">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p181819256814">SWR image address</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1680710251815"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p118189253813">tag</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p9818142516818">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p28192251689">Image tag</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row178079257815"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p781912251485">type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p981912251288">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p881911251789">Image type. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul681922513817"><li id="EN-US_TOPIC_0000002340898538__li58193256815"><p id="EN-US_TOPIC_0000002340898538__p1781913257810"><a name="EN-US_TOPIC_0000002340898538__li58193256815"></a><a name="li58193256815"></a><strong id="EN-US_TOPIC_0000002340898538__b1281922513814">BUILD_IN</strong>: built-in system image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1581915255810"><p id="EN-US_TOPIC_0000002340898538__p1381910251582"><a name="EN-US_TOPIC_0000002340898538__li1581915255810"></a><a name="li1581915255810"></a><strong id="EN-US_TOPIC_0000002340898538__b5819525382">DEDICATED</strong>: image you have saved</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row98072025985"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p148191425486">update_at</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p19819625482">Long</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p38208255812">Specifies the time (UTC ms) when the image was last updated.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row280715259817"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p882013251882">visibility</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p13820425887">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p16820625987">Image visibility. Enums:</p>
|
|
<ul id="EN-US_TOPIC_0000002340898538__ul08209251811"><li id="EN-US_TOPIC_0000002340898538__li1282020251284"><p id="EN-US_TOPIC_0000002340898538__p13820132512816"><a name="EN-US_TOPIC_0000002340898538__li1282020251284"></a><a name="li1282020251284"></a><strong id="EN-US_TOPIC_0000002340898538__b1782019252085">PRIVATE</strong>: private image</p>
|
|
</li><li id="EN-US_TOPIC_0000002340898538__li1820162511812"><p id="EN-US_TOPIC_0000002340898538__p2082010256814"><a name="EN-US_TOPIC_0000002340898538__li1820162511812"></a><a name="li1820162511812"></a><strong id="EN-US_TOPIC_0000002340898538__b28204251088">PUBLIC</strong>: All users can perform read-only operations based on the image ID.</p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row78081250818"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002340898538__p2082012251885">workspace_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.5.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002340898538__p582016251589">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002340898538__p1382192510811">Workspace ID. If no workspaces are available, the default value is <strong id="EN-US_TOPIC_0000002340898538__b108214251584">0</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section28214251689"><h4 class="sectiontitle">Example Requests</h4><p id="EN-US_TOPIC_0000002340898538__p1382262519814">The following is an example of how to register a custom image whose resource type is <strong id="EN-US_TOPIC_0000002340898538__b8822192517812">CPU</strong> and architecture is <strong id="EN-US_TOPIC_0000002340898538__b182214254815">X86_64</strong>.</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002340898538__screen98221925281">{
|
|
"description" : "",
|
|
"resource_category" : [ "CPU" ],
|
|
"arch" : "X86_64",
|
|
"swr_path" : "swr.xxx.com/op_svc_modelarts_container2/pytorch_1_8:train-pytorch_1.8.0-cuda_10.2-py_3.7"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section682215251887"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002340898538__p1822122512819"><strong id="EN-US_TOPIC_0000002340898538__b188221825883">Status code: 200</strong></p>
|
|
<p id="EN-US_TOPIC_0000002340898538__p4822325485">OK</p>
|
|
<pre class="screen" id="EN-US_TOPIC_0000002340898538__screen1182311251288">{
|
|
"arch" : "x86_64",
|
|
"create_at" : 1671708630448,
|
|
"description" : "",
|
|
"dev_services" : [ "NOTEBOOK", "SSH" ],
|
|
"id" : "708ca95d-c601-4dc7-86b9-670adfd5e818",
|
|
"name" : "pytorch_1_8",
|
|
"namespace" : "op_svc_modelarts_container2",
|
|
"origin" : "CUSTOMIZE",
|
|
"resource_categories" : [ "CPU" ],
|
|
"service_type" : "UNKNOWN",
|
|
"size" : 3376133259,
|
|
"status" : "ACTIVE",
|
|
"swr_path" : "swr.xxx.com/op_svc_modelarts_container2/pytorch_1_8:train-pytorch_1.8.0-cuda_10.2-py_3.7",
|
|
"tag" : "train-pytorch_1.8.0-cuda_10.2-py_3.7",
|
|
"type" : "DEDICATED",
|
|
"update_at" : 1671708630448,
|
|
"visibility" : "PRIVATE",
|
|
"workspace_id" : "0"
|
|
}</pre>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section14300172619814"><h4 class="sectiontitle">Status Codes</h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002340898538__en-us_topic_0000002091282797_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002340898538__row198251257814"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.8.2.1.3.1.1"><p id="EN-US_TOPIC_0000002340898538__p1030019261380">Status Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.8.2.1.3.1.2"><p id="EN-US_TOPIC_0000002340898538__p330092611820">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000002340898538__row1482511258816"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002340898538__p17300172610811">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002340898538__p143007262816">OK</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row12825132518812"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002340898538__p183000269814">201</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002340898538__p03001226788">Created</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row88258251185"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002340898538__p03007261082">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002340898538__p203009268813">Unauthorized</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row782582510819"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002340898538__p1530111261989">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002340898538__p130111261288">Forbidden</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000002340898538__row1282511251584"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.8.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002340898538__p230113264814">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.8.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002340898538__p130152611810">Not Found</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002340898538__section130192614811"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002340898538__p13301152616817">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="notebook.html">Development Environment Management</a></div>
|
|
</div>
|
|
</div>
|
|
|