google.appengine.api.modules.set_num_instances
Stay organized with collections
Save and categorize content based on your preferences.
Sets the number of instances on the module and version.
View aliases
Main aliases
`google.appengine.api.modules.modules.set_num_instances`
google.appengine.api.modules.set_num_instances(
instances, module=None, version=None
)
Args |
instances
|
The number of instances to set.
|
module
|
The module to set the number of instances for, if None the current
module will be used.
|
version
|
The version set the number of instances for, if None the current
version will be used.
|
Raises |
InvalidVersionError if the given module version isn't valid,
TransientError if there is an issue persisting the change.
TypeError if the given instances type is invalid.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[null,null,["Last updated 2025-06-16 UTC."],[],[]]