Skip to content

Commit 22188f7

Browse files
Releasing version 3.56.0
Releasing version 3.56.0
2 parents 5339f64 + 87a9f19 commit 22188f7

File tree

22 files changed

+727
-109
lines changed

22 files changed

+727
-109
lines changed

CHANGELOG.rst

+47
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,53 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
3.56.0 - 2025-05-13
10+
--------------------
11+
Added
12+
~~~~~
13+
* Database Management Service
14+
15+
* Support for new operations for managed database
16+
17+
* ``oci database-management managed-database modify-external-container-database-management-feature``
18+
* ``oci database-management managed-database modify-external-container-database-management-feature-external-database-diagnostics-and-management-feature-details``
19+
* ``oci database-management managed-database modify-external-container-database-management-feature-external-database-lifecycle-management-feature-details``
20+
* ``oci database-management managed-database modify-external-container-database-management-feature-external-database-sql-watch-feature-details``
21+
22+
* Support for bulk PDB enablement using optional parameter --can-disable-all-pdbs
23+
24+
* ``oci database-management managed-database enable-database-management-feature --can-disable-all-pdbs``
25+
* ``oci database-management managed-database disable-database-management-feature --can-disable-all-pdbs``
26+
* ``oci database-management managed-database enable-database-management-feature-database-diagnostics-and-management-feature-details --feature-details-is-auto-enable-pluggable-database feature-details-can-enable-all-current-pdbs``
27+
* ``oci database-management managed-database enable-pluggable-database-management-feature-database-diagnostics-and-management-feature-details --feature-details-can-enable-all-current-pdbs``
28+
29+
* Model Deployment Data Plane Service
30+
31+
* Support for the Model Deployment Inference calls
32+
33+
* ``oci model-deployment inference-result predict``
34+
* ``oci model-deployment inference-result predict-with-response-stream``
35+
36+
* Opensearch Service
37+
38+
* Adding Node Shape details to create and update vertical for cluster and pipeline and Search Node details to create and update for cluster
39+
40+
* ``oci opensearch pipeline create --node-shape``
41+
* ``oci opensearch pipeline update --node-shape``
42+
* ``oci opensearch cluster create --data-node-host-shape, --master-node-host-shape, --opendashboard-node-host-shape --search-node-count, --search-node-host-memory-gb, --search-node-host-ocpu-count, --search-node-host-shape, --search-node-host-type, --search-node-storage-gb``
43+
* ``oci opensearch cluster resizevertical --data-node-host-shape, --master-node-host-shape, --opendashboard-node-host-shape --search-node-host-memory-gb, --search-node-host-ocpu-count, --search-node-host-shape, --search-node-storage-gb``
44+
* ``oci opensearch cluster resizehorizontal --search-node-count``
45+
* ``oci opensearch cluster shapes-details list``
46+
47+
Changed
48+
~~~~~~~
49+
* Database Management Service
50+
51+
* [BREAKING] Following commands have been removed
52+
53+
* ``oci database-management managed-my-sql-databases external-my-sql-database disable-external-mysql-associated-service``
54+
* ``oci database-management managed-my-sql-databases external-my-sql-database enable-external-mysql-associated-service``
55+
956
3.55.0 - 2025-05-06
1057
--------------------
1158
Added

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Jinja2>=3.1.5; python_version >= '3.7'
1515
jmespath==0.10.0
1616
ndg-httpsclient==0.4.2
1717
mock==2.0.0
18-
oci==2.151.0
18+
oci==2.152.0
1919
packaging==20.2
2020
pluggy==0.13.0
2121
py==1.11.0

services/core/src/oci_cli_virtual_network/virtualnetwork_cli_extended.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -826,4 +826,4 @@ def update_drg_route_table_extended(ctx, **kwargs):
826826

827827
# Move commands under 'oci network ip-inventory-vcn-overlap-collection' -> 'oci network ip-inventory-cidr-utilization-collection'
828828
virtualnetwork_cli.virtual_network_root_group.commands.pop(virtualnetwork_cli.ip_inventory_vcn_overlap_collection_group.name)
829-
virtualnetwork_cli.ip_inventory_cidr_utilization_collection_group.add_command(virtualnetwork_cli.get_vcn_overlap)
829+
virtualnetwork_cli.ip_inventory_cidr_utilization_collection_group.add_command(virtualnetwork_cli.get_vcn_overlap)

services/database_management/src/oci_cli_db_management/generated/dbmanagement_cli.py

+326-21
Large diffs are not rendered by default.

services/database_management/src/oci_cli_managed_my_sql_databases/generated/managedmysqldatabases_cli.py

-77
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ def managed_my_sql_database_group():
4242
pass
4343

4444

45-
@click.command(cli_util.override('managed_my_sql_databases.external_my_sql_database_group.command_name', 'external-my-sql-database'), cls=CommandGroupWithAlias, help="""External database.""")
46-
@cli_util.help_option_group
47-
def external_my_sql_database_group():
48-
pass
49-
50-
5145
@click.command(cli_util.override('managed_my_sql_databases.managed_my_sql_database_collection_group.command_name', 'managed-my-sql-database-collection'), cls=CommandGroupWithAlias, help="""A collection of Managed MySQL Database objects.""")
5246
@cli_util.help_option_group
5347
def managed_my_sql_database_collection_group():
@@ -58,80 +52,9 @@ def managed_my_sql_database_collection_group():
5852
managed_my_sql_databases_root_group.add_command(heat_wave_fleet_metrics_group)
5953
managed_my_sql_databases_root_group.add_command(my_sql_fleet_metrics_group)
6054
managed_my_sql_databases_root_group.add_command(managed_my_sql_database_group)
61-
managed_my_sql_databases_root_group.add_command(external_my_sql_database_group)
6255
managed_my_sql_databases_root_group.add_command(managed_my_sql_database_collection_group)
6356

6457

65-
@external_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.disable_external_mysql_associated_service.command_name', 'disable-external-mysql-associated-service'), help=u"""Disable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI. \n[Command Reference](disableExternalMysqlAssociatedService)""")
66-
@cli_util.option('--external-my-sql-database-id', required=True, help=u"""The OCID of the External MySQL Database.""")
67-
@cli_util.option('--service-resource-id', required=True, help=u"""OCID of the Service Resource.""")
68-
@cli_util.option('--connector-id', required=True, help=u"""OCID of the External MySQL Database connector.""")
69-
@cli_util.option('--service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["OPERATIONS_INSIGHTS"]), help=u"""Name of the Associated Service.""")
70-
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
71-
@json_skeleton_utils.get_cli_json_input_option({})
72-
@cli_util.help_option
73-
@click.pass_context
74-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
75-
@cli_util.wrap_exceptions
76-
def disable_external_mysql_associated_service(ctx, from_json, external_my_sql_database_id, service_resource_id, connector_id, service_name, if_match):
77-
78-
if isinstance(external_my_sql_database_id, six.string_types) and len(external_my_sql_database_id.strip()) == 0:
79-
raise click.UsageError('Parameter --external-my-sql-database-id cannot be whitespace or empty string')
80-
81-
kwargs = {}
82-
if if_match is not None:
83-
kwargs['if_match'] = if_match
84-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
85-
86-
_details = {}
87-
_details['serviceResourceId'] = service_resource_id
88-
_details['connectorId'] = connector_id
89-
_details['serviceName'] = service_name
90-
91-
client = cli_util.build_client('database_management', 'managed_my_sql_databases', ctx)
92-
result = client.disable_external_mysql_associated_service(
93-
external_my_sql_database_id=external_my_sql_database_id,
94-
disable_external_mysql_associated_service_details=_details,
95-
**kwargs
96-
)
97-
cli_util.render_response(result, ctx)
98-
99-
100-
@external_my_sql_database_group.command(name=cli_util.override('managed_my_sql_databases.enable_external_mysql_associated_service.command_name', 'enable-external-mysql-associated-service'), help=u"""Enable an Associated Service for an external MySQL database resource. An Associated Service example is OPSI. \n[Command Reference](enableExternalMysqlAssociatedService)""")
101-
@cli_util.option('--external-my-sql-database-id', required=True, help=u"""The OCID of the External MySQL Database.""")
102-
@cli_util.option('--service-resource-id', required=True, help=u"""OCID of the Service Resource.""")
103-
@cli_util.option('--connector-id', required=True, help=u"""OCID of the External MySQL Database connector.""")
104-
@cli_util.option('--service-name', required=True, type=custom_types.CliCaseInsensitiveChoice(["OPERATIONS_INSIGHTS"]), help=u"""Name of the Associated Service.""")
105-
@cli_util.option('--if-match', help=u"""For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.""")
106-
@json_skeleton_utils.get_cli_json_input_option({})
107-
@cli_util.help_option
108-
@click.pass_context
109-
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
110-
@cli_util.wrap_exceptions
111-
def enable_external_mysql_associated_service(ctx, from_json, external_my_sql_database_id, service_resource_id, connector_id, service_name, if_match):
112-
113-
if isinstance(external_my_sql_database_id, six.string_types) and len(external_my_sql_database_id.strip()) == 0:
114-
raise click.UsageError('Parameter --external-my-sql-database-id cannot be whitespace or empty string')
115-
116-
kwargs = {}
117-
if if_match is not None:
118-
kwargs['if_match'] = if_match
119-
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
120-
121-
_details = {}
122-
_details['serviceResourceId'] = service_resource_id
123-
_details['connectorId'] = connector_id
124-
_details['serviceName'] = service_name
125-
126-
client = cli_util.build_client('database_management', 'managed_my_sql_databases', ctx)
127-
result = client.enable_external_mysql_associated_service(
128-
external_my_sql_database_id=external_my_sql_database_id,
129-
enable_external_mysql_associated_service_details=_details,
130-
**kwargs
131-
)
132-
cli_util.render_response(result, ctx)
133-
134-
13558
@heat_wave_fleet_metrics_group.command(name=cli_util.override('managed_my_sql_databases.get_heat_wave_fleet_metric.command_name', 'get'), help=u"""Gets the health metrics for a fleet of HeatWave clusters in a compartment. \n[Command Reference](getHeatWaveFleetMetric)""")
13659
@cli_util.option('--compartment-id', required=True, help=u"""The [OCID] of the compartment.""")
13760
@cli_util.option('--start-time', required=True, help=u"""The start time of the time range to retrieve the health metrics of a Managed Database in UTC in ISO-8601 format, which is \"yyyy-MM-dd'T'hh:mm:ss.sss'Z'\".""")

services/generative_ai/src/oci_cli_generative_ai/generated/generativeai_cli.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def change_model_compartment(ctx, from_json, model_id, compartment_id, if_match)
202202
@cli_util.option('--unit-count', required=True, type=click.INT, help=u"""The number of dedicated units in this AI cluster.""")
203203
@cli_util.option('--unit-shape', required=True, help=u"""The shape of dedicated unit in this AI cluster. The underlying hardware configuration is hidden from customers.
204204
205-
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2""")
205+
Allowed values are: - LARGE_COHERE - LARGE_COHERE_V2 - SMALL_COHERE - SMALL_COHERE_V2 - SMALL_COHERE_4 - EMBED_COHERE - LLAMA2_70 - LARGE_GENERIC - LARGE_COHERE_V2_2 - LARGE_GENERIC_4 - SMALL_GENERIC_V2 - LARGE_GENERIC_2 - LARGE_COHERE_V3 - RERANK_COHERE""")
206206
@cli_util.option('--display-name', help=u"""A user-friendly name. Does not have to be unique, and it's changeable.""")
207207
@cli_util.option('--description', help=u"""An optional description of the dedicated AI cluster.""")
208208
@cli_util.option('--freeform-tags', type=custom_types.CLI_COMPLEX_TYPE, help=u"""Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags].

services/model_deployment/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240424
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240424
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240424
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240424
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# coding: utf-8
2+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
3+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240424
5+
6+
import oci
7+
from oci_cli.cli_clients import CLIENT_MAP
8+
from oci_cli.cli_clients import MODULE_TO_TYPE_MAPPINGS
9+
from oci.model_deployment import ModelDeploymentClient
10+
11+
MODULE_TO_TYPE_MAPPINGS["model_deployment"] = oci.model_deployment.models.model_deployment_type_mapping
12+
if CLIENT_MAP.get("model_deployment") is None:
13+
CLIENT_MAP["model_deployment"] = {}
14+
CLIENT_MAP["model_deployment"]["model_deployment"] = ModelDeploymentClient

0 commit comments

Comments
 (0)