RocketmqFunctions

Functions

Link copied to clipboard

This data source provides a list of ONS Groups in an Alibaba Cloud account according to the specified filters.

suspend fun getGroups(argument: suspend GetGroupsPlainArgsBuilder.() -> Unit): GetGroupsResult
suspend fun getGroups(groupIdRegex: String? = null, groupType: String? = null, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetGroupsResult
Link copied to clipboard

This data source provides a list of ONS Instances in an Alibaba Cloud account according to the specified filters.

suspend fun getInstances(enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: Int? = null, tags: Map<String, String>? = null): GetInstancesResult
Link copied to clipboard

Using this data source can open ONS service automatically. If the service has been opened, it will return opened. For information about ONS and how to use it, see What is ONS.

suspend fun getService(enable: String? = null): GetServiceResult
suspend fun getService(argument: suspend GetServicePlainArgsBuilder.() -> Unit): GetServiceResult
Link copied to clipboard

This data source provides a list of ONS Topics in an Alibaba Cloud account according to the specified filters.

suspend fun getTopics(argument: suspend GetTopicsPlainArgsBuilder.() -> Unit): GetTopicsResult
suspend fun getTopics(enableDetails: Boolean? = null, ids: List<String>? = null, instanceId: String, nameRegex: String? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetTopicsResult