CLI Command Reference
Managing Host Clusters
| API Name | Command | Description | Operation |
|---|---|---|---|
| Adding a host cluster - 2 | hcloud CodeArtsDeploy CreateDeploymentGroup | Create a host cluster in the project. This interface will no longer be maintained after September 30, 2024. You are advised to use the CreateHostCluster interface of the new version. | |
| Query the list of host clusters. | hcloud CodeArtsDeploy ListHostGroups | This interface is used to query the host cluster list based on conditions. This interface will no longer be maintained after September 30, 2024. You are advised to use the ListHostClusters interface of the new version. | |
| Deletes a host cluster. | hcloud CodeArtsDeploy DeleteDeploymentGroup | This interface is used to delete a host cluster based on the host cluster ID. This interface will no longer be maintained after September 30, 2024. | |
| Querying Host Clusters | hcloud CodeArtsDeploy ShowDeploymentGroupDetail | This interface is used to query details about a host cluster based on the host cluster ID. This interface will no longer be maintained after September 30, 2024. You are advised to use the ShowHostClusterDetail interface of the new version. | |
| Modifying a Host Cluster | hcloud CodeArtsDeploy UpdateDeploymentGroup | This interface is used to modify host cluster information based on the host cluster ID. This interface will no longer be maintained after September 30, 2024. | |
| Create Host Cluster | hcloud CodeArtsDeploy CreateHostCluster | Create a host cluster in the project. | |
| Query the list of host clusters. | hcloud CodeArtsDeploy ListHostClusters | This interface is used to query the host cluster list based on conditions. | |
| Querying a Host Cluster | hcloud CodeArtsDeploy ShowHostClusterDetail | Query host cluster detail by host cluster ID. | |
| Editing a Host Cluster | hcloud CodeArtsDeploy UpdateHostCluster | This API is used to edit a host cluster. | |
| Deleting a Host Cluster | hcloud CodeArtsDeploy DeleteHostCluster | This API is used to delete a host cluster. | |
| Querying Information About the Environment Associated with a Host Cluster | hcloud CodeArtsDeploy ListAssociateEnvironmentsInfos | This API is used to query information about the environment associated with a host cluster. | |
| Querying the Basic Environment Information List of an Application | hcloud CodeArtsDeploy ListHostGroupBaseInfos | This API is used to query the basic environment information list of an application. |
Managing Hosts
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating a host | hcloud CodeArtsDeploy CreateDeploymentHost | Create a host in a specified host cluster. This interface will no longer be maintained after September 30, 2024. You are advised to use the CreateHost interface of the new version. | |
| Querying a host list | hcloud CodeArtsDeploy ListHosts | This interface is used to query the list of hosts in a specified host cluster based on the host cluster ID. This interface will no longer be maintained after September 30, 2024. You are advised to use the ListNewHosts interface of the new version. | |
| Querying Host Details | hcloud CodeArtsDeploy ShowDeploymentHostDetail | This interface is used to query host details based on the host ID. This interface will no longer be maintained after September 30, 2024. You are advised to use the ShowHostDetail interface of the new version. | |
| Modify attributes of a host | hcloud CodeArtsDeploy UpdateDeploymentHost | This interface is used to modify host information based on the host ID. This interface will no longer be maintained after September 30, 2024. | |
| Deleting a Host | hcloud CodeArtsDeploy DeleteDeploymentHost | This interface is used to delete a host based on the host ID. This interface will no longer be maintained after September 30, 2024. | |
| Creat host | hcloud CodeArtsDeploy CreateHost | Create a host in host cluster. | |
| Querying a host list | hcloud CodeArtsDeploy ListNewHosts | Query host list by host cluster ID. | |
| Querying Host Details | hcloud CodeArtsDeploy ShowHostDetail | Query host details by host ID. | |
| Editing Host Information in a Host Cluster | hcloud CodeArtsDeploy UpdateHostInfo | This API is used to edit host information in a host cluster by ID. | |
| Deleting a Host from a Host Cluster | hcloud CodeArtsDeploy DeleteHost | This API is used to delete a host from a host cluster by ID. | |
| Cloning Hosts to the Target Host Cluster in Batches | hcloud CodeArtsDeploy CopyHostsToTarget | This API is used to clone hosts to the target host cluster in batches. | |
| Deleting Hosts from a Host Cluster in Batches | hcloud CodeArtsDeploy BatchDeleteHosts | This API is used to delete hosts from a host cluster in batches. |
Managing Applications
| API Name | Command | Description | Operation |
|---|---|---|---|
| Obtain Application List | hcloud CodeArtsDeploy ListDeployTasks | Querying the application list in a project. This interface will no longer be maintained after September 30, 2024. You are advised to use the ListAllApp interface of the new version. | |
| Customizing a Template to Create an Application | hcloud CodeArtsDeploy CreateDeployTaskByTemplate | Customizes a template to create an application. This interface will no longer be maintained after September 30, 2024. You are advised to use the CreateApp interface of the new version. | |
| Deploying an Application | hcloud CodeArtsDeploy StartDeployTask | Deploys an application based on the deployment task ID. | |
| Obtaining Application Details | hcloud CodeArtsDeploy ShowDeployTaskDetail | Obtains application details based on the deployment task ID. This interface will no longer be maintained after September 30, 2024. You are advised to use the ShowAppDetailById interface of the new version. | |
| Deleting an Application | hcloud CodeArtsDeploy DeleteDeployTask | Deletes an application based on the deployment task ID. This interface will no longer be maintained after September 30, 2024. You are advised to use the DeleteApplication interface of the new version. | |
| Querying Historical Execution Records | hcloud CodeArtsDeploy ListDeployTaskHistoryByDate | Queries the historical execution records of a specified task in a project based on the start time and end time. | |
| Querying the Application List in a Project | hcloud CodeArtsDeploy ListAllApp | Querying the Application List in a Project. | |
| Create an application. | hcloud CodeArtsDeploy CreateApp | Create an application. | |
| Update an application. | hcloud CodeArtsDeploy UpdateAppInfo | This API is used to update an application. | |
| Query application detail | hcloud CodeArtsDeploy ShowAppDetailById | Query application detail by application ID. | |
| Deleting an application | hcloud CodeArtsDeploy DeleteApplication | Deleting an application by application ID. | |
| Querying execution parameters of a deployment record | hcloud CodeArtsDeploy ShowExecutionParams | Querying execution parameters of a deployment record. | |
| Cloning an Application | hcloud CodeArtsDeploy CopyApplication | This API is used to clone an application. | |
| Deleting Applications from a Project in Batches | hcloud CodeArtsDeploy BatchDeleteApp | This API is used to delete applications from a project in batches. | |
| Checking Whether an Application with the Same Name Exists in a Project | hcloud CodeArtsDeploy CheckIsDuplicateAppName | This API is used to check whether an application with the same name exists in a project. | |
| Disabling and Enabling an Application | hcloud CodeArtsDeploy UpdateAppDisableStatus | This API is used to disable or enable an application. |
Managing Application Groups
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying a Group List | hcloud CodeArtsDeploy ListAppGroups | This API is used to query a group list. | |
| Creating a Group | hcloud CodeArtsDeploy CreateAppGroups | This API is used to create a group. | |
| Modifying a Group | hcloud CodeArtsDeploy UpdateAppGroups | This API is used to modify a group. | |
| Deleting a Group | hcloud CodeArtsDeploy DeleteAppGroups | This API is used to delete a group. | |
| Moving a Group | hcloud CodeArtsDeploy MoveAppGroups | This API is used to move a group up or down to adjust the position of the group on the page. | |
| Moving an Application to a Specified Group | hcloud CodeArtsDeploy MoveAppToGroup | This API is used to move applications to a specified group (batch operations are supported). |
Managing Application Permissions
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Instance-Level/Project-Level Permission Matrix of an Application | hcloud CodeArtsDeploy ListApplicationPermissions | This API is used to query the instance-level or project-level permission matrix of an application. If app_id is transferred, the instance-level permission matrix is queried. If project_id is transferred while app_id is not transferred, the project-level permission matrix is queried. | |
| Modifying Application Permissions in Batches | hcloud CodeArtsDeploy BatchUpdateApplicationPermissions | This API is used to modify application permissions in batches. | |
| Configuring Authentication Levels for Applications in Batches | hcloud CodeArtsDeploy BatchUpdatePermissionLevel | This API is used to configure the authentication level to project-level or instance-level for applications in batches. | |
| Checking whether the current user has the permission to create applications in a project. | hcloud CodeArtsDeploy CheckCanCreate | This API is used to check whether the current user has the permission to create applications in a project. |
Measuring Deployment Record
| API Name | Command | Description | Operation |
|---|---|---|---|
| Obtaining the Application Deployment Success Rate | hcloud CodeArtsDeploy ShowProjectSuccessRate | Obtains the application deployment success rate of a specified project. | |
| Obtaining the Application Deployment Success Rate | hcloud CodeArtsDeploy ListTaskSuccessRate | Obtains the application deployment success rate of a specified application. |
Managing Environments
| API Name | Command | Description | Operation |
|---|---|---|---|
| Creating an Environment in an Application | hcloud CodeArtsDeploy CreateEnvironment | Creating an Environment in an Application. | |
| Querying the Environment List of an Application | hcloud CodeArtsDeploy ListEnvironments | Querying the Environment List of an Application. | |
| Editing an Environment in an Application | hcloud CodeArtsDeploy UpdateEnvironment | This API is used to edit an environment in an application. | |
| Deleting an Environment from an Application | hcloud CodeArtsDeploy DeleteEnvironment | Deleting an Environment from an Application. | |
| Querying environment details | hcloud CodeArtsDeploy ShowEnvironmentDetail | Querying environment details. | |
| Importing Hosts to an Environment | hcloud CodeArtsDeploy ImportHostToEnvironment | Importing Hosts to an Environment. | |
| Deleting a Host From Environment | hcloud CodeArtsDeploy DeleteHostFromEnvironment | Deleting a Host From Environment. | |
| Querying a Host List in an Environment | hcloud CodeArtsDeploy ListEnvironmentHosts | This API is used to query a host list in an environment. |
Managing Host Cluster Permissions
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying the Host Cluster Permission Matrix | hcloud CodeArtsDeploy ListHostGroupPermissions | This API is used to query the permission matrix of a host cluster by ID. | |
| Modifying the Host Cluster Permission Matrix | hcloud CodeArtsDeploy UpdateHostGroupPermissions | This API is used to modify the permission matrix of a host cluster by ID. | |
| Checking Whether the Current User Has Permissions to Create a Host Cluster in a Project | hcloud CodeArtsDeploy CheckWhetherHostGroupCanBeCreated | This API is used to check whether the current user has permissions to create a host cluster in a project. |
Managing Environment Permissions
| API Name | Command | Description | Operation |
|---|---|---|---|
| Querying Environment Permissions | hcloud CodeArtsDeploy ListEnvironmentPermissions | This API is used to query environment permissions. | |
| Editing Environment Permission | hcloud CodeArtsDeploy UpdateEnvironmentPermission | This API is used to edit the environment permission. |
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