pulumi-oci 2.7.0a1723456529__py3-none-any.whl → 2.7.0a1723624751__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 +16 -0
- pulumi_oci/database/autonomous_database.py +7 -7
- pulumi_oci/database/get_autonomous_database.py +1 -1
- pulumi_oci/database/outputs.py +4 -4
- pulumi_oci/datasafe/__init__.py +2 -0
- pulumi_oci/datasafe/_inputs.py +120 -0
- pulumi_oci/datasafe/calculate_audit_volume_available.py +391 -0
- pulumi_oci/datasafe/calculate_audit_volume_collected.py +343 -0
- pulumi_oci/datasafe/outputs.py +132 -0
- pulumi_oci/disasterrecovery/get_dr_plan_executions.py +1 -42
- pulumi_oci/integration/get_integration_instance.py +14 -1
- pulumi_oci/integration/integration_instance.py +28 -0
- pulumi_oci/integration/outputs.py +11 -0
- pulumi_oci/limits/get_limit_definitions.py +24 -7
- pulumi_oci/limits/get_limit_values.py +24 -7
- pulumi_oci/limits/get_resource_availability.py +24 -5
- pulumi_oci/limits/get_services.py +24 -7
- pulumi_oci/limits/outputs.py +35 -2
- pulumi_oci/networkloadbalancer/backend_set.py +2 -2
- pulumi_oci/networkloadbalancer/get_listener.py +29 -3
- pulumi_oci/networkloadbalancer/listener.py +122 -24
- pulumi_oci/networkloadbalancer/network_load_balancer.py +7 -7
- pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +2 -2
- pulumi_oci/networkloadbalancer/outputs.py +27 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.7.0a1723456529.dist-info → pulumi_oci-2.7.0a1723624751.dist-info}/METADATA +1 -1
- {pulumi_oci-2.7.0a1723456529.dist-info → pulumi_oci-2.7.0a1723624751.dist-info}/RECORD +29 -27
- {pulumi_oci-2.7.0a1723456529.dist-info → pulumi_oci-2.7.0a1723624751.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.7.0a1723456529.dist-info → pulumi_oci-2.7.0a1723624751.dist-info}/top_level.txt +0 -0
pulumi_oci/limits/outputs.py
CHANGED
@@ -141,7 +141,9 @@ class GetLimitDefinitionsLimitDefinitionResult(dict):
|
|
141
141
|
is_resource_availability_supported: bool,
|
142
142
|
name: str,
|
143
143
|
scope_type: str,
|
144
|
-
service_name: str
|
144
|
+
service_name: str,
|
145
|
+
supported_quota_families: Sequence[str],
|
146
|
+
supported_subscriptions: Sequence[str]):
|
145
147
|
"""
|
146
148
|
:param bool are_quotas_supported: If true, quota policies can be created on top of this resource limit.
|
147
149
|
:param str description: The limit description.
|
@@ -152,6 +154,8 @@ class GetLimitDefinitionsLimitDefinitionResult(dict):
|
|
152
154
|
:param str name: Optional field, filter for a specific resource limit.
|
153
155
|
:param str scope_type: Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific.
|
154
156
|
:param str service_name: The target service name.
|
157
|
+
:param Sequence[str] supported_quota_families: Supported quota family names for creation of quota policy.
|
158
|
+
:param Sequence[str] supported_subscriptions: An array of subscription types supported by the limit. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'.
|
155
159
|
"""
|
156
160
|
pulumi.set(__self__, "are_quotas_supported", are_quotas_supported)
|
157
161
|
pulumi.set(__self__, "description", description)
|
@@ -162,6 +166,8 @@ class GetLimitDefinitionsLimitDefinitionResult(dict):
|
|
162
166
|
pulumi.set(__self__, "name", name)
|
163
167
|
pulumi.set(__self__, "scope_type", scope_type)
|
164
168
|
pulumi.set(__self__, "service_name", service_name)
|
169
|
+
pulumi.set(__self__, "supported_quota_families", supported_quota_families)
|
170
|
+
pulumi.set(__self__, "supported_subscriptions", supported_subscriptions)
|
165
171
|
|
166
172
|
@property
|
167
173
|
@pulumi.getter(name="areQuotasSupported")
|
@@ -235,6 +241,22 @@ class GetLimitDefinitionsLimitDefinitionResult(dict):
|
|
235
241
|
"""
|
236
242
|
return pulumi.get(self, "service_name")
|
237
243
|
|
244
|
+
@property
|
245
|
+
@pulumi.getter(name="supportedQuotaFamilies")
|
246
|
+
def supported_quota_families(self) -> Sequence[str]:
|
247
|
+
"""
|
248
|
+
Supported quota family names for creation of quota policy.
|
249
|
+
"""
|
250
|
+
return pulumi.get(self, "supported_quota_families")
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="supportedSubscriptions")
|
254
|
+
def supported_subscriptions(self) -> Sequence[str]:
|
255
|
+
"""
|
256
|
+
An array of subscription types supported by the limit. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "supported_subscriptions")
|
259
|
+
|
238
260
|
|
239
261
|
@pulumi.output_type
|
240
262
|
class GetLimitValuesFilterResult(dict):
|
@@ -616,13 +638,16 @@ class GetServicesFilterResult(dict):
|
|
616
638
|
class GetServicesServiceResult(dict):
|
617
639
|
def __init__(__self__, *,
|
618
640
|
description: str,
|
619
|
-
name: str
|
641
|
+
name: str,
|
642
|
+
supported_subscriptions: Sequence[str]):
|
620
643
|
"""
|
621
644
|
:param str description: The friendly service name.
|
622
645
|
:param str name: The service name. Use this when calling other APIs.
|
646
|
+
:param Sequence[str] supported_subscriptions: An array of subscription types supported by the service. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'.
|
623
647
|
"""
|
624
648
|
pulumi.set(__self__, "description", description)
|
625
649
|
pulumi.set(__self__, "name", name)
|
650
|
+
pulumi.set(__self__, "supported_subscriptions", supported_subscriptions)
|
626
651
|
|
627
652
|
@property
|
628
653
|
@pulumi.getter
|
@@ -640,4 +665,12 @@ class GetServicesServiceResult(dict):
|
|
640
665
|
"""
|
641
666
|
return pulumi.get(self, "name")
|
642
667
|
|
668
|
+
@property
|
669
|
+
@pulumi.getter(name="supportedSubscriptions")
|
670
|
+
def supported_subscriptions(self) -> Sequence[str]:
|
671
|
+
"""
|
672
|
+
An array of subscription types supported by the service. e,g The type of subscription, such as 'SAAS', 'ERP', 'CRM'.
|
673
|
+
"""
|
674
|
+
return pulumi.get(self, "supported_subscriptions")
|
675
|
+
|
643
676
|
|
@@ -379,8 +379,8 @@ class BackendSet(pulumi.CustomResource):
|
|
379
379
|
network_load_balancer_id=test_network_load_balancer["id"],
|
380
380
|
policy=backend_set_policy,
|
381
381
|
ip_version=backend_set_ip_version,
|
382
|
-
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
383
382
|
is_fail_open=backend_set_is_fail_open,
|
383
|
+
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
384
384
|
is_preserve_source=backend_set_is_preserve_source)
|
385
385
|
```
|
386
386
|
|
@@ -452,8 +452,8 @@ class BackendSet(pulumi.CustomResource):
|
|
452
452
|
network_load_balancer_id=test_network_load_balancer["id"],
|
453
453
|
policy=backend_set_policy,
|
454
454
|
ip_version=backend_set_ip_version,
|
455
|
-
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
456
455
|
is_fail_open=backend_set_is_fail_open,
|
456
|
+
is_instant_failover_enabled=backend_set_is_instant_failover_enabled,
|
457
457
|
is_preserve_source=backend_set_is_preserve_source)
|
458
458
|
```
|
459
459
|
|
@@ -21,7 +21,7 @@ class GetListenerResult:
|
|
21
21
|
"""
|
22
22
|
A collection of values returned by getListener.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, default_backend_set_name=None, id=None, ip_version=None, is_ppv2enabled=None, listener_name=None, name=None, network_load_balancer_id=None, port=None, protocol=None):
|
24
|
+
def __init__(__self__, default_backend_set_name=None, id=None, ip_version=None, is_ppv2enabled=None, listener_name=None, name=None, network_load_balancer_id=None, port=None, protocol=None, tcp_idle_timeout=None, udp_idle_timeout=None):
|
25
25
|
if default_backend_set_name and not isinstance(default_backend_set_name, str):
|
26
26
|
raise TypeError("Expected argument 'default_backend_set_name' to be a str")
|
27
27
|
pulumi.set(__self__, "default_backend_set_name", default_backend_set_name)
|
@@ -49,6 +49,12 @@ class GetListenerResult:
|
|
49
49
|
if protocol and not isinstance(protocol, str):
|
50
50
|
raise TypeError("Expected argument 'protocol' to be a str")
|
51
51
|
pulumi.set(__self__, "protocol", protocol)
|
52
|
+
if tcp_idle_timeout and not isinstance(tcp_idle_timeout, int):
|
53
|
+
raise TypeError("Expected argument 'tcp_idle_timeout' to be a int")
|
54
|
+
pulumi.set(__self__, "tcp_idle_timeout", tcp_idle_timeout)
|
55
|
+
if udp_idle_timeout and not isinstance(udp_idle_timeout, int):
|
56
|
+
raise TypeError("Expected argument 'udp_idle_timeout' to be a int")
|
57
|
+
pulumi.set(__self__, "udp_idle_timeout", udp_idle_timeout)
|
52
58
|
|
53
59
|
@property
|
54
60
|
@pulumi.getter(name="defaultBackendSetName")
|
@@ -113,6 +119,22 @@ class GetListenerResult:
|
|
113
119
|
"""
|
114
120
|
return pulumi.get(self, "protocol")
|
115
121
|
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="tcpIdleTimeout")
|
124
|
+
def tcp_idle_timeout(self) -> int:
|
125
|
+
"""
|
126
|
+
The duration for TCP idle timeout in seconds. Example: `300`
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "tcp_idle_timeout")
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="udpIdleTimeout")
|
132
|
+
def udp_idle_timeout(self) -> int:
|
133
|
+
"""
|
134
|
+
The duration for UDP idle timeout in seconds. Example: `120`
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "udp_idle_timeout")
|
137
|
+
|
116
138
|
|
117
139
|
class AwaitableGetListenerResult(GetListenerResult):
|
118
140
|
# pylint: disable=using-constant-test
|
@@ -128,7 +150,9 @@ class AwaitableGetListenerResult(GetListenerResult):
|
|
128
150
|
name=self.name,
|
129
151
|
network_load_balancer_id=self.network_load_balancer_id,
|
130
152
|
port=self.port,
|
131
|
-
protocol=self.protocol
|
153
|
+
protocol=self.protocol,
|
154
|
+
tcp_idle_timeout=self.tcp_idle_timeout,
|
155
|
+
udp_idle_timeout=self.udp_idle_timeout)
|
132
156
|
|
133
157
|
|
134
158
|
def get_listener(listener_name: Optional[str] = None,
|
@@ -168,7 +192,9 @@ def get_listener(listener_name: Optional[str] = None,
|
|
168
192
|
name=pulumi.get(__ret__, 'name'),
|
169
193
|
network_load_balancer_id=pulumi.get(__ret__, 'network_load_balancer_id'),
|
170
194
|
port=pulumi.get(__ret__, 'port'),
|
171
|
-
protocol=pulumi.get(__ret__, 'protocol')
|
195
|
+
protocol=pulumi.get(__ret__, 'protocol'),
|
196
|
+
tcp_idle_timeout=pulumi.get(__ret__, 'tcp_idle_timeout'),
|
197
|
+
udp_idle_timeout=pulumi.get(__ret__, 'udp_idle_timeout'))
|
172
198
|
|
173
199
|
|
174
200
|
@_utilities.lift_output_func(get_listener)
|
@@ -20,20 +20,24 @@ class ListenerArgs:
|
|
20
20
|
protocol: pulumi.Input[str],
|
21
21
|
ip_version: Optional[pulumi.Input[str]] = None,
|
22
22
|
is_ppv2enabled: Optional[pulumi.Input[bool]] = None,
|
23
|
-
name: Optional[pulumi.Input[str]] = None
|
23
|
+
name: Optional[pulumi.Input[str]] = None,
|
24
|
+
tcp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
25
|
+
udp_idle_timeout: Optional[pulumi.Input[int]] = None):
|
24
26
|
"""
|
25
27
|
The set of arguments for constructing a Listener resource.
|
26
28
|
:param pulumi.Input[str] default_backend_set_name: (Updatable) The name of the associated backend set. Example: `example_backend_set`
|
27
29
|
: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.
|
28
30
|
:param pulumi.Input[int] port: (Updatable) The communication port for the listener. Example: `80`
|
29
|
-
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
31
|
+
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
32
|
+
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the listener.
|
33
|
+
:param pulumi.Input[bool] is_ppv2enabled: (Updatable) Property to enable/disable PPv2 feature for this listener.
|
34
|
+
:param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener`
|
35
|
+
:param pulumi.Input[int] tcp_idle_timeout: (Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
36
|
+
:param pulumi.Input[int] udp_idle_timeout: (Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
30
37
|
|
31
38
|
|
32
39
|
** IMPORTANT **
|
33
40
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
34
|
-
:param pulumi.Input[str] ip_version: (Updatable) IP version associated with the listener.
|
35
|
-
:param pulumi.Input[bool] is_ppv2enabled: (Updatable) Property to enable/disable PPv2 feature for this listener.
|
36
|
-
:param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener`
|
37
41
|
"""
|
38
42
|
pulumi.set(__self__, "default_backend_set_name", default_backend_set_name)
|
39
43
|
pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id)
|
@@ -45,6 +49,10 @@ class ListenerArgs:
|
|
45
49
|
pulumi.set(__self__, "is_ppv2enabled", is_ppv2enabled)
|
46
50
|
if name is not None:
|
47
51
|
pulumi.set(__self__, "name", name)
|
52
|
+
if tcp_idle_timeout is not None:
|
53
|
+
pulumi.set(__self__, "tcp_idle_timeout", tcp_idle_timeout)
|
54
|
+
if udp_idle_timeout is not None:
|
55
|
+
pulumi.set(__self__, "udp_idle_timeout", udp_idle_timeout)
|
48
56
|
|
49
57
|
@property
|
50
58
|
@pulumi.getter(name="defaultBackendSetName")
|
@@ -86,11 +94,7 @@ class ListenerArgs:
|
|
86
94
|
@pulumi.getter
|
87
95
|
def protocol(self) -> pulumi.Input[str]:
|
88
96
|
"""
|
89
|
-
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
90
|
-
|
91
|
-
|
92
|
-
** IMPORTANT **
|
93
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
97
|
+
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
94
98
|
"""
|
95
99
|
return pulumi.get(self, "protocol")
|
96
100
|
|
@@ -134,6 +138,34 @@ class ListenerArgs:
|
|
134
138
|
def name(self, value: Optional[pulumi.Input[str]]):
|
135
139
|
pulumi.set(self, "name", value)
|
136
140
|
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="tcpIdleTimeout")
|
143
|
+
def tcp_idle_timeout(self) -> Optional[pulumi.Input[int]]:
|
144
|
+
"""
|
145
|
+
(Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
146
|
+
"""
|
147
|
+
return pulumi.get(self, "tcp_idle_timeout")
|
148
|
+
|
149
|
+
@tcp_idle_timeout.setter
|
150
|
+
def tcp_idle_timeout(self, value: Optional[pulumi.Input[int]]):
|
151
|
+
pulumi.set(self, "tcp_idle_timeout", value)
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="udpIdleTimeout")
|
155
|
+
def udp_idle_timeout(self) -> Optional[pulumi.Input[int]]:
|
156
|
+
"""
|
157
|
+
(Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
158
|
+
|
159
|
+
|
160
|
+
** IMPORTANT **
|
161
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "udp_idle_timeout")
|
164
|
+
|
165
|
+
@udp_idle_timeout.setter
|
166
|
+
def udp_idle_timeout(self, value: Optional[pulumi.Input[int]]):
|
167
|
+
pulumi.set(self, "udp_idle_timeout", value)
|
168
|
+
|
137
169
|
|
138
170
|
@pulumi.input_type
|
139
171
|
class _ListenerState:
|
@@ -144,7 +176,9 @@ class _ListenerState:
|
|
144
176
|
name: Optional[pulumi.Input[str]] = None,
|
145
177
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
146
178
|
port: Optional[pulumi.Input[int]] = None,
|
147
|
-
protocol: Optional[pulumi.Input[str]] = None
|
179
|
+
protocol: Optional[pulumi.Input[str]] = None,
|
180
|
+
tcp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
181
|
+
udp_idle_timeout: Optional[pulumi.Input[int]] = None):
|
148
182
|
"""
|
149
183
|
Input properties used for looking up and filtering Listener resources.
|
150
184
|
:param pulumi.Input[str] default_backend_set_name: (Updatable) The name of the associated backend set. Example: `example_backend_set`
|
@@ -153,7 +187,9 @@ class _ListenerState:
|
|
153
187
|
:param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener`
|
154
188
|
: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.
|
155
189
|
:param pulumi.Input[int] port: (Updatable) The communication port for the listener. Example: `80`
|
156
|
-
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
190
|
+
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
191
|
+
:param pulumi.Input[int] tcp_idle_timeout: (Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
192
|
+
:param pulumi.Input[int] udp_idle_timeout: (Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
157
193
|
|
158
194
|
|
159
195
|
** IMPORTANT **
|
@@ -173,6 +209,10 @@ class _ListenerState:
|
|
173
209
|
pulumi.set(__self__, "port", port)
|
174
210
|
if protocol is not None:
|
175
211
|
pulumi.set(__self__, "protocol", protocol)
|
212
|
+
if tcp_idle_timeout is not None:
|
213
|
+
pulumi.set(__self__, "tcp_idle_timeout", tcp_idle_timeout)
|
214
|
+
if udp_idle_timeout is not None:
|
215
|
+
pulumi.set(__self__, "udp_idle_timeout", udp_idle_timeout)
|
176
216
|
|
177
217
|
@property
|
178
218
|
@pulumi.getter(name="defaultBackendSetName")
|
@@ -250,11 +290,7 @@ class _ListenerState:
|
|
250
290
|
@pulumi.getter
|
251
291
|
def protocol(self) -> Optional[pulumi.Input[str]]:
|
252
292
|
"""
|
253
|
-
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
254
|
-
|
255
|
-
|
256
|
-
** IMPORTANT **
|
257
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
293
|
+
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
258
294
|
"""
|
259
295
|
return pulumi.get(self, "protocol")
|
260
296
|
|
@@ -262,6 +298,34 @@ class _ListenerState:
|
|
262
298
|
def protocol(self, value: Optional[pulumi.Input[str]]):
|
263
299
|
pulumi.set(self, "protocol", value)
|
264
300
|
|
301
|
+
@property
|
302
|
+
@pulumi.getter(name="tcpIdleTimeout")
|
303
|
+
def tcp_idle_timeout(self) -> Optional[pulumi.Input[int]]:
|
304
|
+
"""
|
305
|
+
(Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "tcp_idle_timeout")
|
308
|
+
|
309
|
+
@tcp_idle_timeout.setter
|
310
|
+
def tcp_idle_timeout(self, value: Optional[pulumi.Input[int]]):
|
311
|
+
pulumi.set(self, "tcp_idle_timeout", value)
|
312
|
+
|
313
|
+
@property
|
314
|
+
@pulumi.getter(name="udpIdleTimeout")
|
315
|
+
def udp_idle_timeout(self) -> Optional[pulumi.Input[int]]:
|
316
|
+
"""
|
317
|
+
(Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
318
|
+
|
319
|
+
|
320
|
+
** IMPORTANT **
|
321
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "udp_idle_timeout")
|
324
|
+
|
325
|
+
@udp_idle_timeout.setter
|
326
|
+
def udp_idle_timeout(self, value: Optional[pulumi.Input[int]]):
|
327
|
+
pulumi.set(self, "udp_idle_timeout", value)
|
328
|
+
|
265
329
|
|
266
330
|
class Listener(pulumi.CustomResource):
|
267
331
|
@overload
|
@@ -275,6 +339,8 @@ class Listener(pulumi.CustomResource):
|
|
275
339
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
276
340
|
port: Optional[pulumi.Input[int]] = None,
|
277
341
|
protocol: Optional[pulumi.Input[str]] = None,
|
342
|
+
tcp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
343
|
+
udp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
278
344
|
__props__=None):
|
279
345
|
"""
|
280
346
|
This resource provides the Listener resource in Oracle Cloud Infrastructure Network Load Balancer service.
|
@@ -294,7 +360,9 @@ class Listener(pulumi.CustomResource):
|
|
294
360
|
port=listener_port,
|
295
361
|
protocol=listener_protocol,
|
296
362
|
ip_version=listener_ip_version,
|
297
|
-
is_ppv2enabled=listener_is_ppv2enabled
|
363
|
+
is_ppv2enabled=listener_is_ppv2enabled,
|
364
|
+
tcp_idle_timeout=listener_tcp_idle_timeout,
|
365
|
+
udp_idle_timeout=listener_udp_idle_timeout)
|
298
366
|
```
|
299
367
|
|
300
368
|
## Import
|
@@ -313,7 +381,9 @@ class Listener(pulumi.CustomResource):
|
|
313
381
|
:param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener`
|
314
382
|
: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.
|
315
383
|
:param pulumi.Input[int] port: (Updatable) The communication port for the listener. Example: `80`
|
316
|
-
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
384
|
+
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
385
|
+
:param pulumi.Input[int] tcp_idle_timeout: (Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
386
|
+
:param pulumi.Input[int] udp_idle_timeout: (Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
317
387
|
|
318
388
|
|
319
389
|
** IMPORTANT **
|
@@ -343,7 +413,9 @@ class Listener(pulumi.CustomResource):
|
|
343
413
|
port=listener_port,
|
344
414
|
protocol=listener_protocol,
|
345
415
|
ip_version=listener_ip_version,
|
346
|
-
is_ppv2enabled=listener_is_ppv2enabled
|
416
|
+
is_ppv2enabled=listener_is_ppv2enabled,
|
417
|
+
tcp_idle_timeout=listener_tcp_idle_timeout,
|
418
|
+
udp_idle_timeout=listener_udp_idle_timeout)
|
347
419
|
```
|
348
420
|
|
349
421
|
## Import
|
@@ -376,6 +448,8 @@ class Listener(pulumi.CustomResource):
|
|
376
448
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
377
449
|
port: Optional[pulumi.Input[int]] = None,
|
378
450
|
protocol: Optional[pulumi.Input[str]] = None,
|
451
|
+
tcp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
452
|
+
udp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
379
453
|
__props__=None):
|
380
454
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
381
455
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -400,6 +474,8 @@ class Listener(pulumi.CustomResource):
|
|
400
474
|
if protocol is None and not opts.urn:
|
401
475
|
raise TypeError("Missing required property 'protocol'")
|
402
476
|
__props__.__dict__["protocol"] = protocol
|
477
|
+
__props__.__dict__["tcp_idle_timeout"] = tcp_idle_timeout
|
478
|
+
__props__.__dict__["udp_idle_timeout"] = udp_idle_timeout
|
403
479
|
super(Listener, __self__).__init__(
|
404
480
|
'oci:NetworkLoadBalancer/listener:Listener',
|
405
481
|
resource_name,
|
@@ -416,7 +492,9 @@ class Listener(pulumi.CustomResource):
|
|
416
492
|
name: Optional[pulumi.Input[str]] = None,
|
417
493
|
network_load_balancer_id: Optional[pulumi.Input[str]] = None,
|
418
494
|
port: Optional[pulumi.Input[int]] = None,
|
419
|
-
protocol: Optional[pulumi.Input[str]] = None
|
495
|
+
protocol: Optional[pulumi.Input[str]] = None,
|
496
|
+
tcp_idle_timeout: Optional[pulumi.Input[int]] = None,
|
497
|
+
udp_idle_timeout: Optional[pulumi.Input[int]] = None) -> 'Listener':
|
420
498
|
"""
|
421
499
|
Get an existing Listener resource's state with the given name, id, and optional extra
|
422
500
|
properties used to qualify the lookup.
|
@@ -430,7 +508,9 @@ class Listener(pulumi.CustomResource):
|
|
430
508
|
:param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener`
|
431
509
|
: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.
|
432
510
|
:param pulumi.Input[int] port: (Updatable) The communication port for the listener. Example: `80`
|
433
|
-
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
511
|
+
:param pulumi.Input[str] protocol: (Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
512
|
+
:param pulumi.Input[int] tcp_idle_timeout: (Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
513
|
+
:param pulumi.Input[int] udp_idle_timeout: (Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
434
514
|
|
435
515
|
|
436
516
|
** IMPORTANT **
|
@@ -447,6 +527,8 @@ class Listener(pulumi.CustomResource):
|
|
447
527
|
__props__.__dict__["network_load_balancer_id"] = network_load_balancer_id
|
448
528
|
__props__.__dict__["port"] = port
|
449
529
|
__props__.__dict__["protocol"] = protocol
|
530
|
+
__props__.__dict__["tcp_idle_timeout"] = tcp_idle_timeout
|
531
|
+
__props__.__dict__["udp_idle_timeout"] = udp_idle_timeout
|
450
532
|
return Listener(resource_name, opts=opts, __props__=__props__)
|
451
533
|
|
452
534
|
@property
|
@@ -501,11 +583,27 @@ class Listener(pulumi.CustomResource):
|
|
501
583
|
@pulumi.getter
|
502
584
|
def protocol(self) -> pulumi.Output[str]:
|
503
585
|
"""
|
504
|
-
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
586
|
+
(Updatable) The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
587
|
+
"""
|
588
|
+
return pulumi.get(self, "protocol")
|
589
|
+
|
590
|
+
@property
|
591
|
+
@pulumi.getter(name="tcpIdleTimeout")
|
592
|
+
def tcp_idle_timeout(self) -> pulumi.Output[int]:
|
593
|
+
"""
|
594
|
+
(Updatable) The duration for TCP idle timeout in seconds. Example: `300`
|
595
|
+
"""
|
596
|
+
return pulumi.get(self, "tcp_idle_timeout")
|
597
|
+
|
598
|
+
@property
|
599
|
+
@pulumi.getter(name="udpIdleTimeout")
|
600
|
+
def udp_idle_timeout(self) -> pulumi.Output[int]:
|
601
|
+
"""
|
602
|
+
(Updatable) The duration for UDP idle timeout in seconds. Example: `120`
|
505
603
|
|
506
604
|
|
507
605
|
** IMPORTANT **
|
508
606
|
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
509
607
|
"""
|
510
|
-
return pulumi.get(self, "
|
608
|
+
return pulumi.get(self, "udp_idle_timeout")
|
511
609
|
|
@@ -46,7 +46,7 @@ class NetworkLoadBalancerArgs:
|
|
46
46
|
|
47
47
|
If "false", then the service assigns a public IP address to the network load balancer.
|
48
48
|
|
49
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
49
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
50
50
|
|
51
51
|
Example: `true`
|
52
52
|
:param pulumi.Input[bool] is_symmetric_hash_enabled: (Updatable) This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
@@ -202,7 +202,7 @@ class NetworkLoadBalancerArgs:
|
|
202
202
|
|
203
203
|
If "false", then the service assigns a public IP address to the network load balancer.
|
204
204
|
|
205
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
205
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
206
206
|
|
207
207
|
Example: `true`
|
208
208
|
"""
|
@@ -327,7 +327,7 @@ class _NetworkLoadBalancerState:
|
|
327
327
|
|
328
328
|
If "false", then the service assigns a public IP address to the network load balancer.
|
329
329
|
|
330
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
330
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
331
331
|
|
332
332
|
Example: `true`
|
333
333
|
:param pulumi.Input[bool] is_symmetric_hash_enabled: (Updatable) This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
@@ -504,7 +504,7 @@ class _NetworkLoadBalancerState:
|
|
504
504
|
|
505
505
|
If "false", then the service assigns a public IP address to the network load balancer.
|
506
506
|
|
507
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
507
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
508
508
|
|
509
509
|
Example: `true`
|
510
510
|
"""
|
@@ -710,7 +710,7 @@ class NetworkLoadBalancer(pulumi.CustomResource):
|
|
710
710
|
|
711
711
|
If "false", then the service assigns a public IP address to the network load balancer.
|
712
712
|
|
713
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
713
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
714
714
|
|
715
715
|
Example: `true`
|
716
716
|
:param pulumi.Input[bool] is_symmetric_hash_enabled: (Updatable) This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
@@ -869,7 +869,7 @@ class NetworkLoadBalancer(pulumi.CustomResource):
|
|
869
869
|
|
870
870
|
If "false", then the service assigns a public IP address to the network load balancer.
|
871
871
|
|
872
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
872
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
873
873
|
|
874
874
|
Example: `true`
|
875
875
|
:param pulumi.Input[bool] is_symmetric_hash_enabled: (Updatable) This can only be enabled when NLB is working in transparent mode with source destination header preservation enabled. This removes the additional dependency from NLB backends(like Firewalls) to perform SNAT.
|
@@ -999,7 +999,7 @@ class NetworkLoadBalancer(pulumi.CustomResource):
|
|
999
999
|
|
1000
1000
|
If "false", then the service assigns a public IP address to the network load balancer.
|
1001
1001
|
|
1002
|
-
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/
|
1002
|
+
A public network load balancer is accessible from the internet, depending on the [security list rules](https://docs.cloud.oracle.com/iaas/Content/network/Concepts/securitylists.htm) for your virtual cloud network. For more information about public and private network load balancers, see [How Network Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-network-load-balancing-works). This value is true by default.
|
1003
1003
|
|
1004
1004
|
Example: `true`
|
1005
1005
|
"""
|
@@ -406,8 +406,8 @@ class NetworkLoadBalancersBackendSetsUnified(pulumi.CustomResource):
|
|
406
406
|
"weight": network_load_balancers_backend_sets_unified_backends_weight,
|
407
407
|
}],
|
408
408
|
ip_version=network_load_balancers_backend_sets_unified_ip_version,
|
409
|
-
is_instant_failover_enabled=network_load_balancers_backend_sets_unified_is_instant_failover_enabled,
|
410
409
|
is_fail_open=network_load_balancers_backend_sets_unified_is_fail_open,
|
410
|
+
is_instant_failover_enabled=network_load_balancers_backend_sets_unified_is_instant_failover_enabled,
|
411
411
|
is_preserve_source=network_load_balancers_backend_sets_unified_is_preserve_source)
|
412
412
|
```
|
413
413
|
|
@@ -490,8 +490,8 @@ class NetworkLoadBalancersBackendSetsUnified(pulumi.CustomResource):
|
|
490
490
|
"weight": network_load_balancers_backend_sets_unified_backends_weight,
|
491
491
|
}],
|
492
492
|
ip_version=network_load_balancers_backend_sets_unified_ip_version,
|
493
|
-
is_instant_failover_enabled=network_load_balancers_backend_sets_unified_is_instant_failover_enabled,
|
494
493
|
is_fail_open=network_load_balancers_backend_sets_unified_is_fail_open,
|
494
|
+
is_instant_failover_enabled=network_load_balancers_backend_sets_unified_is_instant_failover_enabled,
|
495
495
|
is_preserve_source=network_load_balancers_backend_sets_unified_is_preserve_source)
|
496
496
|
```
|
497
497
|
|
@@ -992,7 +992,7 @@ class GetBackendSetBackendResult(dict):
|
|
992
992
|
"""
|
993
993
|
:param str ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
994
994
|
:param bool is_backup: Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
|
995
|
-
:param bool is_drain: Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
|
995
|
+
:param bool is_drain: Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
|
996
996
|
:param bool is_offline: Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
997
997
|
:param str name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
998
998
|
:param int port: The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the `Backend` object. The port must be specified if the backend port is 0. Example: `8080`
|
@@ -1028,7 +1028,7 @@ class GetBackendSetBackendResult(dict):
|
|
1028
1028
|
@pulumi.getter(name="isDrain")
|
1029
1029
|
def is_drain(self) -> bool:
|
1030
1030
|
"""
|
1031
|
-
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
|
1031
|
+
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
|
1032
1032
|
"""
|
1033
1033
|
return pulumi.get(self, "is_drain")
|
1034
1034
|
|
@@ -1402,7 +1402,7 @@ class GetBackendSetsBackendSetCollectionItemBackendResult(dict):
|
|
1402
1402
|
"""
|
1403
1403
|
:param str ip_address: The IP address of the backend server. Example: `10.0.0.3`
|
1404
1404
|
:param bool is_backup: Whether the network load balancer should treat this server as a backup unit. If `true`, then the network load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "isBackup" fail the health check policy. Example: `false`
|
1405
|
-
:param bool is_drain: Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
|
1405
|
+
:param bool is_drain: Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
|
1406
1406
|
:param bool is_offline: Whether the network load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false`
|
1407
1407
|
:param str name: A user-friendly name for the backend set that must be unique and cannot be changed.
|
1408
1408
|
:param int port: The backend server port against which to run the health check. If the port is not specified, then the network load balancer uses the port information from the `Backend` object. The port must be specified if the backend port is 0. Example: `8080`
|
@@ -1438,7 +1438,7 @@ class GetBackendSetsBackendSetCollectionItemBackendResult(dict):
|
|
1438
1438
|
@pulumi.getter(name="isDrain")
|
1439
1439
|
def is_drain(self) -> bool:
|
1440
1440
|
"""
|
1441
|
-
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no
|
1441
|
+
Whether the network load balancer should drain this server. Servers marked "isDrain" receive no incoming traffic. Example: `false`
|
1442
1442
|
"""
|
1443
1443
|
return pulumi.get(self, "is_drain")
|
1444
1444
|
|
@@ -1930,7 +1930,9 @@ class GetListenersListenerCollectionItemResult(dict):
|
|
1930
1930
|
name: str,
|
1931
1931
|
network_load_balancer_id: str,
|
1932
1932
|
port: int,
|
1933
|
-
protocol: str
|
1933
|
+
protocol: str,
|
1934
|
+
tcp_idle_timeout: int,
|
1935
|
+
udp_idle_timeout: int):
|
1934
1936
|
"""
|
1935
1937
|
:param str default_backend_set_name: The name of the associated backend set. Example: `example_backend_set`
|
1936
1938
|
:param str ip_version: IP version associated with the listener.
|
@@ -1939,6 +1941,8 @@ class GetListenersListenerCollectionItemResult(dict):
|
|
1939
1941
|
:param 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.
|
1940
1942
|
:param int port: The communication port for the listener. Example: `80`
|
1941
1943
|
:param str protocol: The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead. Example: `TCP`
|
1944
|
+
:param int tcp_idle_timeout: The duration for TCP idle timeout in seconds. Example: `300`
|
1945
|
+
:param int udp_idle_timeout: The duration for UDP idle timeout in seconds. Example: `120`
|
1942
1946
|
"""
|
1943
1947
|
pulumi.set(__self__, "default_backend_set_name", default_backend_set_name)
|
1944
1948
|
pulumi.set(__self__, "id", id)
|
@@ -1948,6 +1952,8 @@ class GetListenersListenerCollectionItemResult(dict):
|
|
1948
1952
|
pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id)
|
1949
1953
|
pulumi.set(__self__, "port", port)
|
1950
1954
|
pulumi.set(__self__, "protocol", protocol)
|
1955
|
+
pulumi.set(__self__, "tcp_idle_timeout", tcp_idle_timeout)
|
1956
|
+
pulumi.set(__self__, "udp_idle_timeout", udp_idle_timeout)
|
1951
1957
|
|
1952
1958
|
@property
|
1953
1959
|
@pulumi.getter(name="defaultBackendSetName")
|
@@ -2010,6 +2016,22 @@ class GetListenersListenerCollectionItemResult(dict):
|
|
2010
2016
|
"""
|
2011
2017
|
return pulumi.get(self, "protocol")
|
2012
2018
|
|
2019
|
+
@property
|
2020
|
+
@pulumi.getter(name="tcpIdleTimeout")
|
2021
|
+
def tcp_idle_timeout(self) -> int:
|
2022
|
+
"""
|
2023
|
+
The duration for TCP idle timeout in seconds. Example: `300`
|
2024
|
+
"""
|
2025
|
+
return pulumi.get(self, "tcp_idle_timeout")
|
2026
|
+
|
2027
|
+
@property
|
2028
|
+
@pulumi.getter(name="udpIdleTimeout")
|
2029
|
+
def udp_idle_timeout(self) -> int:
|
2030
|
+
"""
|
2031
|
+
The duration for UDP idle timeout in seconds. Example: `120`
|
2032
|
+
"""
|
2033
|
+
return pulumi.get(self, "udp_idle_timeout")
|
2034
|
+
|
2013
2035
|
|
2014
2036
|
@pulumi.output_type
|
2015
2037
|
class GetNetworkLoadBalancerIpAddressResult(dict):
|