// NetworkOffering corresponds to the Compute Offerings
typeNetworkOfferingstruct{
Availabilitystring`json:"availability,omitempty" doc:"availability of the network offering"`
ConserveModebool`json:"conservemode,omitempty" doc:"true if network offering is ip conserve mode enabled"`
Createdstring`json:"created,omitempty" doc:"the date this network offering was created"`
Detailsmap[string]string`json:"details,omitempty" doc:"additional key/value details tied with network offering"`
DisplayTextstring`json:"displaytext,omitempty" doc:"an alternate display text of the network offering."`
EgressDefaultPolicybool`json:"egressdefaultpolicy,omitempty" doc:"true if guest network default egress policy is allow; false if default egress policy is deny"`
GuestIPTypestring`json:"guestiptype,omitempty" doc:"guest type of the network offering, can be Shared or Isolated"`
ID*UUID`json:"id,omitempty" doc:"the id of the network offering"`
IsDefaultbool`json:"isdefault,omitempty" doc:"true if network offering is default, false otherwise"`
IsPersistentbool`json:"ispersistent,omitempty" doc:"true if network offering supports persistent networks, false otherwise"`
MaxConnectionsint`json:"maxconnections,omitempty" doc:"maximum number of concurrents connections to be handled by lb"`
Namestring`json:"name,omitempty" doc:"the name of the network offering"`
NetworkRateint`json:"networkrate,omitempty" doc:"data transfer rate in megabits per second allowed."`
Service[]Service`json:"service,omitempty" doc:"the list of supported services"`
ServiceOfferingID*UUID`json:"serviceofferingid,omitempty" doc:"the ID of the service offering used by virtual router provider"`
SpecifyIPRangesbool`json:"specifyipranges,omitempty" doc:"true if network offering supports specifying ip ranges, false otherwise"`
SpecifyVlanbool`json:"specifyvlan,omitempty" doc:"true if network offering supports vlans, false otherwise"`
Statestring`json:"state,omitempty" doc:"state of the network offering. Can be Disabled/Enabled/Inactive"`
SupportsStrechedL2Subnetbool`json:"supportsstrechedl2subnet,omitempty" doc:"true if network offering supports network that span multiple zones"`
Tagsstring`json:"tags,omitempty" doc:"the tags for the network offering"`
TrafficTypestring`json:"traffictype,omitempty" doc:"the traffic type for the network offering, supported types are Public, Management, Control, Guest, Vlan or Storage."`
// ListNetworkOfferings represents a query for network offerings
typeListNetworkOfferingsstruct{
Availabilitystring`json:"availability,omitempty" doc:"the availability of network offering. Default value is Required"`
DisplayTextstring`json:"displaytext,omitempty" doc:"list network offerings by display text"`
GuestIPTypestring`json:"guestiptype,omitempty" doc:"list network offerings by guest type: Shared or Isolated"`
ID*UUID`json:"id,omitempty" doc:"list network offerings by id"`
IsDefault*bool`json:"isdefault,omitempty" doc:"true if need to list only default network offerings. Default value is false"`
IsTagged*bool`json:"istagged,omitempty" doc:"true if offering has tags specified"`
Keywordstring`json:"keyword,omitempty" doc:"List by keyword"`
Namestring`json:"name,omitempty" doc:"list network offerings by name"`
NetworkID*UUID`json:"networkid,omitempty" doc:"the ID of the network. Pass this in if you want to see the available network offering that a network can be changed to."`
Pageint`json:"page,omitempty"`
PageSizeint`json:"pagesize,omitempty"`
SourceNATSupported*bool`json:"sourcenatsupported,omitempty" doc:"true if need to list only netwok offerings where source nat is supported, false otherwise"`
SpecifyIPRanges*bool`json:"specifyipranges,omitempty" doc:"true if need to list only network offerings which support specifying ip ranges"`
SpecifyVlan*bool`json:"specifyvlan,omitempty" doc:"the tags for the network offering."`
Statestring`json:"state,omitempty" doc:"list network offerings by state"`
SupportedServices[]Service`json:"supportedservices,omitempty" doc:"list network offerings supporting certain services"`
Tagsstring`json:"tags,omitempty" doc:"list network offerings by tags"`
TrafficTypestring`json:"traffictype,omitempty" doc:"list by traffic type"`
ZoneID*UUID`json:"zoneid,omitempty" doc:"list network offerings available for network creation in specific zone"`
_bool`name:"listNetworkOfferings" description:"Lists all available network offerings."`
}
// ListNetworkOfferingsResponse represents a list of service offerings
// UpdateNetworkOffering represents a modification of a network offering
typeUpdateNetworkOfferingstruct{
Availabilitystring`json:"availability,omitempty" doc:"the availability of network offering. Default value is Required for Guest Virtual network offering; Optional for Guest Direct network offering"`
DisplayTextstring`json:"displaytext,omitempty" doc:"the display text of the network offering"`
ID*UUID`json:"id,omitempty" doc:"the id of the network offering"`
KeepAliveEnabled*bool`json:"keepaliveenabled,omitempty" doc:"if true keepalive will be turned on in the loadbalancer. At the time of writing this has only an effect on haproxy; the mode http and httpclose options are unset in the haproxy conf file."`
MaxConnectionsint`json:"maxconnections,omitempty" doc:"maximum number of concurrent connections supported by the network offering"`
Namestring`json:"name,omitempty" doc:"the name of the network offering"`
SortKeyint`json:"sortkey,omitempty" doc:"sort key of the network offering, integer"`
Statestring`json:"state,omitempty" doc:"update state for the network offering"`
_bool`name:"updateNetworkOffering" description:"Updates a network offering."`