API operations supported by serverless instances
Serverless ApsaraMQ for Kafka instances support a subset of the full API. The following 35 operations are available, organized by resource type: instances, topics, consumer groups, SASL users, and access control lists (ACLs).
Note: Some API operations available for standard instances are not supported on serverless instances. If an operation is not listed here, it is not available for serverless instances.
Instance
15 operations for creating, managing, and scaling serverless instances.
|
API operation |
Description |
|---|---|
|
Create a pay-as-you-go instance |
|
|
Deploy an instance |
|
|
Upgrade a pay-as-you-go instance |
|
|
Rename an instance |
|
|
Delete an instance |
|
|
Release a pay-as-you-go instance |
|
|
Query instances in a specified region |
|
|
Move an instance to a different resource group |
|
|
Enable or disable automatic topic creation |
|
|
Update the IP address whitelist |
|
|
Query the IP address whitelist |
|
|
Create a scheduled scaling rule |
|
|
Modify a scheduled scaling rule |
|
|
Delete a scheduled scaling rule |
|
|
Query the auto-scaling configuration |
Topic
9 operations for managing topics and querying messages.
|
API operation |
Description |
|---|---|
|
Create a topic |
|
|
Delete a topic |
|
|
Change the number of partitions for a topic |
|
|
Modify the description of a topic |
|
|
Update the configuration of a topic |
|
|
Query all topics for an instance |
|
|
Query the status of a topic |
|
|
Query the subscription status of a topic |
|
|
Query messages in a topic by offset or time |
Consumer group
5 operations for managing consumer groups and tracking consumption progress.
|
API operation |
Description |
|---|---|
|
Create a consumer group |
|
|
Delete a consumer group |
|
|
Reset the consumer offset of a consumer group |
|
|
Query all consumer groups for an instance |
|
|
Query the consumption status of a consumer group |
SASL user
3 operations for managing Simple Authentication and Security Layer (SASL) users.
|
API operation |
Description |
|---|---|
|
Create a SASL user |
|
|
Delete a SASL user |
|
|
Query all SASL users for an instance |
Access control list (ACL)
3 operations for managing access control lists.
|
API operation |
Description |
|---|---|
|
Create an ACL |
|
|
Delete an ACL |
|
|
Query ACLs for a specified resource |