bluemix-go
bluemix-go copied to clipboard
Add Port field to CIS Monitor Types
Problem
Cloud Internet Services has the concept of a Monitor. This model represents a health check. Along with things like URL
and method
, their REST API allows for users to specify a port
for the monitor (see API Docs). The Go SDK does not currently have the port
field available.
Solution
Add the Port field to both cisv1.Monitor
and cisv1.MonitorBody
types.