update(self,
name=' __UNDEF__ ' ,
disk_format=' __UNDEF__ ' ,
container_format=' __UNDEF__ ' ,
size=' __UNDEF__ ' ,
virtual_size=' __UNDEF__ ' ,
checksum=' __UNDEF__ ' ,
min_ram=' __UNDEF__ ' ,
min_disk=' __UNDEF__ ' ,
owner=' __UNDEF__ ' ,
status=' __UNDEF__ ' ,
created_at=' __UNDEF__ ' ,
updated_at=' __UNDEF__ ' ,
is_public=' __UNDEF__ ' ,
protected=' __UNDEF__ ' ,
schema=' __UNDEF__ ' ,
tags=' __UNDEF__ ' ,
**kwargs)
| source code
|
Update properties of an image
Non-standard key=value arguments are allowed (value must be a
string).
- Parameters:
name (str) - Image name
container_format (str) - Container format ('ami','ari','aki','bare',or 'ovf')
disk_format (str) - Disk format ('ami','ari','aki','vhd','vmdk','raw','qcow2',
'vdi',or 'iso')
size (int) - Image size in GB
virtual_size (int) - virtual size in GB
checksum (str) - Checksu
min_ram (int) - Minimum size of RAM in MB
min_disk (int) - Minimum size of Disk in GB
owner (str) - User ID
status (str) - Image status
created_at (str) - Created time
updated_at (str) - Updated time
is_public (bool) - Public flag
is_protected (bool) - Protected flag
schema (str) - Image schema
tags ([str]) - Image tags
file (str) - Image file path
- Returns: None
- Overrides:
base.Resource.update
|