IBM-Cloud / bluemix-go

Go library for accessing the Bluemix API
Apache License 2.0
37 stars 89 forks source link

Add Port field to CIS Monitor Types #202

Open BobbyRadford opened 4 years ago

BobbyRadford commented 4 years ago

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.