Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.38 KB

ScaleArgs.md

File metadata and controls

35 lines (26 loc) · 1.38 KB

ScaleArgs

Input argument to an (openfaas) scale job for a function.

Properties

Name Type Description Notes
namespace str The (openfaas) namespace for the target function.
endpoint str The (openfaas) endpoint service name
runtime_name str
runtime_version str A semantic version with exactly a `major`, `minor` and `patch` specifier. No `pre-release` or `build` identifiers are allowed. See https://semver.org
revision str The revision hash of the current (draft) function revision
replicas float Number of target replicas

Example

from waylay.services.registry.models.scale_args import ScaleArgs

# TODO update the JSON string below
json = "{}"
# create an instance of ScaleArgs from a JSON string
scale_args_instance = ScaleArgs.from_json(json)
# print the JSON string representation of the object
print ScaleArgs.to_json()

# convert the object into a dict
scale_args_dict = scale_args_instance.to_dict()
# create an instance of ScaleArgs from a dict
scale_args_form_dict = scale_args.from_dict(scale_args_dict)

[Back to Model list] [Back to API list] [Back to README]