API standard and pre-built SDKs in multi-language
The OpenAPI specification of this product (starrocks/2022-10-19) follows the ROA standard. Alibaba Cloud provides pre-built SDKs for popular programming languages to abstract low-level complexities such as request signing. This enables developers to call APIs using language-specific syntax without dealing with HTTP details directly.
Custom signature
If your specific needs, such as a customized signature, are not supported by the SDK, manually sign requests using the signature mechanism. Note that manual signing requires significant effort (usually about 5 business days). For support, join our DingTalk group (ID: 147535001692).
Before you begin
An Alibaba Cloud account has full administrative privileges. A compromised AccessKey pair exposes all associated resources to unauthorized access, posing a significant security risk. Create a Resource Access Management (RAM) user with API-only access and use RAM policies to apply the principle of least privilege (PoLP). Alibaba Cloud accounts are only used when explicitly required.
To call APIs securely, configure the following:
A RAM user account
An AccessKey pair for the account
Instance management
|
API |
Title |
Description |
| CreateInstanceV1 | CreateInstanceV1 | This operation creates a Serverless StarRocks instance. |
| RestartInstance | RestartInstance | Restarts an E-MapReduce (EMR) Serverless StarRocks instance. |
| ReleaseInstance | ReleaseInstance | Releases a pay-as-you-go E-MapReduce (EMR) Serverless StarRocks instance. To unsubscribe from a subscription instance, go to the Unsubscribe page of the Expenses and Costs console. |
| UpdateInstanceName | UpdateInstanceName | Modifies the name of an E-MapReduce (EMR) Serverless StarRocks instance. |
| DescribeInstances | DescribeInstances | This operation queries Serverless StarRocks instances. You can filter the instances by criteria such as instance name and tags. |
| DescribeNodeGroups | DescribeNodeGroups | Retrieves information about node groups. |
| TagResources | TagResources | Attaches tags to specified resources. |
| UnTagResources | UnTagResources | Detaches tags from multiple resources. |
| ChangeResourceGroup | ChangeResourceGroup | This operation changes the resource group of a Serverless StarRocks instance. |
Version Management
|
API |
Title |
Description |
| UpgradeVersion | UpgradeVersion | Upgrades the version of an E-MapReduce (EMR) Serverless StarRocks instance. The versions of a StarRocks instance include the major version and minor version. You can view the major version and minor version of a StarRocks instance in the Version Information section of the Instance Details tab in the EMR console. This operation can be used to upgrade the minor version or major version of a StarRocks instance. You can call the QueryUpgradableVersions operation to query the versions that you can upgrade to. |
| QueryUpgradableVersions | QueryUpgradableVersions | Queries the versions of an E-MapReduce (EMR) Serverless StarRocks instance that the versions that you can upgrade to. The versions of a StarRocks instance include the major version and minor version. You can view the major version and minor version of a StarRocks instance in the Version Information section of the Instance Details tab in the EMR console. You can call this operation to query the minor versions or major versions that the versions that you can upgrade to. |
Resource allocation
|
API |
Title |
Description |
| ModifyNodeNumberPreCheck | ModifyNodeNumberPreCheck | Performs a precheck before you modify the number of nodes in a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
| ModifyNodeNumber | ModifyNodeNumber | Modifies the number of nodes in a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
| ModifyCuPreCheck | ModifyCuPreCheck | Performs a precheck before you modify the number of CUs for a warehouse. |
| ModifyDiskPerformanceLevel | ModifyDiskPerformanceLevel | Modifies the disk performance level for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
| ModifyDiskSize | ModifyDiskSize | Expands the disk size for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
| ModifyDiskNumber | ModifyDiskNumber | Increases the number of disks for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
| ModifyCu | ModifyCu | Modifies the number of CUs for a warehouse of an E-MapReduce (EMR) Serverless StarRocks instance. |
Other
|
API |
Title |
Description |
| CreateServiceLinkedRole | CreateServiceLinkedRole | This operation creates the AliyunServiceRoleForEMRStarRocks role. |