Viewing function scaling settings
To view any scaling setting other than the number of calls processed concurrently by a single function instance (concurrency
):
- In the management console
, select the folder containing the function. - Select Cloud Functions.
- Select a function.
- Under Version history, hover over the tag (e.g.,
$latest
) of the function version whose scaling settings you want to view. - Information on these scaling settings will be displayed in a pop-up window:
- zone_instances_limit: Number of function instances in an availability zone.
- zone_requests_limit: Number of concurrent function calls in an availability zone.
- provisioned_instances_count: Number of provisioned instances.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To view any scaling setting other than the number of calls processed concurrently by a single function instance (concurrency
), run this command:
yc serverless function list-scaling-policies --id=<function_ID>
Where --id
is the function ID. To find out the ID, request a list of functions.
Result:
+----------------------+---------+----------------------+---------------------+-----------------------------+
| FUNCTION ID | TAG | ZONE INSTANCES LIMIT | ZONE REQUESTS LIMIT | PROVISIONED INSTANCES COUNT |
+----------------------+---------+----------------------+---------------------+-----------------------------+
| d4eokpuol55h******** | $latest | 1 | 2 | 3 |
+----------------------+---------+----------------------+---------------------+-----------------------------+
To view any function scaling setting other than the number of calls processed concurrently by a single function instance (concurrency
), use the listScalingPolicies REST API method for the Function resource or the FunctionService/ListScalingPolicies gRPC API call.
You can view any function scaling setting other than the number of calls processed concurrently by a single function instance (concurrency
) using the Yandex Cloud Toolkit plugin
You can look up the number of calls simultaneously processed by a single function instance (concurrency
) by getting the function version information.