Skip to content

Commit 2641cd2

Browse files
Releasing version 3.66.0
Releasing version 3.66.0
2 parents dc26f88 + a2004d1 commit 2641cd2

File tree

9 files changed

+500
-15
lines changed

9 files changed

+500
-15
lines changed

CHANGELOG.rst

Lines changed: 47 additions & 0 deletions
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.66.0 - 2025-09-09
10+
--------------------
11+
Added
12+
~~~~~
13+
14+
* Database Service
15+
16+
* Support for Undelete Autonomous Database on public cloud and cloud at customer
17+
18+
* ``oci db autonomous-database create-autonomous-database-undelete-autonomous-database-details``
19+
20+
* Support for setting backup retention policy after termination and lock retention for backup configuration while creating and updating Autonomous Container Database.
21+
22+
* ``oci db autonomous-container-database create``
23+
* ``oci db autonomous-container-database update``
24+
25+
* Support for Deleting associated Long Term Backups while deleting the Autonomous Database.
26+
27+
* ``oci db autonomous-database delete --must-delete-associated-long-term-backups [boolean] [optional]``
28+
29+
* Support for listing Autonomous Database Backups by backup destination id and infrastructure type when applicable.
30+
31+
* ``oci db autonomous-database-backup list --backup-destination-id [text] --infrastructure-type [text]``
32+
33+
* Support for listing Autonomous Database Backups by key store id and infrastructure type as applicable.
34+
35+
* ``oci db autonomous-database-backup list --key-store-id [text] --infrastructure-type [text]``
36+
37+
* Email Delivery Service
38+
39+
* Support for Locking API in Email Delivery service
40+
41+
* ``oci email-control emailDomains update``
42+
* ``oci email-control emailIpPools update``
43+
* ``oci email-control EmailPrivateEndpoints update``
44+
* ``oci email-control emailReturnPaths update``
45+
* ``oci email-control emailTrackConfigs update``
46+
* ``oci email-control senders update``
47+
48+
Modified
49+
~~~~~~~~
50+
* Database Service
51+
52+
* [BREAKING] Changed enum value from ENTERPRISE_EDITION_EXTREME to ENTERPRISE_EDITION_EXTREME_PERFORMANCE for database-edition parameter
53+
54+
* ``oci db system list-db-system-storage-performances --database-edition ENTERPRISE_EDITION_EXTREME_PERFORMANCE``
55+
956
3.65.1 - 2025-09-02
1057
--------------------
1158
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
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.159.1
18+
oci==2.160.0
1919
packaging==20.2
2020
pluggy==0.13.0
2121
py==1.11.0

services/database/src/oci_cli_database/generated/database_cli.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15165,6 +15165,7 @@ def delete_application_vip(ctx, from_json, wait_for_state, max_wait_seconds, wai
1516515165
@autonomous_database_group.command(name=cli_util.override('db.delete_autonomous_database.command_name', 'delete'), help=u"""Deletes the specified Autonomous Database. \n[Command Reference](deleteAutonomousDatabase)""")
1516615166
@cli_util.option('--autonomous-database-id', required=True, help=u"""The database [OCID].""")
1516715167
@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.""")
15168+
@cli_util.option('--must-delete-associated-long-term-backups', type=click.BOOL, help=u"""If set to true, terminating the Autonomous Database also deletes its associated long-term backups if the retention lock is not enabled.""")
1516815169
@cli_util.option('--opc-dry-run', type=click.BOOL, help=u"""Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually creating or updating a resource and is used only to perform validation on the submitted data.""")
1516915170
@cli_util.confirm_delete_option
1517015171
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED"]), multiple=True, help="""This operation asynchronously creates, modifies or deletes a resource and uses a work request to track the progress of the operation. Specify this option to perform the action and then wait until the work request reaches a certain state. Multiple states can be specified, returning on the first state. For example, --wait-for-state SUCCEEDED --wait-for-state FAILED would return on whichever lifecycle state is reached first. If timeout is reached, a return code of 2 is returned. For any other error, a return code of 1 is returned.""")
@@ -15175,14 +15176,16 @@ def delete_application_vip(ctx, from_json, wait_for_state, max_wait_seconds, wai
1517515176
@click.pass_context
1517615177
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={})
1517715178
@cli_util.wrap_exceptions
15178-
def delete_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, if_match, opc_dry_run):
15179+
def delete_autonomous_database(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, autonomous_database_id, if_match, must_delete_associated_long_term_backups, opc_dry_run):
1517915180

1518015181
if isinstance(autonomous_database_id, six.string_types) and len(autonomous_database_id.strip()) == 0:
1518115182
raise click.UsageError('Parameter --autonomous-database-id cannot be whitespace or empty string')
1518215183

1518315184
kwargs = {}
1518415185
if if_match is not None:
1518515186
kwargs['if_match'] = if_match
15187+
if must_delete_associated_long_term_backups is not None:
15188+
kwargs['must_delete_associated_long_term_backups'] = must_delete_associated_long_term_backups
1518615189
if opc_dry_run is not None:
1518715190
kwargs['opc_dry_run'] = opc_dry_run
1518815191
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -22586,14 +22589,17 @@ def list_autonomous_container_databases(ctx, from_json, all_pages, page_size, co
2258622589
@cli_util.option('--lifecycle-state', type=custom_types.CliCaseInsensitiveChoice(["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED", "UPDATING"]), help=u"""A filter to return only resources that match the given lifecycle state exactly.""")
2258722590
@cli_util.option('--display-name', help=u"""A filter to return only resources that match the entire display name given. The match is not case sensitive.""")
2258822591
@cli_util.option('--type', help=u"""A filter to return only backups that matches with the given type of Backup.""")
22592+
@cli_util.option('--backup-destination-id', help=u"""A filter to return only resources that have the given backup destination id.""")
22593+
@cli_util.option('--key-store-id', help=u"""A filter to return only resources that have the given key store id.""")
22594+
@cli_util.option('--infrastructure-type', type=custom_types.CliCaseInsensitiveChoice(["CLOUD", "CLOUD_AT_CUSTOMER"]), help=u"""A filter to return only resources that match the given Infrastructure Type.""")
2258922595
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results. If you provide this option, then you cannot provide the --limit option.""")
2259022596
@cli_util.option('--page-size', type=click.INT, help="""When fetching results, the number of results to fetch per call. Only valid when used with --all or --limit, and ignored otherwise.""")
2259122597
@json_skeleton_utils.get_cli_json_input_option({})
2259222598
@cli_util.help_option
2259322599
@click.pass_context
2259422600
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={}, output_type={'module': 'database', 'class': 'list[AutonomousDatabaseBackupSummary]'})
2259522601
@cli_util.wrap_exceptions
22596-
def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, autonomous_database_id, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, display_name, type):
22602+
def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, autonomous_database_id, compartment_id, limit, page, sort_by, sort_order, lifecycle_state, display_name, type, backup_destination_id, key_store_id, infrastructure_type):
2259722603

2259822604
if all_pages and limit:
2259922605
raise click.UsageError('If you provide the --all option you cannot provide the --limit option')
@@ -22617,6 +22623,12 @@ def list_autonomous_database_backups(ctx, from_json, all_pages, page_size, auton
2261722623
kwargs['display_name'] = display_name
2261822624
if type is not None:
2261922625
kwargs['type'] = type
22626+
if backup_destination_id is not None:
22627+
kwargs['backup_destination_id'] = backup_destination_id
22628+
if key_store_id is not None:
22629+
kwargs['key_store_id'] = key_store_id
22630+
if infrastructure_type is not None:
22631+
kwargs['infrastructure_type'] = infrastructure_type
2262022632
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
2262122633
client = cli_util.build_client('database', 'database', ctx)
2262222634
if all_pages:
@@ -24799,7 +24811,7 @@ def list_db_system_shapes(ctx, from_json, all_pages, page_size, compartment_id,
2479924811
@db_system_group.command(name=cli_util.override('db.list_db_system_storage_performances.command_name', 'list-db-system-storage-performances'), help=u"""Gets a list of possible expected storage performance parameters of a VMDB System based on Configuration. \n[Command Reference](listDbSystemStoragePerformances)""")
2480024812
@cli_util.option('--storage-management', required=True, type=custom_types.CliCaseInsensitiveChoice(["ASM", "LVM"]), help=u"""The DB system storage management option. Used to list database versions available for that storage manager. Valid values are `ASM` and `LVM`. * ASM specifies Oracle Automatic Storage Management * LVM specifies logical volume manager, sometimes called logical disk manager.""")
2480124813
@cli_util.option('--shape-type', help=u"""Optional. Filters the performance results by shape type.""")
24802-
@cli_util.option('--database-edition', type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The database edition of quota (STANDARD_EDITION/ENTERPRISE_EDITION/ENTERPRISE_EDITION_HIGH_PERFORMANCE/ENTERPRISE_EDITION_EXTREME/ENTERPRISE_EDITION_DEVELOPER)""")
24814+
@cli_util.option('--database-edition', type=custom_types.CliCaseInsensitiveChoice(["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]), help=u"""The database edition of quota (STANDARD_EDITION/ENTERPRISE_EDITION/ENTERPRISE_EDITION_HIGH_PERFORMANCE/ENTERPRISE_EDITION_EXTREME_PERFORMANCE/ENTERPRISE_EDITION_DEVELOPER)""")
2480324815
@cli_util.option('--compartment-id', help=u"""The compartment [OCID].""")
2480424816
@cli_util.option('--all', 'all_pages', is_flag=True, help="""Fetches all pages of results.""")
2480524817
@json_skeleton_utils.get_cli_json_input_option({})

0 commit comments

Comments
 (0)