Skip to content

Commit f2318ec

Browse files
Releasing version 2.137.1
Releasing version 2.137.1
2 parents ee9fbd1 + 01455ee commit f2318ec

19 files changed

+302
-91
lines changed

CHANGELOG.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ Change Log
33
All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
6+
====================
7+
2.137.1 - 2024-10-29
8+
====================
9+
10+
Added
11+
-----
12+
* Support for L3IP (Layer 3 IP) listeners in the Network Load Balancing service
13+
* Support for overriding an existing add-on installation in the Kubernetes Engine service
14+
615
====================
716
2.137.0 - 2024-10-22
817
====================

src/oci/container_engine/models/install_addon_details.py

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,29 @@ def __init__(self, **kwargs):
3232
The value to assign to the configurations property of this InstallAddonDetails.
3333
:type configurations: list[oci.container_engine.models.AddonConfiguration]
3434
35+
:param is_override_existing:
36+
The value to assign to the is_override_existing property of this InstallAddonDetails.
37+
:type is_override_existing: bool
38+
3539
"""
3640
self.swagger_types = {
3741
'addon_name': 'str',
3842
'version': 'str',
39-
'configurations': 'list[AddonConfiguration]'
43+
'configurations': 'list[AddonConfiguration]',
44+
'is_override_existing': 'bool'
4045
}
4146

4247
self.attribute_map = {
4348
'addon_name': 'addonName',
4449
'version': 'version',
45-
'configurations': 'configurations'
50+
'configurations': 'configurations',
51+
'is_override_existing': 'isOverrideExisting'
4652
}
4753

4854
self._addon_name = None
4955
self._version = None
5056
self._configurations = None
57+
self._is_override_existing = None
5158

5259
@property
5360
def addon_name(self):
@@ -121,6 +128,30 @@ def configurations(self, configurations):
121128
"""
122129
self._configurations = configurations
123130

131+
@property
132+
def is_override_existing(self):
133+
"""
134+
Gets the is_override_existing of this InstallAddonDetails.
135+
Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details.
136+
137+
138+
:return: The is_override_existing of this InstallAddonDetails.
139+
:rtype: bool
140+
"""
141+
return self._is_override_existing
142+
143+
@is_override_existing.setter
144+
def is_override_existing(self, is_override_existing):
145+
"""
146+
Sets the is_override_existing of this InstallAddonDetails.
147+
Whether or not to override an existing addon installation. Defaults to false. If set to true, any existing addon installation would be overridden as per new installation details.
148+
149+
150+
:param is_override_existing: The is_override_existing of this InstallAddonDetails.
151+
:type: bool
152+
"""
153+
self._is_override_existing = is_override_existing
154+
124155
def __repr__(self):
125156
return formatted_flat_dict(self)
126157

src/oci/load_balancer/models/create_listener_details.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,8 @@ def port(self, port):
164164
def protocol(self):
165165
"""
166166
**[Required]** Gets the protocol of this CreateListenerDetails.
167-
The protocol on which the listener accepts connection requests.
168-
To get a list of valid protocols, use the :func:`list_protocols`
169-
operation.
167+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
168+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
170169
171170
Example: `HTTP`
172171
@@ -180,9 +179,8 @@ def protocol(self):
180179
def protocol(self, protocol):
181180
"""
182181
Sets the protocol of this CreateListenerDetails.
183-
The protocol on which the listener accepts connection requests.
184-
To get a list of valid protocols, use the :func:`list_protocols`
185-
operation.
182+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
183+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
186184
187185
Example: `HTTP`
188186

src/oci/load_balancer/models/listener.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,8 @@ def port(self, port):
190190
def protocol(self):
191191
"""
192192
**[Required]** Gets the protocol of this Listener.
193-
The protocol on which the listener accepts connection requests.
194-
To get a list of valid protocols, use the :func:`list_protocols`
195-
operation.
193+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
194+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
196195
197196
Example: `HTTP`
198197
@@ -206,9 +205,8 @@ def protocol(self):
206205
def protocol(self, protocol):
207206
"""
208207
Sets the protocol of this Listener.
209-
The protocol on which the listener accepts connection requests.
210-
To get a list of valid protocols, use the :func:`list_protocols`
211-
operation.
208+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
209+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
212210
213211
Example: `HTTP`
214212

src/oci/load_balancer/models/listener_details.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ def port(self, port):
151151
def protocol(self):
152152
"""
153153
**[Required]** Gets the protocol of this ListenerDetails.
154-
The protocol on which the listener accepts connection requests.
155-
To get a list of valid protocols, use the :func:`list_protocols`
156-
operation.
154+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
155+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
157156
158157
Example: `HTTP`
159158
@@ -167,9 +166,8 @@ def protocol(self):
167166
def protocol(self, protocol):
168167
"""
169168
Sets the protocol of this ListenerDetails.
170-
The protocol on which the listener accepts connection requests.
171-
To get a list of valid protocols, use the :func:`list_protocols`
172-
operation.
169+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
170+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
173171
174172
Example: `HTTP`
175173

src/oci/load_balancer/models/update_listener_details.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ def port(self, port):
151151
def protocol(self):
152152
"""
153153
**[Required]** Gets the protocol of this UpdateListenerDetails.
154-
The protocol on which the listener accepts connection requests.
155-
To get a list of valid protocols, use the :func:`list_protocols`
156-
operation.
154+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
155+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
157156
158157
Example: `HTTP`
159158
@@ -167,9 +166,8 @@ def protocol(self):
167166
def protocol(self, protocol):
168167
"""
169168
Sets the protocol of this UpdateListenerDetails.
170-
The protocol on which the listener accepts connection requests.
171-
To get a list of valid protocols, use the :func:`list_protocols`
172-
operation.
169+
The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC.
170+
You can also use the :func:`list_protocols` operation to get a list of valid protocols.
173171
174172
Example: `HTTP`
175173

src/oci/network_load_balancer/models/backend_set.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,6 @@ def backends(self, backends):
318318
def health_checker(self):
319319
"""
320320
**[Required]** Gets the health_checker of this BackendSet.
321-
The health check policy configuration.
322-
323321
324322
:return: The health_checker of this BackendSet.
325323
:rtype: oci.network_load_balancer.models.HealthChecker
@@ -330,8 +328,6 @@ def health_checker(self):
330328
def health_checker(self, health_checker):
331329
"""
332330
Sets the health_checker of this BackendSet.
333-
The health check policy configuration.
334-
335331
336332
:param health_checker: The health_checker of this BackendSet.
337333
:type: oci.network_load_balancer.models.HealthChecker

src/oci/network_load_balancer/models/backend_set_details.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ def backends(self, backends):
277277
def health_checker(self):
278278
"""
279279
**[Required]** Gets the health_checker of this BackendSetDetails.
280-
The health check policy configuration.
281-
282280
283281
:return: The health_checker of this BackendSetDetails.
284282
:rtype: oci.network_load_balancer.models.HealthChecker
@@ -289,8 +287,6 @@ def health_checker(self):
289287
def health_checker(self, health_checker):
290288
"""
291289
Sets the health_checker of this BackendSetDetails.
292-
The health check policy configuration.
293-
294290
295291
:param health_checker: The health_checker of this BackendSetDetails.
296292
:type: oci.network_load_balancer.models.HealthChecker

src/oci/network_load_balancer/models/backend_set_summary.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
@init_model_state_from_kwargs
1313
class BackendSetSummary(object):
1414
"""
15-
BackendSetSummary model.
15+
The configuration of a network load balancer backend set.
16+
For more information about backend set configuration, see
17+
`Managing Backend Sets`__.
18+
19+
**Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
20+
21+
__ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm
1622
"""
1723

1824
#: A constant which can be used with the policy property of a BackendSetSummary.
@@ -312,8 +318,6 @@ def backends(self, backends):
312318
def health_checker(self):
313319
"""
314320
**[Required]** Gets the health_checker of this BackendSetSummary.
315-
The health check policy configuration.
316-
317321
318322
:return: The health_checker of this BackendSetSummary.
319323
:rtype: oci.network_load_balancer.models.HealthChecker
@@ -324,8 +328,6 @@ def health_checker(self):
324328
def health_checker(self, health_checker):
325329
"""
326330
Sets the health_checker of this BackendSetSummary.
327-
The health check policy configuration.
328-
329331
330332
:param health_checker: The health_checker of this BackendSetSummary.
331333
:type: oci.network_load_balancer.models.HealthChecker

src/oci/network_load_balancer/models/create_listener_details.py

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class CreateListenerDetails(object):
3535
#: This constant has a value of "TCP_AND_UDP"
3636
PROTOCOL_TCP_AND_UDP = "TCP_AND_UDP"
3737

38+
#: A constant which can be used with the protocol property of a CreateListenerDetails.
39+
#: This constant has a value of "L3IP"
40+
PROTOCOL_L3_IP = "L3IP"
41+
3842
#: A constant which can be used with the ip_version property of a CreateListenerDetails.
3943
#: This constant has a value of "IPV4"
4044
IP_VERSION_IPV4 = "IPV4"
@@ -62,7 +66,7 @@ def __init__(self, **kwargs):
6266
6367
:param protocol:
6468
The value to assign to the protocol property of this CreateListenerDetails.
65-
Allowed values for this property are: "ANY", "TCP", "UDP", "TCP_AND_UDP"
69+
Allowed values for this property are: "ANY", "TCP", "UDP", "TCP_AND_UDP", "L3IP"
6670
:type protocol: str
6771
6872
:param ip_version:
@@ -82,6 +86,10 @@ def __init__(self, **kwargs):
8286
The value to assign to the udp_idle_timeout property of this CreateListenerDetails.
8387
:type udp_idle_timeout: int
8488
89+
:param l3_ip_idle_timeout:
90+
The value to assign to the l3_ip_idle_timeout property of this CreateListenerDetails.
91+
:type l3_ip_idle_timeout: int
92+
8593
"""
8694
self.swagger_types = {
8795
'name': 'str',
@@ -91,7 +99,8 @@ def __init__(self, **kwargs):
9199
'ip_version': 'str',
92100
'is_ppv2_enabled': 'bool',
93101
'tcp_idle_timeout': 'int',
94-
'udp_idle_timeout': 'int'
102+
'udp_idle_timeout': 'int',
103+
'l3_ip_idle_timeout': 'int'
95104
}
96105

97106
self.attribute_map = {
@@ -102,7 +111,8 @@ def __init__(self, **kwargs):
102111
'ip_version': 'ipVersion',
103112
'is_ppv2_enabled': 'isPpv2Enabled',
104113
'tcp_idle_timeout': 'tcpIdleTimeout',
105-
'udp_idle_timeout': 'udpIdleTimeout'
114+
'udp_idle_timeout': 'udpIdleTimeout',
115+
'l3_ip_idle_timeout': 'l3IpIdleTimeout'
106116
}
107117

108118
self._name = None
@@ -113,6 +123,7 @@ def __init__(self, **kwargs):
113123
self._is_ppv2_enabled = None
114124
self._tcp_idle_timeout = None
115125
self._udp_idle_timeout = None
126+
self._l3_ip_idle_timeout = None
116127

117128
@property
118129
def name(self):
@@ -209,7 +220,7 @@ def protocol(self):
209220
210221
Example: `TCP`
211222
212-
Allowed values for this property are: "ANY", "TCP", "UDP", "TCP_AND_UDP"
223+
Allowed values for this property are: "ANY", "TCP", "UDP", "TCP_AND_UDP", "L3IP"
213224
214225
215226
:return: The protocol of this CreateListenerDetails.
@@ -232,7 +243,7 @@ def protocol(self, protocol):
232243
:param protocol: The protocol of this CreateListenerDetails.
233244
:type: str
234245
"""
235-
allowed_values = ["ANY", "TCP", "UDP", "TCP_AND_UDP"]
246+
allowed_values = ["ANY", "TCP", "UDP", "TCP_AND_UDP", "L3IP"]
236247
if not value_allowed_none_or_none_sentinel(protocol, allowed_values):
237248
raise ValueError(
238249
f"Invalid value for `protocol`, must be None or one of {allowed_values}"
@@ -346,6 +357,32 @@ def udp_idle_timeout(self, udp_idle_timeout):
346357
"""
347358
self._udp_idle_timeout = udp_idle_timeout
348359

360+
@property
361+
def l3_ip_idle_timeout(self):
362+
"""
363+
Gets the l3_ip_idle_timeout of this CreateListenerDetails.
364+
The duration for L3IP idle timeout in seconds.
365+
Example: `200`
366+
367+
368+
:return: The l3_ip_idle_timeout of this CreateListenerDetails.
369+
:rtype: int
370+
"""
371+
return self._l3_ip_idle_timeout
372+
373+
@l3_ip_idle_timeout.setter
374+
def l3_ip_idle_timeout(self, l3_ip_idle_timeout):
375+
"""
376+
Sets the l3_ip_idle_timeout of this CreateListenerDetails.
377+
The duration for L3IP idle timeout in seconds.
378+
Example: `200`
379+
380+
381+
:param l3_ip_idle_timeout: The l3_ip_idle_timeout of this CreateListenerDetails.
382+
:type: int
383+
"""
384+
self._l3_ip_idle_timeout = l3_ip_idle_timeout
385+
349386
def __repr__(self):
350387
return formatted_flat_dict(self)
351388

0 commit comments

Comments
 (0)