@@ -2696,7 +2696,7 @@ def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
26962696 def deregister_autonomous_database_data_safe (self , autonomous_database_id , ** kwargs ):
26972697 """
26982698 Asynchronously deregisters Data Safe for this Autonomous Database.
2699- Asynchronously deregisters Data Safe for this Autonomous Database.
2699+ Asynchronously deregisters this Autonomous Database with Data Safe .
27002700
27012701
27022702 :param str autonomous_database_id: (required)
@@ -4696,6 +4696,80 @@ def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
46964696 header_params = header_params ,
46974697 response_type = "ExadataInfrastructure" )
46984698
4699+ def get_exadata_infrastructure_ocpus (self , autonomous_exadata_infrastructure_id , ** kwargs ):
4700+ """
4701+ Gets details of the available and consumed OCPUs for the specified Autonomous Exadata Infrastructure instance.
4702+
4703+
4704+ :param str autonomous_exadata_infrastructure_id: (required)
4705+ The Autonomous Exadata Infrastructure `OCID`__.
4706+
4707+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
4708+
4709+ :param str opc_request_id: (optional)
4710+ Unique identifier for the request.
4711+
4712+ :param obj retry_strategy: (optional)
4713+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
4714+
4715+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
4716+ is also available. The specifics of the default retry strategy are described `here <https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/sdk_behaviors/retries.html>`__.
4717+
4718+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
4719+
4720+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.OCPUs`
4721+ :rtype: :class:`~oci.response.Response`
4722+ """
4723+ resource_path = "/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/ocpus"
4724+ method = "GET"
4725+
4726+ # Don't accept unknown kwargs
4727+ expected_kwargs = [
4728+ "retry_strategy" ,
4729+ "opc_request_id"
4730+ ]
4731+ extra_kwargs = [_key for _key in six .iterkeys (kwargs ) if _key not in expected_kwargs ]
4732+ if extra_kwargs :
4733+ raise ValueError (
4734+ "get_exadata_infrastructure_ocpus got unknown kwargs: {!r}" .format (extra_kwargs ))
4735+
4736+ path_params = {
4737+ "autonomousExadataInfrastructureId" : autonomous_exadata_infrastructure_id
4738+ }
4739+
4740+ path_params = {k : v for (k , v ) in six .iteritems (path_params ) if v is not missing }
4741+
4742+ for (k , v ) in six .iteritems (path_params ):
4743+ if v is None or (isinstance (v , six .string_types ) and len (v .strip ()) == 0 ):
4744+ raise ValueError ('Parameter {} cannot be None, whitespace or empty string' .format (k ))
4745+
4746+ header_params = {
4747+ "accept" : "application/json" ,
4748+ "content-type" : "application/json" ,
4749+ "opc-request-id" : kwargs .get ("opc_request_id" , missing )
4750+ }
4751+ header_params = {k : v for (k , v ) in six .iteritems (header_params ) if v is not missing and v is not None }
4752+
4753+ retry_strategy = self .retry_strategy
4754+ if kwargs .get ('retry_strategy' ):
4755+ retry_strategy = kwargs .get ('retry_strategy' )
4756+
4757+ if retry_strategy :
4758+ return retry_strategy .make_retrying_call (
4759+ self .base_client .call_api ,
4760+ resource_path = resource_path ,
4761+ method = method ,
4762+ path_params = path_params ,
4763+ header_params = header_params ,
4764+ response_type = "OCPUs" )
4765+ else :
4766+ return self .base_client .call_api (
4767+ resource_path = resource_path ,
4768+ method = method ,
4769+ path_params = path_params ,
4770+ header_params = header_params ,
4771+ response_type = "OCPUs" )
4772+
46994773 def get_exadata_iorm_config (self , db_system_id , ** kwargs ):
47004774 """
47014775 Gets `IORM` Setting for the requested Exadata DB System.
@@ -6773,7 +6847,7 @@ def list_db_homes(self, compartment_id, **kwargs):
67736847 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
67746848
67756849 :param str db_system_id: (optional)
6776- The `OCID`__ of the DB system.
6850+ The DB system `OCID`__. If provided, filters the results to the set of database versions which are supported for the DB system.
67776851
67786852 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
67796853
@@ -6908,7 +6982,7 @@ def list_db_nodes(self, compartment_id, **kwargs):
69086982 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
69096983
69106984 :param str db_system_id: (optional)
6911- The `OCID`__ of the DB system.
6985+ The DB system `OCID`__. If provided, filters the results to the set of database versions which are supported for the DB system.
69126986
69136987 __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
69146988
@@ -7733,7 +7807,7 @@ def list_maintenance_runs(self, compartment_id, **kwargs):
77337807 :param str target_resource_type: (optional)
77347808 The type of the target resource.
77357809
7736- Allowed values are: "AUTONOMOUS_EXADATA_INFRASTRUCTURE", "AUTONOMOUS_CONTAINER_DATABASE"
7810+ Allowed values are: "AUTONOMOUS_EXADATA_INFRASTRUCTURE", "AUTONOMOUS_CONTAINER_DATABASE", "EXADATA_DB_SYSTEM"
77377811
77387812 :param str maintenance_type: (optional)
77397813 The maintenance type.
@@ -7761,7 +7835,7 @@ def list_maintenance_runs(self, compartment_id, **kwargs):
77617835 :param str lifecycle_state: (optional)
77627836 A filter to return only resources that match the given lifecycle state exactly.
77637837
7764- Allowed values are: "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED"
7838+ Allowed values are: "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING"
77657839
77667840 :param str availability_domain: (optional)
77677841 A filter to return only resources that match the given availability domain exactly.
@@ -7799,7 +7873,7 @@ def list_maintenance_runs(self, compartment_id, **kwargs):
77997873 "list_maintenance_runs got unknown kwargs: {!r}" .format (extra_kwargs ))
78007874
78017875 if 'target_resource_type' in kwargs :
7802- target_resource_type_allowed_values = ["AUTONOMOUS_EXADATA_INFRASTRUCTURE" , "AUTONOMOUS_CONTAINER_DATABASE" ]
7876+ target_resource_type_allowed_values = ["AUTONOMOUS_EXADATA_INFRASTRUCTURE" , "AUTONOMOUS_CONTAINER_DATABASE" , "EXADATA_DB_SYSTEM" ]
78037877 if kwargs ['target_resource_type' ] not in target_resource_type_allowed_values :
78047878 raise ValueError (
78057879 "Invalid value for `target_resource_type`, must be one of {0}" .format (target_resource_type_allowed_values )
@@ -7827,7 +7901,7 @@ def list_maintenance_runs(self, compartment_id, **kwargs):
78277901 )
78287902
78297903 if 'lifecycle_state' in kwargs :
7830- lifecycle_state_allowed_values = ["SCHEDULED" , "IN_PROGRESS" , "SUCCEEDED" , "SKIPPED" , "FAILED" ]
7904+ lifecycle_state_allowed_values = ["SCHEDULED" , "IN_PROGRESS" , "SUCCEEDED" , "SKIPPED" , "FAILED" , "UPDATING" ]
78317905 if kwargs ['lifecycle_state' ] not in lifecycle_state_allowed_values :
78327906 raise ValueError (
78337907 "Invalid value for `lifecycle_state`, must be one of {0}" .format (lifecycle_state_allowed_values )
@@ -8151,7 +8225,7 @@ def list_vm_clusters(self, compartment_id, **kwargs):
81518225 def register_autonomous_database_data_safe (self , autonomous_database_id , ** kwargs ):
81528226 """
81538227 Asynchronously registers this Autonomous Database with Data Safe.
8154- Asynchronously registers Data Safe with this Autonomous Database.
8228+ Asynchronously registers this Autonomous Database with Data Safe .
81558229
81568230
81578231 :param str autonomous_database_id: (required)
@@ -9269,7 +9343,7 @@ def terminate_db_system(self, db_system_id, **kwargs):
92699343 def update_autonomous_container_database (self , autonomous_container_database_id , update_autonomous_container_database_details , ** kwargs ):
92709344 """
92719345 UpdateAutonomousContainerDatabase
9272- Updates the properties of an Autonomous Container Database, such as the CPU core count and storage size.
9346+ Updates the properties of an Autonomous Container Database, such as the OCPU core count and storage size.
92739347
92749348
92759349 :param str autonomous_container_database_id: (required)
@@ -9432,8 +9506,8 @@ def update_autonomous_data_warehouse(self, autonomous_data_warehouse_id, update_
94329506
94339507 def update_autonomous_database (self , autonomous_database_id , update_autonomous_database_details , ** kwargs ):
94349508 """
9435- Updates the specified Autonomous Database with new CPU core count and size.
9436- Updates the specified Autonomous Database with a new CPU core count and size .
9509+ Updates the specified Autonomous Database with new OCPU core count and size.
9510+ Updates one or more attributes of the specified Autonomous Database. See the UpdateAutonomousDatabaseDetails resource for a full list of attributes that can be updated .
94379511
94389512
94399513 :param str autonomous_database_id: (required)
0 commit comments