You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
SDK reference
Viewing SDK sample code
Copy page
Download PDF
Viewing SDK sample code
This topic describes how to search and view the SDK sample code of desired API operations through the Volcano Engine OpenAPI Center.​
Step 1: Obtain API usage description​
View the API overview, select the required API operation, and review its documentation to understand the configuration instructions and limitations for the request parameters.​
Step 2: Obtain SDK sample code​
  1. Visit the ECS API Explorer.​
  1. In the left API overview, search by the target API name to match the corresponding API.​
  1. In the middle Debugging section, select the service region, and enter request parameters.​
  1. On the right, select the "SDK sample code" tab to view the SDK sample code for your programming language. In the example provided in the following figure, the Java programming language is used to call the DescribeRegions operation.​
​
Last updated: 2026.06.23 15:25:34