Authorizedbool`json:"authorized,omitempty" doc:"is the account/domain authorized to use this service offering"`
CPUNumberint`json:"cpunumber,omitempty" doc:"the number of CPU"`
CPUSpeedint`json:"cpuspeed,omitempty" doc:"the clock rate CPU speed in Mhz"`
Createdstring`json:"created,omitempty" doc:"the date this service offering was created"`
DefaultUsebool`json:"defaultuse,omitempty" doc:"is this a default system vm offering"`
DeploymentPlannerstring`json:"deploymentplanner,omitempty" doc:"deployment strategy used to deploy VM."`
DiskBytesReadRateint64`json:"diskBytesReadRate,omitempty" doc:"bytes read rate of the service offering"`
DiskBytesWriteRateint64`json:"diskBytesWriteRate,omitempty" doc:"bytes write rate of the service offering"`
DiskIopsReadRateint64`json:"diskIopsReadRate,omitempty" doc:"io requests read rate of the service offering"`
DiskIopsWriteRateint64`json:"diskIopsWriteRate,omitempty" doc:"io requests write rate of the service offering"`
Displaytextstring`json:"displaytext,omitempty" doc:"an alternate display text of the service offering."`
HostTagsstring`json:"hosttags,omitempty" doc:"the host tag for the service offering"`
HypervisorSnapshotReserveint`json:"hypervisorsnapshotreserve,omitempty" doc:"Hypervisor snapshot reserve space as a percent of a volume (for managed storage using Xen or VMware)"`
IsCustomizedbool`json:"iscustomized,omitempty" doc:"is true if the offering is customized"`
IsCustomizedIopsbool`json:"iscustomizediops,omitempty" doc:"true if disk offering uses custom iops, false otherwise"`
IsSystembool`json:"issystem,omitempty" doc:"is this a system vm offering"`
IsVolatilebool`json:"isvolatile,omitempty" doc:"true if the vm needs to be volatile, i.e., on every reboot of vm from API root disk is discarded and creates a new root disk"`
LimitCPUUsebool`json:"limitcpuuse,omitempty" doc:"restrict the CPU usage to committed service offering"`
MaxIopsint64`json:"maxiops,omitempty" doc:"the max iops of the disk offering"`
Memoryint`json:"memory,omitempty" doc:"the memory in MB"`
MinIopsint64`json:"miniops,omitempty" doc:"the min iops of the disk offering"`
Namestring`json:"name,omitempty" doc:"the name of the service offering"`
NetworkRateint`json:"networkrate,omitempty" doc:"data transfer rate in megabits per second allowed."`
OfferHAbool`json:"offerha,omitempty" doc:"the ha support in the service offering"`
Restrictedbool`json:"restricted,omitempty" doc:"is this offering restricted"`
ServiceOfferingDetailsmap[string]string`json:"serviceofferingdetails,omitempty" doc:"additional key/value details tied with this service offering"`
StorageTypestring`json:"storagetype,omitempty" doc:"the storage type for this service offering"`
SystemVMTypestring`json:"systemvmtype,omitempty" doc:"is this a the systemvm type for system vm offering"`
Tagsstring`json:"tags,omitempty" doc:"the tags for the service offering"`
// ListServiceOfferings represents a query for service offerings
typeListServiceOfferingsstruct{
ID*UUID`json:"id,omitempty" doc:"ID of the service offering"`
IsSystem*bool`json:"issystem,omitempty" doc:"is this a system vm offering"`
Keywordstring`json:"keyword,omitempty" doc:"List by keyword"`
Namestring`json:"name,omitempty" doc:"name of the service offering"`
Pageint`json:"page,omitempty"`
PageSizeint`json:"pagesize,omitempty"`
Restricted*bool`json:"restricted,omitempty" doc:"filter by the restriction flag: true to list only the restricted service offerings, false to list non-restricted service offerings, or nothing for all."`
SystemVMTypestring`json:"systemvmtype,omitempty" doc:"the system VM type. Possible types are \"consoleproxy\", \"secondarystoragevm\" or \"domainrouter\"."`
VirtualMachineID*UUID`json:"virtualmachineid,omitempty" doc:"the ID of the virtual machine. Pass this in if you want to see the available service offering that a virtual machine can be changed to."`
_bool`name:"listServiceOfferings" description:"Lists all available service offerings."`
}
// ListServiceOfferingsResponse represents a list of service offerings