Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ type CreateOpts struct {
// The administrative state of the Monitor. A valid value is true (UP)
// or false (DOWN).
AdminStateUp *bool `json:"admin_state_up,omitempty"`

// The Port of the Monitor.
MonitorPort int `json:"monitor_port,omitempty"`
}

// ToMonitorCreateMap builds a request body from CreateOpts.
Expand Down Expand Up @@ -228,6 +231,9 @@ type UpdateOpts struct {
// The administrative state of the Monitor. A valid value is true (UP)
// or false (DOWN).
AdminStateUp *bool `json:"admin_state_up,omitempty"`

// The Port of the Monitor.
MonitorPort int `json:"monitor_port,omitempty"`
}

// ToMonitorUpdateMap builds a request body from UpdateOpts.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ type Monitor struct {
// down (false).
AdminStateUp bool `json:"admin_state_up"`

// The Port of the Monitor.
MonitorPort int `json:"monitor_port"`

// The status of the health monitor. Indicates whether the health monitor is
// operational.
Status string `json:"status"`
Expand Down