Setting the Number of RIs
Function
This API is used to set the number of RIs.
URI
PUT /v2/{project_id}/fgs/functions/{function_urn}/reservedinstances
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Tenant's project ID. |
| function_urn | Yes | String | Function URN. |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| count | Yes | Integer | Number of RIs. |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Number of RIs. |
Example Requests
Set the number of RIs.
POST https://{functiongraph_endpoint}/v2/{project_id}/fgs/functions/{function_urn}/reservedinstances Example Responses
Status code: 200
Ok
{
"cout" : 2
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Ok |
Error Codes
See Error Codes.
Last Article: Publishing a Function Version
Next Article: Setting Asynchronous Invocation Configuration for a Function Version
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.