oci-loadbalancer 2.146.0 → 2.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/model/health-checker-details.d.ts +40 -0
- package/lib/model/health-checker-details.js.map +1 -1
- package/lib/model/health-checker.d.ts +30 -0
- package/lib/model/health-checker.js.map +1 -1
- package/lib/model/load-balancer.d.ts +5 -0
- package/lib/model/load-balancer.js +10 -0
- package/lib/model/load-balancer.js.map +1 -1
- package/lib/model/redirect-rule.d.ts +1 -1
- package/lib/model/reserved-ip.d.ts +6 -4
- package/lib/model/reserved-ip.js.map +1 -1
- package/lib/model/update-health-checker-details.d.ts +47 -0
- package/lib/model/update-health-checker-details.js.map +1 -1
- package/package.json +2 -2
|
@@ -75,6 +75,46 @@ export interface HealthCheckerDetails {
|
|
|
75
75
|
*
|
|
76
76
|
*/
|
|
77
77
|
"responseBodyRegex"?: string;
|
|
78
|
+
/**
|
|
79
|
+
* You can enable dynamic backend weights for HTTP health checks.
|
|
80
|
+
* <p>
|
|
81
|
+
When enabled, the load balancer reads the {@code X-Dynamic-Backend-Weight}
|
|
82
|
+
* header from each backend's HTTP health check response.
|
|
83
|
+
* The load balancer uses that value as the backend's effective weight
|
|
84
|
+
* when distributing traffic.
|
|
85
|
+
* <p>
|
|
86
|
+
A valid header value is an integer from {@code 0} through {@code 100}.
|
|
87
|
+
* <p>
|
|
88
|
+
If the backend response does not include this header, or includes an invalid
|
|
89
|
+
* value, the load balancer uses {@code defaultWeight}.
|
|
90
|
+
* <p>
|
|
91
|
+
If omitted during create, the default is {@code false}.
|
|
92
|
+
* <p>
|
|
93
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
"isDynamicBackendWeightEnabled"?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* You can configure this fallback backend weight when dynamic backend weights
|
|
99
|
+
* are enabled and the backend's HTTP health check response does not include a valid
|
|
100
|
+
* {@code X-Dynamic-Backend-Weight} header value.
|
|
101
|
+
* <p>
|
|
102
|
+
This value must be an integer from {@code 1} through {@code 100}.
|
|
103
|
+
* <p>
|
|
104
|
+
Setting {@code defaultWeight} does not enable dynamic backend weights. To enable
|
|
105
|
+
* dynamic backend weights, set {@code isDynamicBackendWeightEnabled} to {@code true}.
|
|
106
|
+
* If your request includes {@code defaultWeight}, you must also set
|
|
107
|
+
* {@code isDynamicBackendWeightEnabled} to {@code true}; otherwise, the request is rejected.
|
|
108
|
+
* <p>
|
|
109
|
+
On create, if dynamic backend weights are enabled and this field is omitted or
|
|
110
|
+
* null, the service uses {@code 1}.
|
|
111
|
+
* <p>
|
|
112
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
113
|
+
* <p>
|
|
114
|
+
Example: {@code 1}
|
|
115
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
116
|
+
*/
|
|
117
|
+
"defaultWeight"?: number;
|
|
78
118
|
/**
|
|
79
119
|
* Specifies if health checks should always be done using plain text instead of depending on
|
|
80
120
|
* whether or not the associated backend set is using SSL.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-checker-details.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/health-checker-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;
|
|
1
|
+
{"version":3,"file":"health-checker-details.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/health-checker-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA4HH,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,+BAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAyB;QAC9D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,2CAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAWpC"}
|
|
@@ -78,6 +78,36 @@ export interface HealthChecker {
|
|
|
78
78
|
*
|
|
79
79
|
*/
|
|
80
80
|
"responseBodyRegex": string;
|
|
81
|
+
/**
|
|
82
|
+
* Indicates whether dynamic backend weights are enabled for HTTP health checks.
|
|
83
|
+
* <p>
|
|
84
|
+
When enabled, the load balancer reads the {@code X-Dynamic-Backend-Weight}
|
|
85
|
+
* header from each backend's HTTP health check response.
|
|
86
|
+
* The load balancer uses that value as the backend's effective weight
|
|
87
|
+
* when distributing traffic.
|
|
88
|
+
* <p>
|
|
89
|
+
A valid header value is an integer from {@code 0} through {@code 100}.
|
|
90
|
+
* <p>
|
|
91
|
+
If the backend response does not include this header, or includes an invalid
|
|
92
|
+
* value, the load balancer uses {@code defaultWeight}.
|
|
93
|
+
* <p>
|
|
94
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
95
|
+
*
|
|
96
|
+
*/
|
|
97
|
+
"isDynamicBackendWeightEnabled"?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* The fallback backend weight used when dynamic backend weights are enabled
|
|
100
|
+
* and the backend's HTTP health check response does not include a valid
|
|
101
|
+
* {@code X-Dynamic-Backend-Weight} header value.
|
|
102
|
+
* <p>
|
|
103
|
+
This value is an integer from {@code 1} through {@code 100}.
|
|
104
|
+
* <p>
|
|
105
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
106
|
+
* <p>
|
|
107
|
+
Example: {@code 1}
|
|
108
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
109
|
+
*/
|
|
110
|
+
"defaultWeight"?: number;
|
|
81
111
|
/**
|
|
82
112
|
* Specifies if health checks should always be done using plain text instead of depending on
|
|
83
113
|
* whether or not the associated backend set is using SSL.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-checker.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/health-checker.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;
|
|
1
|
+
{"version":3,"file":"health-checker.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/health-checker.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAqHH,IAAiB,aAAa,CAW7B;AAXD,WAAiB,aAAa;IAC5B,SAAgB,UAAU,CAAC,GAAkB;QAC3C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAkB;QACvD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,oCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAW7B"}
|
|
@@ -59,6 +59,11 @@ export interface LoadBalancer {
|
|
|
59
59
|
*
|
|
60
60
|
*/
|
|
61
61
|
"ipAddresses"?: Array<model.IpAddress>;
|
|
62
|
+
/**
|
|
63
|
+
* An array of reservedIP addresses.
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
"reservedIpAddresses"?: Array<model.ReservedIP>;
|
|
62
67
|
/**
|
|
63
68
|
* A template that determines the total pre-provisioned bandwidth (ingress plus egress).
|
|
64
69
|
* To get a list of available shapes, use the {@link #listShapes(ListShapesRequest) listShapes}
|
|
@@ -68,6 +68,11 @@ var LoadBalancer;
|
|
|
68
68
|
return model.IpAddress.getJsonObj(item);
|
|
69
69
|
})
|
|
70
70
|
: undefined,
|
|
71
|
+
"reservedIpAddresses": obj.reservedIpAddresses
|
|
72
|
+
? obj.reservedIpAddresses.map(item => {
|
|
73
|
+
return model.ReservedIP.getJsonObj(item);
|
|
74
|
+
})
|
|
75
|
+
: undefined,
|
|
71
76
|
"shapeDetails": obj.shapeDetails
|
|
72
77
|
? model.ShapeDetails.getJsonObj(obj.shapeDetails)
|
|
73
78
|
: undefined,
|
|
@@ -106,6 +111,11 @@ var LoadBalancer;
|
|
|
106
111
|
return model.IpAddress.getDeserializedJsonObj(item);
|
|
107
112
|
})
|
|
108
113
|
: undefined,
|
|
114
|
+
"reservedIpAddresses": obj.reservedIpAddresses
|
|
115
|
+
? obj.reservedIpAddresses.map(item => {
|
|
116
|
+
return model.ReservedIP.getDeserializedJsonObj(item);
|
|
117
|
+
})
|
|
118
|
+
: undefined,
|
|
109
119
|
"shapeDetails": obj.shapeDetails
|
|
110
120
|
? model.ShapeDetails.getDeserializedJsonObj(obj.shapeDetails)
|
|
111
121
|
: undefined,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-balancer.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/load-balancer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;
|
|
1
|
+
{"version":3,"file":"load-balancer.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/load-balancer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAiMtC,IAAiB,YAAY,CA0H5B;AA1HD,WAAiB,YAAY;IAC3B,IAAY,cAWX;IAXD,WAAY,cAAc;QACxB,uCAAqB,CAAA;QACrB,mCAAiB,CAAA;QACjB,mCAAiB,CAAA;QACjB,uCAAqB,CAAA;QACrB,qCAAmB,CAAA;QACnB;;;WAGG;QACH,gDAA8B,CAAA;IAChC,CAAC,EAXW,cAAc,GAAd,2BAAc,KAAd,2BAA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AC,UAAU,CAAC,sBAAsB,CAAC;gBAC/E,CAAC,CAAC,SAAS;YACb,eAAe,EAAE,GAAG,CAAC,aAAa;gBAChC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,EAAE,KAAK,CAAC,YAAY,CAAC,sBAAsB,CAAC;gBACnF,CAAC,CAAC,SAAS;YAEb,UAAU,EAAE,GAAG,CAAC,QAAQ;gBACtB,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,sBAAsB,CAAC;gBACzE,CAAC,CAAC,SAAS;YACb,iBAAiB,EAAE,GAAG,CAAC,eAAe;gBACpC,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,aAAa,CAAC,sBAAsB,CAAC;gBACtF,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhDe,mCAAsB,yBAgDrC,CAAA;AACH,CAAC,EA1HgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QA0H5B"}
|
|
@@ -48,7 +48,7 @@ export interface RedirectRule extends model.Rule {
|
|
|
48
48
|
*/
|
|
49
49
|
"responseCode"?: number;
|
|
50
50
|
"conditions": Array<model.RuleCondition>;
|
|
51
|
-
"redirectUri"
|
|
51
|
+
"redirectUri": model.RedirectUri;
|
|
52
52
|
"action": string;
|
|
53
53
|
}
|
|
54
54
|
export declare namespace RedirectRule {
|
|
@@ -14,16 +14,18 @@ information, see [Overview of Load Balancing](https://docs.oracle.com/iaas/Conte
|
|
|
14
14
|
*/
|
|
15
15
|
export interface ReservedIP {
|
|
16
16
|
/**
|
|
17
|
-
* Ocid of the Reserved IP
|
|
17
|
+
* Ocid of the Reserved IP (Public IP or Private IP) created with VCN.
|
|
18
18
|
* <p>
|
|
19
19
|
Reserved IPs are IPs which already registered using VCN API.
|
|
20
20
|
* <p>
|
|
21
|
-
|
|
22
|
-
*
|
|
21
|
+
For public load balancers, create a reserved Public IP and pass the OCID in this field.
|
|
22
|
+
* For private load balancers, create a reserved Private IP and pass the OCID in this field.
|
|
23
|
+
* Load balancer will be configured to listen to traffic on this IP.
|
|
23
24
|
* <p>
|
|
24
25
|
Reserved IPs will not be deleted when the Load balancer is deleted. They will be unattached from the Load balancer.
|
|
25
26
|
* <p>
|
|
26
|
-
Example: \"ocid1.publicip.oc1.phx.unique_ID\"
|
|
27
|
+
Public IP Example: \"ocid1.publicip.oc1.phx.unique_ID\"
|
|
28
|
+
* Private IP Example: \"ocid1.privateip.oc1.phx.unique_ID\"
|
|
27
29
|
* <p>
|
|
28
30
|
IPV6 example: \"ocid1.ipv6.oc1.phx.unique_ID\"
|
|
29
31
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reserved-ip.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/reserved-ip.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;
|
|
1
|
+
{"version":3,"file":"reserved-ip.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/reserved-ip.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AA0BH,IAAiB,UAAU,CAW1B;AAXD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qBAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iCAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAW1B"}
|
|
@@ -74,6 +74,53 @@ export interface UpdateHealthCheckerDetails {
|
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
76
|
"responseBodyRegex": string;
|
|
77
|
+
/**
|
|
78
|
+
* You can enable dynamic backend weights for HTTP health checks.
|
|
79
|
+
* <p>
|
|
80
|
+
When enabled, the load balancer reads the {@code X-Dynamic-Backend-Weight}
|
|
81
|
+
* header from each backend's HTTP health check response.
|
|
82
|
+
* The load balancer uses that value as the backend's effective weight
|
|
83
|
+
* when distributing traffic.
|
|
84
|
+
* <p>
|
|
85
|
+
A valid header value is an integer from {@code 0} through {@code 100}.
|
|
86
|
+
* <p>
|
|
87
|
+
If the backend response does not include this header, or includes an invalid
|
|
88
|
+
* value, the load balancer uses {@code defaultWeight}.
|
|
89
|
+
* <p>
|
|
90
|
+
Update semantics:
|
|
91
|
+
* * omitted: preserve existing value.
|
|
92
|
+
* * false: disable dynamic backend weight.
|
|
93
|
+
* * true: enable dynamic backend weight.
|
|
94
|
+
* <p>
|
|
95
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
"isDynamicBackendWeightEnabled"?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* You can configure this fallback backend weight when dynamic backend weights
|
|
101
|
+
* are enabled and the backend's HTTP health check response does not include a valid
|
|
102
|
+
* {@code X-Dynamic-Backend-Weight} header value.
|
|
103
|
+
* <p>
|
|
104
|
+
This value must be an integer from {@code 1} through {@code 100}.
|
|
105
|
+
* <p>
|
|
106
|
+
Update semantics:
|
|
107
|
+
* * provided: replace the existing value.
|
|
108
|
+
* * omitted or null: preserve the existing configured value.
|
|
109
|
+
* <p>
|
|
110
|
+
If dynamic backend weights are enabled and no existing {@code defaultWeight} is
|
|
111
|
+
* present, the service uses {@code 1}.
|
|
112
|
+
* <p>
|
|
113
|
+
Setting or updating {@code defaultWeight} does not enable dynamic backend weights.
|
|
114
|
+
* To enable dynamic backend weights, set {@code isDynamicBackendWeightEnabled} to
|
|
115
|
+
* {@code true}. If your request includes {@code defaultWeight}, you must also set
|
|
116
|
+
* {@code isDynamicBackendWeightEnabled} to {@code true}; otherwise, the request is rejected.
|
|
117
|
+
* <p>
|
|
118
|
+
For TCP health checks, this field is accepted and stored, but it has no runtime effect.
|
|
119
|
+
* <p>
|
|
120
|
+
Example: {@code 1}
|
|
121
|
+
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
122
|
+
*/
|
|
123
|
+
"defaultWeight"?: number;
|
|
77
124
|
/**
|
|
78
125
|
* Specifies if health checks should always be done using plain text instead of depending on
|
|
79
126
|
* whether or not the associated backend set is using SSL.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-health-checker-details.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/update-health-checker-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;
|
|
1
|
+
{"version":3,"file":"update-health-checker-details.js","sourceRoot":"","sources":["../../../../../lib/loadbalancer/lib/model/update-health-checker-details.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;AAkIH,IAAiB,0BAA0B,CAW1C;AAXD,WAAiB,0BAA0B;IACzC,SAAgB,UAAU,CAAC,GAA+B;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,qCAAU,aAIzB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAA+B;QACpE,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,iDAAsB,yBAIrC,CAAA;AACH,CAAC,EAXgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAW1C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oci-loadbalancer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.147.0",
|
|
4
4
|
"description": "OCI NodeJS client for Load Balancer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"license": "(UPL-1.0 OR Apache-2.0)",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"oci-common": "2.
|
|
18
|
+
"oci-common": "2.147.0",
|
|
19
19
|
"opossum": "5.0.1"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|