diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 7d37e3154e..3e163a42da 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -3,6 +3,22 @@ Change Log
All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+====================
+2.124.0 - 2024-03-05
+====================
+
+Added
+-----
+* Support for Linux capabilities configuration for the containers in the Container Instances service
+* Support for service platforms in the Oracle Store Platform Gateway service
+* Support for whisper models and delete job operation in the Speech service
+* Support for new SQL insight content types in news reports in the Operations Insights service
+* Support for launching virtual machines with multiple volumes in the Compute service
+
+Breaking
+--------
+* The property `CapacityPlanningResources` has been made optional in the model `NewsContentTypes` in the Operations Insights service
+
====================
2.123.0 - 2024-02-27
====================
diff --git a/docs/api/container_instances.rst b/docs/api/container_instances.rst
index 9e675a71b7..d5441e9e33 100644
--- a/docs/api/container_instances.rst
+++ b/docs/api/container_instances.rst
@@ -21,6 +21,7 @@ Container Instances
oci.container_instances.models.BasicImagePullSecret
oci.container_instances.models.ChangeContainerInstanceCompartmentDetails
oci.container_instances.models.Container
+ oci.container_instances.models.ContainerCapabilities
oci.container_instances.models.ContainerCollection
oci.container_instances.models.ContainerCommandHealthCheck
oci.container_instances.models.ContainerConfigFile
diff --git a/docs/api/container_instances/models/oci.container_instances.models.ContainerCapabilities.rst b/docs/api/container_instances/models/oci.container_instances.models.ContainerCapabilities.rst
new file mode 100644
index 0000000000..5c78f1680f
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.ContainerCapabilities.rst
@@ -0,0 +1,11 @@
+ContainerCapabilities
+=====================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: ContainerCapabilities
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi.rst b/docs/api/opsi.rst
index ad2ed13918..6347d2e9f3 100644
--- a/docs/api/opsi.rst
+++ b/docs/api/opsi.rst
@@ -443,6 +443,7 @@ Opsi
oci.opsi.models.UpdateOpsiUxConfigurationDetails
oci.opsi.models.UpdatePeComanagedDatabaseInsightDetails
oci.opsi.models.UpdatePeComanagedExadataInsightDetails
+ oci.opsi.models.UpdatePeComanagedHostInsightDetails
oci.opsi.models.UxConfigurationItemsCollection
oci.opsi.models.VmClusterSummary
oci.opsi.models.WarehouseDataObjectCollection
diff --git a/docs/api/opsi/models/oci.opsi.models.UpdatePeComanagedHostInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.UpdatePeComanagedHostInsightDetails.rst
new file mode 100644
index 0000000000..6559d8c6c8
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.UpdatePeComanagedHostInsightDetails.rst
@@ -0,0 +1,11 @@
+UpdatePeComanagedHostInsightDetails
+===================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: UpdatePeComanagedHostInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/examples/showoci/CHANGELOG.rst b/examples/showoci/CHANGELOG.rst
index e799ada1ce..fbae6364ea 100644
--- a/examples/showoci/CHANGELOG.rst
+++ b/examples/showoci/CHANGELOG.rst
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+=====================
+24.03.03 - 24.03.03
+=====================
+* Remove max_cpu_core_count from Autonomous Database
+
=====================
24.03.02 - 24.03.02
=====================
diff --git a/examples/showoci/showoci.py b/examples/showoci/showoci.py
index d18eeaaea3..b15103bfb2 100644
--- a/examples/showoci/showoci.py
+++ b/examples/showoci/showoci.py
@@ -128,7 +128,7 @@
import os
import time
-version = "24.03.02"
+version = "24.03.03"
##########################################################################
# check OCI version
diff --git a/examples/showoci/showoci_data.py b/examples/showoci/showoci_data.py
index efe3270782..1f182008b6 100644
--- a/examples/showoci/showoci_data.py
+++ b/examples/showoci/showoci_data.py
@@ -20,7 +20,7 @@
class ShowOCIData(object):
- version = "24.03.02"
+ version = "24.03.03"
############################################
# ShowOCIService - Service object to query
@@ -3029,7 +3029,6 @@ def __get_database_adb_database_info(self, dbs):
'is_auto_scaling_for_storage_enabled': dbs['is_auto_scaling_for_storage_enabled'],
'allocated_storage_size_in_tbs': dbs['allocated_storage_size_in_tbs'],
'actual_used_data_storage_size_in_tbs': dbs['actual_used_data_storage_size_in_tbs'],
- 'max_cpu_core_count': dbs['max_cpu_core_count'],
'database_edition': dbs['database_edition'],
'local_disaster_recovery_type': dbs['local_disaster_recovery_type'],
'disaster_recovery_region_type': dbs['disaster_recovery_region_type'],
diff --git a/examples/showoci/showoci_output.py b/examples/showoci/showoci_output.py
index bbea639bf7..b921edd986 100644
--- a/examples/showoci/showoci_output.py
+++ b/examples/showoci/showoci_output.py
@@ -22,7 +22,7 @@
class ShowOCIOutput(object):
- version = "24.03.02"
+ version = "24.03.03"
##########################################################################
# spaces for align
diff --git a/examples/showoci/showoci_service.py b/examples/showoci/showoci_service.py
index de3c19be0b..065b4fcc60 100644
--- a/examples/showoci/showoci_service.py
+++ b/examples/showoci/showoci_service.py
@@ -39,7 +39,7 @@
# class ShowOCIService
##########################################################################
class ShowOCIService(object):
- version = "24.03.02"
+ version = "24.03.03"
oci_compatible_version = "2.119.1"
thread_lock = threading.Lock()
@@ -10623,7 +10623,6 @@ def __load_database_adb_database(self, database_client, compartments):
'is_auto_scaling_for_storage_enabled': self.get_value(dbs.is_auto_scaling_for_storage_enabled),
'allocated_storage_size_in_tbs': self.get_value(dbs.allocated_storage_size_in_tbs),
'actual_used_data_storage_size_in_tbs': self.get_value(dbs.actual_used_data_storage_size_in_tbs),
- 'max_cpu_core_count': self.get_value(dbs.max_cpu_core_count),
'database_edition': self.get_value(dbs.database_edition),
'local_disaster_recovery_type': self.get_value(dbs.local_disaster_recovery_type),
'disaster_recovery_region_type': self.get_value(dbs.disaster_recovery_region_type),
diff --git a/src/oci/ai_speech/ai_service_speech_client.py b/src/oci/ai_speech/ai_service_speech_client.py
index 11473723e2..2d07f3b9dd 100644
--- a/src/oci/ai_speech/ai_service_speech_client.py
+++ b/src/oci/ai_speech/ai_service_speech_client.py
@@ -560,6 +560,119 @@ def create_transcription_job(self, create_transcription_job_details, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def delete_transcription_job(self, transcription_job_id, **kwargs):
+ """
+ Delete API cleans job, tasks and the related metadata. However the generated transcriptions in customer tenancy will not be deleted.
+
+
+ :param str transcription_job_id: (required)
+ Unique Transcription Job identifier.
+
+ :param str if_match: (optional)
+ 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.
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_transcription_job API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['transcriptionJobId']
+ resource_path = "/transcriptionJobs/{transcriptionJobId}"
+ method = "DELETE"
+ operation_name = "delete_transcription_job"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/speech/20220101/TranscriptionJob/DeleteTranscriptionJob"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"delete_transcription_job got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "transcriptionJobId": transcription_job_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def get_transcription_job(self, transcription_job_id, **kwargs):
"""
Gets a Transcription Job by identifier
diff --git a/src/oci/ai_speech/ai_service_speech_client_composite_operations.py b/src/oci/ai_speech/ai_service_speech_client_composite_operations.py
index 2e3cea92ba..74e559e474 100644
--- a/src/oci/ai_speech/ai_service_speech_client_composite_operations.py
+++ b/src/oci/ai_speech/ai_service_speech_client_composite_operations.py
@@ -67,6 +67,65 @@ def create_transcription_job_and_wait_for_state(self, create_transcription_job_d
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def delete_transcription_job_and_wait_for_state(self, transcription_job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.ai_speech.AIServiceSpeechClient.delete_transcription_job` and waits for the :py:class:`~oci.ai_speech.models.TranscriptionJob` acted upon
+ to enter the given state(s).
+
+ :param str transcription_job_id: (required)
+ Unique Transcription Job identifier.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_speech.models.TranscriptionJob.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_speech.AIServiceSpeechClient.delete_transcription_job`
+
+ :param dict waiter_kwargs:
+ 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``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ initial_get_result = self.client.get_transcription_job(transcription_job_id)
+ operation_result = None
+ try:
+ operation_result = self.client.delete_transcription_job(transcription_job_id, **operation_kwargs)
+ except oci.exceptions.ServiceError as e:
+ if e.status == 404:
+ return WAIT_RESOURCE_NOT_FOUND
+ else:
+ raise e
+
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+
+ try:
+ if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
+ self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_transcription_job, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
+ else:
+ """
+ If the user does not send in this value, we set it to True by default.
+ We are doing this because during a delete resource scenario and waiting on its state, the service can
+ return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
+ """
+ waiter_kwargs["succeed_on_not_found"] = True
+ waiter_result = oci.wait_until(
+ self.client,
+ initial_get_result, # noqa: F821
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except (NameError, TypeError) as e:
+ if not e.args:
+ e.args = ('',)
+ 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"', )
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def update_transcription_job_and_wait_for_state(self, transcription_job_id, update_transcription_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.ai_speech.AIServiceSpeechClient.update_transcription_job` and waits for the :py:class:`~oci.ai_speech.models.TranscriptionJob` acted upon
diff --git a/src/oci/ai_speech/models/transcription_model_details.py b/src/oci/ai_speech/models/transcription_model_details.py
index d72f5d3e71..3f092964ab 100644
--- a/src/oci/ai_speech/models/transcription_model_details.py
+++ b/src/oci/ai_speech/models/transcription_model_details.py
@@ -59,11 +59,243 @@ class TranscriptionModelDetails(object):
#: This constant has a value of "it-IT"
LANGUAGE_CODE_IT_IT = "it-IT"
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "af"
+ LANGUAGE_CODE_AF = "af"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ar"
+ LANGUAGE_CODE_AR = "ar"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "az"
+ LANGUAGE_CODE_AZ = "az"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "be"
+ LANGUAGE_CODE_BE = "be"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "bg"
+ LANGUAGE_CODE_BG = "bg"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "bs"
+ LANGUAGE_CODE_BS = "bs"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ca"
+ LANGUAGE_CODE_CA = "ca"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "cs"
+ LANGUAGE_CODE_CS = "cs"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "cy"
+ LANGUAGE_CODE_CY = "cy"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "da"
+ LANGUAGE_CODE_DA = "da"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "de"
+ LANGUAGE_CODE_DE = "de"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "el"
+ LANGUAGE_CODE_EL = "el"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "en"
+ LANGUAGE_CODE_EN = "en"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "es"
+ LANGUAGE_CODE_ES = "es"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "et"
+ LANGUAGE_CODE_ET = "et"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "fa"
+ LANGUAGE_CODE_FA = "fa"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "fi"
+ LANGUAGE_CODE_FI = "fi"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "fr"
+ LANGUAGE_CODE_FR = "fr"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "gl"
+ LANGUAGE_CODE_GL = "gl"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "he"
+ LANGUAGE_CODE_HE = "he"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "hi"
+ LANGUAGE_CODE_HI = "hi"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "hr"
+ LANGUAGE_CODE_HR = "hr"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "hu"
+ LANGUAGE_CODE_HU = "hu"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "hy"
+ LANGUAGE_CODE_HY = "hy"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "id"
+ LANGUAGE_CODE_ID = "id"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "is"
+ LANGUAGE_CODE_IS = "is"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "it"
+ LANGUAGE_CODE_IT = "it"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ja"
+ LANGUAGE_CODE_JA = "ja"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "kk"
+ LANGUAGE_CODE_KK = "kk"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "kn"
+ LANGUAGE_CODE_KN = "kn"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ko"
+ LANGUAGE_CODE_KO = "ko"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "lt"
+ LANGUAGE_CODE_LT = "lt"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "lv"
+ LANGUAGE_CODE_LV = "lv"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "mi"
+ LANGUAGE_CODE_MI = "mi"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "mk"
+ LANGUAGE_CODE_MK = "mk"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "mr"
+ LANGUAGE_CODE_MR = "mr"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ms"
+ LANGUAGE_CODE_MS = "ms"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ne"
+ LANGUAGE_CODE_NE = "ne"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "nl"
+ LANGUAGE_CODE_NL = "nl"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "no"
+ LANGUAGE_CODE_NO = "no"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "pl"
+ LANGUAGE_CODE_PL = "pl"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "pt"
+ LANGUAGE_CODE_PT = "pt"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ro"
+ LANGUAGE_CODE_RO = "ro"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ru"
+ LANGUAGE_CODE_RU = "ru"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "sk"
+ LANGUAGE_CODE_SK = "sk"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "sl"
+ LANGUAGE_CODE_SL = "sl"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "sr"
+ LANGUAGE_CODE_SR = "sr"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "sv"
+ LANGUAGE_CODE_SV = "sv"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "sw"
+ LANGUAGE_CODE_SW = "sw"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ta"
+ LANGUAGE_CODE_TA = "ta"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "th"
+ LANGUAGE_CODE_TH = "th"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "tl"
+ LANGUAGE_CODE_TL = "tl"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "tr"
+ LANGUAGE_CODE_TR = "tr"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "uk"
+ LANGUAGE_CODE_UK = "uk"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "ur"
+ LANGUAGE_CODE_UR = "ur"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "vi"
+ LANGUAGE_CODE_VI = "vi"
+
+ #: A constant which can be used with the language_code property of a TranscriptionModelDetails.
+ #: This constant has a value of "zh"
+ LANGUAGE_CODE_ZH = "zh"
+
def __init__(self, **kwargs):
"""
Initializes a new TranscriptionModelDetails object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param model_type:
+ The value to assign to the model_type property of this TranscriptionModelDetails.
+ :type model_type: str
+
:param domain:
The value to assign to the domain property of this TranscriptionModelDetails.
Allowed values for this property are: "GENERIC", 'UNKNOWN_ENUM_VALUE'.
@@ -72,7 +304,7 @@ def __init__(self, **kwargs):
:param language_code:
The value to assign to the language_code property of this TranscriptionModelDetails.
- Allowed values for this property are: "en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT", "af", "ar", "az", "be", "bg", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "es", "et", "fa", "fi", "fr", "gl", "he", "hi", "hr", "hu", "hy", "id", "is", "it", "ja", "kk", "kn", "ko", "lt", "lv", "mi", "mk", "mr", "ms", "ne", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "sw", "ta", "th", "tl", "tr", "uk", "ur", "vi", "zh", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type language_code: str
@@ -82,21 +314,54 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'model_type': 'str',
'domain': 'str',
'language_code': 'str',
'transcription_settings': 'TranscriptionSettings'
}
self.attribute_map = {
+ 'model_type': 'modelType',
'domain': 'domain',
'language_code': 'languageCode',
'transcription_settings': 'transcriptionSettings'
}
+ self._model_type = None
self._domain = None
self._language_code = None
self._transcription_settings = None
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this TranscriptionModelDetails.
+ Select a model to use for generating transcriptions. Currently supported models are:
+ - ORACLE
+ - WHISPER_MEDIUM
+ - WHISPER_LARGE_V2 (upon service request)
+
+
+ :return: The model_type of this TranscriptionModelDetails.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this TranscriptionModelDetails.
+ Select a model to use for generating transcriptions. Currently supported models are:
+ - ORACLE
+ - WHISPER_MEDIUM
+ - WHISPER_LARGE_V2 (upon service request)
+
+
+ :param model_type: The model_type of this TranscriptionModelDetails.
+ :type: str
+ """
+ self._model_type = model_type
+
@property
def domain(self):
"""
@@ -131,8 +396,8 @@ def domain(self, domain):
def language_code(self):
"""
Gets the language_code of this TranscriptionModelDetails.
- Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
- - en-US: English - United States
+ Oracle supported language codes are (Oracle models are locale specific).
+ - en-US: English - United States (default)
- es-ES: Spanish - Spain
- pt-BR: Portuguese - Brazil
- en-GB: English - Great Britain
@@ -143,7 +408,66 @@ def language_code(self):
- de-DE: German - Germany
- it-IT: Italian - Italy
- Allowed values for this property are: "en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT", 'UNKNOWN_ENUM_VALUE'.
+ Whisper supported language codes are (Whisper models are locale agnostic).
+ - af: Afrikaans
+ - ar: Arabic
+ - az: Azerbaijani
+ - be: Belarusian
+ - bg: Bulgarian
+ - bs: Bosnian
+ - ca: Catalan
+ - cs: Czech
+ - cy: Welsh
+ - da: Danish
+ - de: German
+ - el: Greek
+ - en: English (default)
+ - es: Spanish
+ - et: Estonian
+ - fa: Persian
+ - fi: Finnish
+ - fr: French
+ - gl: Galician
+ - he: Hebrew
+ - hi: Hindi
+ - hr: Croatian
+ - hu: Hungarian
+ - hy: Armenian
+ - id: Indonesian
+ - is: Icelandic
+ - it: Italian
+ - ja: Japanese
+ - kk: Kazakh
+ - kn: Kannada
+ - ko: Korean
+ - lt: Lithuanian
+ - lv: Latvian
+ - mi: Maori
+ - mk: Macedonian
+ - mr: Marathi
+ - ms: Malay
+ - ne: Nepali
+ - nl: Dutch
+ - no: Norwegian
+ - pl: Polish
+ - pt: Portuguese
+ - ro: Romanian
+ - ru: Russian
+ - sk: Slovak
+ - sl: Slovenian
+ - sr: Serbian
+ - sv: Swedish
+ - sw: Swahili
+ - ta: Tamil
+ - th: Thai
+ - tl: Tagalog
+ - tr: Turkish
+ - uk: Ukrainian
+ - ur: Urdu
+ - vi: Vietnamese
+ - zh: Chinese
+
+ Allowed values for this property are: "en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT", "af", "ar", "az", "be", "bg", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "es", "et", "fa", "fi", "fr", "gl", "he", "hi", "hr", "hu", "hy", "id", "is", "it", "ja", "kk", "kn", "ko", "lt", "lv", "mi", "mk", "mr", "ms", "ne", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "sw", "ta", "th", "tl", "tr", "uk", "ur", "vi", "zh", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -156,8 +480,8 @@ def language_code(self):
def language_code(self, language_code):
"""
Sets the language_code of this TranscriptionModelDetails.
- Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646].
- - en-US: English - United States
+ Oracle supported language codes are (Oracle models are locale specific).
+ - en-US: English - United States (default)
- es-ES: Spanish - Spain
- pt-BR: Portuguese - Brazil
- en-GB: English - Great Britain
@@ -168,11 +492,70 @@ def language_code(self, language_code):
- de-DE: German - Germany
- it-IT: Italian - Italy
+ Whisper supported language codes are (Whisper models are locale agnostic).
+ - af: Afrikaans
+ - ar: Arabic
+ - az: Azerbaijani
+ - be: Belarusian
+ - bg: Bulgarian
+ - bs: Bosnian
+ - ca: Catalan
+ - cs: Czech
+ - cy: Welsh
+ - da: Danish
+ - de: German
+ - el: Greek
+ - en: English (default)
+ - es: Spanish
+ - et: Estonian
+ - fa: Persian
+ - fi: Finnish
+ - fr: French
+ - gl: Galician
+ - he: Hebrew
+ - hi: Hindi
+ - hr: Croatian
+ - hu: Hungarian
+ - hy: Armenian
+ - id: Indonesian
+ - is: Icelandic
+ - it: Italian
+ - ja: Japanese
+ - kk: Kazakh
+ - kn: Kannada
+ - ko: Korean
+ - lt: Lithuanian
+ - lv: Latvian
+ - mi: Maori
+ - mk: Macedonian
+ - mr: Marathi
+ - ms: Malay
+ - ne: Nepali
+ - nl: Dutch
+ - no: Norwegian
+ - pl: Polish
+ - pt: Portuguese
+ - ro: Romanian
+ - ru: Russian
+ - sk: Slovak
+ - sl: Slovenian
+ - sr: Serbian
+ - sv: Swedish
+ - sw: Swahili
+ - ta: Tamil
+ - th: Thai
+ - tl: Tagalog
+ - tr: Turkish
+ - uk: Ukrainian
+ - ur: Urdu
+ - vi: Vietnamese
+ - zh: Chinese
+
:param language_code: The language_code of this TranscriptionModelDetails.
:type: str
"""
- allowed_values = ["en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT"]
+ allowed_values = ["en-US", "es-ES", "pt-BR", "en-GB", "en-AU", "en-IN", "hi-IN", "fr-FR", "de-DE", "it-IT", "af", "ar", "az", "be", "bg", "bs", "ca", "cs", "cy", "da", "de", "el", "en", "es", "et", "fa", "fi", "fr", "gl", "he", "hi", "hr", "hu", "hy", "id", "is", "it", "ja", "kk", "kn", "ko", "lt", "lv", "mi", "mk", "mr", "ms", "ne", "nl", "no", "pl", "pt", "ro", "ru", "sk", "sl", "sr", "sv", "sw", "ta", "th", "tl", "tr", "uk", "ur", "vi", "zh"]
if not value_allowed_none_or_none_sentinel(language_code, allowed_values):
language_code = 'UNKNOWN_ENUM_VALUE'
self._language_code = language_code
diff --git a/src/oci/container_instances/container_instance_client.py b/src/oci/container_instances/container_instance_client.py
index e3d0ac1cd5..4da8f6c367 100644
--- a/src/oci/container_instances/container_instance_client.py
+++ b/src/oci/container_instances/container_instance_client.py
@@ -1749,7 +1749,7 @@ def restart_container_instance(self, container_instance_id, **kwargs):
def retrieve_logs(self, container_id, **kwargs):
"""
- Retrieves recent logs from the specified container. The most recent 256 KB of logs are returned.
+ Returns the most recent 256 KB of logs from the specified container.
:param str container_id: (required)
@@ -1761,8 +1761,8 @@ def retrieve_logs(self, container_id, **kwargs):
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
:param bool is_previous: (optional)
- Returns the logs for the previous run of the container in a pod if the pod exists.
- If the container fails for some reason, this parameter is useful to determine the root cause of the failure.
+ Returns the logs for the previous run of the container in a pod.
+ If the container fails, this parameter can help you to determine the root cause of the failure.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
diff --git a/src/oci/container_instances/models/__init__.py b/src/oci/container_instances/models/__init__.py
index 8fb4c8094f..843b290bb8 100644
--- a/src/oci/container_instances/models/__init__.py
+++ b/src/oci/container_instances/models/__init__.py
@@ -9,6 +9,7 @@
from .basic_image_pull_secret import BasicImagePullSecret
from .change_container_instance_compartment_details import ChangeContainerInstanceCompartmentDetails
from .container import Container
+from .container_capabilities import ContainerCapabilities
from .container_collection import ContainerCollection
from .container_command_health_check import ContainerCommandHealthCheck
from .container_config_file import ContainerConfigFile
@@ -73,6 +74,7 @@
"BasicImagePullSecret": BasicImagePullSecret,
"ChangeContainerInstanceCompartmentDetails": ChangeContainerInstanceCompartmentDetails,
"Container": Container,
+ "ContainerCapabilities": ContainerCapabilities,
"ContainerCollection": ContainerCollection,
"ContainerCommandHealthCheck": ContainerCommandHealthCheck,
"ContainerConfigFile": ContainerConfigFile,
diff --git a/src/oci/container_instances/models/container_capabilities.py b/src/oci/container_instances/models/container_capabilities.py
new file mode 100644
index 0000000000..476fea7b3b
--- /dev/null
+++ b/src/oci/container_instances/models/container_capabilities.py
@@ -0,0 +1,239 @@
+# coding: utf-8
+# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+# 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.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class ContainerCapabilities(object):
+ """
+ Linux Container capabilities to configure capabilities of container.
+ """
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_CHOWN"
+ ADD_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_DAC_OVERRIDE"
+ ADD_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_FSETID"
+ ADD_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_FOWNER"
+ ADD_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_MKNOD"
+ ADD_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_NET_RAW"
+ ADD_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETGID"
+ ADD_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETUID"
+ ADD_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETFCAP"
+ ADD_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETPCAP"
+ ADD_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_NET_BIND_SERVICE"
+ ADD_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SYS_CHROOT"
+ ADD_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_KILL"
+ ADD_CAPABILITIES_CAP_KILL = "CAP_KILL"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_AUDIT_WRITE"
+ ADD_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
+
+ #: A constant which can be used with the add_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "ALL"
+ ADD_CAPABILITIES_ALL = "ALL"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_CHOWN"
+ DROP_CAPABILITIES_CAP_CHOWN = "CAP_CHOWN"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_DAC_OVERRIDE"
+ DROP_CAPABILITIES_CAP_DAC_OVERRIDE = "CAP_DAC_OVERRIDE"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_FSETID"
+ DROP_CAPABILITIES_CAP_FSETID = "CAP_FSETID"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_FOWNER"
+ DROP_CAPABILITIES_CAP_FOWNER = "CAP_FOWNER"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_MKNOD"
+ DROP_CAPABILITIES_CAP_MKNOD = "CAP_MKNOD"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_NET_RAW"
+ DROP_CAPABILITIES_CAP_NET_RAW = "CAP_NET_RAW"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETGID"
+ DROP_CAPABILITIES_CAP_SETGID = "CAP_SETGID"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETUID"
+ DROP_CAPABILITIES_CAP_SETUID = "CAP_SETUID"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETFCAP"
+ DROP_CAPABILITIES_CAP_SETFCAP = "CAP_SETFCAP"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SETPCAP"
+ DROP_CAPABILITIES_CAP_SETPCAP = "CAP_SETPCAP"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_NET_BIND_SERVICE"
+ DROP_CAPABILITIES_CAP_NET_BIND_SERVICE = "CAP_NET_BIND_SERVICE"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_SYS_CHROOT"
+ DROP_CAPABILITIES_CAP_SYS_CHROOT = "CAP_SYS_CHROOT"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_KILL"
+ DROP_CAPABILITIES_CAP_KILL = "CAP_KILL"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "CAP_AUDIT_WRITE"
+ DROP_CAPABILITIES_CAP_AUDIT_WRITE = "CAP_AUDIT_WRITE"
+
+ #: A constant which can be used with the drop_capabilities property of a ContainerCapabilities.
+ #: This constant has a value of "ALL"
+ DROP_CAPABILITIES_ALL = "ALL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ContainerCapabilities object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param add_capabilities:
+ The value to assign to the add_capabilities property of this ContainerCapabilities.
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type add_capabilities: list[str]
+
+ :param drop_capabilities:
+ The value to assign to the drop_capabilities property of this ContainerCapabilities.
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type drop_capabilities: list[str]
+
+ """
+ self.swagger_types = {
+ 'add_capabilities': 'list[str]',
+ 'drop_capabilities': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'add_capabilities': 'addCapabilities',
+ 'drop_capabilities': 'dropCapabilities'
+ }
+
+ self._add_capabilities = None
+ self._drop_capabilities = None
+
+ @property
+ def add_capabilities(self):
+ """
+ Gets the add_capabilities of this ContainerCapabilities.
+ A list of additional configurable container capabilities.
+
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The add_capabilities of this ContainerCapabilities.
+ :rtype: list[str]
+ """
+ return self._add_capabilities
+
+ @add_capabilities.setter
+ def add_capabilities(self, add_capabilities):
+ """
+ Sets the add_capabilities of this ContainerCapabilities.
+ A list of additional configurable container capabilities.
+
+
+ :param add_capabilities: The add_capabilities of this ContainerCapabilities.
+ :type: list[str]
+ """
+ allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
+ if add_capabilities:
+ add_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in add_capabilities]
+ self._add_capabilities = add_capabilities
+
+ @property
+ def drop_capabilities(self):
+ """
+ Gets the drop_capabilities of this ContainerCapabilities.
+ A list of container capabilities that can be dropped.
+
+ Allowed values for items in this list are: "CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The drop_capabilities of this ContainerCapabilities.
+ :rtype: list[str]
+ """
+ return self._drop_capabilities
+
+ @drop_capabilities.setter
+ def drop_capabilities(self, drop_capabilities):
+ """
+ Sets the drop_capabilities of this ContainerCapabilities.
+ A list of container capabilities that can be dropped.
+
+
+ :param drop_capabilities: The drop_capabilities of this ContainerCapabilities.
+ :type: list[str]
+ """
+ allowed_values = ["CAP_CHOWN", "CAP_DAC_OVERRIDE", "CAP_FSETID", "CAP_FOWNER", "CAP_MKNOD", "CAP_NET_RAW", "CAP_SETGID", "CAP_SETUID", "CAP_SETFCAP", "CAP_SETPCAP", "CAP_NET_BIND_SERVICE", "CAP_SYS_CHROOT", "CAP_KILL", "CAP_AUDIT_WRITE", "ALL"]
+ if drop_capabilities:
+ drop_capabilities[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in drop_capabilities]
+ self._drop_capabilities = drop_capabilities
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/create_linux_security_context_details.py b/src/oci/container_instances/models/create_linux_security_context_details.py
index 11ef8eb72c..4b63a940f9 100644
--- a/src/oci/container_instances/models/create_linux_security_context_details.py
+++ b/src/oci/container_instances/models/create_linux_security_context_details.py
@@ -41,13 +41,18 @@ def __init__(self, **kwargs):
The value to assign to the is_root_file_system_readonly property of this CreateLinuxSecurityContextDetails.
:type is_root_file_system_readonly: bool
+ :param capabilities:
+ The value to assign to the capabilities property of this CreateLinuxSecurityContextDetails.
+ :type capabilities: oci.container_instances.models.ContainerCapabilities
+
"""
self.swagger_types = {
'security_context_type': 'str',
'run_as_user': 'int',
'run_as_group': 'int',
'is_non_root_user_check_enabled': 'bool',
- 'is_root_file_system_readonly': 'bool'
+ 'is_root_file_system_readonly': 'bool',
+ 'capabilities': 'ContainerCapabilities'
}
self.attribute_map = {
@@ -55,7 +60,8 @@ def __init__(self, **kwargs):
'run_as_user': 'runAsUser',
'run_as_group': 'runAsGroup',
'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
- 'is_root_file_system_readonly': 'isRootFileSystemReadonly'
+ 'is_root_file_system_readonly': 'isRootFileSystemReadonly',
+ 'capabilities': 'capabilities'
}
self._security_context_type = None
@@ -63,6 +69,7 @@ def __init__(self, **kwargs):
self._run_as_group = None
self._is_non_root_user_check_enabled = None
self._is_root_file_system_readonly = None
+ self._capabilities = None
self._security_context_type = 'LINUX'
@property
@@ -161,6 +168,26 @@ def is_root_file_system_readonly(self, is_root_file_system_readonly):
"""
self._is_root_file_system_readonly = is_root_file_system_readonly
+ @property
+ def capabilities(self):
+ """
+ Gets the capabilities of this CreateLinuxSecurityContextDetails.
+
+ :return: The capabilities of this CreateLinuxSecurityContextDetails.
+ :rtype: oci.container_instances.models.ContainerCapabilities
+ """
+ return self._capabilities
+
+ @capabilities.setter
+ def capabilities(self, capabilities):
+ """
+ Sets the capabilities of this CreateLinuxSecurityContextDetails.
+
+ :param capabilities: The capabilities of this CreateLinuxSecurityContextDetails.
+ :type: oci.container_instances.models.ContainerCapabilities
+ """
+ self._capabilities = capabilities
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_instances/models/linux_security_context.py b/src/oci/container_instances/models/linux_security_context.py
index 87e530bbc0..177d5bb58b 100644
--- a/src/oci/container_instances/models/linux_security_context.py
+++ b/src/oci/container_instances/models/linux_security_context.py
@@ -42,13 +42,18 @@ def __init__(self, **kwargs):
The value to assign to the is_root_file_system_readonly property of this LinuxSecurityContext.
:type is_root_file_system_readonly: bool
+ :param capabilities:
+ The value to assign to the capabilities property of this LinuxSecurityContext.
+ :type capabilities: oci.container_instances.models.ContainerCapabilities
+
"""
self.swagger_types = {
'security_context_type': 'str',
'run_as_user': 'int',
'run_as_group': 'int',
'is_non_root_user_check_enabled': 'bool',
- 'is_root_file_system_readonly': 'bool'
+ 'is_root_file_system_readonly': 'bool',
+ 'capabilities': 'ContainerCapabilities'
}
self.attribute_map = {
@@ -56,7 +61,8 @@ def __init__(self, **kwargs):
'run_as_user': 'runAsUser',
'run_as_group': 'runAsGroup',
'is_non_root_user_check_enabled': 'isNonRootUserCheckEnabled',
- 'is_root_file_system_readonly': 'isRootFileSystemReadonly'
+ 'is_root_file_system_readonly': 'isRootFileSystemReadonly',
+ 'capabilities': 'capabilities'
}
self._security_context_type = None
@@ -64,6 +70,7 @@ def __init__(self, **kwargs):
self._run_as_group = None
self._is_non_root_user_check_enabled = None
self._is_root_file_system_readonly = None
+ self._capabilities = None
self._security_context_type = 'LINUX'
@property
@@ -162,6 +169,26 @@ def is_root_file_system_readonly(self, is_root_file_system_readonly):
"""
self._is_root_file_system_readonly = is_root_file_system_readonly
+ @property
+ def capabilities(self):
+ """
+ Gets the capabilities of this LinuxSecurityContext.
+
+ :return: The capabilities of this LinuxSecurityContext.
+ :rtype: oci.container_instances.models.ContainerCapabilities
+ """
+ return self._capabilities
+
+ @capabilities.setter
+ def capabilities(self, capabilities):
+ """
+ Sets the capabilities of this LinuxSecurityContext.
+
+ :param capabilities: The capabilities of this LinuxSecurityContext.
+ :type: oci.container_instances.models.ContainerCapabilities
+ """
+ self._capabilities = capabilities
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/emulated_volume_attachment.py b/src/oci/core/models/emulated_volume_attachment.py
index 87198c1f79..7e96efb7d1 100644
--- a/src/oci/core/models/emulated_volume_attachment.py
+++ b/src/oci/core/models/emulated_volume_attachment.py
@@ -83,6 +83,10 @@ def __init__(self, **kwargs):
Allowed values for this property are: "UNKNOWN", "LOGGING_IN", "LOGIN_SUCCEEDED", "LOGIN_FAILED", "LOGGING_OUT", "LOGOUT_SUCCEEDED", "LOGOUT_FAILED"
:type iscsi_login_state: str
+ :param is_volume_created_during_launch:
+ The value to assign to the is_volume_created_during_launch property of this EmulatedVolumeAttachment.
+ :type is_volume_created_during_launch: bool
+
"""
self.swagger_types = {
'attachment_type': 'str',
@@ -99,7 +103,8 @@ def __init__(self, **kwargs):
'volume_id': 'str',
'is_pv_encryption_in_transit_enabled': 'bool',
'is_multipath': 'bool',
- 'iscsi_login_state': 'str'
+ 'iscsi_login_state': 'str',
+ 'is_volume_created_during_launch': 'bool'
}
self.attribute_map = {
@@ -117,7 +122,8 @@ def __init__(self, **kwargs):
'volume_id': 'volumeId',
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
'is_multipath': 'isMultipath',
- 'iscsi_login_state': 'iscsiLoginState'
+ 'iscsi_login_state': 'iscsiLoginState',
+ 'is_volume_created_during_launch': 'isVolumeCreatedDuringLaunch'
}
self._attachment_type = None
@@ -135,6 +141,7 @@ def __init__(self, **kwargs):
self._is_pv_encryption_in_transit_enabled = None
self._is_multipath = None
self._iscsi_login_state = None
+ self._is_volume_created_during_launch = None
self._attachment_type = 'emulated'
def __repr__(self):
diff --git a/src/oci/core/models/i_scsi_volume_attachment.py b/src/oci/core/models/i_scsi_volume_attachment.py
index 6cce382b85..6f6919a040 100644
--- a/src/oci/core/models/i_scsi_volume_attachment.py
+++ b/src/oci/core/models/i_scsi_volume_attachment.py
@@ -93,6 +93,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type iscsi_login_state: str
+ :param is_volume_created_during_launch:
+ The value to assign to the is_volume_created_during_launch property of this IScsiVolumeAttachment.
+ :type is_volume_created_during_launch: bool
+
:param chap_secret:
The value to assign to the chap_secret property of this IScsiVolumeAttachment.
:type chap_secret: str
@@ -144,6 +148,7 @@ def __init__(self, **kwargs):
'is_pv_encryption_in_transit_enabled': 'bool',
'is_multipath': 'bool',
'iscsi_login_state': 'str',
+ 'is_volume_created_during_launch': 'bool',
'chap_secret': 'str',
'chap_username': 'str',
'ipv4': 'str',
@@ -170,6 +175,7 @@ def __init__(self, **kwargs):
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
'is_multipath': 'isMultipath',
'iscsi_login_state': 'iscsiLoginState',
+ 'is_volume_created_during_launch': 'isVolumeCreatedDuringLaunch',
'chap_secret': 'chapSecret',
'chap_username': 'chapUsername',
'ipv4': 'ipv4',
@@ -195,6 +201,7 @@ def __init__(self, **kwargs):
self._is_pv_encryption_in_transit_enabled = None
self._is_multipath = None
self._iscsi_login_state = None
+ self._is_volume_created_during_launch = None
self._chap_secret = None
self._chap_username = None
self._ipv4 = None
diff --git a/src/oci/core/models/paravirtualized_volume_attachment.py b/src/oci/core/models/paravirtualized_volume_attachment.py
index d745760058..0605f0d089 100644
--- a/src/oci/core/models/paravirtualized_volume_attachment.py
+++ b/src/oci/core/models/paravirtualized_volume_attachment.py
@@ -83,6 +83,10 @@ def __init__(self, **kwargs):
Allowed values for this property are: "UNKNOWN", "LOGGING_IN", "LOGIN_SUCCEEDED", "LOGIN_FAILED", "LOGGING_OUT", "LOGOUT_SUCCEEDED", "LOGOUT_FAILED"
:type iscsi_login_state: str
+ :param is_volume_created_during_launch:
+ The value to assign to the is_volume_created_during_launch property of this ParavirtualizedVolumeAttachment.
+ :type is_volume_created_during_launch: bool
+
"""
self.swagger_types = {
'attachment_type': 'str',
@@ -99,7 +103,8 @@ def __init__(self, **kwargs):
'volume_id': 'str',
'is_pv_encryption_in_transit_enabled': 'bool',
'is_multipath': 'bool',
- 'iscsi_login_state': 'str'
+ 'iscsi_login_state': 'str',
+ 'is_volume_created_during_launch': 'bool'
}
self.attribute_map = {
@@ -117,7 +122,8 @@ def __init__(self, **kwargs):
'volume_id': 'volumeId',
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
'is_multipath': 'isMultipath',
- 'iscsi_login_state': 'iscsiLoginState'
+ 'iscsi_login_state': 'iscsiLoginState',
+ 'is_volume_created_during_launch': 'isVolumeCreatedDuringLaunch'
}
self._attachment_type = None
@@ -135,6 +141,7 @@ def __init__(self, **kwargs):
self._is_pv_encryption_in_transit_enabled = None
self._is_multipath = None
self._iscsi_login_state = None
+ self._is_volume_created_during_launch = None
self._attachment_type = 'paravirtualized'
def __repr__(self):
diff --git a/src/oci/core/models/volume_attachment.py b/src/oci/core/models/volume_attachment.py
index 2e00a755ae..38cfe7b693 100644
--- a/src/oci/core/models/volume_attachment.py
+++ b/src/oci/core/models/volume_attachment.py
@@ -144,6 +144,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type iscsi_login_state: str
+ :param is_volume_created_during_launch:
+ The value to assign to the is_volume_created_during_launch property of this VolumeAttachment.
+ :type is_volume_created_during_launch: bool
+
"""
self.swagger_types = {
'attachment_type': 'str',
@@ -160,7 +164,8 @@ def __init__(self, **kwargs):
'volume_id': 'str',
'is_pv_encryption_in_transit_enabled': 'bool',
'is_multipath': 'bool',
- 'iscsi_login_state': 'str'
+ 'iscsi_login_state': 'str',
+ 'is_volume_created_during_launch': 'bool'
}
self.attribute_map = {
@@ -178,7 +183,8 @@ def __init__(self, **kwargs):
'volume_id': 'volumeId',
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
'is_multipath': 'isMultipath',
- 'iscsi_login_state': 'iscsiLoginState'
+ 'iscsi_login_state': 'iscsiLoginState',
+ 'is_volume_created_during_launch': 'isVolumeCreatedDuringLaunch'
}
self._attachment_type = None
@@ -196,6 +202,7 @@ def __init__(self, **kwargs):
self._is_pv_encryption_in_transit_enabled = None
self._is_multipath = None
self._iscsi_login_state = None
+ self._is_volume_created_during_launch = None
@staticmethod
def get_subtype(object_dictionary):
@@ -610,6 +617,32 @@ def iscsi_login_state(self, iscsi_login_state):
iscsi_login_state = 'UNKNOWN_ENUM_VALUE'
self._iscsi_login_state = iscsi_login_state
+ @property
+ def is_volume_created_during_launch(self):
+ """
+ Gets the is_volume_created_during_launch of this VolumeAttachment.
+ Flag indicating if this volume was created for the customer as part of a simplified launch.
+ Used to determine whether the volume requires deletion on instance termination.
+
+
+ :return: The is_volume_created_during_launch of this VolumeAttachment.
+ :rtype: bool
+ """
+ return self._is_volume_created_during_launch
+
+ @is_volume_created_during_launch.setter
+ def is_volume_created_during_launch(self, is_volume_created_during_launch):
+ """
+ Sets the is_volume_created_during_launch of this VolumeAttachment.
+ Flag indicating if this volume was created for the customer as part of a simplified launch.
+ Used to determine whether the volume requires deletion on instance termination.
+
+
+ :param is_volume_created_during_launch: The is_volume_created_during_launch of this VolumeAttachment.
+ :type: bool
+ """
+ self._is_volume_created_during_launch = is_volume_created_during_launch
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/desktops/desktop_service_client.py b/src/oci/desktops/desktop_service_client.py
index bc451a8c53..312fa5dfa4 100644
--- a/src/oci/desktops/desktop_service_client.py
+++ b/src/oci/desktops/desktop_service_client.py
@@ -153,7 +153,7 @@ def cancel_work_request(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}"
method = "DELETE"
operation_name = "cancel_work_request"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/WorkRequest/CancelWorkRequest"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -260,7 +260,7 @@ def change_desktop_pool_compartment(self, desktop_pool_id, change_desktop_pool_c
resource_path = "/desktopPools/{desktopPoolId}/actions/changeCompartment"
method = "POST"
operation_name = "change_desktop_pool_compartment"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/ChangeDesktopPoolCompartment"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -366,7 +366,7 @@ def create_desktop_pool(self, create_desktop_pool_details, **kwargs):
resource_path = "/desktopPools"
method = "POST"
operation_name = "create_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/CreateDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -460,7 +460,7 @@ def delete_desktop(self, desktop_id, **kwargs):
resource_path = "/desktops/{desktopId}"
method = "DELETE"
operation_name = "delete_desktop"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/DeleteDesktop"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -564,7 +564,7 @@ def delete_desktop_pool(self, desktop_pool_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}"
method = "DELETE"
operation_name = "delete_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/DeleteDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -670,7 +670,7 @@ def get_desktop(self, desktop_id, **kwargs):
resource_path = "/desktops/{desktopId}"
method = "GET"
operation_name = "get_desktop"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/GetDesktop"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -768,7 +768,7 @@ def get_desktop_pool(self, desktop_pool_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}"
method = "GET"
operation_name = "get_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/GetDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -866,7 +866,7 @@ def get_work_request(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}"
method = "GET"
operation_name = "get_work_request"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/WorkRequest/GetWorkRequest"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -995,7 +995,7 @@ def list_desktop_pool_desktops(self, compartment_id, desktop_pool_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}/desktops"
method = "GET"
operation_name = "list_desktop_pool_desktops"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/ListDesktopPoolDesktops"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1161,7 +1161,7 @@ def list_desktop_pool_volumes(self, desktop_pool_id, compartment_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}/volumes"
method = "GET"
operation_name = "list_desktop_pool_volumes"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/ListDesktopPoolVolumes"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1324,7 +1324,7 @@ def list_desktop_pools(self, compartment_id, **kwargs):
resource_path = "/desktopPools"
method = "GET"
operation_name = "list_desktop_pools"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/ListDesktopPools"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1478,7 +1478,7 @@ def list_desktops(self, compartment_id, **kwargs):
resource_path = "/desktops"
method = "GET"
operation_name = "list_desktops"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/ListDesktops"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1619,7 +1619,7 @@ def list_work_request_errors(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}/errors"
method = "GET"
operation_name = "list_work_request_errors"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/WorkRequestError/ListWorkRequestErrors"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1761,7 +1761,7 @@ def list_work_request_logs(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}/logs"
method = "GET"
operation_name = "list_work_request_logs"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/WorkRequestLogEntry/ListWorkRequestLogs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1914,7 +1914,7 @@ def list_work_requests(self, compartment_id, **kwargs):
resource_path = "/workRequests"
method = "GET"
operation_name = "list_work_requests"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/WorkRequest/ListWorkRequests"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2048,7 +2048,7 @@ def start_desktop(self, desktop_id, **kwargs):
resource_path = "/desktops/{desktopId}/actions/start"
method = "POST"
operation_name = "start_desktop"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/StartDesktop"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2155,7 +2155,7 @@ def start_desktop_pool(self, desktop_pool_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}/actions/start"
method = "POST"
operation_name = "start_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/StartDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2262,7 +2262,7 @@ def stop_desktop(self, desktop_id, **kwargs):
resource_path = "/desktops/{desktopId}/actions/stop"
method = "POST"
operation_name = "stop_desktop"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/StopDesktop"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2369,7 +2369,7 @@ def stop_desktop_pool(self, desktop_pool_id, **kwargs):
resource_path = "/desktopPools/{desktopPoolId}/actions/stop"
method = "POST"
operation_name = "stop_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/StopDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2476,7 +2476,7 @@ def update_desktop(self, desktop_id, update_desktop_details, **kwargs):
resource_path = "/desktops/{desktopId}"
method = "PUT"
operation_name = "update_desktop"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/Desktop/UpdateDesktop"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -2582,7 +2582,7 @@ def update_desktop_pool(self, desktop_pool_id, update_desktop_pool_details, **kw
resource_path = "/desktopPools/{desktopPoolId}"
method = "PUT"
operation_name = "update_desktop_pool"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/secure-desktops/20220618/DesktopPool/UpdateDesktopPool"
# Don't accept unknown kwargs
expected_kwargs = [
diff --git a/src/oci/opsi/models/__init__.py b/src/oci/opsi/models/__init__.py
index 89bbeb2aaa..117a8f63e6 100644
--- a/src/oci/opsi/models/__init__.py
+++ b/src/oci/opsi/models/__init__.py
@@ -431,6 +431,7 @@
from .update_opsi_ux_configuration_details import UpdateOpsiUxConfigurationDetails
from .update_pe_comanaged_database_insight_details import UpdatePeComanagedDatabaseInsightDetails
from .update_pe_comanaged_exadata_insight_details import UpdatePeComanagedExadataInsightDetails
+from .update_pe_comanaged_host_insight_details import UpdatePeComanagedHostInsightDetails
from .ux_configuration_items_collection import UxConfigurationItemsCollection
from .vm_cluster_summary import VmClusterSummary
from .warehouse_data_object_collection import WarehouseDataObjectCollection
@@ -874,6 +875,7 @@
"UpdateOpsiUxConfigurationDetails": UpdateOpsiUxConfigurationDetails,
"UpdatePeComanagedDatabaseInsightDetails": UpdatePeComanagedDatabaseInsightDetails,
"UpdatePeComanagedExadataInsightDetails": UpdatePeComanagedExadataInsightDetails,
+ "UpdatePeComanagedHostInsightDetails": UpdatePeComanagedHostInsightDetails,
"UxConfigurationItemsCollection": UxConfigurationItemsCollection,
"VmClusterSummary": VmClusterSummary,
"WarehouseDataObjectCollection": WarehouseDataObjectCollection,
diff --git a/src/oci/opsi/models/create_news_report_details.py b/src/oci/opsi/models/create_news_report_details.py
index 061227a14d..c69e847e06 100644
--- a/src/oci/opsi/models/create_news_report_details.py
+++ b/src/oci/opsi/models/create_news_report_details.py
@@ -35,6 +35,34 @@ class CreateNewsReportDetails(object):
#: This constant has a value of "TERMINATED"
STATUS_TERMINATED = "TERMINATED"
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "MONDAY"
+ DAY_OF_WEEK_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "TUESDAY"
+ DAY_OF_WEEK_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "WEDNESDAY"
+ DAY_OF_WEEK_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "THURSDAY"
+ DAY_OF_WEEK_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "FRIDAY"
+ DAY_OF_WEEK_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ #: A constant which can be used with the day_of_week property of a CreateNewsReportDetails.
+ #: This constant has a value of "SUNDAY"
+ DAY_OF_WEEK_SUNDAY = "SUNDAY"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateNewsReportDetails object with values from keyword arguments.
@@ -83,6 +111,15 @@ def __init__(self, **kwargs):
Allowed values for this property are: "DISABLED", "ENABLED", "TERMINATED"
:type status: str
+ :param day_of_week:
+ The value to assign to the day_of_week property of this CreateNewsReportDetails.
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
+ :type day_of_week: str
+
+ :param are_child_compartments_included:
+ The value to assign to the are_child_compartments_included property of this CreateNewsReportDetails.
+ :type are_child_compartments_included: bool
+
"""
self.swagger_types = {
'name': 'str',
@@ -94,7 +131,9 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'content_types': 'NewsContentTypes',
'locale': 'str',
- 'status': 'str'
+ 'status': 'str',
+ 'day_of_week': 'str',
+ 'are_child_compartments_included': 'bool'
}
self.attribute_map = {
@@ -107,7 +146,9 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'content_types': 'contentTypes',
'locale': 'locale',
- 'status': 'status'
+ 'status': 'status',
+ 'day_of_week': 'dayOfWeek',
+ 'are_child_compartments_included': 'areChildCompartmentsIncluded'
}
self._name = None
@@ -120,6 +161,8 @@ def __init__(self, **kwargs):
self._content_types = None
self._locale = None
self._status = None
+ self._day_of_week = None
+ self._are_child_compartments_included = None
@property
def name(self):
@@ -386,6 +429,61 @@ def status(self, status):
)
self._status = status
+ @property
+ def day_of_week(self):
+ """
+ Gets the day_of_week of this CreateNewsReportDetails.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
+
+
+ :return: The day_of_week of this CreateNewsReportDetails.
+ :rtype: str
+ """
+ return self._day_of_week
+
+ @day_of_week.setter
+ def day_of_week(self, day_of_week):
+ """
+ Sets the day_of_week of this CreateNewsReportDetails.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+
+ :param day_of_week: The day_of_week of this CreateNewsReportDetails.
+ :type: str
+ """
+ allowed_values = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
+ if not value_allowed_none_or_none_sentinel(day_of_week, allowed_values):
+ raise ValueError(
+ f"Invalid value for `day_of_week`, must be None or one of {allowed_values}"
+ )
+ self._day_of_week = day_of_week
+
+ @property
+ def are_child_compartments_included(self):
+ """
+ Gets the are_child_compartments_included of this CreateNewsReportDetails.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :return: The are_child_compartments_included of this CreateNewsReportDetails.
+ :rtype: bool
+ """
+ return self._are_child_compartments_included
+
+ @are_child_compartments_included.setter
+ def are_child_compartments_included(self, are_child_compartments_included):
+ """
+ Sets the are_child_compartments_included of this CreateNewsReportDetails.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :param are_child_compartments_included: The are_child_compartments_included of this CreateNewsReportDetails.
+ :type: bool
+ """
+ self._are_child_compartments_included = are_child_compartments_included
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/opsi/models/news_content_types.py b/src/oci/opsi/models/news_content_types.py
index 21583e8571..76da86c592 100644
--- a/src/oci/opsi/models/news_content_types.py
+++ b/src/oci/opsi/models/news_content_types.py
@@ -24,21 +24,63 @@ def __init__(self, **kwargs):
The value to assign to the capacity_planning_resources property of this NewsContentTypes.
:type capacity_planning_resources: list[oci.opsi.models.NewsContentTypesResource]
+ :param sql_insights_fleet_analysis_resources:
+ The value to assign to the sql_insights_fleet_analysis_resources property of this NewsContentTypes.
+ :type sql_insights_fleet_analysis_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
+ :param sql_insights_plan_changes_resources:
+ The value to assign to the sql_insights_plan_changes_resources property of this NewsContentTypes.
+ :type sql_insights_plan_changes_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
+ :param sql_insights_top_databases_resources:
+ The value to assign to the sql_insights_top_databases_resources property of this NewsContentTypes.
+ :type sql_insights_top_databases_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
+ :param sql_insights_top_sql_by_insights_resources:
+ The value to assign to the sql_insights_top_sql_by_insights_resources property of this NewsContentTypes.
+ :type sql_insights_top_sql_by_insights_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
+ :param sql_insights_top_sql_resources:
+ The value to assign to the sql_insights_top_sql_resources property of this NewsContentTypes.
+ :type sql_insights_top_sql_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
+ :param sql_insights_performance_degradation_resources:
+ The value to assign to the sql_insights_performance_degradation_resources property of this NewsContentTypes.
+ :type sql_insights_performance_degradation_resources: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+
"""
self.swagger_types = {
- 'capacity_planning_resources': 'list[NewsContentTypesResource]'
+ 'capacity_planning_resources': 'list[NewsContentTypesResource]',
+ 'sql_insights_fleet_analysis_resources': 'list[NewsSqlInsightsContentTypesResource]',
+ 'sql_insights_plan_changes_resources': 'list[NewsSqlInsightsContentTypesResource]',
+ 'sql_insights_top_databases_resources': 'list[NewsSqlInsightsContentTypesResource]',
+ 'sql_insights_top_sql_by_insights_resources': 'list[NewsSqlInsightsContentTypesResource]',
+ 'sql_insights_top_sql_resources': 'list[NewsSqlInsightsContentTypesResource]',
+ 'sql_insights_performance_degradation_resources': 'list[NewsSqlInsightsContentTypesResource]'
}
self.attribute_map = {
- 'capacity_planning_resources': 'capacityPlanningResources'
+ 'capacity_planning_resources': 'capacityPlanningResources',
+ 'sql_insights_fleet_analysis_resources': 'sqlInsightsFleetAnalysisResources',
+ 'sql_insights_plan_changes_resources': 'sqlInsightsPlanChangesResources',
+ 'sql_insights_top_databases_resources': 'sqlInsightsTopDatabasesResources',
+ 'sql_insights_top_sql_by_insights_resources': 'sqlInsightsTopSqlByInsightsResources',
+ 'sql_insights_top_sql_resources': 'sqlInsightsTopSqlResources',
+ 'sql_insights_performance_degradation_resources': 'sqlInsightsPerformanceDegradationResources'
}
self._capacity_planning_resources = None
+ self._sql_insights_fleet_analysis_resources = None
+ self._sql_insights_plan_changes_resources = None
+ self._sql_insights_top_databases_resources = None
+ self._sql_insights_top_sql_by_insights_resources = None
+ self._sql_insights_top_sql_resources = None
+ self._sql_insights_performance_degradation_resources = None
@property
def capacity_planning_resources(self):
"""
- **[Required]** Gets the capacity_planning_resources of this NewsContentTypes.
+ Gets the capacity_planning_resources of this NewsContentTypes.
Supported resources for capacity planning content type.
@@ -59,6 +101,150 @@ def capacity_planning_resources(self, capacity_planning_resources):
"""
self._capacity_planning_resources = capacity_planning_resources
+ @property
+ def sql_insights_fleet_analysis_resources(self):
+ """
+ Gets the sql_insights_fleet_analysis_resources of this NewsContentTypes.
+ Supported resources for SQL insights - fleet analysis content type.
+
+
+ :return: The sql_insights_fleet_analysis_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_fleet_analysis_resources
+
+ @sql_insights_fleet_analysis_resources.setter
+ def sql_insights_fleet_analysis_resources(self, sql_insights_fleet_analysis_resources):
+ """
+ Sets the sql_insights_fleet_analysis_resources of this NewsContentTypes.
+ Supported resources for SQL insights - fleet analysis content type.
+
+
+ :param sql_insights_fleet_analysis_resources: The sql_insights_fleet_analysis_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_fleet_analysis_resources = sql_insights_fleet_analysis_resources
+
+ @property
+ def sql_insights_plan_changes_resources(self):
+ """
+ Gets the sql_insights_plan_changes_resources of this NewsContentTypes.
+ Supported resources for SQL insights - plan changes content type.
+
+
+ :return: The sql_insights_plan_changes_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_plan_changes_resources
+
+ @sql_insights_plan_changes_resources.setter
+ def sql_insights_plan_changes_resources(self, sql_insights_plan_changes_resources):
+ """
+ Sets the sql_insights_plan_changes_resources of this NewsContentTypes.
+ Supported resources for SQL insights - plan changes content type.
+
+
+ :param sql_insights_plan_changes_resources: The sql_insights_plan_changes_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_plan_changes_resources = sql_insights_plan_changes_resources
+
+ @property
+ def sql_insights_top_databases_resources(self):
+ """
+ Gets the sql_insights_top_databases_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top databases content type.
+
+
+ :return: The sql_insights_top_databases_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_top_databases_resources
+
+ @sql_insights_top_databases_resources.setter
+ def sql_insights_top_databases_resources(self, sql_insights_top_databases_resources):
+ """
+ Sets the sql_insights_top_databases_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top databases content type.
+
+
+ :param sql_insights_top_databases_resources: The sql_insights_top_databases_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_top_databases_resources = sql_insights_top_databases_resources
+
+ @property
+ def sql_insights_top_sql_by_insights_resources(self):
+ """
+ Gets the sql_insights_top_sql_by_insights_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top SQL by insights content type.
+
+
+ :return: The sql_insights_top_sql_by_insights_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_top_sql_by_insights_resources
+
+ @sql_insights_top_sql_by_insights_resources.setter
+ def sql_insights_top_sql_by_insights_resources(self, sql_insights_top_sql_by_insights_resources):
+ """
+ Sets the sql_insights_top_sql_by_insights_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top SQL by insights content type.
+
+
+ :param sql_insights_top_sql_by_insights_resources: The sql_insights_top_sql_by_insights_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_top_sql_by_insights_resources = sql_insights_top_sql_by_insights_resources
+
+ @property
+ def sql_insights_top_sql_resources(self):
+ """
+ Gets the sql_insights_top_sql_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top SQL content type.
+
+
+ :return: The sql_insights_top_sql_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_top_sql_resources
+
+ @sql_insights_top_sql_resources.setter
+ def sql_insights_top_sql_resources(self, sql_insights_top_sql_resources):
+ """
+ Sets the sql_insights_top_sql_resources of this NewsContentTypes.
+ Supported resources for SQL insights - top SQL content type.
+
+
+ :param sql_insights_top_sql_resources: The sql_insights_top_sql_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_top_sql_resources = sql_insights_top_sql_resources
+
+ @property
+ def sql_insights_performance_degradation_resources(self):
+ """
+ Gets the sql_insights_performance_degradation_resources of this NewsContentTypes.
+ Supported resources for SQL insights - performance degradation content type.
+
+
+ :return: The sql_insights_performance_degradation_resources of this NewsContentTypes.
+ :rtype: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ return self._sql_insights_performance_degradation_resources
+
+ @sql_insights_performance_degradation_resources.setter
+ def sql_insights_performance_degradation_resources(self, sql_insights_performance_degradation_resources):
+ """
+ Sets the sql_insights_performance_degradation_resources of this NewsContentTypes.
+ Supported resources for SQL insights - performance degradation content type.
+
+
+ :param sql_insights_performance_degradation_resources: The sql_insights_performance_degradation_resources of this NewsContentTypes.
+ :type: list[oci.opsi.models.NewsSqlInsightsContentTypesResource]
+ """
+ self._sql_insights_performance_degradation_resources = sql_insights_performance_degradation_resources
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/opsi/models/news_report.py b/src/oci/opsi/models/news_report.py
index 7044ee451a..5da888963a 100644
--- a/src/oci/opsi/models/news_report.py
+++ b/src/oci/opsi/models/news_report.py
@@ -63,6 +63,34 @@ class NewsReport(object):
#: This constant has a value of "NEEDS_ATTENTION"
LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "MONDAY"
+ DAY_OF_WEEK_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "TUESDAY"
+ DAY_OF_WEEK_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "WEDNESDAY"
+ DAY_OF_WEEK_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "THURSDAY"
+ DAY_OF_WEEK_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "FRIDAY"
+ DAY_OF_WEEK_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReport.
+ #: This constant has a value of "SUNDAY"
+ DAY_OF_WEEK_SUNDAY = "SUNDAY"
+
def __init__(self, **kwargs):
"""
Initializes a new NewsReport object with values from keyword arguments.
@@ -140,6 +168,16 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this NewsReport.
:type lifecycle_details: str
+ :param day_of_week:
+ The value to assign to the day_of_week property of this NewsReport.
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type day_of_week: str
+
+ :param are_child_compartments_included:
+ The value to assign to the are_child_compartments_included property of this NewsReport.
+ :type are_child_compartments_included: bool
+
"""
self.swagger_types = {
'news_frequency': 'str',
@@ -157,7 +195,9 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'lifecycle_state': 'str',
- 'lifecycle_details': 'str'
+ 'lifecycle_details': 'str',
+ 'day_of_week': 'str',
+ 'are_child_compartments_included': 'bool'
}
self.attribute_map = {
@@ -176,7 +216,9 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'lifecycle_state': 'lifecycleState',
- 'lifecycle_details': 'lifecycleDetails'
+ 'lifecycle_details': 'lifecycleDetails',
+ 'day_of_week': 'dayOfWeek',
+ 'are_child_compartments_included': 'areChildCompartmentsIncluded'
}
self._news_frequency = None
@@ -195,6 +237,8 @@ def __init__(self, **kwargs):
self._time_updated = None
self._lifecycle_state = None
self._lifecycle_details = None
+ self._day_of_week = None
+ self._are_child_compartments_included = None
@property
def news_frequency(self):
@@ -618,6 +662,60 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def day_of_week(self):
+ """
+ Gets the day_of_week of this NewsReport.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The day_of_week of this NewsReport.
+ :rtype: str
+ """
+ return self._day_of_week
+
+ @day_of_week.setter
+ def day_of_week(self, day_of_week):
+ """
+ Sets the day_of_week of this NewsReport.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+
+ :param day_of_week: The day_of_week of this NewsReport.
+ :type: str
+ """
+ allowed_values = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
+ if not value_allowed_none_or_none_sentinel(day_of_week, allowed_values):
+ day_of_week = 'UNKNOWN_ENUM_VALUE'
+ self._day_of_week = day_of_week
+
+ @property
+ def are_child_compartments_included(self):
+ """
+ Gets the are_child_compartments_included of this NewsReport.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :return: The are_child_compartments_included of this NewsReport.
+ :rtype: bool
+ """
+ return self._are_child_compartments_included
+
+ @are_child_compartments_included.setter
+ def are_child_compartments_included(self, are_child_compartments_included):
+ """
+ Sets the are_child_compartments_included of this NewsReport.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :param are_child_compartments_included: The are_child_compartments_included of this NewsReport.
+ :type: bool
+ """
+ self._are_child_compartments_included = are_child_compartments_included
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/opsi/models/news_report_summary.py b/src/oci/opsi/models/news_report_summary.py
index bdc074402f..2a34835add 100644
--- a/src/oci/opsi/models/news_report_summary.py
+++ b/src/oci/opsi/models/news_report_summary.py
@@ -63,6 +63,34 @@ class NewsReportSummary(object):
#: This constant has a value of "NEEDS_ATTENTION"
LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "MONDAY"
+ DAY_OF_WEEK_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "TUESDAY"
+ DAY_OF_WEEK_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "WEDNESDAY"
+ DAY_OF_WEEK_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "THURSDAY"
+ DAY_OF_WEEK_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "FRIDAY"
+ DAY_OF_WEEK_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ #: A constant which can be used with the day_of_week property of a NewsReportSummary.
+ #: This constant has a value of "SUNDAY"
+ DAY_OF_WEEK_SUNDAY = "SUNDAY"
+
def __init__(self, **kwargs):
"""
Initializes a new NewsReportSummary object with values from keyword arguments.
@@ -140,6 +168,16 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this NewsReportSummary.
:type lifecycle_details: str
+ :param day_of_week:
+ The value to assign to the day_of_week property of this NewsReportSummary.
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type day_of_week: str
+
+ :param are_child_compartments_included:
+ The value to assign to the are_child_compartments_included property of this NewsReportSummary.
+ :type are_child_compartments_included: bool
+
"""
self.swagger_types = {
'news_frequency': 'str',
@@ -157,7 +195,9 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'lifecycle_state': 'str',
- 'lifecycle_details': 'str'
+ 'lifecycle_details': 'str',
+ 'day_of_week': 'str',
+ 'are_child_compartments_included': 'bool'
}
self.attribute_map = {
@@ -176,7 +216,9 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'lifecycle_state': 'lifecycleState',
- 'lifecycle_details': 'lifecycleDetails'
+ 'lifecycle_details': 'lifecycleDetails',
+ 'day_of_week': 'dayOfWeek',
+ 'are_child_compartments_included': 'areChildCompartmentsIncluded'
}
self._news_frequency = None
@@ -195,6 +237,8 @@ def __init__(self, **kwargs):
self._time_updated = None
self._lifecycle_state = None
self._lifecycle_details = None
+ self._day_of_week = None
+ self._are_child_compartments_included = None
@property
def news_frequency(self):
@@ -618,6 +662,60 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def day_of_week(self):
+ """
+ Gets the day_of_week of this NewsReportSummary.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The day_of_week of this NewsReportSummary.
+ :rtype: str
+ """
+ return self._day_of_week
+
+ @day_of_week.setter
+ def day_of_week(self, day_of_week):
+ """
+ Sets the day_of_week of this NewsReportSummary.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+
+ :param day_of_week: The day_of_week of this NewsReportSummary.
+ :type: str
+ """
+ allowed_values = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
+ if not value_allowed_none_or_none_sentinel(day_of_week, allowed_values):
+ day_of_week = 'UNKNOWN_ENUM_VALUE'
+ self._day_of_week = day_of_week
+
+ @property
+ def are_child_compartments_included(self):
+ """
+ Gets the are_child_compartments_included of this NewsReportSummary.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :return: The are_child_compartments_included of this NewsReportSummary.
+ :rtype: bool
+ """
+ return self._are_child_compartments_included
+
+ @are_child_compartments_included.setter
+ def are_child_compartments_included(self, are_child_compartments_included):
+ """
+ Sets the are_child_compartments_included of this NewsReportSummary.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :param are_child_compartments_included: The are_child_compartments_included of this NewsReportSummary.
+ :type: bool
+ """
+ self._are_child_compartments_included = are_child_compartments_included
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/opsi/models/update_host_insight_details.py b/src/oci/opsi/models/update_host_insight_details.py
index 71a279c9ec..9aeff5e596 100644
--- a/src/oci/opsi/models/update_host_insight_details.py
+++ b/src/oci/opsi/models/update_host_insight_details.py
@@ -39,6 +39,7 @@ def __init__(self, **kwargs):
* :class:`~oci.opsi.models.UpdateEmManagedExternalHostInsightDetails`
* :class:`~oci.opsi.models.UpdateMacsManagedExternalHostInsightDetails`
* :class:`~oci.opsi.models.UpdateMacsManagedCloudHostInsightDetails`
+ * :class:`~oci.opsi.models.UpdatePeComanagedHostInsightDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -88,6 +89,9 @@ def get_subtype(object_dictionary):
if type == 'MACS_MANAGED_CLOUD_HOST':
return 'UpdateMacsManagedCloudHostInsightDetails'
+
+ if type == 'PE_COMANAGED_HOST':
+ return 'UpdatePeComanagedHostInsightDetails'
else:
return 'UpdateHostInsightDetails'
diff --git a/src/oci/opsi/models/update_news_report_details.py b/src/oci/opsi/models/update_news_report_details.py
index 1c8777e0d5..5114c63c15 100644
--- a/src/oci/opsi/models/update_news_report_details.py
+++ b/src/oci/opsi/models/update_news_report_details.py
@@ -35,6 +35,34 @@ class UpdateNewsReportDetails(object):
#: This constant has a value of "EN"
LOCALE_EN = "EN"
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "MONDAY"
+ DAY_OF_WEEK_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "TUESDAY"
+ DAY_OF_WEEK_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "WEDNESDAY"
+ DAY_OF_WEEK_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "THURSDAY"
+ DAY_OF_WEEK_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "FRIDAY"
+ DAY_OF_WEEK_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ #: A constant which can be used with the day_of_week property of a UpdateNewsReportDetails.
+ #: This constant has a value of "SUNDAY"
+ DAY_OF_WEEK_SUNDAY = "SUNDAY"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateNewsReportDetails object with values from keyword arguments.
@@ -71,6 +99,23 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this UpdateNewsReportDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param name:
+ The value to assign to the name property of this UpdateNewsReportDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this UpdateNewsReportDetails.
+ :type description: str
+
+ :param day_of_week:
+ The value to assign to the day_of_week property of this UpdateNewsReportDetails.
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
+ :type day_of_week: str
+
+ :param are_child_compartments_included:
+ The value to assign to the are_child_compartments_included property of this UpdateNewsReportDetails.
+ :type are_child_compartments_included: bool
+
"""
self.swagger_types = {
'status': 'str',
@@ -79,7 +124,11 @@ def __init__(self, **kwargs):
'content_types': 'NewsContentTypes',
'ons_topic_id': 'str',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'name': 'str',
+ 'description': 'str',
+ 'day_of_week': 'str',
+ 'are_child_compartments_included': 'bool'
}
self.attribute_map = {
@@ -89,7 +138,11 @@ def __init__(self, **kwargs):
'content_types': 'contentTypes',
'ons_topic_id': 'onsTopicId',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'name': 'name',
+ 'description': 'description',
+ 'day_of_week': 'dayOfWeek',
+ 'are_child_compartments_included': 'areChildCompartmentsIncluded'
}
self._status = None
@@ -99,6 +152,10 @@ def __init__(self, **kwargs):
self._ons_topic_id = None
self._freeform_tags = None
self._defined_tags = None
+ self._name = None
+ self._description = None
+ self._day_of_week = None
+ self._are_child_compartments_included = None
@property
def status(self):
@@ -293,6 +350,109 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def name(self):
+ """
+ Gets the name of this UpdateNewsReportDetails.
+ The news report name.
+
+
+ :return: The name of this UpdateNewsReportDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UpdateNewsReportDetails.
+ The news report name.
+
+
+ :param name: The name of this UpdateNewsReportDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateNewsReportDetails.
+ The description of the news report.
+
+
+ :return: The description of this UpdateNewsReportDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateNewsReportDetails.
+ The description of the news report.
+
+
+ :param description: The description of this UpdateNewsReportDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def day_of_week(self):
+ """
+ Gets the day_of_week of this UpdateNewsReportDetails.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+ Allowed values for this property are: "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
+
+
+ :return: The day_of_week of this UpdateNewsReportDetails.
+ :rtype: str
+ """
+ return self._day_of_week
+
+ @day_of_week.setter
+ def day_of_week(self, day_of_week):
+ """
+ Sets the day_of_week of this UpdateNewsReportDetails.
+ Day of the week in which the news report will be sent if the frequency is set to WEEKLY.
+
+
+ :param day_of_week: The day_of_week of this UpdateNewsReportDetails.
+ :type: str
+ """
+ allowed_values = ["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]
+ if not value_allowed_none_or_none_sentinel(day_of_week, allowed_values):
+ raise ValueError(
+ f"Invalid value for `day_of_week`, must be None or one of {allowed_values}"
+ )
+ self._day_of_week = day_of_week
+
+ @property
+ def are_child_compartments_included(self):
+ """
+ Gets the are_child_compartments_included of this UpdateNewsReportDetails.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :return: The are_child_compartments_included of this UpdateNewsReportDetails.
+ :rtype: bool
+ """
+ return self._are_child_compartments_included
+
+ @are_child_compartments_included.setter
+ def are_child_compartments_included(self, are_child_compartments_included):
+ """
+ Sets the are_child_compartments_included of this UpdateNewsReportDetails.
+ A flag to consider the resources within a given compartment and all sub-compartments.
+
+
+ :param are_child_compartments_included: The are_child_compartments_included of this UpdateNewsReportDetails.
+ :type: bool
+ """
+ self._are_child_compartments_included = are_child_compartments_included
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/opsi/models/update_pe_comanaged_host_insight_details.py b/src/oci/opsi/models/update_pe_comanaged_host_insight_details.py
new file mode 100644
index 0000000000..c87e5f7e9b
--- /dev/null
+++ b/src/oci/opsi/models/update_pe_comanaged_host_insight_details.py
@@ -0,0 +1,65 @@
+# coding: utf-8
+# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
+# 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.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630
+
+from .update_host_insight_details import UpdateHostInsightDetails
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class UpdatePeComanagedHostInsightDetails(UpdateHostInsightDetails):
+ """
+ The information to be updated.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdatePeComanagedHostInsightDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.UpdatePeComanagedHostInsightDetails.entity_source` attribute
+ of this class is ``PE_COMANAGED_HOST`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param entity_source:
+ The value to assign to the entity_source property of this UpdatePeComanagedHostInsightDetails.
+ Allowed values for this property are: "MACS_MANAGED_EXTERNAL_HOST", "EM_MANAGED_EXTERNAL_HOST", "MACS_MANAGED_CLOUD_HOST", "PE_COMANAGED_HOST"
+ :type entity_source: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdatePeComanagedHostInsightDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdatePeComanagedHostInsightDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'entity_source': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'entity_source': 'entitySource',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._entity_source = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._entity_source = 'PE_COMANAGED_HOST'
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/osp_gateway/address_rule_service_client.py b/src/oci/osp_gateway/address_rule_service_client.py
index acae472233..1c75bfb5df 100644
--- a/src/oci/osp_gateway/address_rule_service_client.py
+++ b/src/oci/osp_gateway/address_rule_service_client.py
@@ -100,7 +100,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20191001',
- 'service_endpoint_template': 'https://ospap.oracle.com',
+ 'service_endpoint_template': 'https://osp-oci-integ.osp.{region}.oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'skip_deserialization': kwargs.get('skip_deserialization', False),
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
diff --git a/src/oci/osp_gateway/address_service_client.py b/src/oci/osp_gateway/address_service_client.py
index ef13c3dfce..9b3d949a89 100644
--- a/src/oci/osp_gateway/address_service_client.py
+++ b/src/oci/osp_gateway/address_service_client.py
@@ -100,7 +100,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20191001',
- 'service_endpoint_template': 'https://ospap.oracle.com',
+ 'service_endpoint_template': 'https://osp-oci-integ.osp.{region}.oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'skip_deserialization': kwargs.get('skip_deserialization', False),
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
diff --git a/src/oci/osp_gateway/invoice_service_client.py b/src/oci/osp_gateway/invoice_service_client.py
index cf319e22c5..dba2c6df6e 100644
--- a/src/oci/osp_gateway/invoice_service_client.py
+++ b/src/oci/osp_gateway/invoice_service_client.py
@@ -100,7 +100,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20191001',
- 'service_endpoint_template': 'https://ospap.oracle.com',
+ 'service_endpoint_template': 'https://osp-oci-integ.osp.{region}.oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'skip_deserialization': kwargs.get('skip_deserialization', False),
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
diff --git a/src/oci/osp_gateway/subscription_service_client.py b/src/oci/osp_gateway/subscription_service_client.py
index 3a4fabadff..2add40e78e 100644
--- a/src/oci/osp_gateway/subscription_service_client.py
+++ b/src/oci/osp_gateway/subscription_service_client.py
@@ -100,7 +100,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20191001',
- 'service_endpoint_template': 'https://ospap.oracle.com',
+ 'service_endpoint_template': 'https://osp-oci-integ.osp.{region}.oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'skip_deserialization': kwargs.get('skip_deserialization', False),
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
diff --git a/src/oci/sch/connector_plugins_client.py b/src/oci/sch/connector_plugins_client.py
index 904500c716..5139603e72 100644
--- a/src/oci/sch/connector_plugins_client.py
+++ b/src/oci/sch/connector_plugins_client.py
@@ -154,7 +154,7 @@ def get_connector_plugin(self, connector_plugin_name, **kwargs):
resource_path = "/connectorPlugins/{connectorPluginName}"
method = "GET"
operation_name = "get_connector_plugin"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ConnectorPlugin/GetConnectorPlugin"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -292,7 +292,7 @@ def list_connector_plugins(self, **kwargs):
resource_path = "/connectorPlugins"
method = "GET"
operation_name = "list_connector_plugins"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ConnectorPluginSummary/ListConnectorPlugins"
# Don't accept unknown kwargs
expected_kwargs = [
diff --git a/src/oci/sch/service_connector_client.py b/src/oci/sch/service_connector_client.py
index 185fe4d9b4..a70f2e53be 100644
--- a/src/oci/sch/service_connector_client.py
+++ b/src/oci/sch/service_connector_client.py
@@ -178,7 +178,7 @@ def activate_service_connector(self, service_connector_id, **kwargs):
resource_path = "/serviceConnectors/{serviceConnectorId}/actions/activate"
method = "POST"
operation_name = "activate_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/ActivateServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -298,7 +298,7 @@ def change_service_connector_compartment(self, service_connector_id, change_serv
resource_path = "/serviceConnectors/{serviceConnectorId}/actions/changeCompartment"
method = "POST"
operation_name = "change_service_connector_compartment"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/ChangeServiceConnectorCompartment"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -431,7 +431,7 @@ def create_service_connector(self, create_service_connector_details, **kwargs):
resource_path = "/serviceConnectors"
method = "POST"
operation_name = "create_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/CreateServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -544,7 +544,7 @@ def deactivate_service_connector(self, service_connector_id, **kwargs):
resource_path = "/serviceConnectors/{serviceConnectorId}/actions/deactivate"
method = "POST"
operation_name = "deactivate_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/DeactivateServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -662,7 +662,7 @@ def delete_service_connector(self, service_connector_id, **kwargs):
resource_path = "/serviceConnectors/{serviceConnectorId}"
method = "DELETE"
operation_name = "delete_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/DeleteServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -767,7 +767,7 @@ def get_service_connector(self, service_connector_id, **kwargs):
resource_path = "/serviceConnectors/{serviceConnectorId}"
method = "GET"
operation_name = "get_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/GetServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -872,7 +872,7 @@ def get_work_request(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}"
method = "GET"
operation_name = "get_work_request"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/WorkRequest/GetWorkRequest"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1014,7 +1014,7 @@ def list_service_connectors(self, compartment_id, **kwargs):
resource_path = "/serviceConnectors"
method = "GET"
operation_name = "list_service_connectors"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/ListServiceConnectors"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1161,7 +1161,7 @@ def list_work_request_errors(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}/errors"
method = "GET"
operation_name = "list_work_request_errors"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/WorkRequestError/ListWorkRequestErrors"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1290,7 +1290,7 @@ def list_work_request_logs(self, work_request_id, **kwargs):
resource_path = "/workRequests/{workRequestId}/logs"
method = "GET"
operation_name = "list_work_request_logs"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/WorkRequestLogEntry/ListWorkRequestLogs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1419,7 +1419,7 @@ def list_work_requests(self, compartment_id, **kwargs):
resource_path = "/workRequests"
method = "GET"
operation_name = "list_work_requests"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/WorkRequest/ListWorkRequests"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1537,7 +1537,7 @@ def update_service_connector(self, service_connector_id, update_service_connecto
resource_path = "/serviceConnectors/{serviceConnectorId}"
method = "PUT"
operation_name = "update_service_connector"
- api_reference_link = ""
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/serviceconnectors/20200909/ServiceConnector/UpdateServiceConnector"
# Don't accept unknown kwargs
expected_kwargs = [
diff --git a/src/oci/version.py b/src/oci/version.py
index f361c0d5eb..acfa268c4d 100644
--- a/src/oci/version.py
+++ b/src/oci/version.py
@@ -2,4 +2,4 @@
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# 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.
-__version__ = "2.123.0"
+__version__ = "2.124.0"