CustomDomainRouteConfig

data class CustomDomainRouteConfig(val functionName: String, val methods: List<String>? = null, val path: String, val qualifier: String? = null, val serviceName: String)

Constructors

Link copied to clipboard
constructor(functionName: String, methods: List<String>? = null, path: String, qualifier: String? = null, serviceName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The name of the Function Compute function that requests are routed to.

Link copied to clipboard
val methods: List<String>? = null

The requests of the specified HTTP methos are routed from. Valid method: GET, POST, DELETE, HEAD, PUT and PATCH. For example, "GET, HEAD" methods indicate that only requests from GET and HEAD methods are routed.

Link copied to clipboard

The path that requests are routed from.

Link copied to clipboard
val qualifier: String? = null

The version or alias of the Function Compute service that requests are routed to. For example, qualifier v1 indicates that the requests are routed to the version 1 Function Compute service. For detail information about version and alias, please refer to the developer guide.

Link copied to clipboard

The name of the Function Compute service that requests are routed to.