Skip to content

Commit

Permalink
docs(fgs): add notes for some parameters of the function resource
Browse files Browse the repository at this point in the history
  • Loading branch information
wuzhuanhong committed Dec 20, 2024
1 parent 4409b01 commit a9d84a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/resources/fgs_function.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ The following arguments are supported:
* `app_agency` - (Optional, String) Specifies the execution agency enables you to obtain a token or an AK/SK for
accessing other cloud services.

-> After using this parameter, the function execution agency (`app_agency`) and the function configuration
agency (`agency`) can be independently set, which can reduce unnecessary performance loss. Otherwise, the same
agency is used for both function execution and function configuration.

* `description` - (Optional, String) Specifies the description of the function.

* `initializer_handler` - (Optional, String) Specifies the initializer of the function.
Expand Down Expand Up @@ -327,7 +331,8 @@ The following arguments are supported:
* `concurrency_num` - (Optional, Int) Specifies the number of concurrent requests of the function.
The valid value ranges from `1` to `1,000`, the default value is `1`.

-> This parameter is only supported by the `v2` version of the function.
-> 1. This parameter is only supported by the `v2` version of the function.
<br>2. This parameter is available only when the `runtime` parameter is set to **http** or **Custom Image**.

* `gpu_memory` - (Optional, Int) Specifies the GPU memory size allocated to the function, in MByte (MB).
The valid value ranges form `1,024` to `16,384`, the value must be a multiple of `1,024`.
Expand Down

0 comments on commit a9d84a3

Please sign in to comment.