'Updates an existing disk in your image repository.
disk_name:
The name of the disk to update.
has_operating_system:
Deprecated.
label:
Specifies the description of the disk.
media_link:
Deprecated.
name:
Deprecated.
os:
Deprecated.'

def update_disk(self, disk_name, has_operating_system=None, label=None, media_link=None, name=None, os=None):

    _validate_not_none('disk_name', disk_name)
    _validate_not_none('label', label)
    return self._perform_put(self._get_disk_path(disk_name), _XmlSerializer.disk_to_xml(label, None, None, None))
