@@ -38,11 +38,13 @@ exports.getFullConfig = {
38
38
* @param {string } [parameters.sticky_sessions] - Enables sticky sessions for your load balancer; use `on` or `off`.
39
39
* @param {string } [parameters.cookie_name] - Name for your sticky session cookie.
40
40
* @param {string } [parameters.balancing_algorithm] - Balancing algorithm for your load balancer; use `roundrobin` or `leastconn`.
41
+ * @param {string } [parameters.proxy_protocol] - Enables proxy protocol; use `on` or `off`.
41
42
* @param {object } [parameters.health_check] - Define health checks for your attached back end nodes.
42
43
* @param {array } [parameters.forwarding_rules] - Define forwarding rules the load balancer will follow.
43
44
* @param {string } [parameters.ssl_private_key] - The SSL certificate's private key.
44
45
* @param {string } [parameters.ssl_certificate] - The SSL certificate.
45
46
* @param {string } [parameters.ssl_chain] - The SSL certificate chain.
47
+ * @param {string } [parameters.attached_nodes] - List which instances to attach to the load balancer.
46
48
*/
47
49
exports . create = {
48
50
url : '/loadbalancer/create' ,
@@ -73,6 +75,10 @@ exports.create = {
73
75
type : 'string' ,
74
76
required : false
75
77
} ,
78
+ proxy_protocol : {
79
+ type : 'string' ,
80
+ required : false
81
+ } ,
76
82
health_check : {
77
83
type : 'object' ,
78
84
required : false
@@ -92,6 +98,10 @@ exports.create = {
92
98
ssl_chain : {
93
99
type : 'string' ,
94
100
required : false
101
+ } ,
102
+ attached_nodes : {
103
+ type : 'array' ,
104
+ required : false
95
105
}
96
106
}
97
107
}
@@ -241,6 +251,7 @@ exports.getGenericInfo = {
241
251
* @param {string } [parameters.sticky_sessions] - Enables sticky sessions for your load balancer; use `on` or `off`.
242
252
* @param {string } [parameters.cookie_name] - Name for your sticky session.
243
253
* @param {boolean } [parameters.ssl_redirect] - Force HTTP to HTTPS.
254
+ * @param {string } [parameters.proxy_protocol] - Enables proxy protocol; use `on` or `off`.
244
255
*/
245
256
exports . updateGenericInfo = {
246
257
url : '/loadbalancer/generic_update' ,
@@ -270,6 +281,10 @@ exports.updateGenericInfo = {
270
281
ssl_redirect : {
271
282
type : 'boolean' ,
272
283
required : false
284
+ } ,
285
+ proxy_protocol : {
286
+ type : 'string' ,
287
+ required : false
273
288
}
274
289
}
275
290
}
0 commit comments