Built-in instance properties.
Creates flavors.
Delete flavor instance_type information from instance’s system_metadata by prefix.
Marks flavor as deleted.
Create a Flavor object from instance’s system_metadata information.
Get all non-deleted flavors as a dict.
Pass inactive=True if you want deleted flavors returned also.
Get all non-deleted flavors as a sorted list.
Get the default flavor.
Retrieves single flavor by id.
Retrieve flavor access list by flavor id.
Retrieve flavor by flavorid.
Raises: | FlavorNotFound |
---|
Retrieves single flavor by name.
Save properties from instance_type into instance’s system_metadata, in the format of:
[prefix]instance_type_[key]
This can be used to update system_metadata in place from a type, as well as stash information about another instance_type for later use (such as during resize).