oci-networkloadbalancer 2.76.1 → 2.77.1
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/client.d.ts +41 -35
- package/lib/client.js +43 -34
- package/lib/client.js.map +1 -1
- package/lib/model/backend-details.d.ts +9 -9
- package/lib/model/backend-health.d.ts +4 -4
- package/lib/model/backend-set-collection.d.ts +2 -2
- package/lib/model/backend-set-details.d.ts +1 -1
- package/lib/model/backend-set-health.d.ts +13 -13
- package/lib/model/backend-set-summary.d.ts +3 -3
- package/lib/model/backend-set.d.ts +2 -2
- package/lib/model/backend-summary.d.ts +9 -9
- package/lib/model/backend.d.ts +9 -9
- package/lib/model/create-backend-details.d.ts +9 -9
- package/lib/model/create-backend-set-details.d.ts +2 -2
- package/lib/model/create-listener-details.d.ts +4 -4
- package/lib/model/create-network-load-balancer-details.d.ts +3 -3
- package/lib/model/health-check-result.d.ts +1 -1
- package/lib/model/health-checker-details.d.ts +9 -9
- package/lib/model/health-checker.d.ts +9 -9
- package/lib/model/ip-address.d.ts +1 -1
- package/lib/model/listener-details.d.ts +4 -4
- package/lib/model/listener-summary.d.ts +4 -4
- package/lib/model/listener.d.ts +4 -4
- package/lib/model/network-load-balancer-health-summary.d.ts +7 -7
- package/lib/model/network-load-balancer-health.d.ts +16 -16
- package/lib/model/network-load-balancer-summary.d.ts +7 -7
- package/lib/model/network-load-balancer.d.ts +7 -7
- package/lib/model/update-backend-details.d.ts +5 -5
- package/lib/model/update-backend-set-details.d.ts +1 -1
- package/lib/model/update-health-checker-details.d.ts +8 -8
- package/lib/model/update-listener-details.d.ts +3 -3
- package/lib/model/update-network-load-balancer-details.d.ts +3 -3
- package/lib/request/change-network-load-balancer-compartment-request.d.ts +2 -2
- package/lib/request/create-backend-request.d.ts +3 -3
- package/lib/request/create-backend-set-request.d.ts +2 -2
- package/lib/request/create-listener-request.d.ts +2 -2
- package/lib/request/create-network-load-balancer-request.d.ts +1 -1
- package/lib/request/delete-backend-request.d.ts +4 -4
- package/lib/request/delete-backend-set-request.d.ts +3 -3
- package/lib/request/delete-listener-request.d.ts +3 -3
- package/lib/request/delete-network-load-balancer-request.d.ts +2 -2
- package/lib/request/get-backend-health-request.d.ts +3 -3
- package/lib/request/get-backend-request.d.ts +5 -5
- package/lib/request/get-backend-set-health-request.d.ts +2 -2
- package/lib/request/get-backend-set-request.d.ts +4 -4
- package/lib/request/get-health-checker-request.d.ts +4 -4
- package/lib/request/get-listener-request.d.ts +4 -4
- package/lib/request/get-network-load-balancer-health-request.d.ts +1 -1
- package/lib/request/get-network-load-balancer-request.d.ts +3 -3
- package/lib/request/get-work-request-request.d.ts +1 -1
- package/lib/request/list-backend-sets-request.d.ts +4 -4
- package/lib/request/list-backends-request.d.ts +5 -5
- package/lib/request/list-listeners-request.d.ts +4 -4
- package/lib/request/list-network-load-balancer-healths-request.d.ts +2 -2
- package/lib/request/list-network-load-balancers-policies-request.d.ts +2 -2
- package/lib/request/list-network-load-balancers-protocols-request.d.ts +2 -2
- package/lib/request/list-network-load-balancers-request.d.ts +2 -2
- package/lib/request/list-work-request-errors-request.d.ts +2 -2
- package/lib/request/list-work-request-logs-request.d.ts +2 -2
- package/lib/request/list-work-requests-request.d.ts +2 -2
- package/lib/request/update-backend-request.d.ts +4 -4
- package/lib/request/update-backend-set-request.d.ts +3 -3
- package/lib/request/update-health-checker-request.d.ts +3 -3
- package/lib/request/update-listener-request.d.ts +3 -3
- package/lib/request/update-network-load-balancer-request.d.ts +2 -2
- package/lib/request/update-network-security-groups-request.d.ts +2 -2
- package/lib/response/create-listener-response.d.ts +1 -1
- package/lib/response/create-network-load-balancer-response.d.ts +1 -1
- package/lib/response/delete-listener-response.d.ts +1 -1
- package/lib/response/get-backend-response.d.ts +1 -1
- package/lib/response/get-backend-set-health-response.d.ts +1 -1
- package/lib/response/get-backend-set-response.d.ts +1 -1
- package/lib/response/get-health-checker-response.d.ts +1 -1
- package/lib/response/get-listener-response.d.ts +1 -1
- package/lib/response/get-network-load-balancer-response.d.ts +1 -1
- package/lib/response/list-backend-sets-response.d.ts +1 -1
- package/lib/response/list-backends-response.d.ts +1 -1
- package/lib/response/list-listeners-response.d.ts +1 -1
- package/lib/response/list-network-load-balancer-healths-response.d.ts +1 -1
- package/lib/response/list-network-load-balancers-policies-response.d.ts +1 -1
- package/lib/response/list-network-load-balancers-protocols-response.d.ts +1 -1
- package/lib/response/list-network-load-balancers-response.d.ts +1 -1
- package/lib/response/list-work-request-errors-response.d.ts +1 -1
- package/lib/response/list-work-request-logs-response.d.ts +1 -1
- package/lib/response/list-work-requests-response.d.ts +1 -1
- package/package.json +3 -3
|
@@ -17,27 +17,27 @@ export interface BackendDetails {
|
|
|
17
17
|
/**
|
|
18
18
|
* A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set.
|
|
19
19
|
* <p>
|
|
20
|
-
Example:
|
|
20
|
+
Example: {@code 10.0.0.3:8080}, or {@code ocid1.privateip..oc1.<var><unique_ID></var>:443} or {@code 10.0.0.3:0}
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
23
|
"name"?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The IP address of the backend server.
|
|
26
26
|
* <p>
|
|
27
|
-
Example:
|
|
27
|
+
Example: {@code 10.0.0.3}
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
"ipAddress"?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The IP OCID/Instance OCID associated with the backend server.
|
|
33
|
-
* Example:
|
|
33
|
+
* Example: {@code ocid1.privateip..oc1.<var><unique_ID></var>}
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
"targetId"?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The communication port for the backend server.
|
|
39
39
|
* <p>
|
|
40
|
-
Example:
|
|
40
|
+
Example: {@code 8080}
|
|
41
41
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
42
42
|
*/
|
|
43
43
|
"port": number;
|
|
@@ -48,15 +48,15 @@ export interface BackendDetails {
|
|
|
48
48
|
* For more information about load balancing policies, see
|
|
49
49
|
* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm).
|
|
50
50
|
* <p>
|
|
51
|
-
Example:
|
|
51
|
+
Example: {@code 3}
|
|
52
52
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
53
|
*/
|
|
54
54
|
"weight"?: number;
|
|
55
55
|
/**
|
|
56
|
-
* Whether the network load balancer should treat this server as a backup unit. If
|
|
56
|
+
* Whether the network load balancer should treat this server as a backup unit. If {@code true}, then the network load balancer forwards no ingress
|
|
57
57
|
* traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
|
|
58
58
|
* <p>
|
|
59
|
-
Example:
|
|
59
|
+
Example: {@code false}
|
|
60
60
|
*
|
|
61
61
|
*/
|
|
62
62
|
"isBackup"?: boolean;
|
|
@@ -64,7 +64,7 @@ export interface BackendDetails {
|
|
|
64
64
|
* Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
|
|
65
65
|
* incoming traffic.
|
|
66
66
|
* <p>
|
|
67
|
-
Example:
|
|
67
|
+
Example: {@code false}
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
"isDrain"?: boolean;
|
|
@@ -72,7 +72,7 @@ export interface BackendDetails {
|
|
|
72
72
|
* Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
|
|
73
73
|
* traffic.
|
|
74
74
|
* <p>
|
|
75
|
-
Example:
|
|
75
|
+
Example: {@code false}
|
|
76
76
|
*
|
|
77
77
|
*/
|
|
78
78
|
"isOffline"?: boolean;
|
|
@@ -19,13 +19,13 @@ export interface BackendHealth {
|
|
|
19
19
|
/**
|
|
20
20
|
* The general health status of the specified backend server.
|
|
21
21
|
* <p>
|
|
22
|
-
* **OK:** All health check probes return
|
|
22
|
+
* **OK:** All health check probes return {@code OK}
|
|
23
23
|
* <p>
|
|
24
|
-
* **WARNING:** At least one of the health check probes does not return
|
|
24
|
+
* **WARNING:** At least one of the health check probes does not return {@code OK}
|
|
25
25
|
* <p>
|
|
26
|
-
* **CRITICAL:** None of the health check probes return
|
|
26
|
+
* **CRITICAL:** None of the health check probes return {@code OK}.
|
|
27
27
|
* *
|
|
28
|
-
* * **UNKNOWN:** One of the health checks probes return
|
|
28
|
+
* * **UNKNOWN:** One of the health checks probes return {@code UNKNOWN},
|
|
29
29
|
* * or the system is unable to retrieve metrics at this time.
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as model from "../model";
|
|
14
14
|
/**
|
|
15
|
-
* Wrapper object for an array of
|
|
15
|
+
* Wrapper object for an array of {@code BackendSetSummary} objects.
|
|
16
16
|
*/
|
|
17
17
|
export interface BackendSetCollection {
|
|
18
18
|
/**
|
|
19
|
-
* An array of
|
|
19
|
+
* An array of {@code BackendSetSummary} objects.
|
|
20
20
|
*/
|
|
21
21
|
"items"?: Array<model.BackendSetSummary>;
|
|
22
22
|
}
|
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
/**
|
|
14
14
|
* The health status details for a backend set.
|
|
15
15
|
* <p>
|
|
16
|
-
This object does not explicitly enumerate backend servers with a status of
|
|
17
|
-
*
|
|
16
|
+
This object does not explicitly enumerate backend servers with a status of {@code OK}. However, the backend sets are included in the
|
|
17
|
+
* {@code totalBackendCount} sum.
|
|
18
18
|
*
|
|
19
19
|
*/
|
|
20
20
|
export interface BackendSetHealth {
|
|
21
21
|
/**
|
|
22
22
|
* Overall health status of the backend set.
|
|
23
23
|
* <p>
|
|
24
|
-
* **OK:** All backend servers in the backend set return a status of
|
|
24
|
+
* **OK:** All backend servers in the backend set return a status of {@code OK}.
|
|
25
25
|
* <p>
|
|
26
|
-
* **WARNING:** Half or more of the backend servers in a backend set return a status of
|
|
27
|
-
* server returns a status of
|
|
26
|
+
* **WARNING:** Half or more of the backend servers in a backend set return a status of {@code OK} and at least one backend
|
|
27
|
+
* server returns a status of {@code WARNING}, {@code CRITICAL}, or {@code UNKNOWN}.
|
|
28
28
|
* <p>
|
|
29
|
-
* **CRITICAL:** Fewer than half of the backend servers in a backend set return a status of
|
|
29
|
+
* **CRITICAL:** Fewer than half of the backend servers in a backend set return a status of {@code OK}.
|
|
30
30
|
* <p>
|
|
31
31
|
* **UNKNOWN:** If no probes have yet been sent to the backends, or the system is
|
|
32
32
|
* unable to retrieve metrics from the backends.
|
|
@@ -34,33 +34,33 @@ export interface BackendSetHealth {
|
|
|
34
34
|
*/
|
|
35
35
|
"status": BackendSetHealth.Status;
|
|
36
36
|
/**
|
|
37
|
-
* A list of backend servers that are currently in the
|
|
37
|
+
* A list of backend servers that are currently in the {@code WARNING} health state. The list identifies each backend server by
|
|
38
38
|
* IP address or OCID and port.
|
|
39
39
|
* <p>
|
|
40
|
-
Example:
|
|
40
|
+
Example: {@code 10.0.0.3:8080} or {@code ocid1.privateip..oc1.<var><unique_ID></var>:8080}
|
|
41
41
|
*
|
|
42
42
|
*/
|
|
43
43
|
"warningStateBackendNames": Array<string>;
|
|
44
44
|
/**
|
|
45
|
-
* A list of backend servers that are currently in the
|
|
45
|
+
* A list of backend servers that are currently in the {@code CRITICAL} health state. The list identifies each backend server by
|
|
46
46
|
* IP address and port.
|
|
47
47
|
* <p>
|
|
48
|
-
Example:
|
|
48
|
+
Example: {@code 10.0.0.4:8080}
|
|
49
49
|
*
|
|
50
50
|
*/
|
|
51
51
|
"criticalStateBackendNames": Array<string>;
|
|
52
52
|
/**
|
|
53
|
-
* A list of backend servers that are currently in the
|
|
53
|
+
* A list of backend servers that are currently in the {@code UNKNOWN} health state. The list identifies each backend server by
|
|
54
54
|
* IP address and port.
|
|
55
55
|
* <p>
|
|
56
|
-
Example:
|
|
56
|
+
Example: {@code 10.0.0.5:8080}
|
|
57
57
|
*
|
|
58
58
|
*/
|
|
59
59
|
"unknownStateBackendNames": Array<string>;
|
|
60
60
|
/**
|
|
61
61
|
* The total number of backend servers in this backend set.
|
|
62
62
|
* <p>
|
|
63
|
-
Example:
|
|
63
|
+
Example: {@code 7}
|
|
64
64
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
65
65
|
*/
|
|
66
66
|
"totalBackendCount": number;
|
|
@@ -26,20 +26,20 @@ export interface BackendSetSummary {
|
|
|
26
26
|
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
|
|
27
27
|
* contain spaces. Avoid entering confidential information.
|
|
28
28
|
* <p>
|
|
29
|
-
Example:
|
|
29
|
+
Example: {@code example_backend_set}
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"name": string;
|
|
33
33
|
/**
|
|
34
34
|
* The network load balancer policy for the backend set.
|
|
35
35
|
* <p>
|
|
36
|
-
Example:
|
|
36
|
+
Example: {@code FIVE_TUPLE}
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
"policy": model.NetworkLoadBalancingPolicy;
|
|
40
40
|
/**
|
|
41
41
|
* If this parameter is enabled, the network load balancer preserves the source IP of the packet forwarded to the backend servers.
|
|
42
|
-
* Backend servers see the original source IP. If the
|
|
42
|
+
* Backend servers see the original source IP. If the {@code isPreserveSourceDestination} parameter is enabled for the network load balancer resource, this parameter cannot be disabled.
|
|
43
43
|
* The value is true by default.
|
|
44
44
|
*
|
|
45
45
|
*/
|
|
@@ -26,14 +26,14 @@ export interface BackendSet {
|
|
|
26
26
|
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
|
|
27
27
|
* contain spaces. Avoid entering confidential information.
|
|
28
28
|
* <p>
|
|
29
|
-
Example:
|
|
29
|
+
Example: {@code example_backend_set}
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"name": string;
|
|
33
33
|
/**
|
|
34
34
|
* The network load balancer policy for the backend set.
|
|
35
35
|
* <p>
|
|
36
|
-
Example:
|
|
36
|
+
Example: {@code FIVE_TUPLE}
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
"policy"?: model.NetworkLoadBalancingPolicy;
|
|
@@ -19,26 +19,26 @@ export interface BackendSummary {
|
|
|
19
19
|
/**
|
|
20
20
|
* A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
|
|
21
21
|
* <p>
|
|
22
|
-
Example:
|
|
22
|
+
Example: {@code 10.0.0.3:8080}, or {@code ocid1.privateip..oc1.<var><unique_ID></var>:443} or {@code 10.0.0.3:0}
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
"name"?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The IP address of the backend server.
|
|
28
|
-
* Example:
|
|
28
|
+
* Example: {@code 10.0.0.3}
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
"ipAddress"?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The IP OCID/Instance OCID associated with the backend server.
|
|
34
|
-
* Example:
|
|
34
|
+
* Example: {@code ocid1.privateip..oc1.<var><unique_ID></var>}
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
"targetId"?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The communication port for the backend server.
|
|
40
40
|
* <p>
|
|
41
|
-
Example:
|
|
41
|
+
Example: {@code 8080}
|
|
42
42
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
43
|
*/
|
|
44
44
|
"port": number;
|
|
@@ -49,7 +49,7 @@ export interface BackendSummary {
|
|
|
49
49
|
* For more information about load balancing policies, see
|
|
50
50
|
* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm).
|
|
51
51
|
* <p>
|
|
52
|
-
Example:
|
|
52
|
+
Example: {@code 3}
|
|
53
53
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
54
54
|
*/
|
|
55
55
|
"weight"?: number;
|
|
@@ -57,15 +57,15 @@ export interface BackendSummary {
|
|
|
57
57
|
* Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
|
|
58
58
|
* incoming traffic.
|
|
59
59
|
* <p>
|
|
60
|
-
Example:
|
|
60
|
+
Example: {@code false}
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
63
|
"isDrain"?: boolean;
|
|
64
64
|
/**
|
|
65
|
-
* Whether the network load balancer should treat this server as a backup unit. If
|
|
65
|
+
* Whether the network load balancer should treat this server as a backup unit. If {@code true}, then the network load balancer forwards no ingress
|
|
66
66
|
* traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
|
|
67
67
|
* <p>
|
|
68
|
-
Example:
|
|
68
|
+
Example: {@code false}
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
71
|
"isBackup"?: boolean;
|
|
@@ -73,7 +73,7 @@ export interface BackendSummary {
|
|
|
73
73
|
* Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
|
|
74
74
|
* traffic.
|
|
75
75
|
* <p>
|
|
76
|
-
Example:
|
|
76
|
+
Example: {@code false}
|
|
77
77
|
*
|
|
78
78
|
*/
|
|
79
79
|
"isOffline"?: boolean;
|
package/lib/model/backend.d.ts
CHANGED
|
@@ -19,26 +19,26 @@ export interface Backend {
|
|
|
19
19
|
/**
|
|
20
20
|
* A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set.
|
|
21
21
|
* <p>
|
|
22
|
-
Example:
|
|
22
|
+
Example: {@code 10.0.0.3:8080}, or {@code ocid1.privateip..oc1.<var><unique_ID></var>:443} or {@code 10.0.0.3:0}
|
|
23
23
|
*
|
|
24
24
|
*/
|
|
25
25
|
"name"?: string;
|
|
26
26
|
/**
|
|
27
27
|
* The IP address of the backend server.
|
|
28
|
-
* Example:
|
|
28
|
+
* Example: {@code 10.0.0.3}
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
"ipAddress"?: string;
|
|
32
32
|
/**
|
|
33
33
|
* The IP OCID/Instance OCID associated with the backend server.
|
|
34
|
-
* Example:
|
|
34
|
+
* Example: {@code ocid1.privateip..oc1.<var><unique_ID></var>}
|
|
35
35
|
*
|
|
36
36
|
*/
|
|
37
37
|
"targetId"?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The communication port for the backend server.
|
|
40
40
|
* <p>
|
|
41
|
-
Example:
|
|
41
|
+
Example: {@code 8080}
|
|
42
42
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
43
43
|
*/
|
|
44
44
|
"port": number;
|
|
@@ -49,7 +49,7 @@ export interface Backend {
|
|
|
49
49
|
* For more information about load balancing policies, see
|
|
50
50
|
* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm).
|
|
51
51
|
* <p>
|
|
52
|
-
Example:
|
|
52
|
+
Example: {@code 3}
|
|
53
53
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
54
54
|
*/
|
|
55
55
|
"weight"?: number;
|
|
@@ -57,15 +57,15 @@ export interface Backend {
|
|
|
57
57
|
* Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
|
|
58
58
|
* incoming traffic.
|
|
59
59
|
* <p>
|
|
60
|
-
Example:
|
|
60
|
+
Example: {@code false}
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
63
|
"isDrain"?: boolean;
|
|
64
64
|
/**
|
|
65
|
-
* Whether the network load balancer should treat this server as a backup unit. If
|
|
65
|
+
* Whether the network load balancer should treat this server as a backup unit. If {@code true}, then the network load balancer forwards no ingress
|
|
66
66
|
* traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
|
|
67
67
|
* <p>
|
|
68
|
-
Example:
|
|
68
|
+
Example: {@code false}
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
71
|
"isBackup"?: boolean;
|
|
@@ -73,7 +73,7 @@ export interface Backend {
|
|
|
73
73
|
* Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
|
|
74
74
|
* traffic.
|
|
75
75
|
* <p>
|
|
76
|
-
Example:
|
|
76
|
+
Example: {@code false}
|
|
77
77
|
*
|
|
78
78
|
*/
|
|
79
79
|
"isOffline"?: boolean;
|
|
@@ -18,26 +18,26 @@
|
|
|
18
18
|
export interface CreateBackendDetails {
|
|
19
19
|
/**
|
|
20
20
|
* Optional unique name identifying the backend within the backend set. If not specified, then one will be generated.
|
|
21
|
-
* Example:
|
|
21
|
+
* Example: {@code webServer1}
|
|
22
22
|
*
|
|
23
23
|
*/
|
|
24
24
|
"name"?: string;
|
|
25
25
|
/**
|
|
26
26
|
* The IP address of the backend server.
|
|
27
|
-
* Example:
|
|
27
|
+
* Example: {@code 10.0.0.3}
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
"ipAddress"?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The IP OCID/Instance OCID associated with the backend server.
|
|
33
|
-
* Example:
|
|
33
|
+
* Example: {@code ocid1.privateip..oc1.<var><unique_ID></var>}
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
"targetId"?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The communication port for the backend server.
|
|
39
39
|
* <p>
|
|
40
|
-
Example:
|
|
40
|
+
Example: {@code 8080}
|
|
41
41
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
42
42
|
*/
|
|
43
43
|
"port": number;
|
|
@@ -48,7 +48,7 @@ export interface CreateBackendDetails {
|
|
|
48
48
|
* For more information about load balancing policies, see
|
|
49
49
|
* [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm).
|
|
50
50
|
* <p>
|
|
51
|
-
Example:
|
|
51
|
+
Example: {@code 3}
|
|
52
52
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
53
53
|
*/
|
|
54
54
|
"weight"?: number;
|
|
@@ -56,15 +56,15 @@ export interface CreateBackendDetails {
|
|
|
56
56
|
* Whether the network load balancer should drain this server. Servers marked \"isDrain\" receive no
|
|
57
57
|
* incoming traffic.
|
|
58
58
|
* <p>
|
|
59
|
-
Example:
|
|
59
|
+
Example: {@code false}
|
|
60
60
|
*
|
|
61
61
|
*/
|
|
62
62
|
"isDrain"?: boolean;
|
|
63
63
|
/**
|
|
64
|
-
* Whether the network load balancer should treat this server as a backup unit. If
|
|
64
|
+
* Whether the network load balancer should treat this server as a backup unit. If {@code true}, then the network load balancer forwards no ingress
|
|
65
65
|
* traffic to this backend server unless all other backend servers not marked as \"isBackup\" fail the health check policy.
|
|
66
66
|
* <p>
|
|
67
|
-
Example:
|
|
67
|
+
Example: {@code false}
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
"isBackup"?: boolean;
|
|
@@ -72,7 +72,7 @@ export interface CreateBackendDetails {
|
|
|
72
72
|
* Whether the network load balancer should treat this server as offline. Offline servers receive no incoming
|
|
73
73
|
* traffic.
|
|
74
74
|
* <p>
|
|
75
|
-
Example:
|
|
75
|
+
Example: {@code false}
|
|
76
76
|
*
|
|
77
77
|
*/
|
|
78
78
|
"isOffline"?: boolean;
|
|
@@ -26,14 +26,14 @@ export interface CreateBackendSetDetails {
|
|
|
26
26
|
Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot
|
|
27
27
|
* contain spaces. Avoid entering confidential information.
|
|
28
28
|
* <p>
|
|
29
|
-
Example:
|
|
29
|
+
Example: {@code example_backend_set}
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
"name": string;
|
|
33
33
|
/**
|
|
34
34
|
* The network load balancer policy for the backend set.
|
|
35
35
|
* <p>
|
|
36
|
-
Example:
|
|
36
|
+
Example: {@code FIVE_TUPLE}
|
|
37
37
|
*
|
|
38
38
|
*/
|
|
39
39
|
"policy": model.NetworkLoadBalancingPolicy;
|
|
@@ -21,21 +21,21 @@ export interface CreateListenerDetails {
|
|
|
21
21
|
/**
|
|
22
22
|
* A friendly name for the listener. It must be unique and it cannot be changed.
|
|
23
23
|
* <p>
|
|
24
|
-
Example:
|
|
24
|
+
Example: {@code example_listener}
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
"name": string;
|
|
28
28
|
/**
|
|
29
29
|
* The name of the associated backend set.
|
|
30
30
|
* <p>
|
|
31
|
-
Example:
|
|
31
|
+
Example: {@code example_backend_set}
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
"defaultBackendSetName": string;
|
|
35
35
|
/**
|
|
36
36
|
* The communication port for the listener.
|
|
37
37
|
* <p>
|
|
38
|
-
Example:
|
|
38
|
+
Example: {@code 80}
|
|
39
39
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
40
40
|
*/
|
|
41
41
|
"port": number;
|
|
@@ -46,7 +46,7 @@ export interface CreateListenerDetails {
|
|
|
46
46
|
* To get a list of valid protocols, use the {@link #listNetworkLoadBalancersProtocols(ListNetworkLoadBalancersProtocolsRequest) listNetworkLoadBalancersProtocols}
|
|
47
47
|
* operation.
|
|
48
48
|
* <p>
|
|
49
|
-
Example:
|
|
49
|
+
Example: {@code TCP}
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
52
|
"protocol": model.ListenerProtocols;
|
|
@@ -57,7 +57,7 @@ export interface CreateNetworkLoadBalancerDetails {
|
|
|
57
57
|
* see [How Network Load Balancing Works](https://docs.cloud.oracle.com/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works).
|
|
58
58
|
* This value is true by default.
|
|
59
59
|
* <p>
|
|
60
|
-
Example:
|
|
60
|
+
Example: {@code true}
|
|
61
61
|
*
|
|
62
62
|
*/
|
|
63
63
|
"isPrivate"?: boolean;
|
|
@@ -100,7 +100,7 @@ export interface CreateNetworkLoadBalancerDetails {
|
|
|
100
100
|
};
|
|
101
101
|
/**
|
|
102
102
|
* Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.
|
|
103
|
-
* Example:
|
|
103
|
+
* Example: {@code {\"bar-key\": \"value\"}}
|
|
104
104
|
*
|
|
105
105
|
*/
|
|
106
106
|
"freeformTags"?: {
|
|
@@ -108,7 +108,7 @@ export interface CreateNetworkLoadBalancerDetails {
|
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
110
|
* Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
|
111
|
-
* Example:
|
|
111
|
+
* Example: {@code {\"foo-namespace\": {\"bar-key\": \"value\"}}}
|
|
112
112
|
*
|
|
113
113
|
*/
|
|
114
114
|
"definedTags"?: {
|
|
@@ -20,15 +20,15 @@ export interface HealthCheckerDetails {
|
|
|
20
20
|
/**
|
|
21
21
|
* The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP.
|
|
22
22
|
* <p>
|
|
23
|
-
Example:
|
|
23
|
+
Example: {@code HTTP}
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"protocol": model.HealthCheckProtocols;
|
|
27
27
|
/**
|
|
28
28
|
* The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the
|
|
29
|
-
* port information from the
|
|
29
|
+
* port information from the {@code Backend} object. The port must be specified if the backend port is 0.
|
|
30
30
|
* <p>
|
|
31
|
-
Example:
|
|
31
|
+
Example: {@code 8080}
|
|
32
32
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
33
|
*/
|
|
34
34
|
"port"?: number;
|
|
@@ -36,7 +36,7 @@ export interface HealthCheckerDetails {
|
|
|
36
36
|
* The number of retries to attempt before a backend server is considered \"unhealthy\". This number also applies
|
|
37
37
|
* when recovering a server to the \"healthy\" state. The default value is 3.
|
|
38
38
|
* <p>
|
|
39
|
-
Example:
|
|
39
|
+
Example: {@code 3}
|
|
40
40
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
41
|
*/
|
|
42
42
|
"retries"?: number;
|
|
@@ -44,28 +44,28 @@ export interface HealthCheckerDetails {
|
|
|
44
44
|
* The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
|
|
45
45
|
* returns within this timeout period. The default value is 3000 (3 seconds).
|
|
46
46
|
* <p>
|
|
47
|
-
Example:
|
|
47
|
+
Example: {@code 3000}
|
|
48
48
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
49
|
*/
|
|
50
50
|
"timeoutInMillis"?: number;
|
|
51
51
|
/**
|
|
52
52
|
* The interval between health checks, in milliseconds. The default value is 10000 (10 seconds).
|
|
53
53
|
* <p>
|
|
54
|
-
Example:
|
|
54
|
+
Example: {@code 10000}
|
|
55
55
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
56
|
*/
|
|
57
57
|
"intervalInMillis"?: number;
|
|
58
58
|
/**
|
|
59
59
|
* The path against which to run the health check.
|
|
60
60
|
* <p>
|
|
61
|
-
Example:
|
|
61
|
+
Example: {@code /healthcheck}
|
|
62
62
|
*
|
|
63
63
|
*/
|
|
64
64
|
"urlPath"?: string;
|
|
65
65
|
/**
|
|
66
66
|
* A regular expression for parsing the response body from the backend server.
|
|
67
67
|
* <p>
|
|
68
|
-
Example:
|
|
68
|
+
Example: {@code ^((?!false).|\\s)*$}
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
71
|
"responseBodyRegex"?: string;
|
|
@@ -73,7 +73,7 @@ export interface HealthCheckerDetails {
|
|
|
73
73
|
* The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
|
|
74
74
|
* then you can use common HTTP status codes such as \"200\".
|
|
75
75
|
* <p>
|
|
76
|
-
Example:
|
|
76
|
+
Example: {@code 200}
|
|
77
77
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
78
78
|
*/
|
|
79
79
|
"returnCode"?: number;
|
|
@@ -20,15 +20,15 @@ export interface HealthChecker {
|
|
|
20
20
|
/**
|
|
21
21
|
* The protocol the health check must use; either HTTP or HTTPS, or UDP or TCP.
|
|
22
22
|
* <p>
|
|
23
|
-
Example:
|
|
23
|
+
Example: {@code HTTP}
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
"protocol": model.HealthCheckProtocols;
|
|
27
27
|
/**
|
|
28
28
|
* The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the
|
|
29
|
-
* port information from the
|
|
29
|
+
* port information from the {@code Backend} object. The port must be specified if the backend port is 0.
|
|
30
30
|
* <p>
|
|
31
|
-
Example:
|
|
31
|
+
Example: {@code 8080}
|
|
32
32
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
33
33
|
*/
|
|
34
34
|
"port"?: number;
|
|
@@ -36,7 +36,7 @@ export interface HealthChecker {
|
|
|
36
36
|
* The number of retries to attempt before a backend server is considered \"unhealthy\". This number also applies
|
|
37
37
|
* when recovering a server to the \"healthy\" state. The default value is 3.
|
|
38
38
|
* <p>
|
|
39
|
-
Example:
|
|
39
|
+
Example: {@code 3}
|
|
40
40
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
41
41
|
*/
|
|
42
42
|
"retries"?: number;
|
|
@@ -44,28 +44,28 @@ export interface HealthChecker {
|
|
|
44
44
|
* The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply
|
|
45
45
|
* returns within this timeout period. The default value is 3000 (3 seconds).
|
|
46
46
|
* <p>
|
|
47
|
-
Example:
|
|
47
|
+
Example: {@code 3000}
|
|
48
48
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
49
49
|
*/
|
|
50
50
|
"timeoutInMillis"?: number;
|
|
51
51
|
/**
|
|
52
52
|
* The interval between health checks, in milliseconds. The default value is 10000 (10 seconds).
|
|
53
53
|
* <p>
|
|
54
|
-
Example:
|
|
54
|
+
Example: {@code 10000}
|
|
55
55
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
56
56
|
*/
|
|
57
57
|
"intervalInMillis"?: number;
|
|
58
58
|
/**
|
|
59
59
|
* The path against which to run the health check.
|
|
60
60
|
* <p>
|
|
61
|
-
Example:
|
|
61
|
+
Example: {@code /healthcheck}
|
|
62
62
|
*
|
|
63
63
|
*/
|
|
64
64
|
"urlPath"?: string;
|
|
65
65
|
/**
|
|
66
66
|
* A regular expression for parsing the response body from the backend server.
|
|
67
67
|
* <p>
|
|
68
|
-
Example:
|
|
68
|
+
Example: {@code ^((?!false).|\\s)*$}
|
|
69
69
|
*
|
|
70
70
|
*/
|
|
71
71
|
"responseBodyRegex"?: string;
|
|
@@ -73,7 +73,7 @@ export interface HealthChecker {
|
|
|
73
73
|
* The status code a healthy backend server should return. If you configure the health check policy to use the HTTP protocol,
|
|
74
74
|
* then you can use common HTTP status codes such as \"200\".
|
|
75
75
|
* <p>
|
|
76
|
-
Example:
|
|
76
|
+
Example: {@code 200}
|
|
77
77
|
* Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.
|
|
78
78
|
*/
|
|
79
79
|
"returnCode"?: number;
|