CdnFunctions

Functions

Link copied to clipboard

This data source provides the Cdn blocked regions.

Link copied to clipboard

This data source provides the function of verifying whether an IP is a CDN node.

suspend fun getIpInfo(ip: String): GetIpInfoResult
suspend fun getIpInfo(argument: suspend GetIpInfoPlainArgsBuilder.() -> Unit): GetIpInfoResult
Link copied to clipboard

This data source provides the Cdn Real Time Log Deliveries of the current Alibaba Cloud user.

suspend fun getRealTimeLogDeliveries(domain: String, outputFile: String? = null, status: String? = null): GetRealTimeLogDeliveriesResult
Link copied to clipboard

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

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