Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.34 KB

File metadata and controls

31 lines (22 loc) · 1.34 KB

RunTemplateResourceSizing

A description object for resource requests and limits Values must follow the Kubernetes resource requirements/limits syntax: See https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-units-in-kubernetes

Properties

Name Type Description Notes
requests ResourceSizeInfo
limits ResourceSizeInfo

Example

from cosmotech_api.models.run_template_resource_sizing import RunTemplateResourceSizing

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

# convert the object into a dict
run_template_resource_sizing_dict = run_template_resource_sizing_instance.to_dict()
# create an instance of RunTemplateResourceSizing from a dict
run_template_resource_sizing_from_dict = RunTemplateResourceSizing.from_dict(run_template_resource_sizing_dict)

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