Skip to content

Commit 235851b

Browse files
Releasing version 3.48.1
Releasing version 3.48.1
2 parents 4db9c95 + e1f175d commit 235851b

File tree

39 files changed

+5999
-116
lines changed

39 files changed

+5999
-116
lines changed

CHANGELOG.rst

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,134 @@ 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.48.1 - 2024-09-24
10+
--------------------
11+
Added
12+
~~~~~
13+
* Generative AI Agent service
14+
15+
* Generative AI Agent Service Public Release in OCI CLI
16+
17+
* ``oci generative-ai-agent agent change-compartment``
18+
* ``oci generative-ai-agent agent create``
19+
* ``oci generative-ai-agent agent delete``
20+
* ``oci generative-ai-agent agent get``
21+
* ``oci generative-ai-agent agent list``
22+
* ``oci generative-ai-agent agent update``
23+
* ``oci generative-ai-agent agent-endpoint change-compartment``
24+
* ``oci generative-ai-agent agent-endpoint create``
25+
* ``oci generative-ai-agent agent-endpoint delete``
26+
* ``oci generative-ai-agent agent-endpoint get``
27+
* ``oci generative-ai-agent agent-endpoint list``
28+
* ``oci generative-ai-agent agent-endpoint update``
29+
* ``oci generative-ai-agent data-ingestion-job create``
30+
* ``oci generative-ai-agent data-ingestion-job delete``
31+
* ``oci generative-ai-agent data-ingestion-job get``
32+
* ``oci generative-ai-agent data-ingestion-job get-data-ingestion-job-log-content``
33+
* ``oci generative-ai-agent data-ingestion-job list``
34+
* ``oci generative-ai-agent data-source create``
35+
* ``oci generative-ai-agent data-source create-data-source-oci-object-storage-data-source-config``
36+
* ``oci generative-ai-agent data-source delete``
37+
* ``oci generative-ai-agent data-source get``
38+
* ``oci generative-ai-agent data-source list``
39+
* ``oci generative-ai-agent data-source update``
40+
* ``oci generative-ai-agent data-source update-data-source-oci-object-storage-data-source-config``
41+
* ``oci generative-ai-agent knowledge-base change-compartment``
42+
* ``oci generative-ai-agent knowledge-base create``
43+
* ``oci generative-ai-agent knowledge-base create-knowledge-base-default-index-config``
44+
* ``oci generative-ai-agent knowledge-base create-knowledge-base-oci-database-config``
45+
* ``oci generative-ai-agent knowledge-base create-knowledge-base-oci-open-search-index-config``
46+
* ``oci generative-ai-agent knowledge-base delete``
47+
* ``oci generative-ai-agent knowledge-base get``
48+
* ``oci generative-ai-agent knowledge-base list``
49+
* ``oci generative-ai-agent knowledge-base update``
50+
* ``oci generative-ai-agent knowledge-base update-knowledge-base-default-index-config``
51+
* ``oci generative-ai-agent knowledge-base update-knowledge-base-oci-database-config``
52+
* ``oci generative-ai-agent knowledge-base update-knowledge-base-oci-open-search-index-config``
53+
* ``oci generative-ai-agent work-request cancel``
54+
* ``oci generative-ai-agent work-request get``
55+
* ``oci generative-ai-agent work-request list``
56+
* ``oci generative-ai-agent work-request-error list``
57+
* ``oci generative-ai-agent work-request-log-entry list-work-request-logs``
58+
59+
* Generative AI Agent Client service
60+
61+
* Generative AI Agent Client Service Public Release in OCI CLI
62+
63+
* ``oci generative-ai-agent-runtime session chat``
64+
* ``oci generative-ai-agent-runtime session create``
65+
* ``oci generative-ai-agent-runtime session delete``
66+
* ``oci generative-ai-agent-runtime session get``
67+
* ``oci generative-ai-agent-runtime session update``
68+
69+
* Monitoring service
70+
71+
* Support for new optional parameters in the alarm-suppression and alarm-suppression-collection commands
72+
73+
* ``oci monitoring alarm-suppression create --level --suppression-conditions``
74+
* ``oci monitoring alarm-suppression-collection list-alarm-suppressions --compartment-id --compartment-id-in-subtree --level --target-type --is-all-suppressions``
75+
76+
* Ops Insights service
77+
78+
* Support for ExaCC via Management agent
79+
80+
* ``oci opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-vault``
81+
* ``oci opsi database-insights create-macs-managed-cloud-database-insight``
82+
* ``oci opsi database-insights enable-macs-managed-cloud-database-insight``
83+
* ``oci opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-vault``
84+
* ``oci opsi database-insights update-macs-managed-cloud-database-insight``
85+
* ``oci opsi exadata-insights add-macs-managed-cloud-exadata-insight-members``
86+
* ``oci opsi exadata-insights create-macs-managed-cloud-exadata-insight``
87+
* ``oci opsi exadata-insights enable-macs-managed-cloud-exadata-insight``
88+
* ``oci opsi exadata-insights update-macs-managed-cloud-exadata-insight``
89+
* ``oci opsi host-insights update-macs-managed-database-host-insight``
90+
91+
* Fusion service
92+
93+
* Support for optional parameter --is-data-masking-opted in create-refresh-activity
94+
95+
* ``oci fusion-apps create-refresh-activity-details create-refresh-activity --is-data-masking-opted``
96+
97+
* Integration service
98+
99+
* Support for OIC Gen3 configure custom endpoint
100+
101+
* ``oci integration integration-instance --add-oracle-managed-custom-endpoint``
102+
* ``oci integration integration-instance remove``
103+
104+
* Database service
105+
106+
* Support for assigning key versions for the database and pluggable database
107+
108+
* ``oci db database set-oci-db-key-version --database-id --kms-key-version-id``
109+
* ``oci db pluggable-database set-oci-pdb-key-version --pluggable-database-id --kms-key-version-id``
110+
111+
* Support for listing autonomous database with lifecyclestate
112+
113+
* ``oci db autonomous-database list --lifecycle-state-not-equal-to``
114+
115+
* Support for undelete autonomous database
116+
117+
* ``oci db autonomous-database create-autonomous-database-undelete-autonomous-database-details``
118+
119+
* Analytics service
120+
121+
* Support for opting for different update channel schedules, "regular" or "early"
122+
123+
* ``oci analytics analytics-instance create --update-channel regular``
124+
* ``oci analytics analytics-instance update --update-channel early``
125+
126+
* Data Safe service
127+
128+
* Support for appending and deleting allowed SQLs from SQL Firewall policy
129+
130+
* ``oci data-safe sql-firewall-allowed-sql get--sql-firewall-allowed-sql-id``
131+
* ``oci data-safe sql-firewall-allowed-sql delete --sql-firewall-allowed-sql-id``
132+
* ``oci data-safe sql-firewall-allowed-sql bulk-create-sql-firewall-allowed-sqls-list-selection-mode--log-type``
133+
* ``oci data-safe sql-firewall-allowed-sql bulk-create --log-type --selection —sql-firewall-policy-id``
134+
* ``oci data-safe sql-firewall-allowed-sql bulk-create-sql-firewall-allowed-sqls-list-selection-mode --log-type, --selection-items, --sql-firewall-policy-id``
135+
* ``oci data-safe sql-firewall-allowed-sql bulk-create-sql-firewall-allowed-sqls-scim-query-selection-mode --log-type, --selection-scim-query, --sql-firewall-policy-id``
136+
9137
3.48.0 - 2024-09-17
10138
--------------------
11139
Added

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Jinja2>=3.1.4; python_version >= '3.7'
1515
jmespath==0.10.0
1616
ndg-httpsclient==0.4.2
1717
mock==2.0.0
18-
oci==2.134.0
18+
oci==2.135.0
1919
packaging==20.2
2020
pluggy==0.13.0
2121
py==1.11.0

services/analytics/src/oci_cli_analytics/generated/analytics_cli.py

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ def change_analytics_instance_network_endpoint_public_endpoint_details(ctx, from
336336
@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].
337337
338338
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
339+
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
339340
@cli_util.option('--kms-key-id', help=u"""OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.""")
340341
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
341342
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
@@ -348,7 +349,7 @@ def change_analytics_instance_network_endpoint_public_endpoint_details(ctx, from
348349
@click.pass_context
349350
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'capacity': {'module': 'analytics', 'class': 'Capacity'}, 'network-endpoint-details': {'module': 'analytics', 'class': 'NetworkEndpointDetails'}, 'defined-tags': {'module': 'analytics', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'analytics', 'class': 'dict(str, string)'}}, output_type={'module': 'analytics', 'class': 'AnalyticsInstance'})
350351
@cli_util.wrap_exceptions
351-
def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, description, email_notification, network_endpoint_details, idcs_access_token, defined_tags, freeform_tags, kms_key_id, domain_id, admin_user, feature_bundle):
352+
def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, description, email_notification, network_endpoint_details, idcs_access_token, defined_tags, freeform_tags, update_channel, kms_key_id, domain_id, admin_user, feature_bundle):
352353

353354
kwargs = {}
354355
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -378,6 +379,9 @@ def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds,
378379
if freeform_tags is not None:
379380
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
380381

382+
if update_channel is not None:
383+
_details['updateChannel'] = update_channel
384+
381385
if kms_key_id is not None:
382386
_details['kmsKeyId'] = kms_key_id
383387

@@ -442,6 +446,7 @@ def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds,
442446
@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].
443447
444448
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
449+
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
445450
@cli_util.option('--kms-key-id', help=u"""OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.""")
446451
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
447452
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
@@ -455,7 +460,7 @@ def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds,
455460
@click.pass_context
456461
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'capacity': {'module': 'analytics', 'class': 'Capacity'}, 'defined-tags': {'module': 'analytics', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'analytics', 'class': 'dict(str, string)'}, 'network-endpoint-details-network-security-group-ids': {'module': 'analytics', 'class': 'list[string]'}}, output_type={'module': 'analytics', 'class': 'AnalyticsInstance'})
457462
@cli_util.wrap_exceptions
458-
def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, network_endpoint_details_vcn_id, network_endpoint_details_subnet_id, description, email_notification, idcs_access_token, defined_tags, freeform_tags, kms_key_id, domain_id, admin_user, feature_bundle, network_endpoint_details_network_security_group_ids):
463+
def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, network_endpoint_details_vcn_id, network_endpoint_details_subnet_id, description, email_notification, idcs_access_token, defined_tags, freeform_tags, update_channel, kms_key_id, domain_id, admin_user, feature_bundle, network_endpoint_details_network_security_group_ids):
459464

460465
kwargs = {}
461466
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -485,6 +490,9 @@ def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_
485490
if freeform_tags is not None:
486491
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
487492

493+
if update_channel is not None:
494+
_details['updateChannel'] = update_channel
495+
488496
if kms_key_id is not None:
489497
_details['kmsKeyId'] = kms_key_id
490498

@@ -552,6 +560,7 @@ def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_
552560
@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].
553561
554562
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
563+
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
555564
@cli_util.option('--kms-key-id', help=u"""OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.""")
556565
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
557566
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
@@ -569,7 +578,7 @@ def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_
569578
@click.pass_context
570579
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'capacity': {'module': 'analytics', 'class': 'Capacity'}, 'defined-tags': {'module': 'analytics', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'analytics', 'class': 'dict(str, string)'}, 'network-endpoint-details-whitelisted-ips': {'module': 'analytics', 'class': 'list[string]'}, 'network-endpoint-details-whitelisted-vcns': {'module': 'analytics', 'class': 'list[VirtualCloudNetwork]'}}, output_type={'module': 'analytics', 'class': 'AnalyticsInstance'})
571580
@cli_util.wrap_exceptions
572-
def create_analytics_instance_public_endpoint_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, description, email_notification, idcs_access_token, defined_tags, freeform_tags, kms_key_id, domain_id, admin_user, feature_bundle, network_endpoint_details_whitelisted_ips, network_endpoint_details_whitelisted_vcns, network_endpoint_details_whitelisted_services):
581+
def create_analytics_instance_public_endpoint_details(ctx, from_json, wait_for_state, max_wait_seconds, wait_interval_seconds, name, compartment_id, feature_set, capacity, license_type, description, email_notification, idcs_access_token, defined_tags, freeform_tags, update_channel, kms_key_id, domain_id, admin_user, feature_bundle, network_endpoint_details_whitelisted_ips, network_endpoint_details_whitelisted_vcns, network_endpoint_details_whitelisted_services):
573582

574583
kwargs = {}
575584
kwargs['opc_request_id'] = cli_util.use_or_generate_request_id(ctx.obj['request_id'])
@@ -597,6 +606,9 @@ def create_analytics_instance_public_endpoint_details(ctx, from_json, wait_for_s
597606
if freeform_tags is not None:
598607
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
599608

609+
if update_channel is not None:
610+
_details['updateChannel'] = update_channel
611+
600612
if kms_key_id is not None:
601613
_details['kmsKeyId'] = kms_key_id
602614

@@ -1621,6 +1633,7 @@ def stop_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wa
16211633
@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].
16221634
16231635
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
1636+
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
16241637
@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.""")
16251638
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
16261639
@cli_util.option('--wait-for-state', type=custom_types.CliCaseInsensitiveChoice(["ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING"]), multiple=True, help="""This operation creates, modifies or deletes a resource that has a defined lifecycle state. Specify this option to perform the action and then wait until the resource reaches a given lifecycle 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.""")
@@ -1631,7 +1644,7 @@ def stop_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wa
16311644
@click.pass_context
16321645
@json_skeleton_utils.json_skeleton_generation_handler(input_params_to_complex_types={'defined-tags': {'module': 'analytics', 'class': 'dict(str, dict(str, object))'}, 'freeform-tags': {'module': 'analytics', 'class': 'dict(str, string)'}}, output_type={'module': 'analytics', 'class': 'AnalyticsInstance'})
16331646
@cli_util.wrap_exceptions
1634-
def update_analytics_instance(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, analytics_instance_id, description, email_notification, license_type, defined_tags, freeform_tags, if_match):
1647+
def update_analytics_instance(ctx, from_json, force, wait_for_state, max_wait_seconds, wait_interval_seconds, analytics_instance_id, description, email_notification, license_type, defined_tags, freeform_tags, update_channel, if_match):
16351648

16361649
if isinstance(analytics_instance_id, six.string_types) and len(analytics_instance_id.strip()) == 0:
16371650
raise click.UsageError('Parameter --analytics-instance-id cannot be whitespace or empty string')
@@ -1662,6 +1675,9 @@ def update_analytics_instance(ctx, from_json, force, wait_for_state, max_wait_se
16621675
if freeform_tags is not None:
16631676
_details['freeformTags'] = cli_util.parse_json_parameter("freeform_tags", freeform_tags)
16641677

1678+
if update_channel is not None:
1679+
_details['updateChannel'] = update_channel
1680+
16651681
client = cli_util.build_client('analytics', 'analytics', ctx)
16661682
result = client.update_analytics_instance(
16671683
analytics_instance_id=analytics_instance_id,

0 commit comments

Comments
 (0)