

Configuration Item | Description |
Alias / Version | URL can be bound at the alias or version dimension. Each alias or version can create only one URL. |
Public network access / Private network access | You can enable public network or private network URL visit based on business needs. |
Authorization type | The authorization type supports selecting Open and CAM Authentication. Open: No identity verification is required for function requests. Anonymous access is supported. Anyone can initiate an HTTP call to your functions. CAM authentication: Authentication validation is required for functions via CAM. Users can perform resource management and usage rights configuration based on the function InvokeFunctionUrl API. For details, see Function URL Authentication and Authorization Configuration. |
Type parameter, please enter http. The configuration instructions for the TriggerDesc parameter are as follows:Name | Type | Required | Description |
AuthType | String | Yes | Authorization type. CAM indicates that function URL authentication and authentication configuration is required. NONE means authorization is not required. |
NetConfig | NetConfig | Yes | network access configuration. Example value: { "EnableIntranet": true, "EnableExtranet": false } |
Name | Type | Required | Description |
EnableIntranet | Bool | Yes | Whether intranet access is enabled |
EnableExtranet | Bool | Yes | Whether to enable public network access |
trigger_desc = {"AuthType": "NONE","NetConfig": {"EnableIntranet": true,"EnableExtranet": false}}params = {"FunctionName": "helloworld","TriggerName": "func_url","TriggerDesc": json.dumps(trigger_desc),"Type": "http","Namespace": "default","Enable": "OPEN",}
フィードバック