API Overview
UCS provides UCS APIs and Karmada APIs. By using UCS APIs and Karmada APIs together, you can use all functions provided by UCS, such as registering clusters and creating fleets.
| Type | Subtype | Description |
|---|---|---|
| UCS APIs | APIs for managing clusters, such as registering, updating, and deleting clusters. You can use these APIs to register clusters and obtain information about registered clusters. | |
| APIs for managing fleets, such as creating and deleting fleets. You can use these APIs to create fleets and obtain information about created fleets. | ||
| APIs for managing add-ons, such as obtaining, installing, and updating add-on instances. | ||
| APIs for managing policies, such as obtaining, updating, and deleting policies. | ||
| API for managing traffic, such as creating record sets and querying the record set list. | ||
| APIs for obtaining UCS resource quotas | ||
| Karmada APIs | - | For details about how to call Karmada APIs, see Using Karmada APIs. |
UCS Cluster APIs
| API | Description |
|---|---|
| This API is used to obtain the cluster list. | |
| This API is used to enable the policy center for a cluster. | |
| This API is used to obtain information about a single cluster. | |
| This API is used to disable the policy center for a cluster. | |
| This API is used to register a cluster. Third-party clusters and CCE clusters can be registered. | |
| This API is used to update a cluster. Currently, only the country/city of attached clusters and on-premises clusters can be updated. | |
| Obtaining the Configuration Required for Cluster Installation | This API is used to obtain the configuration required for cluster installation. Currently, this API is used only for on-premises clusters. |
| This API is used to deregister a cluster. | |
| This API is used to obtain cluster access information. | |
| This API is used to create a policy instance for a cluster. | |
| This API is used to activate a cluster. | |
| This API is used to obtain the kubeconfig of a cluster. | |
| This API is used to obtain the CCE cluster list of the current tenant. | |
| This API is used to obtain the global configuration of each type of clusters. | |
| Querying the Version List of Clusters That Can Be Connected to UCS | This API is used to query the version list of clusters that can be connected to UCS. |
| This API is used to query the feature gate status. |
Fleet APIs
| API | Description |
|---|---|
| This API is used to add a cluster to a fleet. | |
| This API is used to remove a cluster from a fleet. | |
| This API is used to create a fleet. You can select clusters during fleet creation. | |
| This API is used to enable the policy center for a fleet. | |
| This API is used to disable the policy center for a fleet. | |
| This API is used to delete a fleet. A fleet can be deleted only when it is empty. To delete a fleet, remove all clusters from the fleet first. | |
| This API is used to create a fleet policy instance. | |
| This API is used to obtain a fleet. | |
| This API is used to add clusters to a fleet. One or more clusters can be added at the same time. This API cannot be used to remove all or some clusters from a fleet. | |
| This API is used to update the description of a fleet. You must have the permissions to update the fleet. | |
| This API is used to upgrade a federation. | |
| This API is used to update the zone associated with the federation of a fleet. | |
| This API is used to obtain the fleet list. | |
| This API is used to enable cluster federation. | |
| This API is used to disable cluster federation for a fleet. | |
| This API is used to query the federation enabling progress. | |
| This API is used to create a VPC endpoint for connecting to the federation API server and downloading kubeconfig from the federation API server after federation is enabled for a fleet. | |
| This API is used to create a VPC endpoint for connecting to the federation API server after federation is enabled for a fleet. | |
| This API is used to download the kubeconfig after the cluster federation is enabled for a fleet and the federation connection is created. | |
| This API is used to query a federated workload. | |
| This API is used to create a federated workload. | |
| This API is used to delete a federated workload. | |
| This API is used to update a federated workload. | |
| This API is used to roll back the federation version. |
Add-on Management APIs
| API | Description |
|---|---|
| This API is used to obtain the list of add-on instances. | |
| This API is used to install an add-on instance. | |
| This API is used to update an add-on instance. | |
| This API is used to obtain an add-on instance. | |
| This API is used to uninstall an add-on instance. | |
| This API is used to obtain the add-on template list. | |
| This API is used to obtain an add-on template. |
Policy Management APIs
| API | Description |
|---|---|
| This API is used to obtain the policy definition list. | |
| This API is used to update a policy definition. | |
| This API is used to obtain a policy definition. | |
| This API is used to obtain the policy instance list. | |
| This API is used to delete a specific policy instance. | |
| This API is used to obtain a specific policy instance. | |
| This API is used to update a specific policy instance. | |
| This API is used to obtain the job related to a specific policy instance. | |
| This API is used to obtain the list of jobs related to a specific policy instance. | |
| This API is used to retry policy instance creation. | |
| This API is used to retry the policy instance update. | |
| This API is used to retry policy instance deletion. |
Traffic Management APIs
| API | Description |
|---|---|
| This API is used to create a record set. | |
| This API is used to query the record set list. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot