pulumi-oci 2.22.0a1737613119__py3-none-any.whl → 2.23.0a1737786272__py3-none-any.whl
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.
- pulumi_oci/__init__.py +8 -0
- pulumi_oci/bigdataservice/bds_instance_api_key.py +0 -14
- pulumi_oci/bigdataservice/get_bds_instance_api_key.py +0 -2
- pulumi_oci/bigdataservice/outputs.py +0 -4
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +143 -0
- pulumi_oci/core/byoasn.py +595 -0
- pulumi_oci/core/get_byoasn.py +268 -0
- pulumi_oci/core/get_byoasns.py +131 -0
- pulumi_oci/core/get_byoip_range.py +15 -1
- pulumi_oci/core/instance.py +7 -7
- pulumi_oci/core/outputs.py +457 -0
- pulumi_oci/database/_inputs.py +696 -89
- pulumi_oci/database/autonomous_database.py +98 -4
- pulumi_oci/database/autonomous_exadata_infrastructure.py +0 -2
- pulumi_oci/database/autonomous_vm_cluster.py +0 -2
- pulumi_oci/database/cloud_exadata_infrastructure.py +0 -2
- pulumi_oci/database/data_guard_association.py +75 -28
- pulumi_oci/database/database.py +147 -32
- pulumi_oci/database/database_upgrade.py +28 -0
- pulumi_oci/database/exadata_infrastructure.py +0 -2
- pulumi_oci/database/get_autonomous_database.py +30 -2
- pulumi_oci/database/get_data_guard_association.py +12 -1
- pulumi_oci/database/get_database.py +40 -1
- pulumi_oci/database/outputs.py +994 -114
- pulumi_oci/networkloadbalancer/__init__.py +1 -0
- pulumi_oci/networkloadbalancer/_inputs.py +6 -6
- pulumi_oci/networkloadbalancer/backend.py +7 -7
- pulumi_oci/networkloadbalancer/backend_set.py +105 -7
- pulumi_oci/networkloadbalancer/get_backend_set.py +30 -2
- pulumi_oci/networkloadbalancer/get_network_load_balancer_backend_set_backend_operational_status.py +165 -0
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +105 -7
- pulumi_oci/networkloadbalancer/outputs.py +34 -12
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/METADATA +1 -1
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/RECORD +39 -35
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.22.0a1737613119.dist-info → pulumi_oci-2.23.0a1737786272.dist-info}/top_level.txt +0 -0
@@ -15,6 +15,7 @@ from .get_backends import *
|
|
15
15
|
from .get_listener import *
|
16
16
|
from .get_listeners import *
|
17
17
|
from .get_network_load_balancer import *
|
18
|
+
from .get_network_load_balancer_backend_set_backend_operational_status import *
|
18
19
|
from .get_network_load_balancer_health import *
|
19
20
|
from .get_network_load_balancers import *
|
20
21
|
from .get_network_load_balancers_policies import *
|
@@ -81,7 +81,7 @@ if not MYPY:
|
|
81
81
|
"""
|
82
82
|
weight: NotRequired[pulumi.Input[int]]
|
83
83
|
"""
|
84
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
84
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
85
85
|
"""
|
86
86
|
elif False:
|
87
87
|
BackendSetBackendArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -105,7 +105,7 @@ class BackendSetBackendArgs:
|
|
105
105
|
:param pulumi.Input[bool] is_offline: (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
106
106
|
:param pulumi.Input[str] name: (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var><unique_ID></var>:443` or `10.0.0.3:0`
|
107
107
|
:param pulumi.Input[str] target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
108
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
108
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
109
109
|
"""
|
110
110
|
pulumi.set(__self__, "port", port)
|
111
111
|
if ip_address is not None:
|
@@ -211,7 +211,7 @@ class BackendSetBackendArgs:
|
|
211
211
|
@pulumi.getter
|
212
212
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
213
213
|
"""
|
214
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
214
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
215
215
|
"""
|
216
216
|
return pulumi.get(self, "weight")
|
217
217
|
|
@@ -774,7 +774,7 @@ if not MYPY:
|
|
774
774
|
"""
|
775
775
|
weight: NotRequired[pulumi.Input[int]]
|
776
776
|
"""
|
777
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
777
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
778
778
|
"""
|
779
779
|
elif False:
|
780
780
|
NetworkLoadBalancersBackendSetsUnifiedBackendArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -798,7 +798,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
|
|
798
798
|
:param pulumi.Input[bool] is_offline: (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
799
799
|
:param pulumi.Input[str] name: (Updatable) A read-only field showing the IP address/OCID and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<var><unique_ID></var>:443` or `10.0.0.3:0`
|
800
800
|
:param pulumi.Input[str] target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
801
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
801
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
802
802
|
"""
|
803
803
|
pulumi.set(__self__, "port", port)
|
804
804
|
if ip_address is not None:
|
@@ -904,7 +904,7 @@ class NetworkLoadBalancersBackendSetsUnifiedBackendArgs:
|
|
904
904
|
@pulumi.getter
|
905
905
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
906
906
|
"""
|
907
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [
|
907
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
908
908
|
"""
|
909
909
|
return pulumi.get(self, "weight")
|
910
910
|
|
@@ -40,7 +40,7 @@ class BackendArgs:
|
|
40
40
|
:param pulumi.Input[bool] is_offline: (Updatable) Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
41
41
|
:param pulumi.Input[str] name: Optional unique name identifying the backend within the backend set. If not specified, then one will be generated. Example: `webServer1`
|
42
42
|
:param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
43
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
43
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
44
44
|
|
45
45
|
|
46
46
|
** IMPORTANT **
|
@@ -176,7 +176,7 @@ class BackendArgs:
|
|
176
176
|
@pulumi.getter
|
177
177
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
178
178
|
"""
|
179
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
179
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
180
180
|
|
181
181
|
|
182
182
|
** IMPORTANT **
|
@@ -213,7 +213,7 @@ class _BackendState:
|
|
213
213
|
:param pulumi.Input[str] network_load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
|
214
214
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
215
215
|
:param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
216
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
216
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
217
217
|
|
218
218
|
|
219
219
|
** IMPORTANT **
|
@@ -352,7 +352,7 @@ class _BackendState:
|
|
352
352
|
@pulumi.getter
|
353
353
|
def weight(self) -> Optional[pulumi.Input[int]]:
|
354
354
|
"""
|
355
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
355
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
356
356
|
|
357
357
|
|
358
358
|
** IMPORTANT **
|
@@ -424,7 +424,7 @@ class Backend(pulumi.CustomResource):
|
|
424
424
|
:param pulumi.Input[str] network_load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
|
425
425
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
426
426
|
:param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
427
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
427
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
428
428
|
|
429
429
|
|
430
430
|
** IMPORTANT **
|
@@ -554,7 +554,7 @@ class Backend(pulumi.CustomResource):
|
|
554
554
|
:param pulumi.Input[str] network_load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
|
555
555
|
:param pulumi.Input[int] port: The communication port for the backend server. Example: `8080`
|
556
556
|
:param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<var><unique_ID></var>`
|
557
|
-
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
557
|
+
:param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
558
558
|
|
559
559
|
|
560
560
|
** IMPORTANT **
|
@@ -652,7 +652,7 @@ class Backend(pulumi.CustomResource):
|
|
652
652
|
@pulumi.getter
|
653
653
|
def weight(self) -> pulumi.Output[int]:
|
654
654
|
"""
|
655
|
-
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load
|
655
|
+
(Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about network load balancer policies, see [Network Load Balancer Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/introduction.htm#Policies). Example: `3`
|
656
656
|
|
657
657
|
|
658
658
|
** IMPORTANT **
|
@@ -24,23 +24,27 @@ class BackendSetArgs:
|
|
24
24
|
health_checker: pulumi.Input['BackendSetHealthCheckerArgs'],
|
25
25
|
network_load_balancer_id: pulumi.Input[str],
|
26
26
|
policy: pulumi.Input[str],
|
27
|
+
are_operationally_active_backends_preferred: Optional[pulumi.Input[bool]] = None,
|
27
28
|
ip_version: Optional[pulumi.Input[str]] = None,
|
28
29
|
is_fail_open: Optional[pulumi.Input[bool]] = None,
|
29
30
|
is_instant_failover_enabled: Optional[pulumi.Input[bool]] = None,
|
31
|
+
is_instant_failover_tcp_reset_enabled: Optional[pulumi.Input[bool]] = None,
|
30
32
|
is_preserve_source: Optional[pulumi.Input[bool]] = None,
|
31
33
|
name: Optional[pulumi.Input[str]] = None):
|
32
34
|
"""
|
33
35
|
The set of arguments for constructing a BackendSet resource.
|
34
|
-
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
36
|
+
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
35
37
|
:param pulumi.Input[str] network_load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update.
|
36
38
|
:param pulumi.Input[str] policy: (Updatable) The network load balancer policy for the backend set. Example: `FIVE_TUPLE``
|
37
39
|
|
38
40
|
|
39
41
|
** IMPORTANT **
|
40
42
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
43
|
+
:param pulumi.Input[bool] are_operationally_active_backends_preferred: (Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
41
44
|
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the backend set.
|
42
45
|
:param pulumi.Input[bool] is_fail_open: (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
|
43
46
|
:param pulumi.Input[bool] is_instant_failover_enabled: (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
|
47
|
+
:param pulumi.Input[bool] is_instant_failover_tcp_reset_enabled: (Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
44
48
|
:param pulumi.Input[bool] is_preserve_source: (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
|
45
49
|
:param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
46
50
|
|
@@ -51,12 +55,16 @@ class BackendSetArgs:
|
|
51
55
|
pulumi.set(__self__, "health_checker", health_checker)
|
52
56
|
pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id)
|
53
57
|
pulumi.set(__self__, "policy", policy)
|
58
|
+
if are_operationally_active_backends_preferred is not None:
|
59
|
+
pulumi.set(__self__, "are_operationally_active_backends_preferred", are_operationally_active_backends_preferred)
|
54
60
|
if ip_version is not None:
|
55
61
|
pulumi.set(__self__, "ip_version", ip_version)
|
56
62
|
if is_fail_open is not None:
|
57
63
|
pulumi.set(__self__, "is_fail_open", is_fail_open)
|
58
64
|
if is_instant_failover_enabled is not None:
|
59
65
|
pulumi.set(__self__, "is_instant_failover_enabled", is_instant_failover_enabled)
|
66
|
+
if is_instant_failover_tcp_reset_enabled is not None:
|
67
|
+
pulumi.set(__self__, "is_instant_failover_tcp_reset_enabled", is_instant_failover_tcp_reset_enabled)
|
60
68
|
if is_preserve_source is not None:
|
61
69
|
pulumi.set(__self__, "is_preserve_source", is_preserve_source)
|
62
70
|
if name is not None:
|
@@ -66,7 +74,7 @@ class BackendSetArgs:
|
|
66
74
|
@pulumi.getter(name="healthChecker")
|
67
75
|
def health_checker(self) -> pulumi.Input['BackendSetHealthCheckerArgs']:
|
68
76
|
"""
|
69
|
-
(Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
77
|
+
(Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
70
78
|
"""
|
71
79
|
return pulumi.get(self, "health_checker")
|
72
80
|
|
@@ -102,6 +110,18 @@ class BackendSetArgs:
|
|
102
110
|
def policy(self, value: pulumi.Input[str]):
|
103
111
|
pulumi.set(self, "policy", value)
|
104
112
|
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="areOperationallyActiveBackendsPreferred")
|
115
|
+
def are_operationally_active_backends_preferred(self) -> Optional[pulumi.Input[bool]]:
|
116
|
+
"""
|
117
|
+
(Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "are_operationally_active_backends_preferred")
|
120
|
+
|
121
|
+
@are_operationally_active_backends_preferred.setter
|
122
|
+
def are_operationally_active_backends_preferred(self, value: Optional[pulumi.Input[bool]]):
|
123
|
+
pulumi.set(self, "are_operationally_active_backends_preferred", value)
|
124
|
+
|
105
125
|
@property
|
106
126
|
@pulumi.getter(name="ipVersion")
|
107
127
|
def ip_version(self) -> Optional[pulumi.Input[str]]:
|
@@ -138,6 +158,18 @@ class BackendSetArgs:
|
|
138
158
|
def is_instant_failover_enabled(self, value: Optional[pulumi.Input[bool]]):
|
139
159
|
pulumi.set(self, "is_instant_failover_enabled", value)
|
140
160
|
|
161
|
+
@property
|
162
|
+
@pulumi.getter(name="isInstantFailoverTcpResetEnabled")
|
163
|
+
def is_instant_failover_tcp_reset_enabled(self) -> Optional[pulumi.Input[bool]]:
|
164
|
+
"""
|
165
|
+
(Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
166
|
+
"""
|
167
|
+
return pulumi.get(self, "is_instant_failover_tcp_reset_enabled")
|
168
|
+
|
169
|
+
@is_instant_failover_tcp_reset_enabled.setter
|
170
|
+
def is_instant_failover_tcp_reset_enabled(self, value: Optional[pulumi.Input[bool]]):
|
171
|
+
pulumi.set(self, "is_instant_failover_tcp_reset_enabled", value)
|
172
|
+
|
141
173
|
@property
|
142
174
|
@pulumi.getter(name="isPreserveSource")
|
143
175
|
def is_preserve_source(self) -> Optional[pulumi.Input[bool]]:
|
@@ -170,22 +202,26 @@ class BackendSetArgs:
|
|
170
202
|
@pulumi.input_type
|
171
203
|
class _BackendSetState:
|
172
204
|
def __init__(__self__, *,
|
205
|
+
are_operationally_active_backends_preferred: Optional[pulumi.Input[bool]] = None,
|
173
206
|
backends: Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]] = None,
|
174
207
|
health_checker: Optional[pulumi.Input['BackendSetHealthCheckerArgs']] = None,
|
175
208
|
ip_version: Optional[pulumi.Input[str]] = None,
|
176
209
|
is_fail_open: Optional[pulumi.Input[bool]] = None,
|
177
210
|
is_instant_failover_enabled: Optional[pulumi.Input[bool]] = None,
|
211
|
+
is_instant_failover_tcp_reset_enabled: Optional[pulumi.Input[bool]] = None,
|
178
212
|
is_preserve_source: Optional[pulumi.Input[bool]] = None,
|
179
213
|
name: Optional[pulumi.Input[str]] = None,
|
180
214
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
181
215
|
policy: Optional[pulumi.Input[str]] = None):
|
182
216
|
"""
|
183
217
|
Input properties used for looking up and filtering BackendSet resources.
|
218
|
+
:param pulumi.Input[bool] are_operationally_active_backends_preferred: (Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
184
219
|
:param pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]] backends: (Updatable) An array of backends to be associated with the backend set.
|
185
|
-
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
220
|
+
:param pulumi.Input['BackendSetHealthCheckerArgs'] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
186
221
|
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the backend set.
|
187
222
|
:param pulumi.Input[bool] is_fail_open: (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
|
188
223
|
:param pulumi.Input[bool] is_instant_failover_enabled: (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
|
224
|
+
:param pulumi.Input[bool] is_instant_failover_tcp_reset_enabled: (Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
189
225
|
:param pulumi.Input[bool] is_preserve_source: (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
|
190
226
|
:param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
191
227
|
|
@@ -199,6 +235,8 @@ class _BackendSetState:
|
|
199
235
|
** IMPORTANT **
|
200
236
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
201
237
|
"""
|
238
|
+
if are_operationally_active_backends_preferred is not None:
|
239
|
+
pulumi.set(__self__, "are_operationally_active_backends_preferred", are_operationally_active_backends_preferred)
|
202
240
|
if backends is not None:
|
203
241
|
pulumi.set(__self__, "backends", backends)
|
204
242
|
if health_checker is not None:
|
@@ -209,6 +247,8 @@ class _BackendSetState:
|
|
209
247
|
pulumi.set(__self__, "is_fail_open", is_fail_open)
|
210
248
|
if is_instant_failover_enabled is not None:
|
211
249
|
pulumi.set(__self__, "is_instant_failover_enabled", is_instant_failover_enabled)
|
250
|
+
if is_instant_failover_tcp_reset_enabled is not None:
|
251
|
+
pulumi.set(__self__, "is_instant_failover_tcp_reset_enabled", is_instant_failover_tcp_reset_enabled)
|
212
252
|
if is_preserve_source is not None:
|
213
253
|
pulumi.set(__self__, "is_preserve_source", is_preserve_source)
|
214
254
|
if name is not None:
|
@@ -218,6 +258,18 @@ class _BackendSetState:
|
|
218
258
|
if policy is not None:
|
219
259
|
pulumi.set(__self__, "policy", policy)
|
220
260
|
|
261
|
+
@property
|
262
|
+
@pulumi.getter(name="areOperationallyActiveBackendsPreferred")
|
263
|
+
def are_operationally_active_backends_preferred(self) -> Optional[pulumi.Input[bool]]:
|
264
|
+
"""
|
265
|
+
(Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
266
|
+
"""
|
267
|
+
return pulumi.get(self, "are_operationally_active_backends_preferred")
|
268
|
+
|
269
|
+
@are_operationally_active_backends_preferred.setter
|
270
|
+
def are_operationally_active_backends_preferred(self, value: Optional[pulumi.Input[bool]]):
|
271
|
+
pulumi.set(self, "are_operationally_active_backends_preferred", value)
|
272
|
+
|
221
273
|
@property
|
222
274
|
@pulumi.getter
|
223
275
|
def backends(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]]:
|
@@ -234,7 +286,7 @@ class _BackendSetState:
|
|
234
286
|
@pulumi.getter(name="healthChecker")
|
235
287
|
def health_checker(self) -> Optional[pulumi.Input['BackendSetHealthCheckerArgs']]:
|
236
288
|
"""
|
237
|
-
(Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
289
|
+
(Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
238
290
|
"""
|
239
291
|
return pulumi.get(self, "health_checker")
|
240
292
|
|
@@ -278,6 +330,18 @@ class _BackendSetState:
|
|
278
330
|
def is_instant_failover_enabled(self, value: Optional[pulumi.Input[bool]]):
|
279
331
|
pulumi.set(self, "is_instant_failover_enabled", value)
|
280
332
|
|
333
|
+
@property
|
334
|
+
@pulumi.getter(name="isInstantFailoverTcpResetEnabled")
|
335
|
+
def is_instant_failover_tcp_reset_enabled(self) -> Optional[pulumi.Input[bool]]:
|
336
|
+
"""
|
337
|
+
(Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
338
|
+
"""
|
339
|
+
return pulumi.get(self, "is_instant_failover_tcp_reset_enabled")
|
340
|
+
|
341
|
+
@is_instant_failover_tcp_reset_enabled.setter
|
342
|
+
def is_instant_failover_tcp_reset_enabled(self, value: Optional[pulumi.Input[bool]]):
|
343
|
+
pulumi.set(self, "is_instant_failover_tcp_reset_enabled", value)
|
344
|
+
|
281
345
|
@property
|
282
346
|
@pulumi.getter(name="isPreserveSource")
|
283
347
|
def is_preserve_source(self) -> Optional[pulumi.Input[bool]]:
|
@@ -340,10 +404,12 @@ class BackendSet(pulumi.CustomResource):
|
|
340
404
|
def __init__(__self__,
|
341
405
|
resource_name: str,
|
342
406
|
opts: Optional[pulumi.ResourceOptions] = None,
|
407
|
+
are_operationally_active_backends_preferred: Optional[pulumi.Input[bool]] = None,
|
343
408
|
health_checker: Optional[pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']]] = None,
|
344
409
|
ip_version: Optional[pulumi.Input[str]] = None,
|
345
410
|
is_fail_open: Optional[pulumi.Input[bool]] = None,
|
346
411
|
is_instant_failover_enabled: Optional[pulumi.Input[bool]] = None,
|
412
|
+
is_instant_failover_tcp_reset_enabled: Optional[pulumi.Input[bool]] = None,
|
347
413
|
is_preserve_source: Optional[pulumi.Input[bool]] = None,
|
348
414
|
name: Optional[pulumi.Input[str]] = None,
|
349
415
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
@@ -383,9 +449,11 @@ class BackendSet(pulumi.CustomResource):
|
|
383
449
|
name=backend_set_name,
|
384
450
|
network_load_balancer_id=test_network_load_balancer["id"],
|
385
451
|
policy=backend_set_policy,
|
452
|
+
are_operationally_active_backends_preferred=backend_set_are_operationally_active_backends_preferred,
|
386
453
|
ip_version=backend_set_ip_version,
|
387
454
|
is_fail_open=backend_set_is_fail_open,
|
388
455
|
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
456
|
+
is_instant_failover_tcp_reset_enabled=backend_set_is_instant_failover_tcp_reset_enabled,
|
389
457
|
is_preserve_source=backend_set_is_preserve_source)
|
390
458
|
```
|
391
459
|
|
@@ -399,10 +467,12 @@ class BackendSet(pulumi.CustomResource):
|
|
399
467
|
|
400
468
|
:param str resource_name: The name of the resource.
|
401
469
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
402
|
-
:param pulumi.Input[
|
470
|
+
:param pulumi.Input[bool] are_operationally_active_backends_preferred: (Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
471
|
+
:param pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
403
472
|
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the backend set.
|
404
473
|
:param pulumi.Input[bool] is_fail_open: (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
|
405
474
|
:param pulumi.Input[bool] is_instant_failover_enabled: (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
|
475
|
+
:param pulumi.Input[bool] is_instant_failover_tcp_reset_enabled: (Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
406
476
|
:param pulumi.Input[bool] is_preserve_source: (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
|
407
477
|
:param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
408
478
|
|
@@ -456,9 +526,11 @@ class BackendSet(pulumi.CustomResource):
|
|
456
526
|
name=backend_set_name,
|
457
527
|
network_load_balancer_id=test_network_load_balancer["id"],
|
458
528
|
policy=backend_set_policy,
|
529
|
+
are_operationally_active_backends_preferred=backend_set_are_operationally_active_backends_preferred,
|
459
530
|
ip_version=backend_set_ip_version,
|
460
531
|
is_fail_open=backend_set_is_fail_open,
|
461
532
|
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
533
|
+
is_instant_failover_tcp_reset_enabled=backend_set_is_instant_failover_tcp_reset_enabled,
|
462
534
|
is_preserve_source=backend_set_is_preserve_source)
|
463
535
|
```
|
464
536
|
|
@@ -485,10 +557,12 @@ class BackendSet(pulumi.CustomResource):
|
|
485
557
|
def _internal_init(__self__,
|
486
558
|
resource_name: str,
|
487
559
|
opts: Optional[pulumi.ResourceOptions] = None,
|
560
|
+
are_operationally_active_backends_preferred: Optional[pulumi.Input[bool]] = None,
|
488
561
|
health_checker: Optional[pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']]] = None,
|
489
562
|
ip_version: Optional[pulumi.Input[str]] = None,
|
490
563
|
is_fail_open: Optional[pulumi.Input[bool]] = None,
|
491
564
|
is_instant_failover_enabled: Optional[pulumi.Input[bool]] = None,
|
565
|
+
is_instant_failover_tcp_reset_enabled: Optional[pulumi.Input[bool]] = None,
|
492
566
|
is_preserve_source: Optional[pulumi.Input[bool]] = None,
|
493
567
|
name: Optional[pulumi.Input[str]] = None,
|
494
568
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
@@ -502,12 +576,14 @@ class BackendSet(pulumi.CustomResource):
|
|
502
576
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
503
577
|
__props__ = BackendSetArgs.__new__(BackendSetArgs)
|
504
578
|
|
579
|
+
__props__.__dict__["are_operationally_active_backends_preferred"] = are_operationally_active_backends_preferred
|
505
580
|
if health_checker is None and not opts.urn:
|
506
581
|
raise TypeError("Missing required property 'health_checker'")
|
507
582
|
__props__.__dict__["health_checker"] = health_checker
|
508
583
|
__props__.__dict__["ip_version"] = ip_version
|
509
584
|
__props__.__dict__["is_fail_open"] = is_fail_open
|
510
585
|
__props__.__dict__["is_instant_failover_enabled"] = is_instant_failover_enabled
|
586
|
+
__props__.__dict__["is_instant_failover_tcp_reset_enabled"] = is_instant_failover_tcp_reset_enabled
|
511
587
|
__props__.__dict__["is_preserve_source"] = is_preserve_source
|
512
588
|
__props__.__dict__["name"] = name
|
513
589
|
if network_load_balancer_id is None and not opts.urn:
|
@@ -527,11 +603,13 @@ class BackendSet(pulumi.CustomResource):
|
|
527
603
|
def get(resource_name: str,
|
528
604
|
id: pulumi.Input[str],
|
529
605
|
opts: Optional[pulumi.ResourceOptions] = None,
|
606
|
+
are_operationally_active_backends_preferred: Optional[pulumi.Input[bool]] = None,
|
530
607
|
backends: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BackendSetBackendArgs', 'BackendSetBackendArgsDict']]]]] = None,
|
531
608
|
health_checker: Optional[pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']]] = None,
|
532
609
|
ip_version: Optional[pulumi.Input[str]] = None,
|
533
610
|
is_fail_open: Optional[pulumi.Input[bool]] = None,
|
534
611
|
is_instant_failover_enabled: Optional[pulumi.Input[bool]] = None,
|
612
|
+
is_instant_failover_tcp_reset_enabled: Optional[pulumi.Input[bool]] = None,
|
535
613
|
is_preserve_source: Optional[pulumi.Input[bool]] = None,
|
536
614
|
name: Optional[pulumi.Input[str]] = None,
|
537
615
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
@@ -543,11 +621,13 @@ class BackendSet(pulumi.CustomResource):
|
|
543
621
|
:param str resource_name: The unique name of the resulting resource.
|
544
622
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
545
623
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
624
|
+
:param pulumi.Input[bool] are_operationally_active_backends_preferred: (Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
546
625
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BackendSetBackendArgs', 'BackendSetBackendArgsDict']]]] backends: (Updatable) An array of backends to be associated with the backend set.
|
547
|
-
:param pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
626
|
+
:param pulumi.Input[Union['BackendSetHealthCheckerArgs', 'BackendSetHealthCheckerArgsDict']] health_checker: (Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
548
627
|
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the backend set.
|
549
628
|
:param pulumi.Input[bool] is_fail_open: (Updatable) If enabled, the network load balancer will continue to distribute traffic in the configured distribution in the event all backends are unhealthy. The value is false by default.
|
550
629
|
:param pulumi.Input[bool] is_instant_failover_enabled: (Updatable) If enabled existing connections will be forwarded to an alternative healthy backend as soon as current backend becomes unhealthy.
|
630
|
+
:param pulumi.Input[bool] is_instant_failover_tcp_reset_enabled: (Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
551
631
|
:param pulumi.Input[bool] is_preserve_source: (Updatable) If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default.
|
552
632
|
:param pulumi.Input[str] name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
553
633
|
|
@@ -565,17 +645,27 @@ class BackendSet(pulumi.CustomResource):
|
|
565
645
|
|
566
646
|
__props__ = _BackendSetState.__new__(_BackendSetState)
|
567
647
|
|
648
|
+
__props__.__dict__["are_operationally_active_backends_preferred"] = are_operationally_active_backends_preferred
|
568
649
|
__props__.__dict__["backends"] = backends
|
569
650
|
__props__.__dict__["health_checker"] = health_checker
|
570
651
|
__props__.__dict__["ip_version"] = ip_version
|
571
652
|
__props__.__dict__["is_fail_open"] = is_fail_open
|
572
653
|
__props__.__dict__["is_instant_failover_enabled"] = is_instant_failover_enabled
|
654
|
+
__props__.__dict__["is_instant_failover_tcp_reset_enabled"] = is_instant_failover_tcp_reset_enabled
|
573
655
|
__props__.__dict__["is_preserve_source"] = is_preserve_source
|
574
656
|
__props__.__dict__["name"] = name
|
575
657
|
__props__.__dict__["network_load_balancer_id"] = network_load_balancer_id
|
576
658
|
__props__.__dict__["policy"] = policy
|
577
659
|
return BackendSet(resource_name, opts=opts, __props__=__props__)
|
578
660
|
|
661
|
+
@property
|
662
|
+
@pulumi.getter(name="areOperationallyActiveBackendsPreferred")
|
663
|
+
def are_operationally_active_backends_preferred(self) -> pulumi.Output[bool]:
|
664
|
+
"""
|
665
|
+
(Updatable) If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
666
|
+
"""
|
667
|
+
return pulumi.get(self, "are_operationally_active_backends_preferred")
|
668
|
+
|
579
669
|
@property
|
580
670
|
@pulumi.getter
|
581
671
|
def backends(self) -> pulumi.Output[Sequence['outputs.BackendSetBackend']]:
|
@@ -588,7 +678,7 @@ class BackendSet(pulumi.CustomResource):
|
|
588
678
|
@pulumi.getter(name="healthChecker")
|
589
679
|
def health_checker(self) -> pulumi.Output['outputs.BackendSetHealthChecker']:
|
590
680
|
"""
|
591
|
-
(Updatable) The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
681
|
+
(Updatable) The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-policy.htm).
|
592
682
|
"""
|
593
683
|
return pulumi.get(self, "health_checker")
|
594
684
|
|
@@ -616,6 +706,14 @@ class BackendSet(pulumi.CustomResource):
|
|
616
706
|
"""
|
617
707
|
return pulumi.get(self, "is_instant_failover_enabled")
|
618
708
|
|
709
|
+
@property
|
710
|
+
@pulumi.getter(name="isInstantFailoverTcpResetEnabled")
|
711
|
+
def is_instant_failover_tcp_reset_enabled(self) -> pulumi.Output[bool]:
|
712
|
+
"""
|
713
|
+
(Updatable) If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
714
|
+
"""
|
715
|
+
return pulumi.get(self, "is_instant_failover_tcp_reset_enabled")
|
716
|
+
|
619
717
|
@property
|
620
718
|
@pulumi.getter(name="isPreserveSource")
|
621
719
|
def is_preserve_source(self) -> pulumi.Output[bool]:
|
@@ -27,7 +27,10 @@ class GetBackendSetResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getBackendSet.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, backend_set_name=None, backends=None, health_checkers=None, id=None, ip_version=None, is_fail_open=None, is_instant_failover_enabled=None, is_preserve_source=None, name=None, network_load_balancer_id=None, policy=None):
|
30
|
+
def __init__(__self__, are_operationally_active_backends_preferred=None, backend_set_name=None, backends=None, health_checkers=None, id=None, ip_version=None, is_fail_open=None, is_instant_failover_enabled=None, is_instant_failover_tcp_reset_enabled=None, is_preserve_source=None, name=None, network_load_balancer_id=None, policy=None):
|
31
|
+
if are_operationally_active_backends_preferred and not isinstance(are_operationally_active_backends_preferred, bool):
|
32
|
+
raise TypeError("Expected argument 'are_operationally_active_backends_preferred' to be a bool")
|
33
|
+
pulumi.set(__self__, "are_operationally_active_backends_preferred", are_operationally_active_backends_preferred)
|
31
34
|
if backend_set_name and not isinstance(backend_set_name, str):
|
32
35
|
raise TypeError("Expected argument 'backend_set_name' to be a str")
|
33
36
|
pulumi.set(__self__, "backend_set_name", backend_set_name)
|
@@ -49,6 +52,9 @@ class GetBackendSetResult:
|
|
49
52
|
if is_instant_failover_enabled and not isinstance(is_instant_failover_enabled, bool):
|
50
53
|
raise TypeError("Expected argument 'is_instant_failover_enabled' to be a bool")
|
51
54
|
pulumi.set(__self__, "is_instant_failover_enabled", is_instant_failover_enabled)
|
55
|
+
if is_instant_failover_tcp_reset_enabled and not isinstance(is_instant_failover_tcp_reset_enabled, bool):
|
56
|
+
raise TypeError("Expected argument 'is_instant_failover_tcp_reset_enabled' to be a bool")
|
57
|
+
pulumi.set(__self__, "is_instant_failover_tcp_reset_enabled", is_instant_failover_tcp_reset_enabled)
|
52
58
|
if is_preserve_source and not isinstance(is_preserve_source, bool):
|
53
59
|
raise TypeError("Expected argument 'is_preserve_source' to be a bool")
|
54
60
|
pulumi.set(__self__, "is_preserve_source", is_preserve_source)
|
@@ -62,6 +68,14 @@ class GetBackendSetResult:
|
|
62
68
|
raise TypeError("Expected argument 'policy' to be a str")
|
63
69
|
pulumi.set(__self__, "policy", policy)
|
64
70
|
|
71
|
+
@property
|
72
|
+
@pulumi.getter(name="areOperationallyActiveBackendsPreferred")
|
73
|
+
def are_operationally_active_backends_preferred(self) -> bool:
|
74
|
+
"""
|
75
|
+
If enabled, NLB supports active-standby backends. The standby backend takes over the traffic when the active node fails, and continues to serve the traffic even when the old active node is back healthy.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "are_operationally_active_backends_preferred")
|
78
|
+
|
65
79
|
@property
|
66
80
|
@pulumi.getter(name="backendSetName")
|
67
81
|
def backend_set_name(self) -> str:
|
@@ -79,7 +93,7 @@ class GetBackendSetResult:
|
|
79
93
|
@pulumi.getter(name="healthCheckers")
|
80
94
|
def health_checkers(self) -> Sequence['outputs.GetBackendSetHealthCheckerResult']:
|
81
95
|
"""
|
82
|
-
The health check policy configuration. For more information, see [Editing Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/
|
96
|
+
The health check policy configuration. For more information, see [Editing Network Load Balancer Health Check Policies](https://docs.cloud.oracle.com/iaas/Content/NetworkLoadBalancer/HealthCheckPolicies/update-health-check-management.htm).
|
83
97
|
"""
|
84
98
|
return pulumi.get(self, "health_checkers")
|
85
99
|
|
@@ -112,6 +126,14 @@ class GetBackendSetResult:
|
|
112
126
|
"""
|
113
127
|
return pulumi.get(self, "is_instant_failover_enabled")
|
114
128
|
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="isInstantFailoverTcpResetEnabled")
|
131
|
+
def is_instant_failover_tcp_reset_enabled(self) -> bool:
|
132
|
+
"""
|
133
|
+
If enabled along with instant failover, the network load balancer will send TCP RST to the clients for the existing connections instead of failing over to a healthy backend. This only applies when using the instant failover. By default, TCP RST is enabled.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "is_instant_failover_tcp_reset_enabled")
|
136
|
+
|
115
137
|
@property
|
116
138
|
@pulumi.getter(name="isPreserveSource")
|
117
139
|
def is_preserve_source(self) -> bool:
|
@@ -148,6 +170,7 @@ class AwaitableGetBackendSetResult(GetBackendSetResult):
|
|
148
170
|
if False:
|
149
171
|
yield self
|
150
172
|
return GetBackendSetResult(
|
173
|
+
are_operationally_active_backends_preferred=self.are_operationally_active_backends_preferred,
|
151
174
|
backend_set_name=self.backend_set_name,
|
152
175
|
backends=self.backends,
|
153
176
|
health_checkers=self.health_checkers,
|
@@ -155,6 +178,7 @@ class AwaitableGetBackendSetResult(GetBackendSetResult):
|
|
155
178
|
ip_version=self.ip_version,
|
156
179
|
is_fail_open=self.is_fail_open,
|
157
180
|
is_instant_failover_enabled=self.is_instant_failover_enabled,
|
181
|
+
is_instant_failover_tcp_reset_enabled=self.is_instant_failover_tcp_reset_enabled,
|
158
182
|
is_preserve_source=self.is_preserve_source,
|
159
183
|
name=self.name,
|
160
184
|
network_load_balancer_id=self.network_load_balancer_id,
|
@@ -180,6 +204,7 @@ def get_backend_set(backend_set_name: Optional[str] = None,
|
|
180
204
|
__ret__ = pulumi.runtime.invoke('oci:NetworkLoadBalancer/getBackendSet:getBackendSet', __args__, opts=opts, typ=GetBackendSetResult).value
|
181
205
|
|
182
206
|
return AwaitableGetBackendSetResult(
|
207
|
+
are_operationally_active_backends_preferred=pulumi.get(__ret__, 'are_operationally_active_backends_preferred'),
|
183
208
|
backend_set_name=pulumi.get(__ret__, 'backend_set_name'),
|
184
209
|
backends=pulumi.get(__ret__, 'backends'),
|
185
210
|
health_checkers=pulumi.get(__ret__, 'health_checkers'),
|
@@ -187,6 +212,7 @@ def get_backend_set(backend_set_name: Optional[str] = None,
|
|
187
212
|
ip_version=pulumi.get(__ret__, 'ip_version'),
|
188
213
|
is_fail_open=pulumi.get(__ret__, 'is_fail_open'),
|
189
214
|
is_instant_failover_enabled=pulumi.get(__ret__, 'is_instant_failover_enabled'),
|
215
|
+
is_instant_failover_tcp_reset_enabled=pulumi.get(__ret__, 'is_instant_failover_tcp_reset_enabled'),
|
190
216
|
is_preserve_source=pulumi.get(__ret__, 'is_preserve_source'),
|
191
217
|
name=pulumi.get(__ret__, 'name'),
|
192
218
|
network_load_balancer_id=pulumi.get(__ret__, 'network_load_balancer_id'),
|
@@ -209,6 +235,7 @@ def get_backend_set_output(backend_set_name: Optional[pulumi.Input[str]] = None,
|
|
209
235
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
210
236
|
__ret__ = pulumi.runtime.invoke_output('oci:NetworkLoadBalancer/getBackendSet:getBackendSet', __args__, opts=opts, typ=GetBackendSetResult)
|
211
237
|
return __ret__.apply(lambda __response__: GetBackendSetResult(
|
238
|
+
are_operationally_active_backends_preferred=pulumi.get(__response__, 'are_operationally_active_backends_preferred'),
|
212
239
|
backend_set_name=pulumi.get(__response__, 'backend_set_name'),
|
213
240
|
backends=pulumi.get(__response__, 'backends'),
|
214
241
|
health_checkers=pulumi.get(__response__, 'health_checkers'),
|
@@ -216,6 +243,7 @@ def get_backend_set_output(backend_set_name: Optional[pulumi.Input[str]] = None,
|
|
216
243
|
ip_version=pulumi.get(__response__, 'ip_version'),
|
217
244
|
is_fail_open=pulumi.get(__response__, 'is_fail_open'),
|
218
245
|
is_instant_failover_enabled=pulumi.get(__response__, 'is_instant_failover_enabled'),
|
246
|
+
is_instant_failover_tcp_reset_enabled=pulumi.get(__response__, 'is_instant_failover_tcp_reset_enabled'),
|
219
247
|
is_preserve_source=pulumi.get(__response__, 'is_preserve_source'),
|
220
248
|
name=pulumi.get(__response__, 'name'),
|
221
249
|
network_load_balancer_id=pulumi.get(__response__, 'network_load_balancer_id'),
|