Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions openstack/ims/v2/cloudimages/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ type CreateByOBSOpts struct {
MinRam int `json:"min_ram,omitempty"`
}

// CreateOpts represents options used to create an image.
type CreateDataImageByServerOpts struct {
// the data disks to be converted
DataImages []DataImage `json:"data_images" required:"true"`
}

type DataImage struct {
// the data disk image name
Name string `json:"name" required:"true"`
Expand Down