API used for update Image in Glance
Abhishek Kekane
akekane at redhat.com
Wed Oct 6 14:19:05 UTC 2021
Hello Adviya,
If you are using python-glanceclient then just use command; `glance help
image-update` and it will list out the helof text for you.
You can use those options to update your image information.
General syntax is;
$ glance image-update <image-id> <options from the list>
If you want to update visibility of image from public to private then;
glance image-update <image-id> --visibility private
Thanks & Best Regards,
Abhishek Kekane
On Wed, Oct 6, 2021 at 7:35 PM Adivya Singh <adivya1.singh at gmail.com> wrote:
> Hi Team,
>
> Can you please list me , what i have to do different while updating Image
> in Glance using a API call, Can Some body share the Syntax for the same, Do
> i need to create a JSON file for the same
>
> Regards
> Adivya Singh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211006/65bb43de/attachment.htm>
More information about the openstack-discuss
mailing list