All Products
Search
Document Center

Function Compute:PathConfig

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The custom domain name configurations.

functionNamestring

The name of the function.

myFunction
methodsarray

The supported methods.

string

The HTTP method. The following methods are supported: HEAD, GET, POST, PUT, DELETE, PATCH, and OPTIONS.

GET
pathstring

The route matching rule.

/api/*
qualifierstring

The version or alias.

myAlias
rewriteConfigRewriteConfig

The rewrite configuration.