API operations supported by serverless instances

Updated at:

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

CreatePostPayOrder

Create a pay-as-you-go instance

StartInstance

Deploy an instance

UpgradePostPayOrder

Upgrade a pay-as-you-go instance

ModifyInstanceName

Rename an instance

DeleteInstance

Delete an instance

ReleaseInstance

Release a pay-as-you-go instance

GetInstanceList

Query instances in a specified region

ChangeResourceGroup

Move an instance to a different resource group

EnableAutoTopicCreation

Enable or disable automatic topic creation

UpdateAllowedIp

Update the IP address whitelist

GetAllowedIpList

Query the IP address whitelist

CreateScheduledScalingRule

Create a scheduled scaling rule

ModifyScheduledScalingRule

Modify a scheduled scaling rule

DeleteScheduledScalingRule

Delete a scheduled scaling rule

GetAutoScalingConfiguration

Query the auto-scaling configuration

Topic

9 operations for managing topics and querying messages.

API operation

Description

CreateTopic

Create a topic

DeleteTopic

Delete a topic

ModifyPartitionNum

Change the number of partitions for a topic

ModifyTopicRemark

Modify the description of a topic

UpdateTopicConfig

Update the configuration of a topic

GetTopicList

Query all topics for an instance

GetTopicStatus

Query the status of a topic

GetTopicSubscribeStatus

Query the subscription status of a topic

QueryMessage

Query messages in a topic by offset or time

Consumer group

5 operations for managing consumer groups and tracking consumption progress.

API operation

Description

CreateConsumerGroup

Create a consumer group

DeleteConsumerGroup

Delete a consumer group

UpdateConsumerOffset

Reset the consumer offset of a consumer group

GetConsumerList

Query all consumer groups for an instance

GetConsumerProgress

Query the consumption status of a consumer group

SASL user

3 operations for managing Simple Authentication and Security Layer (SASL) users.

API operation

Description

CreateSaslUser

Create a SASL user

DeleteSaslUser

Delete a SASL user

DescribeSaslUsers

Query all SASL users for an instance

Access control list (ACL)

3 operations for managing access control lists.

API operation

Description

CreateAcl

Create an ACL

DeleteAcl

Delete an ACL

DescribeAcls

Query ACLs for a specified resource