@@ -119,6 +119,10 @@ type CreateOpts struct {
119119 // is not specified, it defaults to "GET". Required for HTTP(S) types.
120120 HTTPMethod string `json:"http_method,omitempty"`
121121
122+ // The HTTP version. One of 1.0 or 1.1. The default is 1.0. New in
123+ // version 2.10.
124+ HTTPVersion string `json:"http_version,omitempty"`
125+
122126 // Expected HTTP codes for a passing HTTP(S) Monitor. You can either specify
123127 // a single status like "200", a range like "200-202", or a combination like
124128 // "200-202, 401".
@@ -139,6 +143,10 @@ type CreateOpts struct {
139143 // or false (DOWN).
140144 AdminStateUp * bool `json:"admin_state_up,omitempty"`
141145
146+ // The domain name, which be injected into the HTTP Host Header to the
147+ // backend server for HTTP health check. New in version 2.10
148+ DomainName string `json:"domain_name,omitempty"`
149+
142150 // Tags is a set of resource tags. New in version 2.5
143151 Tags []string `json:"tags,omitempty"`
144152}
@@ -213,6 +221,10 @@ type UpdateOpts struct {
213221 // is not specified, it defaults to "GET". Required for HTTP(S) types.
214222 HTTPMethod string `json:"http_method,omitempty"`
215223
224+ // The HTTP version. One of 1.0 or 1.1. The default is 1.0. New in
225+ // version 2.10.
226+ HTTPVersion * string `json:"http_version,omitempty"`
227+
216228 // Expected HTTP codes for a passing HTTP(S) Monitor. You can either specify
217229 // a single status like "200", or a range like "200-202". Required for HTTP(S)
218230 // types.
@@ -221,6 +233,10 @@ type UpdateOpts struct {
221233 // The Name of the Monitor.
222234 Name * string `json:"name,omitempty"`
223235
236+ // The domain name, which be injected into the HTTP Host Header to the
237+ // backend server for HTTP health check. New in version 2.10
238+ DomainName * string `json:"domain_name,omitempty"`
239+
224240 // The administrative state of the Monitor. A valid value is true (UP)
225241 // or false (DOWN).
226242 AdminStateUp * bool `json:"admin_state_up,omitempty"`
0 commit comments