proposalbot 069b339d1e Changes to cce_api-ref from docs/doc-exports#569 (Workaround bolds ending with s
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: proposalbot <proposalbot@otc-service.com>
Co-committed-by: proposalbot <proposalbot@otc-service.com>
2023-01-12 15:42:09 +00:00

49 lines
7.9 KiB
ReStructuredText

:original_name: cce_02_0272.html
.. _cce_02_0272:
API Permissions
===============
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| **Module** | **API** | **Function** | **Permission** |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| Cluster management | GET /api/v3/projects/{project_id}/clusters | Obtaining information about clusters in a specified project | cce:cluster:list |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | POST /api/v3/projects/{project_id}/clusters | Creating a cluster | cce:cluster:create |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/clusters/{cluster_id} | Obtaining information about a specified cluster | cce:cluster:get |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/clusters/{cluster_id}/clustercert | Obtaining the certificates of a cluster | |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | PUT /api/v3/projects/{project_id}/clusters/{cluster_id} | Updating information about a cluster | cce:cluster:update |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | DELETE /api/v3/projects/{project_id}/clusters/{cluster_id} | Deleting a cluster | cce:cluster:delete |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes | Obtaining information about all nodes in a cluster | cce:node:list |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | POST /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes | Creating nodes for a cluster | cce:node:create |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | PUT /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} | Updating information about a specified node | cce:node:update |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} | Obtaining information about a specified node | cce:node:get |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | DELETE /api/v3/projects/{project_id}/clusters/{cluster_id}/nodes/{node_id} | Deleting a node | cce:node:delete |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/jobs/{job_id} | Obtaining information about a specified job | cce:job:get |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | GET /api/v3/projects/{project_id}/clusters/{cluster_id}/nodepools | Obtaining information about all node pools in a specified cluster | cce:nodepool:list |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| Storage management | POST /api/v1/namespaces/{namespace}/cloudpersistentvolumeclaims | Creating a PersistentVolumeClaim | cce:storage:create |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | POST /api/v1/cloudpersistentvolumes | Creating a PersistentVolume | |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | DELETE /api/v1/namespaces/{namespace}/cloudpersistentvolumeclaims/{name} | Deleting a PersistentVolumeClaim | cce:storage:delete |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | DELETE /api/v1/cloudpersistentvolumes/{name} | Deleting a PersistentVolume | |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| Kubernetes-native APIs | /api/``*`` | Operating Kubernetes resources | cce:kubernetes:``*`` |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+
| | /apis/``*`` | | |
+------------------------+----------------------------------------------------------------------------+-------------------------------------------------------------------+----------------------+