All Products
Search
Document Center

OpenAPI Explorer:Cloud Shell

Last Updated:Apr 17, 2024

This topic describes how to use Cloud Shell to call API operations.

Cloud Shell

Cloud Shell is a web-based command-line tool. You can use Cloud Shell on a web browser to run commands to manage Alibaba Cloud resources. When you start Cloud Shell, it automatically creates a Linux virtual machine (VM) free of charge. The VM is pre-installed with cloud management tools and system tools, including Python, Java, Node.js, Alibaba Cloud CLI, cURL, SSH, Kubectl, Fun, Terraform, Ansible, and Vim. You can use the tools and the code editor of Cloud Shell to manage cloud resources.

Check whether CLI is supported

  1. Read the documentation for the corresponding Alibaba Cloud product.

  2. Go to OpenAPI Explorer. Search for the API operation you want to call. Click API Debugging in the top navigation bar. On the page that appears, click the CLI Example tab. If sample commands are displayed, the current product supports CLI.

Usage method

Visit by link

Go to the Cloud Shell website.

Alibaba Cloud console

  1. Log on to the Alibaba Cloud Console.

  2. Click the image.png icon in the top navigation bar to launch Cloud Shell.

  3. After the environment initialization is completed, run the commands.

OpenAPI Explorer

  1. Go to OpenAPI Explorer. Search for the API you want to call. Click API Debugging in the top navigation bar.

  2. On the page that appears, click the CLI Example tab. Click the image.png icon to the right of the example to launch Cloud Shell.

  3. After the environment initialization is completed, execute the command.

Documentation

The documentation for some Alibaba Cloud products provides the entry to the command debugging feature. You can launch Cloud Shell from the documentation.