All Products
Search
Document Center

Function Compute:HTTPTriggerConfig

Last Updated:Aug 02, 2024
ParameterTypeDescriptionExample
object

The HTTP trigger configurations.

authConfigstring

The authentication configurations.

{"JWKS":{"foo":"bar"},"TokenLookup":"header:Authorization:Bearer,cookie:AuthorizationCookie","ClaimPassBy":"query:uid:uid,header:name:name"}
authTypestring

The authentication type. Valid values:

  • function: requires authentication.
  • anonymous: does not require authentication.
Note The default value is function
anonymous
disableURLInternetboolean

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

true
methodsarray

The list of request methods. Multiple methods are supported.

string

The request method. Valid values:

  • HEAD
  • DELETE
  • POST
  • GET
  • OPTIONS
  • PUT
  • PATCH
GET