func (c *Client) APIHostPorts() ([]network.MachineHostPorts, error) {
	var result params.APIHostPortsResult
	if err := c.facade.FacadeCall("APIHostPorts", nil, &result); err != nil {
		return nil, err
	}
	return result.MachineHostsPorts(), nil
}
// APIHostPorts returns a slice of network.MachineHostPort for each API server.
APIHostPorts returns a slice of network.MachineHostPort for each API server.
// APIHostPorts returns a slice of network . MachineHostPort for each API server .
func (c *Client) APIHostPorts() ([]network.MachineHostPorts, error) {
	var result params.APIHostPortsResult
	if err := c.facade.FacadeCall("APIHostPorts", nil, &result); err != nil {
		return nil, err
	}
	return result.MachineHostsPorts(), nil
}
func ( c * Client ) APIHostPorts ( ) ( [ ] network . MachineHostPorts , error ) { var result params . APIHostPortsResult if err := c . facade . FacadeCall ( " " , nil , & result ) ; err != nil { return nil , err } return result . MachineHostsPorts ( ) , nil }
APIHostPorts returns a slice of network.MachineHostPort for each API server.
APIHostPorts returns a slice of network . MachineHostPort for each API server .