doc-exports/docs/modelarts/api-ref/modelarts_03_0365.html
Lai, Weijian 68e5cd0687 ModelArts API 23.3.0 Version.
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lai, Weijian <laiweijian4@huawei.com>
Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
2024-06-18 11:02:37 +00:00

227 lines
19 KiB
HTML

<a name="EN-US_TOPIC_0000001909848116"></a><a name="EN-US_TOPIC_0000001909848116"></a>
<h1 class="topictitle1">DevEnviron Permissions (New Version)</h1>
<div id="body0000001357916386">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001909848116__table13472315483" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Fine-grained permissions for DevEnviron</caption><thead align="left"><tr id="EN-US_TOPIC_0000001909848116__row934162315484"><th align="left" class="cellrowborder" valign="top" width="27.06502636203866%" id="mcps1.3.1.2.6.1.1"><p id="EN-US_TOPIC_0000001909848116__p93442314482">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="21.14370690820603%" id="mcps1.3.1.2.6.1.2"><p id="EN-US_TOPIC_0000001909848116__p1735142314810">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.090036501284303%" id="mcps1.3.1.2.6.1.3"><p id="EN-US_TOPIC_0000001909848116__p1535122314484">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.640665134513993%" id="mcps1.3.1.2.6.1.4"><p id="EN-US_TOPIC_0000001909848116__p7351623144810">IAM Project</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.06056509395701%" id="mcps1.3.1.2.6.1.5"><p id="EN-US_TOPIC_0000001909848116__p1035112384818">Enterprise Project</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001909848116__row1235823154812"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p5350231486">Creating a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p536142313481">POST</p>
<p id="EN-US_TOPIC_0000001909848116__p1936122310489">/v1/{project_id}/notebooks</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p11361923104817">modelarts:notebook:create</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p183711239489"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p2037023204819"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row173772314487"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p153712316487">Obtaining development environment instances</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1371023194813">GET /v1/{project_id}/notebooks</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p17381923174815">modelarts:notebook:list</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p10381223114811"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p638223114815"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1038723164814"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p9381623104817">Obtaining details about a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p153862374814">GET</p>
<p id="EN-US_TOPIC_0000001909848116__p93814239482">/v1/{project_id}/notebooks/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1038162344810">modelarts:notebook:get</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p13394239488"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p9391923184817"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row133932317488"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p103919237489">Modifying a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1239152315488">PUT /v1/{project_id}/notebooks/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p7393235488">modelarts:notebook:update</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p53913239487"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p83972324819"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row143932344815"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p1939122316482">Deleting a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p18391723184818">DELETE /v1/{project_id}/notebooks/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p83922317489">modelarts:notebook:delete</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p54014234487"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p6401223124813"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row3401023124818"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p1040323154814">Starting a development environment instance of the new version</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p104011234488">POST /v1/{project_id}/notebooks/{id}/start</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p740423134815">modelarts:notebook:start</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p34017234487"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p14016233480"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row340152364813"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p6401223174819">Stopping a development environment instance of the new version</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p240223184814">POST /v1/{project_id}/notebooks/{id}/stop</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1541102344810">modelarts:notebook:stop</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p24192384818"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p1441223184810"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1041152311484"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p17411723184820">Obtaining supported images</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p15413231486">GET /v1/{project_id}/images</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1541142344810">modelarts:image:list</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p1341132317489"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p144292311485"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1669222025315"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p26925200535">Obtaining details of an image</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p17692820195319">GET /v1/{project_id}/images/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1769222018536">modelarts:image:get</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p63721318783"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p83727181489"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row8341944105519"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p1342184416554">Obtaining image groups</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p834234495510">GET /v1/{project_id}/images/group</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p5342184445510">modelarts:image:listGroup</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p18657191814"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p26518199812"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row9986142214534"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p149861922165315">Registering a custom image</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1898682211538">POST /v1/{project_id}/images</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p598632213533">modelarts:image:register</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p1592812271480"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p179281527880"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row14196325165317"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p619611254532">Deleting a custom image</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p719692555317">DELETE /v1/{project_id}/images/{id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p16196122545318">modelarts:image:delete</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p142581129685"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p125822916814"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row18605274533"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p188602027105318">Saving as a custom image</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p4860162755315">POST /v1/{project_id}/notebooks/{id}/create-image</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p386015279538">modelarts:image:create</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p138721295819"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p38725291687"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1156010431047"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p2056015431145">Obtaining the storage mounted to a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1356034319415">POST /v1/{project_id}/notebooks/{id}/create-image</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p0561174318411">modelarts:notebook:listMountedStorages</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p843612301888"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p14361530984"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1435021818519"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p20350018159">Mounting storage to a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p16350131810513">POST /v1/{project_id}/notebooks/{instance_id}/storage</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p63508181354">modelarts:notebook:mountStorage</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p556110315811"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p256173118820"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row15190122354"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p1719022210511">Obtaining details about the storage mounted to a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1319011221959">GET /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1419010221352">modelarts:notebook:getMountedStorage</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p3225173213820"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p82266321283"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row1514324156"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p251414242519">Unmounting storage from a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p1951472414511">DELETE /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p195140241758">modelarts:notebook:umountStorage</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p14360033687"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p1536063312817"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001909848116__row108788262056"><td class="cellrowborder" valign="top" width="27.06502636203866%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001909848116__p5878202615514">Updating the rules for stopping a development environment instance</p>
</td>
<td class="cellrowborder" valign="top" width="21.14370690820603%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001909848116__p587812614515">PATCH /v1/{project_id}/notebooks/{id}/lease</p>
</td>
<td class="cellrowborder" valign="top" width="22.090036501284303%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001909848116__p1587813260510">modelarts:notebook:updateStopPolicy</p>
</td>
<td class="cellrowborder" valign="top" width="13.640665134513993%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001909848116__p16996133311814"></p>
</td>
<td class="cellrowborder" valign="top" width="16.06056509395701%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001909848116__p109967331681"></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="modelarts_03_0138.html">Permissions Policies and Supported Actions</a></div>
</div>
</div>