All Products
Search
Document Center

Function Compute (2.0):HTTPTriggerConfig

Last Updated:Mar 03, 2024
ParameterTypeDescriptionExample
object

The configurations of the HTTP trigger.

authTypestring

The authentication type. The default value is function, which indicates that authentication is required.

anonymous, function
methodsarray

The list of request methods. Multiple methods are supported.

string

The request method.

Valid values:

  • HEAD

  • DELETE

  • POST

  • GET

  • OPTIONS

  • PUT

  • PATCH

GET, POST
disableURLInternetboolean

Specifies whether to disable the access to default Internet domain. If you set this parameter to true, a 403 error is returned when you access the public URL provided by the default function. A value of false does not have an impact.

authConfigstring

URL signing