ApigatewayFunctions

Functions

Link copied to clipboard
suspend fun getApis(argument: GetApisPlainArgs): GetApisResult

This data source provides the Api Gateway APIs of the current Alibaba Cloud user.

suspend fun getApis(argument: suspend GetApisPlainArgsBuilder.() -> Unit): GetApisResult
suspend fun getApis(apiId: String? = null, groupId: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetApisResult
Link copied to clipboard
suspend fun getApps(argument: GetAppsPlainArgs): GetAppsResult

This data source provides the apps of the current Alibaba Cloud user.

suspend fun getApps(argument: suspend GetAppsPlainArgsBuilder.() -> Unit): GetAppsResult
suspend fun getApps(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, tags: Map<String, String>? = null): GetAppsResult
Link copied to clipboard

This data source provides the Api Gateway Backends of the current Alibaba Cloud user.

suspend fun getBackends(argument: suspend GetBackendsPlainArgsBuilder.() -> Unit): GetBackendsResult
suspend fun getBackends(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null): GetBackendsResult
Link copied to clipboard

This data source provides the api groups of the current Alibaba Cloud user.

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

This data source provides the Api Gateway Log Configs of the current Alibaba Cloud user.

suspend fun getLogConfigs(ids: List<String>? = null, logType: String? = null, outputFile: String? = null): GetLogConfigsResult
Link copied to clipboard

This data source provides the Api Gateway Models of the current Alibaba Cloud user.

suspend fun getModels(argument: suspend GetModelsPlainArgsBuilder.() -> Unit): GetModelsResult
suspend fun getModels(groupId: String, ids: List<String>? = null, modelName: String? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null): GetModelsResult
Link copied to clipboard

This data source provides the Api Gateway Plugins of the current Alibaba Cloud user.

suspend fun getPlugins(argument: suspend GetPluginsPlainArgsBuilder.() -> Unit): GetPluginsResult
suspend fun getPlugins(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, pageNumber: Int? = null, pageSize: Int? = null, pluginName: String? = null, pluginType: String? = null, tags: Map<String, String>? = null): GetPluginsResult
Link copied to clipboard

Using this data source can enable API gateway service automatically. If the service has been enabled, it will return Opened. For information about API Gateway and how to use it, see What is API Gateway.

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