Invocation methods
You can use the SchedulerX software development kit (SDK) to call the APIs of SchedulerX 2.0 to perform daily management operations.
RAM user authorization
You can use a Resource Access Management (RAM) user to call the APIs of SchedulerX 2.0. To do this, obtain the AccessKey ID and AccessKey secret of the RAM user. Then, use an Alibaba Cloud account to grant permissions on the required resources to the RAM user.
Supported regions
When you use the SDK to call APIs, you must provide region information, such as the region ID and domain.
Domain (VPC) is for VPCs without public network access.
Name | Region ID | Domain | Domain (VPC) |
China (Hangzhou) | cn-hangzhou | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Shanghai) (Finance Cloud) | cn-shanghai-finance-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Shenzhen) | cn-shenzhen | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Shanghai) | cn-shanghai | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Beijing) | cn-beijing | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Zhangjiakou) | cn-zhangjiakou | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
China (Hong Kong) | cn-hongkong | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
Singapore | ap-southeast-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
US (Virginia) | us-east-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
Germany (Frankfurt) | eu-central-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
Japan (Tokyo) | ap-northeast-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
Alibaba Gov Cloud | cn-north-2-gov-1 | schedulerx.aliyuncs.com | schedulerx-vpc.aliyuncs.com |
Public network | public | schedulerx.aliyuncs.com | None |
Add SDK dependencies
Add the OpenAPI SDK dependency to the pom.xml file in your application. For the latest SDK version, see Aliyun Java SDK Schedulerx2.
Add the following dependencies to the pom.xml file:
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-schedulerx2</artifactId>
<version>${latest version}</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>4.3.3</version>
</dependency>
Demo projects
For the Java SDK demo, see SchedulerX 2.0 Java SDK Demo.
For SDK demos in other languages, use the Alibaba Cloud OpenAPI Developer Portal to automatically generate them.