Koo Command Line Interface
Koo Command Line Interface
- Function Overview
- What's New
- Service Overview
- Getting Started
-
User Guide
- Configuration Management
- HTTP Proxy
- Commonly Used Commands
-
Options
- Option Overview
- Printing Help Information
- Printing Debugging Information
- Generating API Input Parameter Skeleton in JSON Format
- Checking Command
- Specifying Region
- Calling APIs with AK/SK in Non-configuration Mode
- Specifying Account ID
- Specifying Profile
- Specifying Authentication Mode
- Specifying Output Format
- Passing API Parameters with JSON File
- Specifying Request Timeouts
- Specifying Retry Count
- Skipping HTTPS Request Certificate Verification
- Specifying a Domain Name
- Polling Results
- Obtaining CLI Examples on API Explorer
- Using KooCLI in Non-configuration Mode
- Online Experience
- Obtaining Authentication Information
-
FAQs
- Overview
- Authentication
- Profiles
- Metadata Cache
- Logs
- Network Connections
- Cloud Services
- Cloud Service APIs
- Regions
-
Parameters
- What Are KooCLI System Parameters?
- Why Am I Seeing a Message Indicating an Invalid Parameter?
- Why Are Old and New KooCLI System Parameters (Such as region and cli-region) Available? Which Parameters Are Recommended?
- Why Am I Seeing a Message Indicating a Duplicate Parameter?
- How Do I Use cli-jsonInput?
- When Can I Use cli-jsonInput?
- Why Am I Seeing a Message Indicating an Unsupported Parameter Position or Type?
- How Do I Leave a Body Parameter Empty for Cloud Service APIs?
- Interactive Mode and Autocomplete
-
Output Formats
- What Output Formats Are Supported by KooCLI?
- How Do I Define a JMESPath Expression?
- Which KooCLI System Parameters Are Related to Data Output? Which Ones Are Recommended?
- How Do I Use cli-output, cli-query, and cli-output-num?
- How Do I Use cli-output-rows, cli-output-cols, and cli-output-num? What Are the Precautions?
- How Do I Use cli-json-filter? What Are the Precautions?
- Other
- Videos
- General Reference
On this page
Show all
Copied.
Trying Out KooCLI
KooCLI is embedded in API Explorer. You can experience it on any browser except Internet Explorer. To start KooCLI, click on the CLI Example tab page, as shown in the following figure.
Figure 1 Starting the CLI on API Explorer

When the CLI is started, a Linux container (also called an "instance") is automatically allocated to you. The latest version of KooCLI has been pre-installed on the instance. Experiencing the CLI online has the following advantages:
- After an instance is started, the current CLI example is automatically copied to the instance window for execution.
Figure 2 CLI example automatically copied to the instance window
- The authentication information of the login account is added to the default profile for automatic authorization. You can use KooCLI to manage cloud resources without any additional configurations.
- An instance can be used for 60 minutes. After 60 minutes, the instance and its data are deleted. If no operation is performed, the instance is automatically released after 15 minutes.
- KooCLI authenticates all login users and isolates instances by user to keep the running environment secure.
- During command execution, authentication information of your login account will be used for requests, and the invocation of some APIs will incur charges. To use AK/SK authentication, run hcloud configure set --cli-profile=${profileName} --cli-access-key=${accessKeyID} --cli-secret-key=${secretAccessKey} to add your AK/SK to a new profile.
- To prevent the default profile from being modified and affecting the automatic authorization, do not run the hcloud configure init command or the hcloud configure set command to modify the default profile (--cli-profile=default).
Parent topic: Online Experience
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot