Documentation
¶
Overview ¶
Lists all the configured flavors available. A flavor is a combination of amount of compute capacity(CU) and disk capacity(GB).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ItemSize ¶
type ItemSize struct {
// Description
Description string `json:"desc"`
// List of disk IDs
Disks []uint64 `json:"disks"`
// ID
ID uint64 `json:"id"`
// Memory
Memory uint64 `json:"memory"`
// Name
Name string `json:"name"`
// VCPUs
VCPUs uint64 `json:"vcpus"`
}
Main onformation about configured available flavors
type ListRequest ¶
type ListRequest struct {
// ID of the cloudspace
// Required: false
CloudspaceID uint64 `url:"cloudspaceId,omitempty" json:"cloudspaceId,omitempty"`
// Location code for the sizes
// Required: false
Location string `url:"location,omitempty" json:"location,omitempty"`
// Page number
// Required: false
Page uint64 `url:"page,omitempty" json:"page,omitempty"`
// Page size
// Required: false
Size uint64 `url:"size,omitempty" json:"size,omitempty"`
}
Request struct for list the available flavors
Click to show internal directories.
Click to hide internal directories.