IMS
The SDK interfaces based on the Glance v2 API are as follows. For details about the invoking methods, see the sample codes.
|
Interface |
Method |
API |
|---|---|---|
|
images |
Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) |
POST /v2/images |
|
Delete(client *gophercloud.ServiceClient, id string) |
DELETE /v2/images/{image_id} |
|
|
List(c *gophercloud.ServiceClient, opts ListOptsBuilder) |
GET /v2/images |
|
|
Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) |
PATCH /v2/images/{image_id} |
|
|
Get(client *gophercloud.ServiceClient, id string) |
GET /v2/images/{image_id} |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.