|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FlavorExtraSpecsApi
Provide access to extra metadata for Nova flavors.
FlavorApi,
FlavorExtraSpecsAsyncApi| Method Summary | |
|---|---|
Boolean |
deleteExtraSpec(String flavorId,
String key)
Deletes an extra spec |
Map<String,String> |
getAllExtraSpecs(String flavorId)
Retrieve all extra specs for a flavor |
String |
getExtraSpec(String flavorId,
String key)
Return a single extra spec value |
Boolean |
setAllExtraSpecs(String flavorId,
Map<String,String> specs)
Creates or updates the extra specs for a given flavor |
Boolean |
setExtraSpec(String flavorId,
String key,
String value)
Creates or updates a single extra spec value |
| Method Detail |
|---|
Map<String,String> getAllExtraSpecs(String flavorId)
Boolean setAllExtraSpecs(String flavorId,
Map<String,String> specs)
flavorId - the id of the flavor to modifyspecs - the extra specs to apply
String getExtraSpec(String flavorId,
String key)
flavorId - the id of the flavor to modifykey - the extra spec key to retrieve
Boolean setExtraSpec(String flavorId,
String key,
String value)
flavorId - the id of the flavor to modifykey - the extra spec key (when creating ensure this does not include whitespace or other difficult characters)value - the value to associate with the key
Boolean deleteExtraSpec(String flavorId,
String key)
flavorId - the id of the flavor to modifykey - the extra spec key to delete
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||