Skip to content

Commit 084eedc

Browse files
Releasing version 2.180.0
Releasing version 2.180.0
2 parents 69108b4 + df37581 commit 084eedc

63 files changed

Lines changed: 1652 additions & 98 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ 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/>`_.
66

7+
====================
8+
2.180.0 - 2026-06-23
9+
====================
10+
11+
Added
12+
-----
13+
* Support for static redirect paths in OAuth2 and OpenID Connect authentication policies in the API Gateway service
14+
* Support for returning SDK resources and etags during SDK updates in the API Gateway service
15+
* Support for virtual node pool cycling in the Kubernetes Engine service
16+
* Support for access types on Autonomous AI Database Serverless instances in the Database service
17+
* Support for external logical zones on Autonomous AI Database Serverless instances and local Autonomous Data Guard standby databases in the Database service
18+
* Support for scheduled backups of Autonomous Database Dedicated resources in the Resource Scheduler service
19+
* Support for action-type filtering of resource types in the Resource Scheduler service
20+
* Support for Log Analytics log groups on Oracle Process Automation (OPA) instances attached to Integration instances in the Integration service
21+
* Support for Zero Trust Packet Routing (ZPR) security attributes on DNS resolver endpoints in the DNS service
22+
* Support for free-form and defined tags on DNS resolver endpoints in the DNS service
23+
* Support for resolver, private endpoint, and VNIC identifiers in DNS resolver endpoint responses in the DNS service
24+
* Support for the UPDATING lifecycle state on DNS steering policies in the DNS service
25+
26+
Breaking
27+
--------
28+
* Return type of method `update_sdk` changed from `None` to `oci.apigateway.models.Sdk` in the API Gateway service
29+
730
====================
831
2.179.0 - 2026-06-16
932
====================

docs/api/apigateway.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ Apigateway
114114
oci.apigateway.models.MutualTlsDetails
115115
oci.apigateway.models.NoCache
116116
oci.apigateway.models.NoContentValidation
117+
oci.apigateway.models.OAuth2LoginBackend
117118
oci.apigateway.models.OAuth2LogoutBackend
118119
oci.apigateway.models.OAuth2ResponseValidationFailurePolicy
119120
oci.apigateway.models.OracleFunctionBackend
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
OAuth2LoginBackend
2+
==================
3+
4+
.. currentmodule:: oci.apigateway.models
5+
6+
.. autoclass:: OAuth2LoginBackend
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/container_engine.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ Container Engine
112112
oci.container_engine.models.UpdateWorkloadMappingDetails
113113
oci.container_engine.models.VirtualNode
114114
oci.container_engine.models.VirtualNodePool
115+
oci.container_engine.models.VirtualNodePoolCyclingDetails
115116
oci.container_engine.models.VirtualNodePoolSummary
116117
oci.container_engine.models.VirtualNodeSummary
117118
oci.container_engine.models.VirtualNodeTags
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
VirtualNodePoolCyclingDetails
2+
=============================
3+
4+
.. currentmodule:: oci.container_engine.models
5+
6+
.. autoclass:: VirtualNodePoolCyclingDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/integration.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Integration
4040
oci.integration.models.OutboundConnection
4141
oci.integration.models.PrivateEndpointOutboundConnection
4242
oci.integration.models.PublicEndpointDetails
43+
oci.integration.models.RemoveLogAnalyticsLogGroupDetails
4344
oci.integration.models.UpdateCustomEndpointDetails
4445
oci.integration.models.UpdateIntegrationInstanceDetails
4546
oci.integration.models.VirtualCloudNetwork
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
RemoveLogAnalyticsLogGroupDetails
2+
=================================
3+
4+
.. currentmodule:: oci.integration.models
5+
6+
.. autoclass:: RemoveLogAnalyticsLogGroupDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

src/oci/apigateway/api_gateway_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3376,7 +3376,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
33763376
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
33773377
By default, strict url encoding for path params is disabled
33783378
3379-
:return: A :class:`~oci.response.Response` object with data of type None
3379+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apigateway.models.Sdk`
33803380
:rtype: :class:`~oci.response.Response`
33813381
33823382
:example:
@@ -3443,6 +3443,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
34433443
query_params=query_params,
34443444
header_params=header_params,
34453445
body=update_sdk_details,
3446+
response_type="Sdk",
34463447
allow_control_chars=kwargs.get('allow_control_chars'),
34473448
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
34483449
operation_name=operation_name,
@@ -3456,6 +3457,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
34563457
query_params=query_params,
34573458
header_params=header_params,
34583459
body=update_sdk_details,
3460+
response_type="Sdk",
34593461
allow_control_chars=kwargs.get('allow_control_chars'),
34603462
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
34613463
operation_name=operation_name,

src/oci/apigateway/api_gateway_client_composite_operations.py

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,3 +678,48 @@ def update_certificate_and_wait_for_state(self, certificate_id, update_certifica
678678
return result_to_return
679679
except Exception as e:
680680
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
681+
682+
def update_sdk_and_wait_for_state(self, sdk_id, update_sdk_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
683+
"""
684+
Calls :py:func:`~oci.apigateway.ApiGatewayClient.update_sdk` and waits for the :py:class:`~oci.apigateway.models.Sdk` acted upon
685+
to enter the given state(s).
686+
687+
:param str sdk_id: (required)
688+
The ocid of the SDK.
689+
690+
:param oci.apigateway.models.UpdateSdkDetails update_sdk_details: (required)
691+
The information to be updated.
692+
693+
:param list[str] wait_for_states:
694+
An array of states to wait on. These should be valid values for :py:attr:`~oci.apigateway.models.Sdk.lifecycle_state`
695+
696+
:param dict operation_kwargs:
697+
A dictionary of keyword arguments to pass to :py:func:`~oci.apigateway.ApiGatewayClient.update_sdk`
698+
699+
:param dict waiter_kwargs:
700+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
701+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
702+
"""
703+
operation_result = self.client.update_sdk(sdk_id, update_sdk_details, **operation_kwargs)
704+
if not wait_for_states:
705+
return operation_result
706+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
707+
sdk_id = operation_result.data.id
708+
709+
try:
710+
waiter_result = oci.wait_until(
711+
self.client,
712+
self.client.get_sdk(sdk_id), # noqa: F821
713+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
714+
**waiter_kwargs
715+
)
716+
result_to_return = waiter_result
717+
718+
return result_to_return
719+
except (NameError, TypeError) as e:
720+
if not e.args:
721+
e.args = ('',)
722+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
723+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
724+
except Exception as e:
725+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)

src/oci/apigateway/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
from .mutual_tls_details import MutualTlsDetails
9393
from .no_cache import NoCache
9494
from .no_content_validation import NoContentValidation
95+
from .o_auth2_login_backend import OAuth2LoginBackend
9596
from .o_auth2_logout_backend import OAuth2LogoutBackend
9697
from .o_auth2_response_validation_failure_policy import OAuth2ResponseValidationFailurePolicy
9798
from .oracle_function_backend import OracleFunctionBackend
@@ -256,6 +257,7 @@
256257
"MutualTlsDetails": MutualTlsDetails,
257258
"NoCache": NoCache,
258259
"NoContentValidation": NoContentValidation,
260+
"OAuth2LoginBackend": OAuth2LoginBackend,
259261
"OAuth2LogoutBackend": OAuth2LogoutBackend,
260262
"OAuth2ResponseValidationFailurePolicy": OAuth2ResponseValidationFailurePolicy,
261263
"OracleFunctionBackend": OracleFunctionBackend,

0 commit comments

Comments
 (0)