CLI Command Reference (V2)
Namespace
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query all Namespaces | hcloud CCI listNamespaces/v2 | This API is used to query details about all Namespaces of a user. | |
| Create a Namespace | hcloud CCI createNamespace/v2 | This API is used to create a Namespace. | |
| Delete a namespace | hcloud CCI deleteNamespace/v2 | This API is used to delete a Namespace. | |
| Query a Specified Namespace | hcloud CCI readNamespace/v2 | This API is used to query details about a specified namespace. |
ConfigMap
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query ConfigMaps in a Specified Namespace | hcloud CCI listNamespacedConfigMaps/v2 | This API is used to query details about all ConfigMaps in a specified namespace. | |
| Create a ConfigMap | hcloud CCI createNamespacedConfigMap/v2 | This API is used to create a ConfigMap. | |
| Delete the ConfigMap | hcloud CCI deleteNamespacedConfigMap/v2 | This API is used to delete a specified ConfigMap in a specified namespace. | |
| Replace the ConfigMap | hcloud CCI replaceNamespacedConfigMap/v2 | This API is used to replace a specified ConfigMap in a specified namespace. |
Deployment
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query Deployments in a Specified Namespace | hcloud CCI listNamespacedDeployments/v2 | This API is used to query details about all Deployments in a specified namespace. | |
| Create a Deployment | hcloud CCI createNamespacedDeployment/v2 | This API is used to create a Deployment. | |
| Delete a Deployment | hcloud CCI deleteNamespacedDeployment/v2 | This API is used to delete a specified Deployment in a specified namespace. | |
| Query a specified Deployment | hcloud CCI readNamespacedDeployment/v2 | This API is used to query details about a specified Deployment in a specified namespace. | |
| Update Deployment | hcloud CCI patchNamespacedDeployment/v2 | This API is used to update a specified Deployment in a specified namespace. | |
| Replace Deployment | hcloud CCI replaceNamespacedDeployment/v2 | This API is used to replace a specified Deployment in a specified namespace. |
HorizontalPodAutoscaler
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query HorizontalPodAutoscalers in a specified namespace | hcloud CCI listNamespacedHorizontalPodAutoscalers/v2 | This API is used to query details about all HorizontalPodAutoscalers in a specified namespace. | |
| Create a HorizontalPodAutoscaler | hcloud CCI createNamespacedHorizontalPodAutoscaler/v2 | This API is used to create a HorizontalPodAutoscaler. | |
| Delete HorizontalPodAutoscaler | hcloud CCI deleteNamespacedHorizontalPodAutoscaler/v2 | This API is used to delete a specified HorizontalPodAutoscaler in a specified namespace. | |
| Query the specified HorizontalPodAutoscaler | hcloud CCI readNamespacedHorizontalPodAutoscaler/v2 | This API is used to query details about a specified HorizontalPodAutoscaler in a specified namespace. | |
| Update HorizontalPodAutoscaler | hcloud CCI patchNamespacedHorizontalPodAutoscaler/v2 | This API is used to update a specified HorizontalPodAutoscaler in a specified namespace. | |
| Replace HorizontalPodAutoscaler | hcloud CCI replaceNamespacedHorizontalPodAutoscaler/v2 | This API is used to replace a specified HorizontalPodAutoscaler in a specified namespace. |
PersistentVolumeClaim
| API Name | Command | Description | Operation |
|---|---|---|---|
| Delete PersistentVolumeClaim | hcloud CCI deleteNamespacedPersistentVolumeClaim/v2 | This API is used to delete a specified PersistentVolumeClaim in a specified namespace. |
Pod
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query Pods in a Specified Namespace | hcloud CCI listNamespacedPods/v2 | This API is used to query details about all pods in a specified namespace. | |
| Create a Pod | hcloud CCI createNamespacedPod/v2 | This API is used to create a pod. | |
| Delete a Pod | hcloud CCI deleteNamespacedPod/v2 | This API is used to delete a specified pod in a specified namespace. | |
| Query the specified pod | hcloud CCI readNamespacedPod/v2 | This API is used to query details about a specified pod in a specified namespace. |
ReplicaSet
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query ReplicaSets in a specified namespace | hcloud CCI listNamespacedReplicaSets/v2 | This API is used to query details about all ReplicaSets in a specified namespace. |
Secret
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query Secrets in a Specified Namespace | hcloud CCI listNamespacedSecrets/v2 | This API is used to query details about all secrets in a specified namespace. | |
| Create a Secret | hcloud CCI createNamespacedSecret/v2 | This API is used to create a secret. | |
| Delete Secret | hcloud CCI deleteNamespacedSecret/v2 | This API is used to delete a specified secret in a specified namespace. | |
| Query the specified secret | hcloud CCI readNamespacedSecret/v2 | This API is used to query details about a specified secret in a specified namespace. | |
| Replace Secret | hcloud CCI replaceNamespacedSecret/v2 | This API is used to replace a specified secret in a specified namespace. |
Service
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query Services in a Specified Namespace | hcloud CCI listNamespacedServices/v2 | This API is used to query details about all services in a specified namespace. | |
| Create a Service | hcloud CCI createNamespacedService/v2 | This API is used to create a Service. | |
| Delete a service | hcloud CCI deleteNamespacedService/v2 | This API is used to delete a specified service in a specified namespace. | |
| Replace a Service | hcloud CCI replaceNamespacedService/v2 | This API is used to replace a specified service in a specified namespace. |
Network
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query Networks in a Specified Namespace | hcloud CCI listNamespacedNetworks/v2 | This API is used to query details about all Networks in a specified namespace. | |
| Create a Network | hcloud CCI createNamespacedNetwork/v2 | This API is used to create a Network. | |
| Replace a Network | hcloud CCI replaceNamespacedNetwork/v2 | This API is used to replace a specified network in a specified namespace. |
FeatureGate
| API Name | Command | Description | Operation |
|---|---|---|---|
| Query feature gate | hcloud CCI readCciFeatureGates/v2 | This API is used to query details about a feature gate. |
What is your overall rating for this page?
Thank 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