Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.23 KB

ImageRestrictions.md

File metadata and controls

31 lines (22 loc) · 1.23 KB

ImageRestrictions

Properties

Name Type Description Notes
compatible_images List[CompatibleImage] List of images this flavor is allowed to launch, with link metadata [optional]
has_image_restrictions bool Whether the flavor is restricted to a set of images [optional]
restriction_type str Either 'hard', 'soft', or null if no restrictions [optional]

Example

from hyperstack.models.image_restrictions import ImageRestrictions

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

# convert the object into a dict
image_restrictions_dict = image_restrictions_instance.to_dict()
# create an instance of ImageRestrictions from a dict
image_restrictions_from_dict = ImageRestrictions.from_dict(image_restrictions_dict)

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