doc-exports/docs/cce/api-ref/cce_02_0271.html
Dong, Qiu Jian 3336ba8df7 CCE API for v1.23
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2022-11-10 12:48:59 +00:00

30 lines
4.5 KiB
HTML

<a name="cce_02_0271"></a><a name="cce_02_0271"></a>
<h1 class="topictitle1">How to Obtain Parameters in the API URI</h1>
<div id="body1533088268262"><div class="section" id="cce_02_0271__section16020367542"><h4 class="sectiontitle">project_id</h4><ol id="cce_02_0271__ol123315489568"><li id="cce_02_0271__li1039304545815"><span>Log in to the CCE console, click the username in the upper right corner, and select <strong id="cce_02_0271__b540381312565">My Credentials</strong>.</span></li><li id="cce_02_0271__li23312482565"><span>On the <strong id="cce_02_0271__b12741349185614">Project</strong><strong id="cce_02_0271__b1750041474712">s</strong> tab page, obtain the project ID of the corresponding region.</span><p><div class="fignone" id="cce_02_0271__fig161112910194"><span class="figcap"><b>Figure 1 </b>Viewing project IDs</span><br><span><img id="cce_02_0271__image511159141915" src="en-us_image_0203982493.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li></ol>
</div>
<div class="section" id="cce_02_0271__section159011367564"><h4 class="sectiontitle">cluster_id</h4><ol id="cce_02_0271__ol1515319226320"><li id="cce_02_0271__li13311434932"><span>Log in to the CCE console, and choose <strong id="cce_02_0271__b464411965716">Resource Management</strong> &gt; <strong id="cce_02_0271__b6191238155719">Clusters</strong> from the navigation pane.</span></li><li id="cce_02_0271__li6153192210318"><span>Click the name of the created cluster. The cluster details page is displayed. Obtain the cluster ID.</span><p><div class="fignone" id="cce_02_0271__fig1148731210177"><span class="figcap"><b>Figure 2 </b>Obtaining the cluster ID</span><br><span><img id="cce_02_0271__image1657918403187" src="en-us_image_0233732613.png"></span></div>
</p></li></ol>
</div>
<div class="section" id="cce_02_0271__section38161013195615"><h4 class="sectiontitle">node_id</h4><ol id="cce_02_0271__ol18696153964"><li id="cce_02_0271__li11696731068"><span>Log in to the CCE console, and choose <strong id="cce_02_0271__b470516411010">Resource Management</strong> &gt; <strong id="cce_02_0271__b9158191019010">Nodes</strong> from the navigation pane.</span></li><li id="cce_02_0271__li128261161877"><span>Click the node name to go to the node details page and obtain the node ID.</span><p><div class="fignone" id="cce_02_0271__fig975912216193"><span class="figcap"><b>Figure 3 </b>Obtaining the node ID</span><br><span><img id="cce_02_0271__image115111613494" src="en-us_image_0279177365.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li></ol>
</div>
<div class="section" id="cce_02_0271__section36041618185611"><h4 class="sectiontitle">job_id</h4><ol id="cce_02_0271__ol157391011153720"><li id="cce_02_0271__li1873941113377"><span>Log in to the CCE console, and choose <strong id="cce_02_0271__b1512818592003">Resource Management</strong> &gt; <strong id="cce_02_0271__b095017361016">Clusters</strong> or choose <strong id="cce_02_0271__b1736316310217">Resource Management</strong> &gt; <strong id="cce_02_0271__b105656611216">Nodes</strong> from the navigation pane.</span></li><li id="cce_02_0271__li473991113716"><span>For example, on the <strong id="cce_02_0271__b17240150352">Clusters</strong> page, click the status of the cluster that is being created. The cluster creation job details page is displayed.</span></li><li id="cce_02_0271__li35171345122913"><span>Obtain the job ID.</span><p><p id="cce_02_0271__p1866165772912">If you are using Google Chrome, press <strong id="cce_02_0271__b11908183816715">F12</strong>. On the pane displayed on the right, click the <strong id="cce_02_0271__b163531511171015">Network</strong> tab. Enter <strong id="cce_02_0271__b14159172971017">jobs</strong> in the <strong id="cce_02_0271__b144024321109">Filter</strong> text box to filter the job list. Select a job from the list on the left and click <strong id="cce_02_0271__b15411026191111">Preview</strong>. The UID field indicates the UID of the job.</p>
<div class="fignone" id="cce_02_0271__fig49321312222"><span class="figcap"><b>Figure 4 </b>Obtaining the job ID</span><br><span><img id="cce_02_0271__image3938131224" src="en-us_image_0203982464.png" title="Click to enlarge" class="imgResize"></span></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_02_0083.html">Appendix</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>