doc-exports/docs/modelarts/api-ref/modelarts_03_0165.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

126 lines
11 KiB
HTML

<a name="EN-US_TOPIC_0000001943967233"></a><a name="EN-US_TOPIC_0000001943967233"></a>
<h1 class="topictitle1">Service Management Permissions</h1>
<div id="body1563869586966">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001943967233__table17351533185519" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Fine-grained permissions for service management</caption><thead align="left"><tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row123871490126"><th align="left" class="cellrowborder" valign="top" width="24.096385542168676%" id="mcps1.3.1.2.6.1.1"><p id="EN-US_TOPIC_0000001943967233__p1360513218173">Permission</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="26.506024096385538%" id="mcps1.3.1.2.6.1.2"><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p610676142414">API</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.89156626506024%" id="mcps1.3.1.2.6.1.3"><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p2995114142313">Action</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.253012048192769%" id="mcps1.3.1.2.6.1.4"><p id="EN-US_TOPIC_0000001943967233__p18956141115617">IAM Project</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.253012048192769%" id="mcps1.3.1.2.6.1.5"><p id="EN-US_TOPIC_0000001943967233__p749233175615">Enterprise Project</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row83872931212"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p153878917127">Deploying a model</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p13870931211">POST /v1/{project_id}/services</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p1138779171212">modelarts:service:create</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p19510186266"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p1653018122615"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row16387139111216"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p133871594122">Obtaining model services</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__p13763102443612">GET /v1/{project_id}/services</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p6387189111217">modelarts:service:list</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p655218162614"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p1058618102617"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row13387189171216"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p93871298128">Obtaining details about a model service</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p33874901219">GET /v1/{project_id}/services/{service_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p13387169101216">modelarts:service:get</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p106014187264"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p262131862612"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row173871911124"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p123872931215">Updating a model service</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p1838715919129">PUT /v1/{project_id}/services/{service_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p63874919120">modelarts:service:update</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p064618102612"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p76661882611"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row238710917125"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p03871491125">Deleting a model service</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p153871397126">DELETE /v1/{project_id}/services/{service_id}</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p638710991217">modelarts:service:delete</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p1069161813265"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p87171872620"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row14387596125"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p5388119101211">Starting or stopping a model service</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p4387699122">PUT /v1/{project_id}/services/{service_id} (with statuses in the request body)</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p13874920124">modelarts:service:action</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p1673418132616"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p1275218152619"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row106973104155"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p11697161016152">Obtaining service monitoring</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p8697710151511">GET /v1/{project_id}/services/{service_id}/monitor</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p969711107159">modelarts:service:getMonitor</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p38311189262"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p1786151862619"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_row269719102151"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p166983104154">Obtaining service update logs</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p76974101157">GET /v1/{project_id}/services/{service_id}/logs</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__en-us_topic_0161309192_p116982010101512">modelarts:service:getLogs</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p788018202613"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p99191872616"></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001943967233__row129566143920"><td class="cellrowborder" valign="top" width="24.096385542168676%" headers="mcps1.3.1.2.6.1.1 "><p id="EN-US_TOPIC_0000001943967233__p395817145910">Obtaining service event logs</p>
</td>
<td class="cellrowborder" valign="top" width="26.506024096385538%" headers="mcps1.3.1.2.6.1.2 "><p id="EN-US_TOPIC_0000001943967233__p29587142917">GET /v1/{project_id}/services/{service_id}/events</p>
</td>
<td class="cellrowborder" valign="top" width="22.89156626506024%" headers="mcps1.3.1.2.6.1.3 "><p id="EN-US_TOPIC_0000001943967233__p295813141393">modelarts:service:getEvents</p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.4 "><p id="EN-US_TOPIC_0000001943967233__p59391822610"></p>
</td>
<td class="cellrowborder" valign="top" width="13.253012048192769%" headers="mcps1.3.1.2.6.1.5 "><p id="EN-US_TOPIC_0000001943967233__p1995151811267"></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>