Skip to content

Commit

Permalink
Releasing version 3.48.1
Browse files Browse the repository at this point in the history
Releasing version 3.48.1
  • Loading branch information
oci-dex-release-bot authored Sep 24, 2024
2 parents 4db9c95 + e1f175d commit 235851b
Show file tree
Hide file tree
Showing 39 changed files with 5,999 additions and 116 deletions.
128 changes: 128 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,134 @@ All notable changes to this project will be documented in this file.

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

3.48.1 - 2024-09-24
--------------------
Added
~~~~~
* Generative AI Agent service

* Generative AI Agent Service Public Release in OCI CLI

* ``oci generative-ai-agent agent change-compartment``
* ``oci generative-ai-agent agent create``
* ``oci generative-ai-agent agent delete``
* ``oci generative-ai-agent agent get``
* ``oci generative-ai-agent agent list``
* ``oci generative-ai-agent agent update``
* ``oci generative-ai-agent agent-endpoint change-compartment``
* ``oci generative-ai-agent agent-endpoint create``
* ``oci generative-ai-agent agent-endpoint delete``
* ``oci generative-ai-agent agent-endpoint get``
* ``oci generative-ai-agent agent-endpoint list``
* ``oci generative-ai-agent agent-endpoint update``
* ``oci generative-ai-agent data-ingestion-job create``
* ``oci generative-ai-agent data-ingestion-job delete``
* ``oci generative-ai-agent data-ingestion-job get``
* ``oci generative-ai-agent data-ingestion-job get-data-ingestion-job-log-content``
* ``oci generative-ai-agent data-ingestion-job list``
* ``oci generative-ai-agent data-source create``
* ``oci generative-ai-agent data-source create-data-source-oci-object-storage-data-source-config``
* ``oci generative-ai-agent data-source delete``
* ``oci generative-ai-agent data-source get``
* ``oci generative-ai-agent data-source list``
* ``oci generative-ai-agent data-source update``
* ``oci generative-ai-agent data-source update-data-source-oci-object-storage-data-source-config``
* ``oci generative-ai-agent knowledge-base change-compartment``
* ``oci generative-ai-agent knowledge-base create``
* ``oci generative-ai-agent knowledge-base create-knowledge-base-default-index-config``
* ``oci generative-ai-agent knowledge-base create-knowledge-base-oci-database-config``
* ``oci generative-ai-agent knowledge-base create-knowledge-base-oci-open-search-index-config``
* ``oci generative-ai-agent knowledge-base delete``
* ``oci generative-ai-agent knowledge-base get``
* ``oci generative-ai-agent knowledge-base list``
* ``oci generative-ai-agent knowledge-base update``
* ``oci generative-ai-agent knowledge-base update-knowledge-base-default-index-config``
* ``oci generative-ai-agent knowledge-base update-knowledge-base-oci-database-config``
* ``oci generative-ai-agent knowledge-base update-knowledge-base-oci-open-search-index-config``
* ``oci generative-ai-agent work-request cancel``
* ``oci generative-ai-agent work-request get``
* ``oci generative-ai-agent work-request list``
* ``oci generative-ai-agent work-request-error list``
* ``oci generative-ai-agent work-request-log-entry list-work-request-logs``

* Generative AI Agent Client service

* Generative AI Agent Client Service Public Release in OCI CLI

* ``oci generative-ai-agent-runtime session chat``
* ``oci generative-ai-agent-runtime session create``
* ``oci generative-ai-agent-runtime session delete``
* ``oci generative-ai-agent-runtime session get``
* ``oci generative-ai-agent-runtime session update``

* Monitoring service

* Support for new optional parameters in the alarm-suppression and alarm-suppression-collection commands

* ``oci monitoring alarm-suppression create --level --suppression-conditions``
* ``oci monitoring alarm-suppression-collection list-alarm-suppressions --compartment-id --compartment-id-in-subtree --level --target-type --is-all-suppressions``

* Ops Insights service

* Support for ExaCC via Management agent

* ``oci opsi database-insights change-macs-managed-cloud-database-insight-connection-credential-by-vault``
* ``oci opsi database-insights create-macs-managed-cloud-database-insight``
* ``oci opsi database-insights enable-macs-managed-cloud-database-insight``
* ``oci opsi database-insights test-macs-managed-cloud-database-insight-connection-credential-by-vault``
* ``oci opsi database-insights update-macs-managed-cloud-database-insight``
* ``oci opsi exadata-insights add-macs-managed-cloud-exadata-insight-members``
* ``oci opsi exadata-insights create-macs-managed-cloud-exadata-insight``
* ``oci opsi exadata-insights enable-macs-managed-cloud-exadata-insight``
* ``oci opsi exadata-insights update-macs-managed-cloud-exadata-insight``
* ``oci opsi host-insights update-macs-managed-database-host-insight``

* Fusion service

* Support for optional parameter --is-data-masking-opted in create-refresh-activity

* ``oci fusion-apps create-refresh-activity-details create-refresh-activity --is-data-masking-opted``

* Integration service

* Support for OIC Gen3 configure custom endpoint

* ``oci integration integration-instance --add-oracle-managed-custom-endpoint``
* ``oci integration integration-instance remove``

* Database service

* Support for assigning key versions for the database and pluggable database

* ``oci db database set-oci-db-key-version --database-id --kms-key-version-id``
* ``oci db pluggable-database set-oci-pdb-key-version --pluggable-database-id --kms-key-version-id``

* Support for listing autonomous database with lifecyclestate

* ``oci db autonomous-database list --lifecycle-state-not-equal-to``

* Support for undelete autonomous database

* ``oci db autonomous-database create-autonomous-database-undelete-autonomous-database-details``

* Analytics service

* Support for opting for different update channel schedules, "regular" or "early"

* ``oci analytics analytics-instance create --update-channel regular``
* ``oci analytics analytics-instance update --update-channel early``

* Data Safe service

* Support for appending and deleting allowed SQLs from SQL Firewall policy

* ``oci data-safe sql-firewall-allowed-sql get--sql-firewall-allowed-sql-id``
* ``oci data-safe sql-firewall-allowed-sql delete --sql-firewall-allowed-sql-id``
* ``oci data-safe sql-firewall-allowed-sql bulk-create-sql-firewall-allowed-sqls-list-selection-mode--log-type``
* ``oci data-safe sql-firewall-allowed-sql bulk-create --log-type --selection —sql-firewall-policy-id``
* ``oci data-safe sql-firewall-allowed-sql bulk-create-sql-firewall-allowed-sqls-list-selection-mode --log-type, --selection-items, --sql-firewall-policy-id``
* ``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``

3.48.0 - 2024-09-17
--------------------
Added
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Jinja2>=3.1.4; python_version >= '3.7'
jmespath==0.10.0
ndg-httpsclient==0.4.2
mock==2.0.0
oci==2.134.0
oci==2.135.0
packaging==20.2
pluggy==0.13.0
py==1.11.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def change_analytics_instance_network_endpoint_public_endpoint_details(ctx, from
@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].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
@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.""")
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
Expand All @@ -348,7 +349,7 @@ def change_analytics_instance_network_endpoint_public_endpoint_details(ctx, from
@click.pass_context
@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'})
@cli_util.wrap_exceptions
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):
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):

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

if update_channel is not None:
_details['updateChannel'] = update_channel

if kms_key_id is not None:
_details['kmsKeyId'] = kms_key_id

Expand Down Expand Up @@ -442,6 +446,7 @@ def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds,
@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].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
@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.""")
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
Expand All @@ -455,7 +460,7 @@ def create_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds,
@click.pass_context
@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'})
@cli_util.wrap_exceptions
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):
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):

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

if update_channel is not None:
_details['updateChannel'] = update_channel

if kms_key_id is not None:
_details['kmsKeyId'] = kms_key_id

Expand Down Expand Up @@ -552,6 +560,7 @@ def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_
@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].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
@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.""")
@cli_util.option('--domain-id', help=u"""domain id for which the user is authorized.""")
@cli_util.option('--admin-user', help=u"""user name of the authorized user.""")
Expand All @@ -569,7 +578,7 @@ def create_analytics_instance_private_endpoint_details(ctx, from_json, wait_for_
@click.pass_context
@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'})
@cli_util.wrap_exceptions
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):
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):

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

if update_channel is not None:
_details['updateChannel'] = update_channel

if kms_key_id is not None:
_details['kmsKeyId'] = kms_key_id

Expand Down Expand Up @@ -1621,6 +1633,7 @@ def stop_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wa
@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].
Example: `{\"Department\": \"Finance\"}`""" + custom_types.cli_complex_type.COMPLEX_TYPE_HELP)
@cli_util.option('--update-channel', type=custom_types.CliCaseInsensitiveChoice(["REGULAR", "EARLY", "PHASE_2", "PHASE_1"]), help=u"""Analytics instance update channel.""")
@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.""")
@cli_util.option('--force', help="""Perform update without prompting for confirmation.""", is_flag=True)
@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.""")
Expand All @@ -1631,7 +1644,7 @@ def stop_analytics_instance(ctx, from_json, wait_for_state, max_wait_seconds, wa
@click.pass_context
@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'})
@cli_util.wrap_exceptions
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):
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):

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

if update_channel is not None:
_details['updateChannel'] = update_channel

client = cli_util.build_client('analytics', 'analytics', ctx)
result = client.update_analytics_instance(
analytics_instance_id=analytics_instance_id,
Expand Down
Loading

0 comments on commit 235851b

Please sign in to comment.