Files
doc-exports/docs/modelarts/api-ref/ShowServiceSpecifications.html
2025-05-09 10:22:58 +00:00

525 lines
37 KiB
HTML

<a name="EN-US_TOPIC_0000002233886770"></a><a name="EN-US_TOPIC_0000002233886770"></a>
<h1 class="topictitle1">Obtaining Supported Service Deployment Specifications</h1>
<div id="body32001227"><div class="section" id="EN-US_TOPIC_0000002233886770__section124297111291"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000002233886770__p154295119293">This API is used to obtain supported service deployment specifications.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section84301142911"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000002233886770__p13430201182914">GET /v1/{project_id}/services/specifications</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__table9431101142910" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row44301113295"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000002233886770__p1043141142912">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_0000002233886770__p134311112911">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_0000002233886770__p17431817294">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_0000002233886770__p1043119110297">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row34311615290"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p14432141112919">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_0000002233886770__p184321614291">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1143211162913">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p16433101142918">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 class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__table144346117298" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Query Parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row1743313116299"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.4.2.5.1.1"><p id="EN-US_TOPIC_0000002233886770__p743471102910">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_0000002233886770__p3435171142912">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_0000002233886770__p343513118297">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_0000002233886770__p12435718293">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row10433111152912"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p194350142917">is_personal_cluster</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002233886770__p174369110293">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p10436417292">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p643616112918">Whether to obtain the service deployment flavors supported by dedicated resource pool. The default value is <strong id="EN-US_TOPIC_0000002233886770__b1743614112297">false</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row9434116293"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p54364110292">infer_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002233886770__p114378172918">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p12437612290">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p19437181132919">Inference type. Enums:</p>
<ul id="EN-US_TOPIC_0000002233886770__ul44370162915"><li id="EN-US_TOPIC_0000002233886770__li1243817132915"><p id="EN-US_TOPIC_0000002233886770__p743814111293"><a name="EN-US_TOPIC_0000002233886770__li1243817132915"></a><a name="li1243817132915"></a><strong id="EN-US_TOPIC_0000002233886770__b1043891182910">real-time</strong>, which is the default value</p>
</li><li id="EN-US_TOPIC_0000002233886770__li543813118294"><p id="EN-US_TOPIC_0000002233886770__p1943821152915"><a name="EN-US_TOPIC_0000002233886770__li543813118294"></a><a name="li543813118294"></a><strong id="EN-US_TOPIC_0000002233886770__b7438171122915">batch</strong></p>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row144341011291"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p2438913299">limit</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1243881112912">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p184381419294">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p16438151132911">Maximum number of records returned on each page. The default value is <strong id="EN-US_TOPIC_0000002233886770__b643813112293">1000</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1743419162913"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p343913110292">offset</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.2 "><p id="EN-US_TOPIC_0000002233886770__p64398122910">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.4.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p3439131112916">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.4.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p643901152916">Start offset of the returned data. The default value is <strong id="EN-US_TOPIC_0000002233886770__b1943981152916">0</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section2439151182910"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_HeaderParameter" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row443981112918"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000002233886770__p17440151132917">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_0000002233886770__p1444091112919">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_0000002233886770__p1440314297">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_0000002233886770__p114404192917">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row743913114299"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000002233886770__p74401818290">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_0000002233886770__p1544116162912">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000002233886770__p94418110299">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000002233886770__p6441913293">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_0000002233886770__b54413112911">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_0000002233886770__section244118122917"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000002233886770__p1244151102912"><strong id="EN-US_TOPIC_0000002233886770__b10441014290">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_Specifications" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row54417119297"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p1444216102911">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_0000002233886770__p344215112294">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_0000002233886770__p154421711293">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row744118162910"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p15442318296">total_count</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p84428111296">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p34437119298">Total number of deployed service specifications.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row124428172911"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1344313122918">count</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1244317192913">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p6443418292">Number of specifications in the current list.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row344214115291"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p344313152911">specifications</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p74551112911">Array of <a href="#EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_Specification">Specification</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_0000002233886770__p184564192918">Supported service deployment flavors</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_Specification"></a><a name="en-us_topic_0000002091282845_response_Specification"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_Specification" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Specification</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row346541192910"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.4.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p1047611142913">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_0000002233886770__p14476121142919">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_0000002233886770__p447618162915">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row746518118297"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p194821914293">is_open</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1248211113293">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1748391102913">Whether to enable the flavor. The default value is <strong id="EN-US_TOPIC_0000002233886770__b948815172910">true</strong>. If this parameter is set to <strong id="EN-US_TOPIC_0000002233886770__b11488611292">false</strong>, submit a service ticket to apply for the flavor.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1146511113293"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p548919142918">spec_status</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p54895122913">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p448991172913">Specification status.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row14651916299"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p84901517292">specification</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p949531152919">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p849613112297">Unique flavor ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row74651182914"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p184967115295">billing_spec</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p74968117296">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p549617182918">Unique ID of the billing specifications</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row144651114298"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p84976132914">category</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p349716116298">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p850215142916">The flavor type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row0465314292"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1650371182919">cpu_info</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p750311132917"><a href="#EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_CpuInfo">CpuInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p115032132913">Specifies the CPU information of the flavor.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1465518290"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p050416119299">memory_info</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1550418172914"><a href="#EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_MemoryInfo">MemoryInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1950510110295">Specifies the memory information of the flavor.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row18466113297"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p15508111182915">gpu_info</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1850811118291"><a href="#EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_GpuInfo">GpuInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p650920119296">Specifies the GPU information of the flavor.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1346613110292"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p15095116298">npu_info</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p145093116291"><a href="#EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_NpuInfo">NpuInfo</a> object</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p251017162914">NPU information of the flavor.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row104711519290"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1951018111298">source_type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p135101314294">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p351113113297">Model type, which can be <strong id="EN-US_TOPIC_0000002233886770__b1251161172913">empty</strong> or <strong id="EN-US_TOPIC_0000002233886770__b651141132912">auto</strong>. The default value is <strong id="EN-US_TOPIC_0000002233886770__b35117110290">empty</strong>, indicating that the model is generated by the user. If the value is <strong id="EN-US_TOPIC_0000002233886770__b1751111118294">auto</strong>, the model is trained using ExeML. The billing mode varies depending on the model type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row11471111192917"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p6511101102910">is_free</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p951191192915">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p155124182913">Whether the flavor is free of charge. The value <strong id="EN-US_TOPIC_0000002233886770__b17512191182914">true</strong> indicates that the flavor is free of charge.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row5472411291"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p85121718299">over_quota</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p195121011294">Boolean</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1513181112915">Whether the quota exceeds the upper limit. The value <strong id="EN-US_TOPIC_0000002233886770__b151317115291">true</strong> indicates that the quota exceeds the upper limit.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row247220117296"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p151391132918">extend_params</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p165131915299">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p125148115294">Billing item</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row74728115293"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p14514151142917">display_en</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1751441152914">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p135140112912">Specifications description in English</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1447519110296"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p175141118299">display_cn</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.4.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p151571142920">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.4.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p551518142915">Specification description</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_CpuInfo"></a><a name="en-us_topic_0000002091282845_response_CpuInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_CpuInfo" frame="border" border="1" rules="all"><caption><b>Table 6 </b>CpuInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row65151012295"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p4561151182910">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_0000002233886770__p65621911294">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_0000002233886770__p1756211113297">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row451511117297"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p85631219299">arch</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p056317102919">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1856318118292">Architecture type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row20515116292"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1056315111296">cpu</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p185631116297">Number</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1556461152914">Number of CPUs</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_MemoryInfo"></a><a name="en-us_topic_0000002091282845_response_MemoryInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_MemoryInfo" frame="border" border="1" rules="all"><caption><b>Table 7 </b>MemoryInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row456471162917"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.6.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p195654116299">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_0000002233886770__p25651716298">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_0000002233886770__p6565191132919">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row17564511295"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p656513110290">unit</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p14565181112919">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1856671122920">Unit.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row105645119295"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p175661219297">memory</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.6.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1566121162918">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.6.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p185669102914">Memory size.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_GpuInfo"></a><a name="en-us_topic_0000002091282845_response_GpuInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_GpuInfo" frame="border" border="1" rules="all"><caption><b>Table 8 </b>GpuInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row556611122911"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p056781102917">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_0000002233886770__p356716102914">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_0000002233886770__p1656714192913">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row1566915291"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p8567141172913">brand</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p55678162910">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p12567101182916">Brand.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row2056619110299"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p145676122913">version</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p25681412292">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p556881172918">Card type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row2566191102915"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1956801182915">unit</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p5568151132920">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p135680122915">Unit.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row256671162916"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p956814118294">memory</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1756851172917">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p4568171132912">Memory size of the card.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row256671112911"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p135688110290">gpu</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p4568619291">Number</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p125693162910">Number of GPUs.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_NpuInfo"></a><a name="en-us_topic_0000002091282845_response_NpuInfo"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_response_NpuInfo" frame="border" border="1" rules="all"><caption><b>Table 9 </b>NpuInfo</caption><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row10569612298"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.8.2.4.1.1"><p id="EN-US_TOPIC_0000002233886770__p757017182915">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_0000002233886770__p1857031122919">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_0000002233886770__p4570161192917">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row105694119296"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p1257091142914">brand</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p1457014172910">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1657116115292">Brand.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row3569217293"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p2057115116299">version</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p257114111295">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p357113132910">Card type.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row256916122915"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p357191172915">unit</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p165711117298">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1057212110291">Unit.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row1356911132914"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p16572201112914">memory</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p157211132917">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p175727182914">Memory size of the card.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002233886770__row2056971162916"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.1 "><p id="EN-US_TOPIC_0000002233886770__p19572111192914">npu</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.8.2.4.1.2 "><p id="EN-US_TOPIC_0000002233886770__p357213112919">Integer</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.8.2.4.1.3 "><p id="EN-US_TOPIC_0000002233886770__p1857214111299">Number of NPUs.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section195731519297"><h4 class="sectiontitle">Example Requests</h4><pre class="screen" id="EN-US_TOPIC_0000002233886770__screen4573101102910">GET https://{endpoint}/v1/{project_id}/services/specifications</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section3573151152919"><h4 class="sectiontitle">Example Responses</h4><p id="EN-US_TOPIC_0000002233886770__p15734116295"><strong id="EN-US_TOPIC_0000002233886770__b13573817298">Status code: 200</strong></p>
<p id="EN-US_TOPIC_0000002233886770__p15573101132912">Service deployment flavors.</p>
<pre class="screen" id="EN-US_TOPIC_0000002233886770__screen19574715292">{
"total_count" : 3,
"count" : 3,
"specifications" : [ {
"specification" : "modelarts.vm.cpu.2u",
"billing_spec" : "modelarts.vm.cpu.2u",
"category" : "CPU",
"cpu_info" : {
"arch" : "x86",
"cpu" : 2.0
},
"memory_info" : {
"unit" : "GB",
"memory" : 8
},
"gpu_info" : {
"unit" : "MB",
"gpu" : 0.0,
"memory" : 0
},
"npu_info" : {
"unit" : "MB",
"npu" : 0,
"memory" : 0
},
"display_en" : "CPU: 2 vCPUs | 8 GiB",
"display_cn" : "CPU: 2 Core 8 GiB",
"is_open" : true,
"spec_status" : "normal",
"is_free" : false,
"over_quota" : false,
"extend_params" : 1
}, {
"specification" : "modelarts.vm.gpu.pnt004",
"billing_spec" : "modelarts.vm.gpu.pnt004",
"category" : "GPU",
"cpu_info" : {
"arch" : "x86",
"cpu" : 8.0
},
"memory_info" : {
"unit" : "GB",
"memory" : 32
},
"gpu_info" : {
"unit" : "GB",
"brand" : "NVIDIA",
"version" : "Pnt004",
"gpu" : 1.0,
"memory" : 16
},
"npu_info" : {
"unit" : "MB",
"npu" : 0,
"memory" : 0
},
"display_en" : "CPU: 8 vCPUs | 32 GiB GPU: Pnt004",
"display_cn" : "CPU: 8 cores 32 GiB GPU: 1 x Pnt004",
"is_open" : true,
"spec_status" : "normal",
"is_free" : false,
"over_quota" : false,
"extend_params" : 1
}, {
"specification" : "modelarts.vm.ai1.snt3",
"billing_spec" : "modelarts.vm.ai1.snt3",
"category" : "NPU",
"cpu_info" : {
"arch" : "x86",
"cpu" : 2.0
},
"memory_info" : {
"unit" : "GB",
"memory" : 8
},
"gpu_info" : {
"unit" : "MB",
"gpu" : 0.0,
"memory" : 0
},
"display_en" : "CPU: 2 vCPUs",
"display_cn" : "CPU: 2 cores",
"is_open" : false,
"spec_status" : "normal",
"is_free" : false,
"over_quota" : false,
"extend_params" : 1
} ]
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section2092120192914"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002233886770__en-us_topic_0000002091282845_status_code" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000002233886770__row55821011292"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000002233886770__p892113192918">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_0000002233886770__p492111102912">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002233886770__row15821119291"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000002233886770__p5922519293">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000002233886770__p592211142917">Service deployment flavors.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002233886770__section99225172915"><h4 class="sectiontitle">Error Codes</h4><p id="EN-US_TOPIC_0000002233886770__p16922718296">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>