Help Center/ Cloud Container Engine/ API Reference/ Appendix/ How to Obtain Parameters in the API URI
Updated on 2024-03-22 GMT+08:00

How to Obtain Parameters in the API URI

project_id

project_id indicates the project ID, which can be obtained from the console or APIs. For details, see Obtaining a Project ID.

cluster_id

  1. Log in to the CCE console. In the navigation pane, choose Clusters.
  2. Click the name of the created cluster. The cluster details page is displayed. Obtain the cluster ID.

node_id

  1. Log in to the CCE console. In the navigation pane, choose Clusters.
  2. Click the name of the created cluster, select Nodes on the left, and move the cursor to the node name to view the node ID.

job_id

  1. Log in to the CCE console. In the navigation pane, choose Clusters. The following uses cluster management as an example to describe how to obtain the job_id of the cluster that is being created.
  2. Obtain the job ID.

    1. If you are using Google Chrome, press F12. On the pane displayed on the right, click the Network tab.
    2. Click Operation Records on the CCE console to view details about cluster operation records.
    3. Enter jobs in the Filter text box to filter out the jobs. Select a job from the list on the left and click Preview. The uid field indicates the job UID.
    Figure 1 Obtaining the job ID