Log Functions
object LogFunctions
Functions
Link copied to clipboard
Using this data source can init SLS Alert resources automatically. For information about SLS Alert and how to use it, see SLS Alert Overview
suspend fun getAlertResource(argument: suspend GetAlertResourcePlainArgsBuilder.() -> Unit): GetAlertResourceResult
suspend fun getAlertResource(lang: String? = null, project: String? = null, type: String): GetAlertResourceResult
Link copied to clipboard
This data source provides the Log Projects of the current Alibaba Cloud user.
suspend fun getProjects(argument: suspend GetProjectsPlainArgsBuilder.() -> Unit): GetProjectsResult
suspend fun getProjects(ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, status: String? = null): GetProjectsResult
Link copied to clipboard
Using this data source can enable Log service automatically. If the service has been enabled, it will return Opened
. For information about Log service and how to use it, see What is Log Service.
Link copied to clipboard
This data source provides the Log Stores of the current Alibaba Cloud user.