diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 59b4e83b2c..7a64dfff80 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -3,6 +3,25 @@ Change Log
All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+====================
+2.30.0 - 2021-02-02
+====================
+
+Added
+-----
+* Support for checking if a contact for Exadata infrastructure is valid in My Oracle Support in the Database service
+* Support for checking if Exadata infrastructure is in a degraded state in the Database service
+* Support for updating the operating system on a VM cluster in the Database service
+* Support for external databases in the Database service
+* Support for uploading objects to the infrequent access storage tier in the Object Storage service
+* Support for changing the storage tier of existing objects in the Object Storage service
+* Support for private templates in the Resource Manager service
+* Support for multiple encryption domains on IPSec tunnels in the Networking service
+
+Breaking
+--------
+* Attribute `vnic_id` in response model `Ipv6` changed from required to optional in the Networking service
+
====================
2.29.0 - 2021-01-26
====================
diff --git a/docs/api/core.rst b/docs/api/core.rst
index 2b2e99a151..ba1f38651f 100644
--- a/docs/api/core.rst
+++ b/docs/api/core.rst
@@ -134,6 +134,7 @@ Core Services
oci.core.models.CreateIPSecConnectionDetails
oci.core.models.CreateIPSecConnectionTunnelDetails
oci.core.models.CreateIPSecTunnelBgpSessionDetails
+ oci.core.models.CreateIPSecTunnelEncryptionDomainDetails
oci.core.models.CreateImageDetails
oci.core.models.CreateInstanceConfigurationBase
oci.core.models.CreateInstanceConfigurationDetails
@@ -188,6 +189,7 @@ Core Services
oci.core.models.DrgRedundancyStatus
oci.core.models.EgressSecurityRule
oci.core.models.EmulatedVolumeAttachment
+ oci.core.models.EncryptionDomainConfig
oci.core.models.EnumIntegerImageCapabilityDescriptor
oci.core.models.EnumStringImageCapabilitySchemaDescriptor
oci.core.models.ExportImageDetails
@@ -316,6 +318,7 @@ Core Services
oci.core.models.UpdateIPSecConnectionTunnelDetails
oci.core.models.UpdateIPSecConnectionTunnelSharedSecretDetails
oci.core.models.UpdateIPSecTunnelBgpSessionDetails
+ oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails
oci.core.models.UpdateImageDetails
oci.core.models.UpdateInstanceAgentConfigDetails
oci.core.models.UpdateInstanceAvailabilityConfigDetails
diff --git a/docs/api/core/models/oci.core.models.CreateIPSecTunnelEncryptionDomainDetails.rst b/docs/api/core/models/oci.core.models.CreateIPSecTunnelEncryptionDomainDetails.rst
new file mode 100644
index 0000000000..eac2b6edb7
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.CreateIPSecTunnelEncryptionDomainDetails.rst
@@ -0,0 +1,11 @@
+CreateIPSecTunnelEncryptionDomainDetails
+========================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: CreateIPSecTunnelEncryptionDomainDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.EncryptionDomainConfig.rst b/docs/api/core/models/oci.core.models.EncryptionDomainConfig.rst
new file mode 100644
index 0000000000..9e5eed665f
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.EncryptionDomainConfig.rst
@@ -0,0 +1,11 @@
+EncryptionDomainConfig
+======================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: EncryptionDomainConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails.rst b/docs/api/core/models/oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails.rst
new file mode 100644
index 0000000000..84cdbcf786
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails.rst
@@ -0,0 +1,11 @@
+UpdateIPSecTunnelEncryptionDomainDetails
+========================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: UpdateIPSecTunnelEncryptionDomainDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database.rst b/docs/api/database.rst
index 2a770d9649..23bfbf2811 100644
--- a/docs/api/database.rst
+++ b/docs/api/database.rst
@@ -105,6 +105,12 @@ Database
oci.database.models.CreateDbHomeWithVmClusterIdFromBackupDetails
oci.database.models.CreateExadataInfrastructureDetails
oci.database.models.CreateExternalBackupJobDetails
+ oci.database.models.CreateExternalContainerDatabaseDetails
+ oci.database.models.CreateExternalDatabaseConnectorDetails
+ oci.database.models.CreateExternalDatabaseDetailsBase
+ oci.database.models.CreateExternalMacsConnectorDetails
+ oci.database.models.CreateExternalNonContainerDatabaseDetails
+ oci.database.models.CreateExternalPluggableDatabaseDetails
oci.database.models.CreateKeyStoreDetails
oci.database.models.CreateNFSBackupDestinationDetails
oci.database.models.CreateNewDatabaseDetails
@@ -114,7 +120,12 @@ Database
oci.database.models.DataGuardAssociation
oci.database.models.DataGuardAssociationSummary
oci.database.models.Database
+ oci.database.models.DatabaseConnectionCredentailsByName
+ oci.database.models.DatabaseConnectionCredentials
+ oci.database.models.DatabaseConnectionCredentialsByDetails
+ oci.database.models.DatabaseConnectionString
oci.database.models.DatabaseConnectionStrings
+ oci.database.models.DatabaseManagementConfig
oci.database.models.DatabaseSoftwareImage
oci.database.models.DatabaseSoftwareImageSummary
oci.database.models.DatabaseSummary
@@ -138,6 +149,10 @@ Database
oci.database.models.DbSystemSummary
oci.database.models.DbVersionSummary
oci.database.models.DeregisterAutonomousDatabaseDataSafeDetails
+ oci.database.models.EnableExternalContainerDatabaseDatabaseManagementDetails
+ oci.database.models.EnableExternalDatabaseManagementDetailsBase
+ oci.database.models.EnableExternalNonContainerDatabaseDatabaseManagementDetails
+ oci.database.models.EnableExternalPluggableDatabaseDatabaseManagementDetails
oci.database.models.ExadataDbSystemMigration
oci.database.models.ExadataDbSystemMigrationSummary
oci.database.models.ExadataInfrastructure
@@ -146,6 +161,17 @@ Database
oci.database.models.ExadataIormConfig
oci.database.models.ExadataIormConfigUpdateDetails
oci.database.models.ExternalBackupJob
+ oci.database.models.ExternalContainerDatabase
+ oci.database.models.ExternalContainerDatabaseSummary
+ oci.database.models.ExternalDatabaseBase
+ oci.database.models.ExternalDatabaseConnector
+ oci.database.models.ExternalDatabaseConnectorSummary
+ oci.database.models.ExternalMacsConnector
+ oci.database.models.ExternalMacsConnectorSummary
+ oci.database.models.ExternalNonContainerDatabase
+ oci.database.models.ExternalNonContainerDatabaseSummary
+ oci.database.models.ExternalPluggableDatabase
+ oci.database.models.ExternalPluggableDatabaseSummary
oci.database.models.FailoverDataGuardAssociationDetails
oci.database.models.FlexComponentCollection
oci.database.models.FlexComponentSummary
@@ -200,6 +226,12 @@ Database
oci.database.models.UpdateDbSystemDetails
oci.database.models.UpdateDetails
oci.database.models.UpdateExadataInfrastructureDetails
+ oci.database.models.UpdateExternalContainerDatabaseDetails
+ oci.database.models.UpdateExternalDatabaseConnectorDetails
+ oci.database.models.UpdateExternalDatabaseDetailsBase
+ oci.database.models.UpdateExternalMacsConnectorDetails
+ oci.database.models.UpdateExternalNonContainerDatabaseDetails
+ oci.database.models.UpdateExternalPluggableDatabaseDetails
oci.database.models.UpdateHistoryEntry
oci.database.models.UpdateHistoryEntrySummary
oci.database.models.UpdateKeyStoreDetails
diff --git a/docs/api/database/models/oci.database.models.CreateExternalContainerDatabaseDetails.rst b/docs/api/database/models/oci.database.models.CreateExternalContainerDatabaseDetails.rst
new file mode 100644
index 0000000000..b21f1eca96
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalContainerDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateExternalContainerDatabaseDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalContainerDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateExternalDatabaseConnectorDetails.rst b/docs/api/database/models/oci.database.models.CreateExternalDatabaseConnectorDetails.rst
new file mode 100644
index 0000000000..16a7ac0d1d
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalDatabaseConnectorDetails.rst
@@ -0,0 +1,11 @@
+CreateExternalDatabaseConnectorDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalDatabaseConnectorDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateExternalDatabaseDetailsBase.rst b/docs/api/database/models/oci.database.models.CreateExternalDatabaseDetailsBase.rst
new file mode 100644
index 0000000000..28b915f40a
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalDatabaseDetailsBase.rst
@@ -0,0 +1,11 @@
+CreateExternalDatabaseDetailsBase
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalDatabaseDetailsBase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateExternalMacsConnectorDetails.rst b/docs/api/database/models/oci.database.models.CreateExternalMacsConnectorDetails.rst
new file mode 100644
index 0000000000..c5081a525f
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalMacsConnectorDetails.rst
@@ -0,0 +1,11 @@
+CreateExternalMacsConnectorDetails
+==================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalMacsConnectorDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateExternalNonContainerDatabaseDetails.rst b/docs/api/database/models/oci.database.models.CreateExternalNonContainerDatabaseDetails.rst
new file mode 100644
index 0000000000..cd62912ae3
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalNonContainerDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateExternalNonContainerDatabaseDetails
+=========================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalNonContainerDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateExternalPluggableDatabaseDetails.rst b/docs/api/database/models/oci.database.models.CreateExternalPluggableDatabaseDetails.rst
new file mode 100644
index 0000000000..ad1d278e21
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateExternalPluggableDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateExternalPluggableDatabaseDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateExternalPluggableDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.DatabaseConnectionCredentailsByName.rst b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentailsByName.rst
new file mode 100644
index 0000000000..253be3dac2
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentailsByName.rst
@@ -0,0 +1,11 @@
+DatabaseConnectionCredentailsByName
+===================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: DatabaseConnectionCredentailsByName
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.DatabaseConnectionCredentials.rst b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentials.rst
new file mode 100644
index 0000000000..02484a4b09
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentials.rst
@@ -0,0 +1,11 @@
+DatabaseConnectionCredentials
+=============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: DatabaseConnectionCredentials
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.DatabaseConnectionCredentialsByDetails.rst b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentialsByDetails.rst
new file mode 100644
index 0000000000..fb0277be0c
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.DatabaseConnectionCredentialsByDetails.rst
@@ -0,0 +1,11 @@
+DatabaseConnectionCredentialsByDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: DatabaseConnectionCredentialsByDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.DatabaseConnectionString.rst b/docs/api/database/models/oci.database.models.DatabaseConnectionString.rst
new file mode 100644
index 0000000000..a995138beb
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.DatabaseConnectionString.rst
@@ -0,0 +1,11 @@
+DatabaseConnectionString
+========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: DatabaseConnectionString
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.DatabaseManagementConfig.rst b/docs/api/database/models/oci.database.models.DatabaseManagementConfig.rst
new file mode 100644
index 0000000000..cbb9b459cc
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.DatabaseManagementConfig.rst
@@ -0,0 +1,11 @@
+DatabaseManagementConfig
+========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: DatabaseManagementConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.EnableExternalContainerDatabaseDatabaseManagementDetails.rst b/docs/api/database/models/oci.database.models.EnableExternalContainerDatabaseDatabaseManagementDetails.rst
new file mode 100644
index 0000000000..a2bea23db3
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.EnableExternalContainerDatabaseDatabaseManagementDetails.rst
@@ -0,0 +1,11 @@
+EnableExternalContainerDatabaseDatabaseManagementDetails
+========================================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: EnableExternalContainerDatabaseDatabaseManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.EnableExternalDatabaseManagementDetailsBase.rst b/docs/api/database/models/oci.database.models.EnableExternalDatabaseManagementDetailsBase.rst
new file mode 100644
index 0000000000..ab9d65d498
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.EnableExternalDatabaseManagementDetailsBase.rst
@@ -0,0 +1,11 @@
+EnableExternalDatabaseManagementDetailsBase
+===========================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: EnableExternalDatabaseManagementDetailsBase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.EnableExternalNonContainerDatabaseDatabaseManagementDetails.rst b/docs/api/database/models/oci.database.models.EnableExternalNonContainerDatabaseDatabaseManagementDetails.rst
new file mode 100644
index 0000000000..feb491b9a4
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.EnableExternalNonContainerDatabaseDatabaseManagementDetails.rst
@@ -0,0 +1,11 @@
+EnableExternalNonContainerDatabaseDatabaseManagementDetails
+===========================================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: EnableExternalNonContainerDatabaseDatabaseManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.EnableExternalPluggableDatabaseDatabaseManagementDetails.rst b/docs/api/database/models/oci.database.models.EnableExternalPluggableDatabaseDatabaseManagementDetails.rst
new file mode 100644
index 0000000000..52f20b45a8
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.EnableExternalPluggableDatabaseDatabaseManagementDetails.rst
@@ -0,0 +1,11 @@
+EnableExternalPluggableDatabaseDatabaseManagementDetails
+========================================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: EnableExternalPluggableDatabaseDatabaseManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalContainerDatabase.rst b/docs/api/database/models/oci.database.models.ExternalContainerDatabase.rst
new file mode 100644
index 0000000000..2b2fcbf0b8
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalContainerDatabase.rst
@@ -0,0 +1,11 @@
+ExternalContainerDatabase
+=========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalContainerDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalContainerDatabaseSummary.rst b/docs/api/database/models/oci.database.models.ExternalContainerDatabaseSummary.rst
new file mode 100644
index 0000000000..28be749234
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalContainerDatabaseSummary.rst
@@ -0,0 +1,11 @@
+ExternalContainerDatabaseSummary
+================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalContainerDatabaseSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalDatabaseBase.rst b/docs/api/database/models/oci.database.models.ExternalDatabaseBase.rst
new file mode 100644
index 0000000000..1920d0e036
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalDatabaseBase.rst
@@ -0,0 +1,11 @@
+ExternalDatabaseBase
+====================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalDatabaseBase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalDatabaseConnector.rst b/docs/api/database/models/oci.database.models.ExternalDatabaseConnector.rst
new file mode 100644
index 0000000000..08a4ad8d45
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalDatabaseConnector.rst
@@ -0,0 +1,11 @@
+ExternalDatabaseConnector
+=========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalDatabaseConnector
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalDatabaseConnectorSummary.rst b/docs/api/database/models/oci.database.models.ExternalDatabaseConnectorSummary.rst
new file mode 100644
index 0000000000..67820dee3c
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalDatabaseConnectorSummary.rst
@@ -0,0 +1,11 @@
+ExternalDatabaseConnectorSummary
+================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalDatabaseConnectorSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalMacsConnector.rst b/docs/api/database/models/oci.database.models.ExternalMacsConnector.rst
new file mode 100644
index 0000000000..a0cd84f852
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalMacsConnector.rst
@@ -0,0 +1,11 @@
+ExternalMacsConnector
+=====================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalMacsConnector
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalMacsConnectorSummary.rst b/docs/api/database/models/oci.database.models.ExternalMacsConnectorSummary.rst
new file mode 100644
index 0000000000..d5acad3c93
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalMacsConnectorSummary.rst
@@ -0,0 +1,11 @@
+ExternalMacsConnectorSummary
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalMacsConnectorSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalNonContainerDatabase.rst b/docs/api/database/models/oci.database.models.ExternalNonContainerDatabase.rst
new file mode 100644
index 0000000000..96f2c5266c
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalNonContainerDatabase.rst
@@ -0,0 +1,11 @@
+ExternalNonContainerDatabase
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalNonContainerDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalNonContainerDatabaseSummary.rst b/docs/api/database/models/oci.database.models.ExternalNonContainerDatabaseSummary.rst
new file mode 100644
index 0000000000..4966958abb
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalNonContainerDatabaseSummary.rst
@@ -0,0 +1,11 @@
+ExternalNonContainerDatabaseSummary
+===================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalNonContainerDatabaseSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalPluggableDatabase.rst b/docs/api/database/models/oci.database.models.ExternalPluggableDatabase.rst
new file mode 100644
index 0000000000..caf5a9b5e8
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalPluggableDatabase.rst
@@ -0,0 +1,11 @@
+ExternalPluggableDatabase
+=========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalPluggableDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExternalPluggableDatabaseSummary.rst b/docs/api/database/models/oci.database.models.ExternalPluggableDatabaseSummary.rst
new file mode 100644
index 0000000000..efa1493c8d
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExternalPluggableDatabaseSummary.rst
@@ -0,0 +1,11 @@
+ExternalPluggableDatabaseSummary
+================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExternalPluggableDatabaseSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalContainerDatabaseDetails.rst b/docs/api/database/models/oci.database.models.UpdateExternalContainerDatabaseDetails.rst
new file mode 100644
index 0000000000..24c4624da3
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalContainerDatabaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateExternalContainerDatabaseDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalContainerDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalDatabaseConnectorDetails.rst b/docs/api/database/models/oci.database.models.UpdateExternalDatabaseConnectorDetails.rst
new file mode 100644
index 0000000000..0265e303a5
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalDatabaseConnectorDetails.rst
@@ -0,0 +1,11 @@
+UpdateExternalDatabaseConnectorDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalDatabaseConnectorDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalDatabaseDetailsBase.rst b/docs/api/database/models/oci.database.models.UpdateExternalDatabaseDetailsBase.rst
new file mode 100644
index 0000000000..4c39c17516
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalDatabaseDetailsBase.rst
@@ -0,0 +1,11 @@
+UpdateExternalDatabaseDetailsBase
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalDatabaseDetailsBase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalMacsConnectorDetails.rst b/docs/api/database/models/oci.database.models.UpdateExternalMacsConnectorDetails.rst
new file mode 100644
index 0000000000..18cd9b4bea
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalMacsConnectorDetails.rst
@@ -0,0 +1,11 @@
+UpdateExternalMacsConnectorDetails
+==================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalMacsConnectorDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalNonContainerDatabaseDetails.rst b/docs/api/database/models/oci.database.models.UpdateExternalNonContainerDatabaseDetails.rst
new file mode 100644
index 0000000000..06a6a06580
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalNonContainerDatabaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateExternalNonContainerDatabaseDetails
+=========================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalNonContainerDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateExternalPluggableDatabaseDetails.rst b/docs/api/database/models/oci.database.models.UpdateExternalPluggableDatabaseDetails.rst
new file mode 100644
index 0000000000..724a5effad
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateExternalPluggableDatabaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateExternalPluggableDatabaseDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateExternalPluggableDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/object_storage.rst b/docs/api/object_storage.rst
index 57e951b5c4..7dedb0d1f0 100644
--- a/docs/api/object_storage.rst
+++ b/docs/api/object_storage.rst
@@ -56,6 +56,7 @@ Object Storage
oci.object_storage.models.SSECustomerKeyDetails
oci.object_storage.models.UpdateBucketDetails
oci.object_storage.models.UpdateNamespaceMetadataDetails
+ oci.object_storage.models.UpdateObjectStorageTierDetails
oci.object_storage.models.UpdateRetentionRuleDetails
oci.object_storage.models.WorkRequest
oci.object_storage.models.WorkRequestError
diff --git a/docs/api/object_storage/models/oci.object_storage.models.UpdateObjectStorageTierDetails.rst b/docs/api/object_storage/models/oci.object_storage.models.UpdateObjectStorageTierDetails.rst
new file mode 100644
index 0000000000..211bf2ca62
--- /dev/null
+++ b/docs/api/object_storage/models/oci.object_storage.models.UpdateObjectStorageTierDetails.rst
@@ -0,0 +1,11 @@
+UpdateObjectStorageTierDetails
+==============================
+
+.. currentmodule:: oci.object_storage.models
+
+.. autoclass:: UpdateObjectStorageTierDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager.rst b/docs/api/resource_manager.rst
index d6e79015db..7acd70e23e 100644
--- a/docs/api/resource_manager.rst
+++ b/docs/api/resource_manager.rst
@@ -23,6 +23,7 @@ Resource Manager
oci.resource_manager.models.ApplyJobPlanResolution
oci.resource_manager.models.ChangeConfigurationSourceProviderCompartmentDetails
oci.resource_manager.models.ChangeStackCompartmentDetails
+ oci.resource_manager.models.ChangeTemplateCompartmentDetails
oci.resource_manager.models.CompartmentConfigSource
oci.resource_manager.models.ConfigSource
oci.resource_manager.models.ConfigSourceRecord
@@ -42,6 +43,10 @@ Resource Manager
oci.resource_manager.models.CreateJobOperationDetails
oci.resource_manager.models.CreatePlanJobOperationDetails
oci.resource_manager.models.CreateStackDetails
+ oci.resource_manager.models.CreateStackTemplateConfigSourceDetails
+ oci.resource_manager.models.CreateTemplateConfigSourceDetails
+ oci.resource_manager.models.CreateTemplateDetails
+ oci.resource_manager.models.CreateTemplateZipUploadConfigSourceDetails
oci.resource_manager.models.CreateZipUploadConfigSourceDetails
oci.resource_manager.models.DestroyJobOperationDetails
oci.resource_manager.models.DestroyJobOperationDetailsSummary
@@ -68,6 +73,13 @@ Resource Manager
oci.resource_manager.models.StackResourceDriftCollection
oci.resource_manager.models.StackResourceDriftSummary
oci.resource_manager.models.StackSummary
+ oci.resource_manager.models.Template
+ oci.resource_manager.models.TemplateCategorySummary
+ oci.resource_manager.models.TemplateCategorySummaryCollection
+ oci.resource_manager.models.TemplateConfigSource
+ oci.resource_manager.models.TemplateSummary
+ oci.resource_manager.models.TemplateSummaryCollection
+ oci.resource_manager.models.TemplateZipUploadConfigSource
oci.resource_manager.models.TerraformVersionCollection
oci.resource_manager.models.TerraformVersionSummary
oci.resource_manager.models.UpdateConfigSourceDetails
@@ -77,6 +89,9 @@ Resource Manager
oci.resource_manager.models.UpdateGitlabAccessTokenConfigurationSourceProviderDetails
oci.resource_manager.models.UpdateJobDetails
oci.resource_manager.models.UpdateStackDetails
+ oci.resource_manager.models.UpdateTemplateConfigSourceDetails
+ oci.resource_manager.models.UpdateTemplateDetails
+ oci.resource_manager.models.UpdateTemplateZipUploadConfigSourceDetails
oci.resource_manager.models.UpdateZipUploadConfigSourceDetails
oci.resource_manager.models.WorkRequest
oci.resource_manager.models.WorkRequestError
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.ChangeTemplateCompartmentDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.ChangeTemplateCompartmentDetails.rst
new file mode 100644
index 0000000000..5e4609ddbd
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.ChangeTemplateCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeTemplateCompartmentDetails
+================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: ChangeTemplateCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.CreateStackTemplateConfigSourceDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateStackTemplateConfigSourceDetails.rst
new file mode 100644
index 0000000000..6ffeacdf42
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.CreateStackTemplateConfigSourceDetails.rst
@@ -0,0 +1,11 @@
+CreateStackTemplateConfigSourceDetails
+======================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: CreateStackTemplateConfigSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateConfigSourceDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateConfigSourceDetails.rst
new file mode 100644
index 0000000000..4d01f5ecaf
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateConfigSourceDetails.rst
@@ -0,0 +1,11 @@
+CreateTemplateConfigSourceDetails
+=================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: CreateTemplateConfigSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateDetails.rst
new file mode 100644
index 0000000000..da5ae986a8
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateDetails.rst
@@ -0,0 +1,11 @@
+CreateTemplateDetails
+=====================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: CreateTemplateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateZipUploadConfigSourceDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateZipUploadConfigSourceDetails.rst
new file mode 100644
index 0000000000..0850e13879
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.CreateTemplateZipUploadConfigSourceDetails.rst
@@ -0,0 +1,11 @@
+CreateTemplateZipUploadConfigSourceDetails
+==========================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: CreateTemplateZipUploadConfigSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.Template.rst b/docs/api/resource_manager/models/oci.resource_manager.models.Template.rst
new file mode 100644
index 0000000000..3e37f32737
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.Template.rst
@@ -0,0 +1,11 @@
+Template
+========
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: Template
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummary.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummary.rst
new file mode 100644
index 0000000000..a521011d76
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummary.rst
@@ -0,0 +1,11 @@
+TemplateCategorySummary
+=======================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateCategorySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummaryCollection.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummaryCollection.rst
new file mode 100644
index 0000000000..b6d9c5ffbb
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateCategorySummaryCollection.rst
@@ -0,0 +1,11 @@
+TemplateCategorySummaryCollection
+=================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateCategorySummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateConfigSource.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateConfigSource.rst
new file mode 100644
index 0000000000..436f958922
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateConfigSource.rst
@@ -0,0 +1,11 @@
+TemplateConfigSource
+====================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateConfigSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummary.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummary.rst
new file mode 100644
index 0000000000..01f202d24c
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummary.rst
@@ -0,0 +1,11 @@
+TemplateSummary
+===============
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummaryCollection.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummaryCollection.rst
new file mode 100644
index 0000000000..5abea62445
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateSummaryCollection.rst
@@ -0,0 +1,11 @@
+TemplateSummaryCollection
+=========================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.TemplateZipUploadConfigSource.rst b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateZipUploadConfigSource.rst
new file mode 100644
index 0000000000..bb6f7acbbe
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.TemplateZipUploadConfigSource.rst
@@ -0,0 +1,11 @@
+TemplateZipUploadConfigSource
+=============================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: TemplateZipUploadConfigSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateConfigSourceDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateConfigSourceDetails.rst
new file mode 100644
index 0000000000..04e8f76bba
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateConfigSourceDetails.rst
@@ -0,0 +1,11 @@
+UpdateTemplateConfigSourceDetails
+=================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: UpdateTemplateConfigSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateDetails.rst
new file mode 100644
index 0000000000..c9e357d222
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateDetails.rst
@@ -0,0 +1,11 @@
+UpdateTemplateDetails
+=====================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: UpdateTemplateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateZipUploadConfigSourceDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateZipUploadConfigSourceDetails.rst
new file mode 100644
index 0000000000..7fc81a5fbb
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateTemplateZipUploadConfigSourceDetails.rst
@@ -0,0 +1,11 @@
+UpdateTemplateZipUploadConfigSourceDetails
+==========================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: UpdateTemplateZipUploadConfigSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/src/oci/core/blockstorage_client.py b/src/oci/core/blockstorage_client.py
index 14d4461ef3..7e90fda72a 100644
--- a/src/oci/core/blockstorage_client.py
+++ b/src/oci/core/blockstorage_client.py
@@ -1407,7 +1407,7 @@ def delete_boot_volume(self, boot_volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1482,7 +1482,7 @@ def delete_boot_volume_backup(self, boot_volume_backup_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1557,7 +1557,7 @@ def delete_boot_volume_kms_key(self, boot_volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1637,7 +1637,7 @@ def delete_volume(self, volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1712,7 +1712,7 @@ def delete_volume_backup(self, volume_backup_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1797,7 +1797,7 @@ def delete_volume_backup_policy(self, policy_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1874,7 +1874,7 @@ def delete_volume_backup_policy_assignment(self, policy_assignment_id, **kwargs)
: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
+ 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 obj retry_strategy: (optional)
@@ -1952,7 +1952,7 @@ def delete_volume_group(self, volume_group_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2019,7 +2019,8 @@ def delete_volume_group(self, volume_group_id, **kwargs):
def delete_volume_group_backup(self, volume_group_backup_id, **kwargs):
"""
- Deletes a volume group backup. This operation deletes all the backups in the volume group. For more information, see `Volume Groups`__.
+ Deletes a volume group backup. This operation deletes all the backups in
+ the volume group. For more information, see `Volume Groups`__.
__ https://docs.cloud.oracle.com/Content/Block/Concepts/volumegroups.htm
@@ -2029,7 +2030,7 @@ def delete_volume_group_backup(self, volume_group_backup_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2104,7 +2105,7 @@ def delete_volume_kms_key(self, volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2311,7 +2312,7 @@ def get_boot_volume_kms_key(self, boot_volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2874,7 +2875,7 @@ def get_volume_kms_key(self, volume_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2995,7 +2996,8 @@ def list_boot_volume_backups(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state value is
+ case-insensitive.
Allowed values are: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED"
@@ -3334,7 +3336,8 @@ def list_volume_backups(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "CREATING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY", "REQUEST_RECEIVED"
@@ -3622,7 +3625,8 @@ def list_volume_groups(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY"
@@ -3773,7 +3777,8 @@ def list_volumes(self, compartment_id, **kwargs):
The OCID of the volume group.
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "PROVISIONING", "RESTORING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAULTY"
@@ -3883,7 +3888,7 @@ def update_boot_volume(self, boot_volume_id, update_boot_volume_details, **kwarg
: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
+ 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 obj retry_strategy: (optional)
@@ -3966,7 +3971,7 @@ def update_boot_volume_backup(self, boot_volume_backup_id, update_boot_volume_ba
: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
+ 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 obj retry_strategy: (optional)
@@ -4048,7 +4053,7 @@ def update_boot_volume_kms_key(self, boot_volume_id, update_boot_volume_kms_key_
: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
+ 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 obj retry_strategy: (optional)
@@ -4131,7 +4136,7 @@ def update_volume(self, volume_id, update_volume_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -4214,7 +4219,7 @@ def update_volume_backup(self, volume_backup_id, update_volume_backup_details, *
: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
+ 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 obj retry_strategy: (optional)
@@ -4302,7 +4307,7 @@ def update_volume_backup_policy(self, policy_id, update_volume_backup_policy_det
: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
+ 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)
@@ -4408,7 +4413,7 @@ def update_volume_group(self, volume_group_id, update_volume_group_details, **kw
: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
+ 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 obj retry_strategy: (optional)
@@ -4492,7 +4497,7 @@ def update_volume_group_backup(self, volume_group_backup_id, update_volume_group
: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
+ 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 obj retry_strategy: (optional)
@@ -4574,7 +4579,7 @@ def update_volume_kms_key(self, volume_id, update_volume_kms_key_details, **kwar
: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
+ 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 obj retry_strategy: (optional)
diff --git a/src/oci/core/compute_client.py b/src/oci/core/compute_client.py
index 2dccf1af9f..8bb49286f8 100644
--- a/src/oci/core/compute_client.py
+++ b/src/oci/core/compute_client.py
@@ -493,7 +493,7 @@ def change_compute_image_capability_schema_compartment(self, compute_image_capab
: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
+ 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)
@@ -590,7 +590,7 @@ def change_dedicated_vm_host_compartment(self, dedicated_vm_host_id, change_dedi
: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
+ 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)
@@ -693,7 +693,7 @@ def change_image_compartment(self, image_id, change_image_compartment_details, *
: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
+ 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)
@@ -797,7 +797,7 @@ def change_instance_compartment(self, instance_id, change_instance_compartment_d
: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
+ 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)
@@ -1209,7 +1209,7 @@ def create_instance_console_connection(self, create_instance_console_connection_
After the console connection has been created and is available,
you connect to the console using SSH.
- For more information about console access, see `Accessing the Console`__.
+ For more information about instance console connections, see `Troubleshooting Instances Using Instance Console Connections`__.
__ https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm
@@ -1359,7 +1359,7 @@ def delete_compute_image_capability_schema(self, compute_image_capability_schema
: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
+ 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 obj retry_strategy: (optional)
@@ -1434,7 +1434,7 @@ def delete_console_history(self, instance_console_history_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1588,7 +1588,7 @@ def delete_image(self, image_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1663,7 +1663,7 @@ def delete_instance_console_connection(self, instance_console_connection_id, **k
: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
+ 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 obj retry_strategy: (optional)
@@ -1741,7 +1741,7 @@ def detach_boot_volume(self, boot_volume_attachment_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1827,7 +1827,7 @@ def detach_vnic(self, vnic_attachment_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -1905,7 +1905,7 @@ def detach_volume(self, volume_attachment_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2006,7 +2006,7 @@ def export_image(self, image_id, export_image_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -3294,12 +3294,14 @@ def instance_action(self, instance_id, action, **kwargs):
- **RESET** - Powers off the instance and then powers it back on.
- **SOFTSTOP** - Gracefully shuts down the instance by sending a shutdown command to the operating system.
- If the applications that run on the instance take a long time to shut down, they could be improperly stopped, resulting
- in data corruption. To avoid this, shut down the instance using the commands available in the OS before you softstop the
+ After waiting 15 minutes for the OS to shut down, the instance is powered off.
+ If the applications that run on the instance take more than 15 minutes to shut down, they could be improperly stopped, resulting
+ in data corruption. To avoid this, manually shut down the instance using the commands available in the OS before you softstop the
instance.
- - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system, and
- then powers the instance back on.
+ - **SOFTRESET** - Gracefully reboots the instance by sending a shutdown command to the operating system.
+ After waiting 15 minutes for the OS to shut down, the instance is powered off and
+ then powered back on.
- **SENDDIAGNOSTICINTERRUPT** - For advanced users. **Warning: Sending a diagnostic interrupt to a live system can
cause data corruption or system failure.** Sends a diagnostic interrupt that causes the instance's
@@ -3308,6 +3310,7 @@ def instance_action(self, instance_id, action, **kwargs):
the crash. After the OS restarts, you can analyze the crash dump to diagnose the issue. For more information, see
`Sending a Diagnostic Interrupt`__.
+
For more information about managing instance lifecycle states, see
`Stopping and Starting an Instance`__.
@@ -3332,7 +3335,7 @@ def instance_action(self, instance_id, action, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -4424,7 +4427,8 @@ def list_console_histories(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "REQUESTED", "GETTING-HISTORY", "SUCCEEDED", "FAILED"
@@ -5218,7 +5222,8 @@ def list_images(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "PROVISIONING", "IMPORTING", "AVAILABLE", "EXPORTING", "DISABLED", "DELETED"
@@ -5321,7 +5326,7 @@ def list_instance_console_connections(self, compartment_id, **kwargs):
"""
Lists the console connections for the specified compartment or instance.
- For more information about console access, see `Accessing the Console`__.
+ For more information about instance console connections, see `Troubleshooting Instances Using Instance Console Connections`__.
__ https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm
@@ -5615,7 +5620,8 @@ def list_instances(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "MOVING", "PROVISIONING", "RUNNING", "STARTING", "STOPPING", "STOPPED", "CREATING_IMAGE", "TERMINATING", "TERMINATED"
@@ -6110,7 +6116,7 @@ def terminate_instance(self, instance_id, **kwargs):
: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
+ 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 bool preserve_boot_volume: (optional)
@@ -6200,7 +6206,7 @@ def update_compute_image_capability_schema(self, compute_image_capability_schema
: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
+ 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 obj retry_strategy: (optional)
@@ -6282,7 +6288,7 @@ def update_console_history(self, instance_console_history_id, update_console_his
: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
+ 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 obj retry_strategy: (optional)
@@ -6365,7 +6371,7 @@ def update_dedicated_vm_host(self, dedicated_vm_host_id, update_dedicated_vm_hos
: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
+ 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)
@@ -6473,7 +6479,7 @@ def update_image(self, image_id, update_image_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6572,7 +6578,7 @@ def update_instance(self, instance_id, update_instance_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6662,7 +6668,7 @@ def update_instance_console_connection(self, instance_console_connection_id, upd
: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
+ 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 obj retry_strategy: (optional)
diff --git a/src/oci/core/compute_management_client.py b/src/oci/core/compute_management_client.py
index 8541cb56a1..10cdcd1f43 100644
--- a/src/oci/core/compute_management_client.py
+++ b/src/oci/core/compute_management_client.py
@@ -113,7 +113,7 @@ def attach_load_balancer(self, instance_pool_id, attach_load_balancer_details, *
: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
+ 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 obj retry_strategy: (optional)
@@ -208,7 +208,7 @@ def change_cluster_network_compartment(self, cluster_network_id, change_cluster_
: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
+ 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)
@@ -320,7 +320,7 @@ def change_instance_configuration_compartment(self, instance_configuration_id, c
: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
+ 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)
@@ -426,7 +426,7 @@ def change_instance_pool_compartment(self, instance_pool_id, change_instance_poo
: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
+ 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)
@@ -737,7 +737,7 @@ def delete_instance_configuration(self, instance_configuration_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -824,7 +824,7 @@ def detach_load_balancer(self, instance_pool_id, detach_load_balancer_details, *
: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
+ 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 obj retry_strategy: (optional)
@@ -1863,7 +1863,8 @@ def list_instance_pools(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle state. The state
+ value is case-insensitive.
Allowed values are: "PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING"
@@ -1958,7 +1959,7 @@ def list_instance_pools(self, compartment_id, **kwargs):
def reset_instance_pool(self, instance_pool_id, **kwargs):
"""
- Performs the reset (power off and power on) action on the specified instance pool,
+ Performs the reset (immediate power off and power on) action on the specified instance pool,
which performs the action on all the instances in the pool.
@@ -1976,7 +1977,7 @@ def reset_instance_pool(self, instance_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2052,6 +2053,9 @@ def softreset_instance_pool(self, instance_pool_id, **kwargs):
Performs the softreset (ACPI shutdown and power on) action on the specified instance pool,
which performs the action on all the instances in the pool.
+ Softreset gracefully reboots the instances by sending a shutdown command to the operating systems.
+ After waiting 15 minutes for the OS to shut down, the instances are powered off and then powered back on.
+
:param str instance_pool_id: (required)
The `OCID`__ of the instance pool.
@@ -2067,7 +2071,7 @@ def softreset_instance_pool(self, instance_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2158,7 +2162,7 @@ def start_instance_pool(self, instance_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2231,7 +2235,7 @@ def start_instance_pool(self, instance_pool_id, **kwargs):
def stop_instance_pool(self, instance_pool_id, **kwargs):
"""
- Performs the stop (power off) action on the specified instance pool,
+ Performs the stop (immediate power off) action on the specified instance pool,
which performs the action on all the instances in the pool.
@@ -2249,7 +2253,7 @@ def stop_instance_pool(self, instance_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2335,7 +2339,7 @@ def terminate_cluster_network(self, cluster_network_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2419,7 +2423,7 @@ def terminate_instance_pool(self, instance_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -2506,7 +2510,7 @@ def update_cluster_network(self, cluster_network_id, update_cluster_network_deta
: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
+ 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 obj retry_strategy: (optional)
@@ -2599,7 +2603,7 @@ def update_instance_configuration(self, instance_configuration_id, update_instan
: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
+ 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 obj retry_strategy: (optional)
@@ -2696,7 +2700,7 @@ def update_instance_pool(self, instance_pool_id, update_instance_pool_details, *
: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
+ 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 obj retry_strategy: (optional)
diff --git a/src/oci/core/models/__init__.py b/src/oci/core/models/__init__.py
index 26a7d2e86f..3b31418750 100644
--- a/src/oci/core/models/__init__.py
+++ b/src/oci/core/models/__init__.py
@@ -114,6 +114,7 @@
from .create_ip_sec_connection_details import CreateIPSecConnectionDetails
from .create_ip_sec_connection_tunnel_details import CreateIPSecConnectionTunnelDetails
from .create_ip_sec_tunnel_bgp_session_details import CreateIPSecTunnelBgpSessionDetails
+from .create_ip_sec_tunnel_encryption_domain_details import CreateIPSecTunnelEncryptionDomainDetails
from .create_image_details import CreateImageDetails
from .create_instance_configuration_base import CreateInstanceConfigurationBase
from .create_instance_configuration_details import CreateInstanceConfigurationDetails
@@ -168,6 +169,7 @@
from .drg_redundancy_status import DrgRedundancyStatus
from .egress_security_rule import EgressSecurityRule
from .emulated_volume_attachment import EmulatedVolumeAttachment
+from .encryption_domain_config import EncryptionDomainConfig
from .enum_integer_image_capability_descriptor import EnumIntegerImageCapabilityDescriptor
from .enum_string_image_capability_schema_descriptor import EnumStringImageCapabilitySchemaDescriptor
from .export_image_details import ExportImageDetails
@@ -296,6 +298,7 @@
from .update_ip_sec_connection_tunnel_details import UpdateIPSecConnectionTunnelDetails
from .update_ip_sec_connection_tunnel_shared_secret_details import UpdateIPSecConnectionTunnelSharedSecretDetails
from .update_ip_sec_tunnel_bgp_session_details import UpdateIPSecTunnelBgpSessionDetails
+from .update_ip_sec_tunnel_encryption_domain_details import UpdateIPSecTunnelEncryptionDomainDetails
from .update_image_details import UpdateImageDetails
from .update_instance_agent_config_details import UpdateInstanceAgentConfigDetails
from .update_instance_availability_config_details import UpdateInstanceAvailabilityConfigDetails
@@ -470,6 +473,7 @@
"CreateIPSecConnectionDetails": CreateIPSecConnectionDetails,
"CreateIPSecConnectionTunnelDetails": CreateIPSecConnectionTunnelDetails,
"CreateIPSecTunnelBgpSessionDetails": CreateIPSecTunnelBgpSessionDetails,
+ "CreateIPSecTunnelEncryptionDomainDetails": CreateIPSecTunnelEncryptionDomainDetails,
"CreateImageDetails": CreateImageDetails,
"CreateInstanceConfigurationBase": CreateInstanceConfigurationBase,
"CreateInstanceConfigurationDetails": CreateInstanceConfigurationDetails,
@@ -524,6 +528,7 @@
"DrgRedundancyStatus": DrgRedundancyStatus,
"EgressSecurityRule": EgressSecurityRule,
"EmulatedVolumeAttachment": EmulatedVolumeAttachment,
+ "EncryptionDomainConfig": EncryptionDomainConfig,
"EnumIntegerImageCapabilityDescriptor": EnumIntegerImageCapabilityDescriptor,
"EnumStringImageCapabilitySchemaDescriptor": EnumStringImageCapabilitySchemaDescriptor,
"ExportImageDetails": ExportImageDetails,
@@ -652,6 +657,7 @@
"UpdateIPSecConnectionTunnelDetails": UpdateIPSecConnectionTunnelDetails,
"UpdateIPSecConnectionTunnelSharedSecretDetails": UpdateIPSecConnectionTunnelSharedSecretDetails,
"UpdateIPSecTunnelBgpSessionDetails": UpdateIPSecTunnelBgpSessionDetails,
+ "UpdateIPSecTunnelEncryptionDomainDetails": UpdateIPSecTunnelEncryptionDomainDetails,
"UpdateImageDetails": UpdateImageDetails,
"UpdateInstanceAgentConfigDetails": UpdateInstanceAgentConfigDetails,
"UpdateInstanceAvailabilityConfigDetails": UpdateInstanceAvailabilityConfigDetails,
diff --git a/src/oci/core/models/add_security_rule_details.py b/src/oci/core/models/add_security_rule_details.py
index c5c5e6b888..845ea6f036 100644
--- a/src/oci/core/models/add_security_rule_details.py
+++ b/src/oci/core/models/add_security_rule_details.py
@@ -278,7 +278,8 @@ def destination_type(self, destination_type):
def direction(self):
"""
**[Required]** Gets the direction of this AddSecurityRuleDetails.
- Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets.
+ Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
+ or `INGRESS` for rules to allow inbound IP packets.
Allowed values for this property are: "EGRESS", "INGRESS"
@@ -292,7 +293,8 @@ def direction(self):
def direction(self, direction):
"""
Sets the direction of this AddSecurityRuleDetails.
- Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets.
+ Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
+ or `INGRESS` for rules to allow inbound IP packets.
:param direction: The direction of this AddSecurityRuleDetails.
diff --git a/src/oci/core/models/attach_load_balancer_details.py b/src/oci/core/models/attach_load_balancer_details.py
index 8cf85399fb..86d647bc93 100644
--- a/src/oci/core/models/attach_load_balancer_details.py
+++ b/src/oci/core/models/attach_load_balancer_details.py
@@ -134,7 +134,9 @@ def port(self, port):
def vnic_selection(self):
"""
**[Required]** Gets the vnic_selection of this AttachLoadBalancerDetails.
- Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
+ Indicates which VNIC on each instance in the pool should be used to associate with the load balancer.
+ Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration
+ that is associated with the instance pool.
:return: The vnic_selection of this AttachLoadBalancerDetails.
@@ -146,7 +148,9 @@ def vnic_selection(self):
def vnic_selection(self, vnic_selection):
"""
Sets the vnic_selection of this AttachLoadBalancerDetails.
- Indicates which VNIC on each instance in the pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
+ Indicates which VNIC on each instance in the pool should be used to associate with the load balancer.
+ Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration
+ that is associated with the instance pool.
:param vnic_selection: The vnic_selection of this AttachLoadBalancerDetails.
diff --git a/src/oci/core/models/boot_volume.py b/src/oci/core/models/boot_volume.py
index e3fd6a48e4..cb200b0cf7 100644
--- a/src/oci/core/models/boot_volume.py
+++ b/src/oci/core/models/boot_volume.py
@@ -420,7 +420,8 @@ def image_id(self, image_id):
def is_hydrated(self):
"""
Gets the is_hydrated of this BootVolume.
- Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
+ Specifies whether the boot volume's data has finished copying
+ from the source boot volume or boot volume backup.
:return: The is_hydrated of this BootVolume.
@@ -432,7 +433,8 @@ def is_hydrated(self):
def is_hydrated(self, is_hydrated):
"""
Sets the is_hydrated of this BootVolume.
- Specifies whether the boot volume's data has finished copying from the source boot volume or boot volume backup.
+ Specifies whether the boot volume's data has finished copying
+ from the source boot volume or boot volume backup.
:param is_hydrated: The is_hydrated of this BootVolume.
diff --git a/src/oci/core/models/cpe.py b/src/oci/core/models/cpe.py
index 8bd85b0da5..55677d35d7 100644
--- a/src/oci/core/models/cpe.py
+++ b/src/oci/core/models/cpe.py
@@ -20,9 +20,6 @@ class Cpe(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/cpe_device_config_question.py b/src/oci/core/models/cpe_device_config_question.py
index a3d1091321..f3e216404a 100644
--- a/src/oci/core/models/cpe_device_config_question.py
+++ b/src/oci/core/models/cpe_device_config_question.py
@@ -79,6 +79,7 @@ def display_name(self):
"""
Gets the display_name of this CpeDeviceConfigQuestion.
A descriptive label for the question (for example, to display in a form in a graphical interface).
+ Avoid entering confidential information.
:return: The display_name of this CpeDeviceConfigQuestion.
@@ -91,6 +92,7 @@ def display_name(self, display_name):
"""
Sets the display_name of this CpeDeviceConfigQuestion.
A descriptive label for the question (for example, to display in a form in a graphical interface).
+ Avoid entering confidential information.
:param display_name: The display_name of this CpeDeviceConfigQuestion.
diff --git a/src/oci/core/models/create_cluster_network_instance_pool_details.py b/src/oci/core/models/create_cluster_network_instance_pool_details.py
index 10f729fd83..eabdea8851 100644
--- a/src/oci/core/models/create_cluster_network_instance_pool_details.py
+++ b/src/oci/core/models/create_cluster_network_instance_pool_details.py
@@ -189,12 +189,6 @@ def size(self):
**[Required]** Gets the size of this CreateClusterNetworkInstancePoolDetails.
The number of instances that should be in the instance pool.
- For cluster networks with 10 or more instances, the cluster network is created if the required
- number of instances is available and at least 95% of the instances in the pool launch
- successfully. For cluster networks with less than 10 instances, all instances in the pool must
- launch successfully. If the cluster network fails to launch, wait a few minutes, and then try
- creating it again.
-
:return: The size of this CreateClusterNetworkInstancePoolDetails.
:rtype: int
@@ -207,12 +201,6 @@ def size(self, size):
Sets the size of this CreateClusterNetworkInstancePoolDetails.
The number of instances that should be in the instance pool.
- For cluster networks with 10 or more instances, the cluster network is created if the required
- number of instances is available and at least 95% of the instances in the pool launch
- successfully. For cluster networks with less than 10 instances, all instances in the pool must
- launch successfully. If the cluster network fails to launch, wait a few minutes, and then try
- creating it again.
-
:param size: The size of this CreateClusterNetworkInstancePoolDetails.
:type: int
diff --git a/src/oci/core/models/create_cpe_details.py b/src/oci/core/models/create_cpe_details.py
index 99201355c5..4a7faffef1 100644
--- a/src/oci/core/models/create_cpe_details.py
+++ b/src/oci/core/models/create_cpe_details.py
@@ -130,7 +130,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateCpeDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateCpeDetails.
@@ -142,7 +143,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateCpeDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateCpeDetails.
diff --git a/src/oci/core/models/create_dhcp_details.py b/src/oci/core/models/create_dhcp_details.py
index bbf6e6dddd..8a4fc30a48 100644
--- a/src/oci/core/models/create_dhcp_details.py
+++ b/src/oci/core/models/create_dhcp_details.py
@@ -130,7 +130,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateDhcpDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateDhcpDetails.
@@ -142,7 +143,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateDhcpDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateDhcpDetails.
diff --git a/src/oci/core/models/create_drg_attachment_details.py b/src/oci/core/models/create_drg_attachment_details.py
index 3bfa7d75c6..60b57e2b54 100644
--- a/src/oci/core/models/create_drg_attachment_details.py
+++ b/src/oci/core/models/create_drg_attachment_details.py
@@ -58,7 +58,8 @@ def __init__(self, **kwargs):
def display_name(self):
"""
Gets the display_name of this CreateDrgAttachmentDetails.
- A user-friendly name. Does not have to be unique. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique. Avoid entering
+ confidential information.
:return: The display_name of this CreateDrgAttachmentDetails.
@@ -70,7 +71,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateDrgAttachmentDetails.
- A user-friendly name. Does not have to be unique. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique. Avoid entering
+ confidential information.
:param display_name: The display_name of this CreateDrgAttachmentDetails.
diff --git a/src/oci/core/models/create_drg_details.py b/src/oci/core/models/create_drg_details.py
index 313b3bc4b6..f61b118e83 100644
--- a/src/oci/core/models/create_drg_details.py
+++ b/src/oci/core/models/create_drg_details.py
@@ -116,7 +116,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateDrgDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateDrgDetails.
@@ -128,7 +129,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateDrgDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateDrgDetails.
diff --git a/src/oci/core/models/create_instance_configuration_base.py b/src/oci/core/models/create_instance_configuration_base.py
index 10cfe410d0..5a3811deac 100644
--- a/src/oci/core/models/create_instance_configuration_base.py
+++ b/src/oci/core/models/create_instance_configuration_base.py
@@ -159,7 +159,7 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateInstanceConfigurationBase.
- A user-friendly name for the instance configuration. Does not have to be unique,
+ A user-friendly name for the instance configuration. Does not have to be unique,
and it's changeable. Avoid entering confidential information.
@@ -172,7 +172,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateInstanceConfigurationBase.
- A user-friendly name for the instance configuration. Does not have to be unique,
+ A user-friendly name for the instance configuration. Does not have to be unique,
and it's changeable. Avoid entering confidential information.
diff --git a/src/oci/core/models/create_internet_gateway_details.py b/src/oci/core/models/create_internet_gateway_details.py
index bd60482eb2..41bae8fe66 100644
--- a/src/oci/core/models/create_internet_gateway_details.py
+++ b/src/oci/core/models/create_internet_gateway_details.py
@@ -130,7 +130,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateInternetGatewayDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateInternetGatewayDetails.
@@ -142,7 +143,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateInternetGatewayDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateInternetGatewayDetails.
diff --git a/src/oci/core/models/create_ip_sec_connection_details.py b/src/oci/core/models/create_ip_sec_connection_details.py
index 52f6a57bf1..4ee7d99a9f 100644
--- a/src/oci/core/models/create_ip_sec_connection_details.py
+++ b/src/oci/core/models/create_ip_sec_connection_details.py
@@ -191,7 +191,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateIPSecConnectionDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateIPSecConnectionDetails.
@@ -203,7 +204,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateIPSecConnectionDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateIPSecConnectionDetails.
diff --git a/src/oci/core/models/create_ip_sec_connection_tunnel_details.py b/src/oci/core/models/create_ip_sec_connection_tunnel_details.py
index 4f6ea93ccd..07d73a9883 100644
--- a/src/oci/core/models/create_ip_sec_connection_tunnel_details.py
+++ b/src/oci/core/models/create_ip_sec_connection_tunnel_details.py
@@ -21,6 +21,10 @@ class CreateIPSecConnectionTunnelDetails(object):
#: This constant has a value of "STATIC"
ROUTING_STATIC = "STATIC"
+ #: A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
+ #: This constant has a value of "POLICY"
+ ROUTING_POLICY = "POLICY"
+
#: A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails.
#: This constant has a value of "V1"
IKE_VERSION_V1 = "V1"
@@ -40,7 +44,7 @@ def __init__(self, **kwargs):
:param routing:
The value to assign to the routing property of this CreateIPSecConnectionTunnelDetails.
- Allowed values for this property are: "BGP", "STATIC"
+ Allowed values for this property are: "BGP", "STATIC", "POLICY"
:type routing: str
:param ike_version:
@@ -56,13 +60,18 @@ def __init__(self, **kwargs):
The value to assign to the bgp_session_config property of this CreateIPSecConnectionTunnelDetails.
:type bgp_session_config: oci.core.models.CreateIPSecTunnelBgpSessionDetails
+ :param encryption_domain_config:
+ The value to assign to the encryption_domain_config property of this CreateIPSecConnectionTunnelDetails.
+ :type encryption_domain_config: oci.core.models.CreateIPSecTunnelEncryptionDomainDetails
+
"""
self.swagger_types = {
'display_name': 'str',
'routing': 'str',
'ike_version': 'str',
'shared_secret': 'str',
- 'bgp_session_config': 'CreateIPSecTunnelBgpSessionDetails'
+ 'bgp_session_config': 'CreateIPSecTunnelBgpSessionDetails',
+ 'encryption_domain_config': 'CreateIPSecTunnelEncryptionDomainDetails'
}
self.attribute_map = {
@@ -70,7 +79,8 @@ def __init__(self, **kwargs):
'routing': 'routing',
'ike_version': 'ikeVersion',
'shared_secret': 'sharedSecret',
- 'bgp_session_config': 'bgpSessionConfig'
+ 'bgp_session_config': 'bgpSessionConfig',
+ 'encryption_domain_config': 'encryptionDomainConfig'
}
self._display_name = None
@@ -78,6 +88,7 @@ def __init__(self, **kwargs):
self._ike_version = None
self._shared_secret = None
self._bgp_session_config = None
+ self._encryption_domain_config = None
@property
def display_name(self):
@@ -111,7 +122,7 @@ def routing(self):
Gets the routing of this CreateIPSecConnectionTunnelDetails.
The type of routing to use for this tunnel (either BGP dynamic routing or static routing).
- Allowed values for this property are: "BGP", "STATIC"
+ Allowed values for this property are: "BGP", "STATIC", "POLICY"
:return: The routing of this CreateIPSecConnectionTunnelDetails.
@@ -129,7 +140,7 @@ def routing(self, routing):
:param routing: The routing of this CreateIPSecConnectionTunnelDetails.
:type: str
"""
- allowed_values = ["BGP", "STATIC"]
+ allowed_values = ["BGP", "STATIC", "POLICY"]
if not value_allowed_none_or_none_sentinel(routing, allowed_values):
raise ValueError(
"Invalid value for `routing`, must be None or one of {0}"
@@ -219,6 +230,26 @@ def bgp_session_config(self, bgp_session_config):
"""
self._bgp_session_config = bgp_session_config
+ @property
+ def encryption_domain_config(self):
+ """
+ Gets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
+
+ :return: The encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
+ :rtype: oci.core.models.CreateIPSecTunnelEncryptionDomainDetails
+ """
+ return self._encryption_domain_config
+
+ @encryption_domain_config.setter
+ def encryption_domain_config(self, encryption_domain_config):
+ """
+ Sets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
+
+ :param encryption_domain_config: The encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
+ :type: oci.core.models.CreateIPSecTunnelEncryptionDomainDetails
+ """
+ self._encryption_domain_config = encryption_domain_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_ip_sec_tunnel_encryption_domain_details.py b/src/oci/core/models/create_ip_sec_tunnel_encryption_domain_details.py
new file mode 100644
index 0000000000..91f2fd6f66
--- /dev/null
+++ b/src/oci/core/models/create_ip_sec_tunnel_encryption_domain_details.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2021, 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.
+
+
+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 CreateIPSecTunnelEncryptionDomainDetails(object):
+ """
+ Request to enable a multi-encryption domain policy on the VPNaaS tunnel.
+ The cross product of oracleTrafficSelector and cpeTrafficSelector can't be more than 50.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateIPSecTunnelEncryptionDomainDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oracle_traffic_selector:
+ The value to assign to the oracle_traffic_selector property of this CreateIPSecTunnelEncryptionDomainDetails.
+ :type oracle_traffic_selector: list[str]
+
+ :param cpe_traffic_selector:
+ The value to assign to the cpe_traffic_selector property of this CreateIPSecTunnelEncryptionDomainDetails.
+ :type cpe_traffic_selector: list[str]
+
+ """
+ self.swagger_types = {
+ 'oracle_traffic_selector': 'list[str]',
+ 'cpe_traffic_selector': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'oracle_traffic_selector': 'oracleTrafficSelector',
+ 'cpe_traffic_selector': 'cpeTrafficSelector'
+ }
+
+ self._oracle_traffic_selector = None
+ self._cpe_traffic_selector = None
+
+ @property
+ def oracle_traffic_selector(self):
+ """
+ Gets the oracle_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :return: The oracle_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ :rtype: list[str]
+ """
+ return self._oracle_traffic_selector
+
+ @oracle_traffic_selector.setter
+ def oracle_traffic_selector(self, oracle_traffic_selector):
+ """
+ Sets the oracle_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :param oracle_traffic_selector: The oracle_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ :type: list[str]
+ """
+ self._oracle_traffic_selector = oracle_traffic_selector
+
+ @property
+ def cpe_traffic_selector(self):
+ """
+ Gets the cpe_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :return: The cpe_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ :rtype: list[str]
+ """
+ return self._cpe_traffic_selector
+
+ @cpe_traffic_selector.setter
+ def cpe_traffic_selector(self, cpe_traffic_selector):
+ """
+ Sets the cpe_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :param cpe_traffic_selector: The cpe_traffic_selector of this CreateIPSecTunnelEncryptionDomainDetails.
+ :type: list[str]
+ """
+ self._cpe_traffic_selector = cpe_traffic_selector
+
+ 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/core/models/create_ipv6_details.py b/src/oci/core/models/create_ipv6_details.py
index 1d351f15e0..c402348fda 100644
--- a/src/oci/core/models/create_ipv6_details.py
+++ b/src/oci/core/models/create_ipv6_details.py
@@ -237,7 +237,7 @@ def is_internet_access_allowed(self, is_internet_access_allowed):
@property
def vnic_id(self):
"""
- **[Required]** Gets the vnic_id of this CreateIpv6Details.
+ Gets the vnic_id of this CreateIpv6Details.
The `OCID`__ of the VNIC to assign the IPv6 to. The
IPv6 will be in the VNIC's subnet.
diff --git a/src/oci/core/models/create_route_table_details.py b/src/oci/core/models/create_route_table_details.py
index 58bd111a53..0aefe33a11 100644
--- a/src/oci/core/models/create_route_table_details.py
+++ b/src/oci/core/models/create_route_table_details.py
@@ -130,7 +130,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateRouteTableDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateRouteTableDetails.
@@ -142,7 +143,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateRouteTableDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateRouteTableDetails.
diff --git a/src/oci/core/models/create_security_list_details.py b/src/oci/core/models/create_security_list_details.py
index e767835622..175b91a18e 100644
--- a/src/oci/core/models/create_security_list_details.py
+++ b/src/oci/core/models/create_security_list_details.py
@@ -137,7 +137,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateSecurityListDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateSecurityListDetails.
@@ -149,7 +150,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateSecurityListDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateSecurityListDetails.
diff --git a/src/oci/core/models/create_subnet_details.py b/src/oci/core/models/create_subnet_details.py
index 408e15a1f2..b2e776b1ae 100644
--- a/src/oci/core/models/create_subnet_details.py
+++ b/src/oci/core/models/create_subnet_details.py
@@ -287,7 +287,8 @@ def dhcp_options_id(self, dhcp_options_id):
def display_name(self):
"""
Gets the display_name of this CreateSubnetDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateSubnetDetails.
@@ -299,7 +300,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateSubnetDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateSubnetDetails.
diff --git a/src/oci/core/models/create_vcn_details.py b/src/oci/core/models/create_vcn_details.py
index 9ba739a0cd..8af56b3471 100644
--- a/src/oci/core/models/create_vcn_details.py
+++ b/src/oci/core/models/create_vcn_details.py
@@ -279,7 +279,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateVcnDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateVcnDetails.
@@ -291,7 +292,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateVcnDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateVcnDetails.
diff --git a/src/oci/core/models/create_virtual_circuit_details.py b/src/oci/core/models/create_virtual_circuit_details.py
index 8eed286242..18afc65d64 100644
--- a/src/oci/core/models/create_virtual_circuit_details.py
+++ b/src/oci/core/models/create_virtual_circuit_details.py
@@ -151,7 +151,7 @@ def __init__(self, **kwargs):
def bandwidth_shape_name(self):
"""
Gets the bandwidth_shape_name of this CreateVirtualCircuitDetails.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
@@ -167,7 +167,7 @@ def bandwidth_shape_name(self):
def bandwidth_shape_name(self, bandwidth_shape_name):
"""
Sets the bandwidth_shape_name of this CreateVirtualCircuitDetails.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
diff --git a/src/oci/core/models/create_vlan_details.py b/src/oci/core/models/create_vlan_details.py
index 7d926a1936..29dea84c75 100644
--- a/src/oci/core/models/create_vlan_details.py
+++ b/src/oci/core/models/create_vlan_details.py
@@ -222,7 +222,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateVlanDetails.
- A descriptive name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A descriptive name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:return: The display_name of this CreateVlanDetails.
@@ -234,7 +235,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateVlanDetails.
- A descriptive name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A descriptive name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
:param display_name: The display_name of this CreateVlanDetails.
diff --git a/src/oci/core/models/create_volume_group_backup_details.py b/src/oci/core/models/create_volume_group_backup_details.py
index e23a37f588..3344910c16 100644
--- a/src/oci/core/models/create_volume_group_backup_details.py
+++ b/src/oci/core/models/create_volume_group_backup_details.py
@@ -81,7 +81,9 @@ def __init__(self, **kwargs):
def compartment_id(self):
"""
Gets the compartment_id of this CreateVolumeGroupBackupDetails.
- The OCID of the compartment that will contain the volume group backup. This parameter is optional, by default backup will be created in the same compartment and source volume group.
+ The OCID of the compartment that will contain the volume group
+ backup. This parameter is optional, by default backup will be created in
+ the same compartment and source volume group.
:return: The compartment_id of this CreateVolumeGroupBackupDetails.
@@ -93,7 +95,9 @@ def compartment_id(self):
def compartment_id(self, compartment_id):
"""
Sets the compartment_id of this CreateVolumeGroupBackupDetails.
- The OCID of the compartment that will contain the volume group backup. This parameter is optional, by default backup will be created in the same compartment and source volume group.
+ The OCID of the compartment that will contain the volume group
+ backup. This parameter is optional, by default backup will be created in
+ the same compartment and source volume group.
:param compartment_id: The compartment_id of this CreateVolumeGroupBackupDetails.
diff --git a/src/oci/core/models/create_volume_group_details.py b/src/oci/core/models/create_volume_group_details.py
index 0af338d578..27277a3e8e 100644
--- a/src/oci/core/models/create_volume_group_details.py
+++ b/src/oci/core/models/create_volume_group_details.py
@@ -187,7 +187,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
Gets the display_name of this CreateVolumeGroupDetails.
- A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group. Does not have to be
+ unique, and it's changeable. Avoid entering confidential information.
:return: The display_name of this CreateVolumeGroupDetails.
@@ -199,7 +200,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateVolumeGroupDetails.
- A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group. Does not have to be
+ unique, and it's changeable. Avoid entering confidential information.
:param display_name: The display_name of this CreateVolumeGroupDetails.
diff --git a/src/oci/core/models/cross_connect.py b/src/oci/core/models/cross_connect.py
index ba639477fe..3a003aef28 100644
--- a/src/oci/core/models/cross_connect.py
+++ b/src/oci/core/models/cross_connect.py
@@ -27,9 +27,6 @@ class CrossConnect(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/cross_connect_group.py b/src/oci/core/models/cross_connect_group.py
index 67699c0067..d95f135af2 100644
--- a/src/oci/core/models/cross_connect_group.py
+++ b/src/oci/core/models/cross_connect_group.py
@@ -24,9 +24,6 @@ class CrossConnectGroup(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/cross_connect_mapping.py b/src/oci/core/models/cross_connect_mapping.py
index 08d7f0fd52..55d86f0fb6 100644
--- a/src/oci/core/models/cross_connect_mapping.py
+++ b/src/oci/core/models/cross_connect_mapping.py
@@ -293,7 +293,7 @@ def customer_bgp_peering_ipv6(self, customer_bgp_peering_ipv6):
def oracle_bgp_peering_ipv6(self):
"""
Gets the oracle_bgp_peering_ipv6 of this CrossConnectMapping.
- The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
+ The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
If the session goes from Oracle to a customer's edge router,
the customer specifies this information. If the session goes from Oracle to
a provider's edge router, the provider specifies this.
@@ -317,7 +317,7 @@ def oracle_bgp_peering_ipv6(self):
def oracle_bgp_peering_ipv6(self, oracle_bgp_peering_ipv6):
"""
Sets the oracle_bgp_peering_ipv6 of this CrossConnectMapping.
- The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
+ The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed.
If the session goes from Oracle to a customer's edge router,
the customer specifies this information. If the session goes from Oracle to
a provider's edge router, the provider specifies this.
diff --git a/src/oci/core/models/dhcp_options.py b/src/oci/core/models/dhcp_options.py
index c4f7ac51ed..0b6046c1b6 100644
--- a/src/oci/core/models/dhcp_options.py
+++ b/src/oci/core/models/dhcp_options.py
@@ -26,9 +26,6 @@ class DhcpOptions(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/dns.htm
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingDHCP.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
diff --git a/src/oci/core/models/drg.py b/src/oci/core/models/drg.py
index 4eea45d1b2..98d0a7c3df 100644
--- a/src/oci/core/models/drg.py
+++ b/src/oci/core/models/drg.py
@@ -20,9 +20,6 @@ class Drg(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/drg_attachment.py b/src/oci/core/models/drg_attachment.py
index 905413e013..81bf605bfc 100644
--- a/src/oci/core/models/drg_attachment.py
+++ b/src/oci/core/models/drg_attachment.py
@@ -13,9 +13,6 @@ class DrgAttachment(object):
A link between a DRG and VCN. For more information, see
`Overview of the Networking Service`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
"""
diff --git a/src/oci/core/models/encryption_domain_config.py b/src/oci/core/models/encryption_domain_config.py
new file mode 100644
index 0000000000..b11ee231c6
--- /dev/null
+++ b/src/oci/core/models/encryption_domain_config.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2021, 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.
+
+
+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 EncryptionDomainConfig(object):
+ """
+ Configuration information used by the encryption domain policy.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new EncryptionDomainConfig object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oracle_traffic_selector:
+ The value to assign to the oracle_traffic_selector property of this EncryptionDomainConfig.
+ :type oracle_traffic_selector: list[str]
+
+ :param cpe_traffic_selector:
+ The value to assign to the cpe_traffic_selector property of this EncryptionDomainConfig.
+ :type cpe_traffic_selector: list[str]
+
+ """
+ self.swagger_types = {
+ 'oracle_traffic_selector': 'list[str]',
+ 'cpe_traffic_selector': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'oracle_traffic_selector': 'oracleTrafficSelector',
+ 'cpe_traffic_selector': 'cpeTrafficSelector'
+ }
+
+ self._oracle_traffic_selector = None
+ self._cpe_traffic_selector = None
+
+ @property
+ def oracle_traffic_selector(self):
+ """
+ Gets the oracle_traffic_selector of this EncryptionDomainConfig.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :return: The oracle_traffic_selector of this EncryptionDomainConfig.
+ :rtype: list[str]
+ """
+ return self._oracle_traffic_selector
+
+ @oracle_traffic_selector.setter
+ def oracle_traffic_selector(self, oracle_traffic_selector):
+ """
+ Sets the oracle_traffic_selector of this EncryptionDomainConfig.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :param oracle_traffic_selector: The oracle_traffic_selector of this EncryptionDomainConfig.
+ :type: list[str]
+ """
+ self._oracle_traffic_selector = oracle_traffic_selector
+
+ @property
+ def cpe_traffic_selector(self):
+ """
+ Gets the cpe_traffic_selector of this EncryptionDomainConfig.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :return: The cpe_traffic_selector of this EncryptionDomainConfig.
+ :rtype: list[str]
+ """
+ return self._cpe_traffic_selector
+
+ @cpe_traffic_selector.setter
+ def cpe_traffic_selector(self, cpe_traffic_selector):
+ """
+ Sets the cpe_traffic_selector of this EncryptionDomainConfig.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :param cpe_traffic_selector: The cpe_traffic_selector of this EncryptionDomainConfig.
+ :type: list[str]
+ """
+ self._cpe_traffic_selector = cpe_traffic_selector
+
+ 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/core/models/export_image_via_object_storage_uri_details.py b/src/oci/core/models/export_image_via_object_storage_uri_details.py
index cda83a15be..886c139fd0 100644
--- a/src/oci/core/models/export_image_via_object_storage_uri_details.py
+++ b/src/oci/core/models/export_image_via_object_storage_uri_details.py
@@ -46,8 +46,10 @@ def __init__(self, **kwargs):
def destination_uri(self):
"""
**[Required]** Gets the destination_uri of this ExportImageViaObjectStorageUriDetails.
- The Object Storage URL to export the image to. See `Object Storage URLs`__
- and `Using Pre-Authenticated Requests`__ for constructing URLs for image import/export.
+ The Object Storage URL to export the image to. See `Object
+ Storage URLs`__
+ and `Using Pre-Authenticated Requests`__
+ for constructing URLs for image import/export.
__ https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs
__ https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm
@@ -62,8 +64,10 @@ def destination_uri(self):
def destination_uri(self, destination_uri):
"""
Sets the destination_uri of this ExportImageViaObjectStorageUriDetails.
- The Object Storage URL to export the image to. See `Object Storage URLs`__
- and `Using Pre-Authenticated Requests`__ for constructing URLs for image import/export.
+ The Object Storage URL to export the image to. See `Object
+ Storage URLs`__
+ and `Using Pre-Authenticated Requests`__
+ for constructing URLs for image import/export.
__ https://docs.cloud.oracle.com/Content/Compute/Tasks/imageimportexport.htm#URLs
__ https://docs.cloud.oracle.com/Content/Object/Tasks/usingpreauthenticatedrequests.htm
diff --git a/src/oci/core/models/fast_connect_provider_service_key.py b/src/oci/core/models/fast_connect_provider_service_key.py
index 8371727bd8..8febfcd3ef 100644
--- a/src/oci/core/models/fast_connect_provider_service_key.py
+++ b/src/oci/core/models/fast_connect_provider_service_key.py
@@ -82,7 +82,7 @@ def name(self, name):
def bandwidth_shape_name(self):
"""
Gets the bandwidth_shape_name of this FastConnectProviderServiceKey.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
@@ -98,7 +98,7 @@ def bandwidth_shape_name(self):
def bandwidth_shape_name(self, bandwidth_shape_name):
"""
Sets the bandwidth_shape_name of this FastConnectProviderServiceKey.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
diff --git a/src/oci/core/models/i_scsi_volume_attachment.py b/src/oci/core/models/i_scsi_volume_attachment.py
index c509095e9d..9a9c4c70b6 100644
--- a/src/oci/core/models/i_scsi_volume_attachment.py
+++ b/src/oci/core/models/i_scsi_volume_attachment.py
@@ -159,7 +159,8 @@ def __init__(self, **kwargs):
def chap_secret(self):
"""
Gets the chap_secret of this IScsiVolumeAttachment.
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name.
+ The Challenge-Handshake-Authentication-Protocol (CHAP) secret
+ valid for the associated CHAP user name.
(Also called the \"CHAP password\".)
@@ -172,7 +173,8 @@ def chap_secret(self):
def chap_secret(self, chap_secret):
"""
Sets the chap_secret of this IScsiVolumeAttachment.
- The Challenge-Handshake-Authentication-Protocol (CHAP) secret valid for the associated CHAP user name.
+ The Challenge-Handshake-Authentication-Protocol (CHAP) secret
+ valid for the associated CHAP user name.
(Also called the \"CHAP password\".)
@@ -185,7 +187,8 @@ def chap_secret(self, chap_secret):
def chap_username(self):
"""
Gets the chap_username of this IScsiVolumeAttachment.
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See `RFC 1994`__ for more on CHAP.
+ The volume's system-generated Challenge-Handshake-Authentication-Protocol
+ (CHAP) user name. See `RFC 1994`__ for more on CHAP.
Example: `ocid1.volume.oc1.phx.`
@@ -201,7 +204,8 @@ def chap_username(self):
def chap_username(self, chap_username):
"""
Sets the chap_username of this IScsiVolumeAttachment.
- The volume's system-generated Challenge-Handshake-Authentication-Protocol (CHAP) user name. See `RFC 1994`__ for more on CHAP.
+ The volume's system-generated Challenge-Handshake-Authentication-Protocol
+ (CHAP) user name. See `RFC 1994`__ for more on CHAP.
Example: `ocid1.volume.oc1.phx.`
@@ -245,7 +249,8 @@ def ipv4(self, ipv4):
def iqn(self):
"""
**[Required]** Gets the iqn of this IScsiVolumeAttachment.
- The target volume's iSCSI Qualified Name in the format defined by `RFC 3720`__.
+ The target volume's iSCSI Qualified Name in the format defined
+ by `RFC 3720`__.
Example: `iqn.2015-12.us.oracle.com:`
@@ -261,7 +266,8 @@ def iqn(self):
def iqn(self, iqn):
"""
Sets the iqn of this IScsiVolumeAttachment.
- The target volume's iSCSI Qualified Name in the format defined by `RFC 3720`__.
+ The target volume's iSCSI Qualified Name in the format defined
+ by `RFC 3720`__.
Example: `iqn.2015-12.us.oracle.com:`
diff --git a/src/oci/core/models/image_source_details.py b/src/oci/core/models/image_source_details.py
index 979cfb4a4b..c6e450371c 100644
--- a/src/oci/core/models/image_source_details.py
+++ b/src/oci/core/models/image_source_details.py
@@ -128,7 +128,7 @@ def operating_system_version(self, operating_system_version):
def source_image_type(self):
"""
Gets the source_image_type of this ImageSourceDetails.
- The format of the image to be imported. Only monolithic
+ The format of the image to be imported. Only monolithic
images are supported. This attribute is not used for exported Oracle images with the OCI image format.
Allowed values for this property are: "QCOW2", "VMDK"
@@ -143,7 +143,7 @@ def source_image_type(self):
def source_image_type(self, source_image_type):
"""
Sets the source_image_type of this ImageSourceDetails.
- The format of the image to be imported. Only monolithic
+ The format of the image to be imported. Only monolithic
images are supported. This attribute is not used for exported Oracle images with the OCI image format.
diff --git a/src/oci/core/models/instance_agent_config.py b/src/oci/core/models/instance_agent_config.py
index 41156ae7f3..c9d47f5921 100644
--- a/src/oci/core/models/instance_agent_config.py
+++ b/src/oci/core/models/instance_agent_config.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class InstanceAgentConfig(object):
"""
- Instance agent configuration on the instance
+ Configuration options for the Oracle Cloud Agent software running on the instance.
"""
def __init__(self, **kwargs):
@@ -44,7 +44,8 @@ def __init__(self, **kwargs):
def is_monitoring_disabled(self):
"""
Gets the is_monitoring_disabled of this InstanceAgentConfig.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins.
:return: The is_monitoring_disabled of this InstanceAgentConfig.
@@ -56,7 +57,8 @@ def is_monitoring_disabled(self):
def is_monitoring_disabled(self, is_monitoring_disabled):
"""
Sets the is_monitoring_disabled of this InstanceAgentConfig.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins.
:param is_monitoring_disabled: The is_monitoring_disabled of this InstanceAgentConfig.
@@ -68,7 +70,7 @@ def is_monitoring_disabled(self, is_monitoring_disabled):
def is_management_disabled(self):
"""
Gets the is_management_disabled of this InstanceAgentConfig.
- Whether the agent running on the instance can run all the available management plugins.
+ Whether Oracle Cloud Agent can run all the available management plugins.
:return: The is_management_disabled of this InstanceAgentConfig.
@@ -80,7 +82,7 @@ def is_management_disabled(self):
def is_management_disabled(self, is_management_disabled):
"""
Sets the is_management_disabled of this InstanceAgentConfig.
- Whether the agent running on the instance can run all the available management plugins.
+ Whether Oracle Cloud Agent can run all the available management plugins.
:param is_management_disabled: The is_management_disabled of this InstanceAgentConfig.
diff --git a/src/oci/core/models/instance_agent_features.py b/src/oci/core/models/instance_agent_features.py
index b39c726445..9aca7d0b18 100644
--- a/src/oci/core/models/instance_agent_features.py
+++ b/src/oci/core/models/instance_agent_features.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class InstanceAgentFeatures(object):
"""
- Instance agent features supported on the image
+ Oracle Cloud Agent features supported on the image.
"""
def __init__(self, **kwargs):
@@ -44,7 +44,7 @@ def __init__(self, **kwargs):
def is_monitoring_supported(self):
"""
Gets the is_monitoring_supported of this InstanceAgentFeatures.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance.
:return: The is_monitoring_supported of this InstanceAgentFeatures.
@@ -56,7 +56,7 @@ def is_monitoring_supported(self):
def is_monitoring_supported(self, is_monitoring_supported):
"""
Sets the is_monitoring_supported of this InstanceAgentFeatures.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance.
:param is_monitoring_supported: The is_monitoring_supported of this InstanceAgentFeatures.
@@ -68,7 +68,7 @@ def is_monitoring_supported(self, is_monitoring_supported):
def is_management_supported(self):
"""
Gets the is_management_supported of this InstanceAgentFeatures.
- Whether the agent running on the instance can run all the available management plugins
+ Whether Oracle Cloud Agent can run all the available management plugins.
:return: The is_management_supported of this InstanceAgentFeatures.
@@ -80,7 +80,7 @@ def is_management_supported(self):
def is_management_supported(self, is_management_supported):
"""
Sets the is_management_supported of this InstanceAgentFeatures.
- Whether the agent running on the instance can run all the available management plugins
+ Whether Oracle Cloud Agent can run all the available management plugins.
:param is_management_supported: The is_management_supported of this InstanceAgentFeatures.
diff --git a/src/oci/core/models/instance_configuration_instance_source_via_image_details.py b/src/oci/core/models/instance_configuration_instance_source_via_image_details.py
index 298c36c735..0307fcc254 100644
--- a/src/oci/core/models/instance_configuration_instance_source_via_image_details.py
+++ b/src/oci/core/models/instance_configuration_instance_source_via_image_details.py
@@ -53,7 +53,8 @@ def __init__(self, **kwargs):
def boot_volume_size_in_gbs(self):
"""
Gets the boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails.
- The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 16384 GB (16TB).
+ The size of the boot volume in GBs. The minimum value is 50 GB and the maximum
+ value is 16384 GB (16TB).
:return: The boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails.
@@ -65,7 +66,8 @@ def boot_volume_size_in_gbs(self):
def boot_volume_size_in_gbs(self, boot_volume_size_in_gbs):
"""
Sets the boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails.
- The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 16384 GB (16TB).
+ The size of the boot volume in GBs. The minimum value is 50 GB and the maximum
+ value is 16384 GB (16TB).
:param boot_volume_size_in_gbs: The boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails.
diff --git a/src/oci/core/models/instance_configuration_launch_instance_agent_config_details.py b/src/oci/core/models/instance_configuration_launch_instance_agent_config_details.py
index f1b7667fb7..c8b35d29a7 100644
--- a/src/oci/core/models/instance_configuration_launch_instance_agent_config_details.py
+++ b/src/oci/core/models/instance_configuration_launch_instance_agent_config_details.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class InstanceConfigurationLaunchInstanceAgentConfigDetails(object):
"""
- Instance agent configuration options to choose for launching the instance
+ Configuration options for the Oracle Cloud Agent software running on the instance.
"""
def __init__(self, **kwargs):
@@ -44,8 +44,8 @@ def __init__(self, **kwargs):
def is_monitoring_disabled(self):
"""
Gets the is_monitoring_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
- Default value is false.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins. Default value is false (monitoring plugins are enabled).
:return: The is_monitoring_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
@@ -57,8 +57,8 @@ def is_monitoring_disabled(self):
def is_monitoring_disabled(self, is_monitoring_disabled):
"""
Sets the is_monitoring_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
- Default value is false.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins. Default value is false (monitoring plugins are enabled).
:param is_monitoring_disabled: The is_monitoring_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
@@ -70,8 +70,8 @@ def is_monitoring_disabled(self, is_monitoring_disabled):
def is_management_disabled(self):
"""
Gets the is_management_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins.
- Default value is false.
+ Whether Oracle Cloud Agent can run all the available management plugins.
+ Default value is false (management plugins are enabled).
:return: The is_management_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
@@ -83,8 +83,8 @@ def is_management_disabled(self):
def is_management_disabled(self, is_management_disabled):
"""
Sets the is_management_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins.
- Default value is false.
+ Whether Oracle Cloud Agent can run all the available management plugins.
+ Default value is false (management plugins are enabled).
:param is_management_disabled: The is_management_disabled of this InstanceConfigurationLaunchInstanceAgentConfigDetails.
diff --git a/src/oci/core/models/instance_configuration_launch_options.py b/src/oci/core/models/instance_configuration_launch_options.py
index 53f18508da..aa420fa20e 100644
--- a/src/oci/core/models/instance_configuration_launch_options.py
+++ b/src/oci/core/models/instance_configuration_launch_options.py
@@ -145,7 +145,7 @@ def boot_volume_type(self):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -167,7 +167,7 @@ def boot_volume_type(self, boot_volume_type):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -185,10 +185,10 @@ def boot_volume_type(self, boot_volume_type):
def firmware(self):
"""
Gets the firmware of this InstanceConfigurationLaunchOptions.
- Firmware used to boot VM. Select the option that matches your operating system.
- * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
systems that boot using MBR style bootloaders.
- * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
default for Oracle-provided images.
Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'.
@@ -204,10 +204,10 @@ def firmware(self):
def firmware(self, firmware):
"""
Sets the firmware of this InstanceConfigurationLaunchOptions.
- Firmware used to boot VM. Select the option that matches your operating system.
- * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
systems that boot using MBR style bootloaders.
- * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
default for Oracle-provided images.
@@ -224,7 +224,7 @@ def network_type(self):
"""
Gets the network_type of this InstanceConfigurationLaunchOptions.
Emulation type for the physical network interface card (NIC).
- * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
* `VFIO` - Direct attached Virtual Function network controller. This is the networking type
when you launch an instance using hardware-assisted (SR-IOV) networking.
* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
@@ -243,7 +243,7 @@ def network_type(self, network_type):
"""
Sets the network_type of this InstanceConfigurationLaunchOptions.
Emulation type for the physical network interface card (NIC).
- * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
* `VFIO` - Direct attached Virtual Function network controller. This is the networking type
when you launch an instance using hardware-assisted (SR-IOV) networking.
* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
@@ -265,7 +265,7 @@ def remote_data_volume_type(self):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -287,7 +287,7 @@ def remote_data_volume_type(self, remote_data_volume_type):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
diff --git a/src/oci/core/models/instance_console_connection.py b/src/oci/core/models/instance_console_connection.py
index 87fbc765e3..f1f6491307 100644
--- a/src/oci/core/models/instance_console_connection.py
+++ b/src/oci/core/models/instance_console_connection.py
@@ -13,8 +13,7 @@ class InstanceConsoleConnection(object):
The `InstanceConsoleConnection` API provides you with console access to Compute instances,
enabling you to troubleshoot malfunctioning instances remotely.
- For more information about console access, see
- `Accessing the Console`__.
+ For more information about instance console connections, see `Troubleshooting Instances Using Instance Console Connections`__.
__ https://docs.cloud.oracle.com/Content/Compute/References/serialconsole.htm
"""
diff --git a/src/oci/core/models/instance_pool_load_balancer_attachment.py b/src/oci/core/models/instance_pool_load_balancer_attachment.py
index 5b79399845..cd1ee064ca 100644
--- a/src/oci/core/models/instance_pool_load_balancer_attachment.py
+++ b/src/oci/core/models/instance_pool_load_balancer_attachment.py
@@ -229,7 +229,9 @@ def port(self, port):
def vnic_selection(self):
"""
**[Required]** Gets the vnic_selection of this InstancePoolLoadBalancerAttachment.
- Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
+ Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer.
+ Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration
+ that is associated with the instance pool.
:return: The vnic_selection of this InstancePoolLoadBalancerAttachment.
@@ -241,7 +243,9 @@ def vnic_selection(self):
def vnic_selection(self, vnic_selection):
"""
Sets the vnic_selection of this InstancePoolLoadBalancerAttachment.
- Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool.
+ Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer.
+ Possible values are \"PrimaryVnic\" or the displayName of one of the secondary VNICs on the instance configuration
+ that is associated with the instance pool.
:param vnic_selection: The vnic_selection of this InstancePoolLoadBalancerAttachment.
diff --git a/src/oci/core/models/instance_pool_summary.py b/src/oci/core/models/instance_pool_summary.py
index b4e338de8b..8089296744 100644
--- a/src/oci/core/models/instance_pool_summary.py
+++ b/src/oci/core/models/instance_pool_summary.py
@@ -182,7 +182,7 @@ def compartment_id(self, compartment_id):
def display_name(self):
"""
Gets the display_name of this InstancePoolSummary.
- The user-friendly name. Does not have to be unique.
+ The user-friendly name. Does not have to be unique.
:return: The display_name of this InstancePoolSummary.
@@ -194,7 +194,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this InstancePoolSummary.
- The user-friendly name. Does not have to be unique.
+ The user-friendly name. Does not have to be unique.
:param display_name: The display_name of this InstancePoolSummary.
diff --git a/src/oci/core/models/instance_summary.py b/src/oci/core/models/instance_summary.py
index 306df0164c..fc7a908117 100644
--- a/src/oci/core/models/instance_summary.py
+++ b/src/oci/core/models/instance_summary.py
@@ -179,7 +179,7 @@ def compartment_id(self, compartment_id):
def display_name(self):
"""
Gets the display_name of this InstanceSummary.
- The user-friendly name. Does not have to be unique.
+ The user-friendly name. Does not have to be unique.
:return: The display_name of this InstanceSummary.
@@ -191,7 +191,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this InstanceSummary.
- The user-friendly name. Does not have to be unique.
+ The user-friendly name. Does not have to be unique.
:param display_name: The display_name of this InstanceSummary.
diff --git a/src/oci/core/models/internet_gateway.py b/src/oci/core/models/internet_gateway.py
index 9c982fd006..1f76b40178 100644
--- a/src/oci/core/models/internet_gateway.py
+++ b/src/oci/core/models/internet_gateway.py
@@ -18,9 +18,6 @@ class InternetGateway(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm#scenarios
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/ip_sec_connection.py b/src/oci/core/models/ip_sec_connection.py
index 3baefba0a2..171aa0e077 100644
--- a/src/oci/core/models/ip_sec_connection.py
+++ b/src/oci/core/models/ip_sec_connection.py
@@ -32,9 +32,6 @@ class IPSecConnection(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPsec.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/ip_sec_connection_tunnel.py b/src/oci/core/models/ip_sec_connection_tunnel.py
index 9e77f72fed..decd225b6f 100644
--- a/src/oci/core/models/ip_sec_connection_tunnel.py
+++ b/src/oci/core/models/ip_sec_connection_tunnel.py
@@ -27,6 +27,10 @@ class IPSecConnectionTunnel(object):
#: This constant has a value of "DOWN_FOR_MAINTENANCE"
STATUS_DOWN_FOR_MAINTENANCE = "DOWN_FOR_MAINTENANCE"
+ #: A constant which can be used with the status property of a IPSecConnectionTunnel.
+ #: This constant has a value of "PARTIAL_UP"
+ STATUS_PARTIAL_UP = "PARTIAL_UP"
+
#: A constant which can be used with the ike_version property of a IPSecConnectionTunnel.
#: This constant has a value of "V1"
IKE_VERSION_V1 = "V1"
@@ -59,6 +63,10 @@ class IPSecConnectionTunnel(object):
#: This constant has a value of "STATIC"
ROUTING_STATIC = "STATIC"
+ #: A constant which can be used with the routing property of a IPSecConnectionTunnel.
+ #: This constant has a value of "POLICY"
+ ROUTING_POLICY = "POLICY"
+
def __init__(self, **kwargs):
"""
Initializes a new IPSecConnectionTunnel object with values from keyword arguments.
@@ -82,7 +90,7 @@ def __init__(self, **kwargs):
:param status:
The value to assign to the status property of this IPSecConnectionTunnel.
- Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
@@ -106,9 +114,13 @@ def __init__(self, **kwargs):
The value to assign to the bgp_session_info property of this IPSecConnectionTunnel.
:type bgp_session_info: oci.core.models.BgpSessionInfo
+ :param encryption_domain_config:
+ The value to assign to the encryption_domain_config property of this IPSecConnectionTunnel.
+ :type encryption_domain_config: oci.core.models.EncryptionDomainConfig
+
:param routing:
The value to assign to the routing property of this IPSecConnectionTunnel.
- Allowed values for this property are: "BGP", "STATIC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "BGP", "STATIC", "POLICY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type routing: str
@@ -131,6 +143,7 @@ def __init__(self, **kwargs):
'lifecycle_state': 'str',
'display_name': 'str',
'bgp_session_info': 'BgpSessionInfo',
+ 'encryption_domain_config': 'EncryptionDomainConfig',
'routing': 'str',
'time_created': 'datetime',
'time_status_updated': 'datetime'
@@ -146,6 +159,7 @@ def __init__(self, **kwargs):
'lifecycle_state': 'lifecycleState',
'display_name': 'displayName',
'bgp_session_info': 'bgpSessionInfo',
+ 'encryption_domain_config': 'encryptionDomainConfig',
'routing': 'routing',
'time_created': 'timeCreated',
'time_status_updated': 'timeStatusUpdated'
@@ -160,6 +174,7 @@ def __init__(self, **kwargs):
self._lifecycle_state = None
self._display_name = None
self._bgp_session_info = None
+ self._encryption_domain_config = None
self._routing = None
self._time_created = None
self._time_status_updated = None
@@ -282,7 +297,7 @@ def status(self):
Gets the status of this IPSecConnectionTunnel.
The status of the tunnel based on IPSec protocol characteristics.
- Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -301,7 +316,7 @@ def status(self, status):
:param status: The status of this IPSecConnectionTunnel.
:type: str
"""
- allowed_values = ["UP", "DOWN", "DOWN_FOR_MAINTENANCE"]
+ allowed_values = ["UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
status = 'UNKNOWN_ENUM_VALUE'
self._status = status
@@ -412,13 +427,33 @@ def bgp_session_info(self, bgp_session_info):
"""
self._bgp_session_info = bgp_session_info
+ @property
+ def encryption_domain_config(self):
+ """
+ Gets the encryption_domain_config of this IPSecConnectionTunnel.
+
+ :return: The encryption_domain_config of this IPSecConnectionTunnel.
+ :rtype: oci.core.models.EncryptionDomainConfig
+ """
+ return self._encryption_domain_config
+
+ @encryption_domain_config.setter
+ def encryption_domain_config(self, encryption_domain_config):
+ """
+ Sets the encryption_domain_config of this IPSecConnectionTunnel.
+
+ :param encryption_domain_config: The encryption_domain_config of this IPSecConnectionTunnel.
+ :type: oci.core.models.EncryptionDomainConfig
+ """
+ self._encryption_domain_config = encryption_domain_config
+
@property
def routing(self):
"""
Gets the routing of this IPSecConnectionTunnel.
The type of routing used for this tunnel (either BGP dynamic routing or static routing).
- Allowed values for this property are: "BGP", "STATIC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "BGP", "STATIC", "POLICY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -437,7 +472,7 @@ def routing(self, routing):
:param routing: The routing of this IPSecConnectionTunnel.
:type: str
"""
- allowed_values = ["BGP", "STATIC"]
+ allowed_values = ["BGP", "STATIC", "POLICY"]
if not value_allowed_none_or_none_sentinel(routing, allowed_values):
routing = 'UNKNOWN_ENUM_VALUE'
self._routing = routing
diff --git a/src/oci/core/models/ipv6.py b/src/oci/core/models/ipv6.py
index 74e1cac7d6..a6dc230857 100644
--- a/src/oci/core/models/ipv6.py
+++ b/src/oci/core/models/ipv6.py
@@ -295,7 +295,7 @@ def ip_address(self):
**[Required]** Gets the ip_address of this Ipv6.
The IPv6 address of the `IPv6` object. The address is within the private IPv6 CIDR block
of the VNIC's subnet (see the `ipv6CidrBlock` attribute for the :class:`Subnet`
- object).
+ object.
Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789`
@@ -311,7 +311,7 @@ def ip_address(self, ip_address):
Sets the ip_address of this Ipv6.
The IPv6 address of the `IPv6` object. The address is within the private IPv6 CIDR block
of the VNIC's subnet (see the `ipv6CidrBlock` attribute for the :class:`Subnet`
- object).
+ object.
Example: `2001:0db8:0123:1111:abcd:ef01:2345:6789`
@@ -500,7 +500,7 @@ def time_created(self, time_created):
@property
def vnic_id(self):
"""
- **[Required]** Gets the vnic_id of this Ipv6.
+ Gets the vnic_id of this Ipv6.
The `OCID`__ of the VNIC the IPv6 is assigned to.
The VNIC and IPv6 must be in the same subnet.
diff --git a/src/oci/core/models/launch_instance_agent_config_details.py b/src/oci/core/models/launch_instance_agent_config_details.py
index 5bd13fbcfd..cd7ffa4732 100644
--- a/src/oci/core/models/launch_instance_agent_config_details.py
+++ b/src/oci/core/models/launch_instance_agent_config_details.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class LaunchInstanceAgentConfigDetails(object):
"""
- Instance agent configuration options to choose for launching the instance
+ Configuration options for the Oracle Cloud Agent software running on the instance.
"""
def __init__(self, **kwargs):
@@ -44,8 +44,8 @@ def __init__(self, **kwargs):
def is_monitoring_disabled(self):
"""
Gets the is_monitoring_disabled of this LaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
- Default value is false.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins. Default value is false (monitoring plugins are enabled).
:return: The is_monitoring_disabled of this LaunchInstanceAgentConfigDetails.
@@ -57,8 +57,8 @@ def is_monitoring_disabled(self):
def is_monitoring_disabled(self, is_monitoring_disabled):
"""
Sets the is_monitoring_disabled of this LaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
- Default value is false.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins. Default value is false (monitoring plugins are enabled).
:param is_monitoring_disabled: The is_monitoring_disabled of this LaunchInstanceAgentConfigDetails.
@@ -70,8 +70,8 @@ def is_monitoring_disabled(self, is_monitoring_disabled):
def is_management_disabled(self):
"""
Gets the is_management_disabled of this LaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins.
- Default value is false.
+ Whether Oracle Cloud Agent can run all the available management plugins.
+ Default value is false (management plugins are enabled).
:return: The is_management_disabled of this LaunchInstanceAgentConfigDetails.
@@ -83,8 +83,8 @@ def is_management_disabled(self):
def is_management_disabled(self, is_management_disabled):
"""
Sets the is_management_disabled of this LaunchInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins.
- Default value is false.
+ Whether Oracle Cloud Agent can run all the available management plugins.
+ Default value is false (management plugins are enabled).
:param is_management_disabled: The is_management_disabled of this LaunchInstanceAgentConfigDetails.
diff --git a/src/oci/core/models/launch_instance_details.py b/src/oci/core/models/launch_instance_details.py
index 18e77f11ec..1c6322ebef 100644
--- a/src/oci/core/models/launch_instance_details.py
+++ b/src/oci/core/models/launch_instance_details.py
@@ -897,7 +897,7 @@ def subnet_id(self, subnet_id):
def is_pv_encryption_in_transit_enabled(self):
"""
Gets the is_pv_encryption_in_transit_enabled of this LaunchInstanceDetails.
- Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
+ Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
:return: The is_pv_encryption_in_transit_enabled of this LaunchInstanceDetails.
@@ -909,7 +909,7 @@ def is_pv_encryption_in_transit_enabled(self):
def is_pv_encryption_in_transit_enabled(self, is_pv_encryption_in_transit_enabled):
"""
Sets the is_pv_encryption_in_transit_enabled of this LaunchInstanceDetails.
- Whether to enable in-transit encryption for the data volume's paravirtualized attachment. The default value is false.
+ Whether to enable in-transit encryption for the data volume's paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
:param is_pv_encryption_in_transit_enabled: The is_pv_encryption_in_transit_enabled of this LaunchInstanceDetails.
diff --git a/src/oci/core/models/launch_options.py b/src/oci/core/models/launch_options.py
index ce192d3392..8c3ddce8ae 100644
--- a/src/oci/core/models/launch_options.py
+++ b/src/oci/core/models/launch_options.py
@@ -145,7 +145,7 @@ def boot_volume_type(self):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle-provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -167,7 +167,7 @@ def boot_volume_type(self, boot_volume_type):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle-provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -185,10 +185,10 @@ def boot_volume_type(self, boot_volume_type):
def firmware(self):
"""
Gets the firmware of this LaunchOptions.
- Firmware used to boot VM. Select the option that matches your operating system.
- * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
systems that boot using MBR style bootloaders.
- * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
default for Oracle-provided images.
Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'.
@@ -204,10 +204,10 @@ def firmware(self):
def firmware(self, firmware):
"""
Sets the firmware of this LaunchOptions.
- Firmware used to boot VM. Select the option that matches your operating system.
- * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
+ Firmware used to boot VM. Select the option that matches your operating system.
+ * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating
systems that boot using MBR style bootloaders.
- * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
+ * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the
default for Oracle-provided images.
@@ -224,7 +224,7 @@ def network_type(self):
"""
Gets the network_type of this LaunchOptions.
Emulation type for the physical network interface card (NIC).
- * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
* `VFIO` - Direct attached Virtual Function network controller. This is the networking type
when you launch an instance using hardware-assisted (SR-IOV) networking.
* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
@@ -243,7 +243,7 @@ def network_type(self, network_type):
"""
Sets the network_type of this LaunchOptions.
Emulation type for the physical network interface card (NIC).
- * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
+ * `E1000` - Emulated Gigabit ethernet controller. Compatible with Linux e1000 network driver.
* `VFIO` - Direct attached Virtual Function network controller. This is the networking type
when you launch an instance using hardware-assisted (SR-IOV) networking.
* `PARAVIRTUALIZED` - VM instances launch with paravirtualized devices using VirtIO drivers.
@@ -265,7 +265,7 @@ def remote_data_volume_type(self):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle-provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
@@ -287,7 +287,7 @@ def remote_data_volume_type(self, remote_data_volume_type):
* `ISCSI` - ISCSI attached block storage device.
* `SCSI` - Emulated SCSI disk.
* `IDE` - Emulated IDE disk.
- * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
+ * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data
volumes on Oracle-provided images.
* `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block
storage volumes on Oracle-provided images.
diff --git a/src/oci/core/models/local_peering_gateway.py b/src/oci/core/models/local_peering_gateway.py
index 6fcf46c94c..4f953f1505 100644
--- a/src/oci/core/models/local_peering_gateway.py
+++ b/src/oci/core/models/local_peering_gateway.py
@@ -20,9 +20,6 @@ class LocalPeeringGateway(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/nat_gateway.py b/src/oci/core/models/nat_gateway.py
index 50711829cd..f0f02c7e4c 100644
--- a/src/oci/core/models/nat_gateway.py
+++ b/src/oci/core/models/nat_gateway.py
@@ -21,9 +21,6 @@ class NatGateway(object):
policies to give users access, see `Getting Started with
Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/NATgateway.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
@@ -264,7 +261,8 @@ def freeform_tags(self, freeform_tags):
def id(self):
"""
**[Required]** Gets the id of this NatGateway.
- The `OCID`__ of the NAT gateway.
+ The `OCID`__ of the
+ NAT gateway.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -278,7 +276,8 @@ def id(self):
def id(self, id):
"""
Sets the id of this NatGateway.
- The `OCID`__ of the NAT gateway.
+ The `OCID`__ of the
+ NAT gateway.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/core/models/network_security_group.py b/src/oci/core/models/network_security_group.py
index fb974c4d4b..cd3e725740 100644
--- a/src/oci/core/models/network_security_group.py
+++ b/src/oci/core/models/network_security_group.py
@@ -49,9 +49,6 @@ class NetworkSecurityGroup(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/peer_region_for_remote_peering.py b/src/oci/core/models/peer_region_for_remote_peering.py
index 0701c70130..87eb0b7498 100644
--- a/src/oci/core/models/peer_region_for_remote_peering.py
+++ b/src/oci/core/models/peer_region_for_remote_peering.py
@@ -10,7 +10,8 @@
@init_model_state_from_kwargs
class PeerRegionForRemotePeering(object):
"""
- Details about a region that supports remote VCN peering. For more information, see `VCN Peering`__.
+ Details about a region that supports remote VCN peering. For more
+ information, see `VCN Peering`__.
__ https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm
"""
diff --git a/src/oci/core/models/private_ip.py b/src/oci/core/models/private_ip.py
index d850dca774..b4e132ff0d 100644
--- a/src/oci/core/models/private_ip.py
+++ b/src/oci/core/models/private_ip.py
@@ -45,9 +45,6 @@ class PrivateIp(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPaddresses.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
@@ -544,7 +541,6 @@ def vnic_id(self):
Gets the vnic_id of this PrivateIp.
The OCID of the VNIC the private IP is assigned to. The VNIC and private IP
must be in the same subnet.
-
However, if the `PrivateIp` object is being used with a VLAN as part of
the Oracle Cloud VMware Solution, the `vnicId` is null.
@@ -560,7 +556,6 @@ def vnic_id(self, vnic_id):
Sets the vnic_id of this PrivateIp.
The OCID of the VNIC the private IP is assigned to. The VNIC and private IP
must be in the same subnet.
-
However, if the `PrivateIp` object is being used with a VLAN as part of
the Oracle Cloud VMware Solution, the `vnicId` is null.
diff --git a/src/oci/core/models/public_ip.py b/src/oci/core/models/public_ip.py
index 5022c8b296..5e4e171cba 100644
--- a/src/oci/core/models/public_ip.py
+++ b/src/oci/core/models/public_ip.py
@@ -20,9 +20,6 @@ class PublicIp(object):
For more information and comparison of the two types,
see `Public IP Addresses`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingpublicIPs.htm
"""
diff --git a/src/oci/core/models/remote_peering_connection.py b/src/oci/core/models/remote_peering_connection.py
index 4bdd96db4e..087e631d10 100644
--- a/src/oci/core/models/remote_peering_connection.py
+++ b/src/oci/core/models/remote_peering_connection.py
@@ -20,9 +20,6 @@ class RemotePeeringConnection(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/VCNpeering.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/route_table.py b/src/oci/core/models/route_table.py
index a0d3da7799..55107df54e 100644
--- a/src/oci/core/models/route_table.py
+++ b/src/oci/core/models/route_table.py
@@ -18,9 +18,6 @@ class RouteTable(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/security_list.py b/src/oci/core/models/security_list.py
index a1d3e220d5..7e1f10f3ae 100644
--- a/src/oci/core/models/security_list.py
+++ b/src/oci/core/models/security_list.py
@@ -28,9 +28,6 @@ class SecurityList(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/securitylists.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/security_rule.py b/src/oci/core/models/security_rule.py
index eb7de43c7e..4e60991a0b 100644
--- a/src/oci/core/models/security_rule.py
+++ b/src/oci/core/models/security_rule.py
@@ -302,7 +302,8 @@ def destination_type(self, destination_type):
def direction(self):
"""
**[Required]** Gets the direction of this SecurityRule.
- Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets.
+ Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
+ or `INGRESS` for rules to allow inbound IP packets.
Allowed values for this property are: "EGRESS", "INGRESS", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -317,7 +318,8 @@ def direction(self):
def direction(self, direction):
"""
Sets the direction of this SecurityRule.
- Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets.
+ Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets,
+ or `INGRESS` for rules to allow inbound IP packets.
:param direction: The direction of this SecurityRule.
diff --git a/src/oci/core/models/service_gateway.py b/src/oci/core/models/service_gateway.py
index 9576ee7bbc..fca87f365a 100644
--- a/src/oci/core/models/service_gateway.py
+++ b/src/oci/core/models/service_gateway.py
@@ -22,9 +22,6 @@ class ServiceGateway(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/servicegateway.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
diff --git a/src/oci/core/models/subnet.py b/src/oci/core/models/subnet.py
index 2e525b0fdb..7f146014c2 100644
--- a/src/oci/core/models/subnet.py
+++ b/src/oci/core/models/subnet.py
@@ -20,9 +20,6 @@ class Subnet(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingVCNs.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
diff --git a/src/oci/core/models/tunnel_status.py b/src/oci/core/models/tunnel_status.py
index 0a94334164..eb7e539306 100644
--- a/src/oci/core/models/tunnel_status.py
+++ b/src/oci/core/models/tunnel_status.py
@@ -25,6 +25,10 @@ class TunnelStatus(object):
#: This constant has a value of "DOWN_FOR_MAINTENANCE"
LIFECYCLE_STATE_DOWN_FOR_MAINTENANCE = "DOWN_FOR_MAINTENANCE"
+ #: A constant which can be used with the lifecycle_state property of a TunnelStatus.
+ #: This constant has a value of "PARTIAL_UP"
+ LIFECYCLE_STATE_PARTIAL_UP = "PARTIAL_UP"
+
def __init__(self, **kwargs):
"""
Initializes a new TunnelStatus object with values from keyword arguments.
@@ -36,7 +40,7 @@ def __init__(self, **kwargs):
:param lifecycle_state:
The value to assign to the lifecycle_state property of this TunnelStatus.
- Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
@@ -102,7 +106,7 @@ def lifecycle_state(self):
Gets the lifecycle_state of this TunnelStatus.
The tunnel's current state.
- Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -121,7 +125,7 @@ def lifecycle_state(self, lifecycle_state):
:param lifecycle_state: The lifecycle_state of this TunnelStatus.
:type: str
"""
- allowed_values = ["UP", "DOWN", "DOWN_FOR_MAINTENANCE"]
+ allowed_values = ["UP", "DOWN", "DOWN_FOR_MAINTENANCE", "PARTIAL_UP"]
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
diff --git a/src/oci/core/models/update_instance_agent_config_details.py b/src/oci/core/models/update_instance_agent_config_details.py
index f4ab832a03..3713e76bd7 100644
--- a/src/oci/core/models/update_instance_agent_config_details.py
+++ b/src/oci/core/models/update_instance_agent_config_details.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class UpdateInstanceAgentConfigDetails(object):
"""
- Instance agent configuration options to choose for updating the instance
+ Configuration options for the Oracle Cloud Agent software running on the instance.
"""
def __init__(self, **kwargs):
@@ -44,7 +44,8 @@ def __init__(self, **kwargs):
def is_monitoring_disabled(self):
"""
Gets the is_monitoring_disabled of this UpdateInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins.
:return: The is_monitoring_disabled of this UpdateInstanceAgentConfigDetails.
@@ -56,7 +57,8 @@ def is_monitoring_disabled(self):
def is_monitoring_disabled(self, is_monitoring_disabled):
"""
Sets the is_monitoring_disabled of this UpdateInstanceAgentConfigDetails.
- Whether the agent running on the instance can gather performance metrics and monitor the instance.
+ Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the
+ monitoring plugins.
:param is_monitoring_disabled: The is_monitoring_disabled of this UpdateInstanceAgentConfigDetails.
@@ -68,7 +70,7 @@ def is_monitoring_disabled(self, is_monitoring_disabled):
def is_management_disabled(self):
"""
Gets the is_management_disabled of this UpdateInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins
+ Whether Oracle Cloud Agent can run all the available management plugins.
:return: The is_management_disabled of this UpdateInstanceAgentConfigDetails.
@@ -80,7 +82,7 @@ def is_management_disabled(self):
def is_management_disabled(self, is_management_disabled):
"""
Sets the is_management_disabled of this UpdateInstanceAgentConfigDetails.
- Whether the agent running on the instance can run all the available management plugins
+ Whether Oracle Cloud Agent can run all the available management plugins.
:param is_management_disabled: The is_management_disabled of this UpdateInstanceAgentConfigDetails.
diff --git a/src/oci/core/models/update_ip_sec_connection_tunnel_details.py b/src/oci/core/models/update_ip_sec_connection_tunnel_details.py
index 97c3cf674a..b36f4641e1 100644
--- a/src/oci/core/models/update_ip_sec_connection_tunnel_details.py
+++ b/src/oci/core/models/update_ip_sec_connection_tunnel_details.py
@@ -21,6 +21,10 @@ class UpdateIPSecConnectionTunnelDetails(object):
#: This constant has a value of "STATIC"
ROUTING_STATIC = "STATIC"
+ #: A constant which can be used with the routing property of a UpdateIPSecConnectionTunnelDetails.
+ #: This constant has a value of "POLICY"
+ ROUTING_POLICY = "POLICY"
+
#: A constant which can be used with the ike_version property of a UpdateIPSecConnectionTunnelDetails.
#: This constant has a value of "V1"
IKE_VERSION_V1 = "V1"
@@ -40,7 +44,7 @@ def __init__(self, **kwargs):
:param routing:
The value to assign to the routing property of this UpdateIPSecConnectionTunnelDetails.
- Allowed values for this property are: "BGP", "STATIC"
+ Allowed values for this property are: "BGP", "STATIC", "POLICY"
:type routing: str
:param ike_version:
@@ -52,25 +56,32 @@ def __init__(self, **kwargs):
The value to assign to the bgp_session_config property of this UpdateIPSecConnectionTunnelDetails.
:type bgp_session_config: oci.core.models.UpdateIPSecTunnelBgpSessionDetails
+ :param encryption_domain_config:
+ The value to assign to the encryption_domain_config property of this UpdateIPSecConnectionTunnelDetails.
+ :type encryption_domain_config: oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails
+
"""
self.swagger_types = {
'display_name': 'str',
'routing': 'str',
'ike_version': 'str',
- 'bgp_session_config': 'UpdateIPSecTunnelBgpSessionDetails'
+ 'bgp_session_config': 'UpdateIPSecTunnelBgpSessionDetails',
+ 'encryption_domain_config': 'UpdateIPSecTunnelEncryptionDomainDetails'
}
self.attribute_map = {
'display_name': 'displayName',
'routing': 'routing',
'ike_version': 'ikeVersion',
- 'bgp_session_config': 'bgpSessionConfig'
+ 'bgp_session_config': 'bgpSessionConfig',
+ 'encryption_domain_config': 'encryptionDomainConfig'
}
self._display_name = None
self._routing = None
self._ike_version = None
self._bgp_session_config = None
+ self._encryption_domain_config = None
@property
def display_name(self):
@@ -104,7 +115,7 @@ def routing(self):
Gets the routing of this UpdateIPSecConnectionTunnelDetails.
The type of routing to use for this tunnel (either BGP dynamic routing or static routing).
- Allowed values for this property are: "BGP", "STATIC"
+ Allowed values for this property are: "BGP", "STATIC", "POLICY"
:return: The routing of this UpdateIPSecConnectionTunnelDetails.
@@ -122,7 +133,7 @@ def routing(self, routing):
:param routing: The routing of this UpdateIPSecConnectionTunnelDetails.
:type: str
"""
- allowed_values = ["BGP", "STATIC"]
+ allowed_values = ["BGP", "STATIC", "POLICY"]
if not value_allowed_none_or_none_sentinel(routing, allowed_values):
raise ValueError(
"Invalid value for `routing`, must be None or one of {0}"
@@ -182,6 +193,26 @@ def bgp_session_config(self, bgp_session_config):
"""
self._bgp_session_config = bgp_session_config
+ @property
+ def encryption_domain_config(self):
+ """
+ Gets the encryption_domain_config of this UpdateIPSecConnectionTunnelDetails.
+
+ :return: The encryption_domain_config of this UpdateIPSecConnectionTunnelDetails.
+ :rtype: oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails
+ """
+ return self._encryption_domain_config
+
+ @encryption_domain_config.setter
+ def encryption_domain_config(self, encryption_domain_config):
+ """
+ Sets the encryption_domain_config of this UpdateIPSecConnectionTunnelDetails.
+
+ :param encryption_domain_config: The encryption_domain_config of this UpdateIPSecConnectionTunnelDetails.
+ :type: oci.core.models.UpdateIPSecTunnelEncryptionDomainDetails
+ """
+ self._encryption_domain_config = encryption_domain_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_ip_sec_tunnel_encryption_domain_details.py b/src/oci/core/models/update_ip_sec_tunnel_encryption_domain_details.py
new file mode 100644
index 0000000000..389802005c
--- /dev/null
+++ b/src/oci/core/models/update_ip_sec_tunnel_encryption_domain_details.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2021, 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.
+
+
+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 UpdateIPSecTunnelEncryptionDomainDetails(object):
+ """
+ Request to enable a multi-encryption domain policy on the VPNaaS tunnel.
+ The cross product of oracleTrafficSelector and cpeTrafficSelector can't be more than 50.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateIPSecTunnelEncryptionDomainDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oracle_traffic_selector:
+ The value to assign to the oracle_traffic_selector property of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :type oracle_traffic_selector: list[str]
+
+ :param cpe_traffic_selector:
+ The value to assign to the cpe_traffic_selector property of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :type cpe_traffic_selector: list[str]
+
+ """
+ self.swagger_types = {
+ 'oracle_traffic_selector': 'list[str]',
+ 'cpe_traffic_selector': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'oracle_traffic_selector': 'oracleTrafficSelector',
+ 'cpe_traffic_selector': 'cpeTrafficSelector'
+ }
+
+ self._oracle_traffic_selector = None
+ self._cpe_traffic_selector = None
+
+ @property
+ def oracle_traffic_selector(self):
+ """
+ Gets the oracle_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :return: The oracle_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :rtype: list[str]
+ """
+ return self._oracle_traffic_selector
+
+ @oracle_traffic_selector.setter
+ def oracle_traffic_selector(self, oracle_traffic_selector):
+ """
+ Sets the oracle_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy.
+
+
+ :param oracle_traffic_selector: The oracle_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :type: list[str]
+ """
+ self._oracle_traffic_selector = oracle_traffic_selector
+
+ @property
+ def cpe_traffic_selector(self):
+ """
+ Gets the cpe_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :return: The cpe_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :rtype: list[str]
+ """
+ return self._cpe_traffic_selector
+
+ @cpe_traffic_selector.setter
+ def cpe_traffic_selector(self, cpe_traffic_selector):
+ """
+ Sets the cpe_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ Lists IPv4 or IPv6-enabled subnets in your on-premises network.
+
+
+ :param cpe_traffic_selector: The cpe_traffic_selector of this UpdateIPSecTunnelEncryptionDomainDetails.
+ :type: list[str]
+ """
+ self._cpe_traffic_selector = cpe_traffic_selector
+
+ 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/core/models/update_launch_options.py b/src/oci/core/models/update_launch_options.py
index d730b2c433..c3a932c9ca 100644
--- a/src/oci/core/models/update_launch_options.py
+++ b/src/oci/core/models/update_launch_options.py
@@ -191,14 +191,15 @@ def network_type(self, network_type):
def is_pv_encryption_in_transit_enabled(self):
"""
Gets the is_pv_encryption_in_transit_enabled of this UpdateLaunchOptions.
- Whether to enable in-transit encryption for the boot volume's paravirtualized attachment.
+ Whether to enable in-transit encryption for the volume's paravirtualized attachment.
+ To enable in-transit encryption for block volumes and boot volumes, this field must be set to `true`.
Data in transit is transferred over an internal and highly secure network. If you have specific
compliance requirements related to the encryption of the data while it is moving between the
- instance and the boot volume, you can enable in-transit encryption. In-transit encryption is
- not enabled by default.
+ instance and the boot volume or the block volume, you can enable in-transit encryption.
+ In-transit encryption is not enabled by default.
- All boot volumes are encrypted at rest.
+ All boot volumes and block volumes are encrypted at rest.
For more information, see `Block Volume Encryption`__.
@@ -214,14 +215,15 @@ def is_pv_encryption_in_transit_enabled(self):
def is_pv_encryption_in_transit_enabled(self, is_pv_encryption_in_transit_enabled):
"""
Sets the is_pv_encryption_in_transit_enabled of this UpdateLaunchOptions.
- Whether to enable in-transit encryption for the boot volume's paravirtualized attachment.
+ Whether to enable in-transit encryption for the volume's paravirtualized attachment.
+ To enable in-transit encryption for block volumes and boot volumes, this field must be set to `true`.
Data in transit is transferred over an internal and highly secure network. If you have specific
compliance requirements related to the encryption of the data while it is moving between the
- instance and the boot volume, you can enable in-transit encryption. In-transit encryption is
- not enabled by default.
+ instance and the boot volume or the block volume, you can enable in-transit encryption.
+ In-transit encryption is not enabled by default.
- All boot volumes are encrypted at rest.
+ All boot volumes and block volumes are encrypted at rest.
For more information, see `Block Volume Encryption`__.
diff --git a/src/oci/core/models/update_virtual_circuit_details.py b/src/oci/core/models/update_virtual_circuit_details.py
index a75fa75287..314e2f4c5a 100644
--- a/src/oci/core/models/update_virtual_circuit_details.py
+++ b/src/oci/core/models/update_virtual_circuit_details.py
@@ -381,7 +381,7 @@ def provider_state(self):
"""
Gets the provider_state of this UpdateVirtualCircuitDetails.
The provider's state in relation to this virtual circuit. Relevant only
- if the customer is using FastConnect via a provider. ACTIVE
+ if the customer is using FastConnect via a provider. ACTIVE
means the provider has provisioned the virtual circuit from their
end. INACTIVE means the provider has not yet provisioned the virtual
circuit, or has de-provisioned it.
@@ -401,7 +401,7 @@ def provider_state(self, provider_state):
"""
Sets the provider_state of this UpdateVirtualCircuitDetails.
The provider's state in relation to this virtual circuit. Relevant only
- if the customer is using FastConnect via a provider. ACTIVE
+ if the customer is using FastConnect via a provider. ACTIVE
means the provider has provisioned the virtual circuit from their
end. INACTIVE means the provider has not yet provisioned the virtual
circuit, or has de-provisioned it.
diff --git a/src/oci/core/models/vcn.py b/src/oci/core/models/vcn.py
index e2a269a763..4ded6f55e9 100644
--- a/src/oci/core/models/vcn.py
+++ b/src/oci/core/models/vcn.py
@@ -17,9 +17,6 @@ class Vcn(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/overview.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
@@ -499,7 +496,6 @@ def ipv6_cidr_block(self):
value, Oracle provides a *different* CIDR for the `ipv6PublicCidrBlock`. Note that IPv6
addressing is currently supported only in certain regions. See
`IPv6 Addresses`__.
-
Example: `2001:0db8:0123::/48`
__ https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm
@@ -520,7 +516,6 @@ def ipv6_cidr_block(self, ipv6_cidr_block):
value, Oracle provides a *different* CIDR for the `ipv6PublicCidrBlock`. Note that IPv6
addressing is currently supported only in certain regions. See
`IPv6 Addresses`__.
-
Example: `2001:0db8:0123::/48`
__ https://docs.cloud.oracle.com/Content/Network/Concepts/ipv6.htm
diff --git a/src/oci/core/models/virtual_circuit.py b/src/oci/core/models/virtual_circuit.py
index 6573495321..dc629b56db 100644
--- a/src/oci/core/models/virtual_circuit.py
+++ b/src/oci/core/models/virtual_circuit.py
@@ -30,9 +30,6 @@ class VirtualCircuit(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Concepts/fastconnect.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
"""
@@ -321,7 +318,7 @@ def __init__(self, **kwargs):
def bandwidth_shape_name(self):
"""
Gets the bandwidth_shape_name of this VirtualCircuit.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
@@ -337,7 +334,7 @@ def bandwidth_shape_name(self):
def bandwidth_shape_name(self, bandwidth_shape_name):
"""
Sets the bandwidth_shape_name of this VirtualCircuit.
- The provisioned data rate of the connection. To get a list of the
+ The provisioned data rate of the connection. To get a list of the
available bandwidth levels (that is, shapes), see
:func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`.
diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py
index ca738dbae6..c4750715e1 100644
--- a/src/oci/core/models/vnic.py
+++ b/src/oci/core/models/vnic.py
@@ -32,9 +32,6 @@ class Vnic(object):
talk to an administrator. If you're an administrator who needs to write policies to give users access, see
`Getting Started with Policies`__.
- **Warning:** Oracle recommends that you avoid using any confidential information when you
- supply string values using the API.
-
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingVNICs.htm
__ https://docs.cloud.oracle.com/Content/Network/Tasks/managingIPaddresses.htm
__ https://docs.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm
diff --git a/src/oci/core/models/volume.py b/src/oci/core/models/volume.py
index 8602bb5b09..1f72797463 100644
--- a/src/oci/core/models/volume.py
+++ b/src/oci/core/models/volume.py
@@ -540,7 +540,8 @@ def size_in_gbs(self, size_in_gbs):
def size_in_mbs(self):
"""
**[Required]** Gets the size_in_mbs of this Volume.
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
+ The size of the volume in MBs. This field is deprecated. Use
+ sizeInGBs instead.
:return: The size_in_mbs of this Volume.
@@ -552,7 +553,8 @@ def size_in_mbs(self):
def size_in_mbs(self, size_in_mbs):
"""
Sets the size_in_mbs of this Volume.
- The size of the volume in MBs. This field is deprecated. Use sizeInGBs instead.
+ The size of the volume in MBs. This field is deprecated. Use
+ sizeInGBs instead.
:param size_in_mbs: The size_in_mbs of this Volume.
diff --git a/src/oci/core/models/volume_attachment.py b/src/oci/core/models/volume_attachment.py
index 80d45af6bd..90b3843ca6 100644
--- a/src/oci/core/models/volume_attachment.py
+++ b/src/oci/core/models/volume_attachment.py
@@ -376,7 +376,10 @@ def is_read_only(self, is_read_only):
def is_shareable(self):
"""
Gets the is_shareable of this VolumeAttachment.
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
+ Whether the attachment should be created in shareable mode. If an attachment
+ is created in shareable mode, then other instances can attach the same volume, provided
+ that they also create their attachments in shareable mode. Only certain volume types can
+ be attached in shareable mode. Defaults to false if not specified.
:return: The is_shareable of this VolumeAttachment.
@@ -388,7 +391,10 @@ def is_shareable(self):
def is_shareable(self, is_shareable):
"""
Sets the is_shareable of this VolumeAttachment.
- Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified.
+ Whether the attachment should be created in shareable mode. If an attachment
+ is created in shareable mode, then other instances can attach the same volume, provided
+ that they also create their attachments in shareable mode. Only certain volume types can
+ be attached in shareable mode. Defaults to false if not specified.
:param is_shareable: The is_shareable of this VolumeAttachment.
diff --git a/src/oci/core/models/volume_backup_policy_assignment.py b/src/oci/core/models/volume_backup_policy_assignment.py
index bac10baa05..46b8a8e809 100644
--- a/src/oci/core/models/volume_backup_policy_assignment.py
+++ b/src/oci/core/models/volume_backup_policy_assignment.py
@@ -135,7 +135,8 @@ def policy_id(self, policy_id):
def time_created(self):
"""
**[Required]** Gets the time_created of this VolumeBackupPolicyAssignment.
- The date and time the volume backup policy was assigned to the volume. The format is defined by `RFC3339`__.
+ The date and time the volume backup policy was assigned to the volume. The format is
+ defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
@@ -149,7 +150,8 @@ def time_created(self):
def time_created(self, time_created):
"""
Sets the time_created of this VolumeBackupPolicyAssignment.
- The date and time the volume backup policy was assigned to the volume. The format is defined by `RFC3339`__.
+ The date and time the volume backup policy was assigned to the volume. The format is
+ defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
diff --git a/src/oci/core/models/volume_backup_schedule.py b/src/oci/core/models/volume_backup_schedule.py
index f1f77ed265..e7449446bf 100644
--- a/src/oci/core/models/volume_backup_schedule.py
+++ b/src/oci/core/models/volume_backup_schedule.py
@@ -265,7 +265,9 @@ def backup_type(self, backup_type):
def offset_seconds(self):
"""
Gets the offset_seconds of this VolumeBackupSchedule.
- The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset.
+ The number of seconds that the volume backup start
+ time should be shifted from the default interval boundaries specified by
+ the period. The volume backup start time is the frequency start time plus the offset.
:return: The offset_seconds of this VolumeBackupSchedule.
@@ -277,7 +279,9 @@ def offset_seconds(self):
def offset_seconds(self, offset_seconds):
"""
Sets the offset_seconds of this VolumeBackupSchedule.
- The number of seconds that the volume backup start time should be shifted from the default interval boundaries specified by the period. The volume backup start time is the frequency start time plus the offset.
+ The number of seconds that the volume backup start
+ time should be shifted from the default interval boundaries specified by
+ the period. The volume backup start time is the frequency start time plus the offset.
:param offset_seconds: The offset_seconds of this VolumeBackupSchedule.
@@ -319,11 +323,16 @@ def period(self, period):
def offset_type(self):
"""
Gets the offset_type of this VolumeBackupSchedule.
- Indicates how the offset is defined. If value is `STRUCTURED`, then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used and `offsetSeconds` will be ignored in requests and users should ignore its value from the responses.
+ Indicates how the offset is defined. If value is `STRUCTURED`,
+ then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used
+ and `offsetSeconds` will be ignored in requests and users should ignore its
+ value from the responses.
- `hourOfDay` is applicable for periods `ONE_DAY`, `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`.
+ `hourOfDay` is applicable for periods `ONE_DAY`,
+ `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`.
- `dayOfWeek` is applicable for period `ONE_WEEK`.
+ `dayOfWeek` is applicable for period
+ `ONE_WEEK`.
`dayOfMonth` is applicable for periods `ONE_MONTH` and `ONE_YEAR`.
@@ -331,9 +340,12 @@ def offset_type(self):
They will be ignored in the requests for inapplicable periods.
- If value is `NUMERIC_SECONDS`, then `offsetSeconds` will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses.
+ If value is `NUMERIC_SECONDS`, then `offsetSeconds`
+ will be used for both requests and responses and the structured fields will be
+ ignored in the requests and users should ignore their values from the responses.
- For clients using older versions of Apis and not sending `offsetType` in their requests, the behaviour is just like `NUMERIC_SECONDS`.
+ For clients using older versions of Apis and not sending `offsetType` in their
+ requests, the behaviour is just like `NUMERIC_SECONDS`.
Allowed values for this property are: "STRUCTURED", "NUMERIC_SECONDS", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -348,11 +360,16 @@ def offset_type(self):
def offset_type(self, offset_type):
"""
Sets the offset_type of this VolumeBackupSchedule.
- Indicates how the offset is defined. If value is `STRUCTURED`, then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used and `offsetSeconds` will be ignored in requests and users should ignore its value from the responses.
+ Indicates how the offset is defined. If value is `STRUCTURED`,
+ then `hourOfDay`, `dayOfWeek`, `dayOfMonth`, and `month` fields are used
+ and `offsetSeconds` will be ignored in requests and users should ignore its
+ value from the responses.
- `hourOfDay` is applicable for periods `ONE_DAY`, `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`.
+ `hourOfDay` is applicable for periods `ONE_DAY`,
+ `ONE_WEEK`, `ONE_MONTH` and `ONE_YEAR`.
- `dayOfWeek` is applicable for period `ONE_WEEK`.
+ `dayOfWeek` is applicable for period
+ `ONE_WEEK`.
`dayOfMonth` is applicable for periods `ONE_MONTH` and `ONE_YEAR`.
@@ -360,9 +377,12 @@ def offset_type(self, offset_type):
They will be ignored in the requests for inapplicable periods.
- If value is `NUMERIC_SECONDS`, then `offsetSeconds` will be used for both requests and responses and the structured fields will be ignored in the requests and users should ignore their values from the responses.
+ If value is `NUMERIC_SECONDS`, then `offsetSeconds`
+ will be used for both requests and responses and the structured fields will be
+ ignored in the requests and users should ignore their values from the responses.
- For clients using older versions of Apis and not sending `offsetType` in their requests, the behaviour is just like `NUMERIC_SECONDS`.
+ For clients using older versions of Apis and not sending `offsetType` in their
+ requests, the behaviour is just like `NUMERIC_SECONDS`.
:param offset_type: The offset_type of this VolumeBackupSchedule.
diff --git a/src/oci/core/models/volume_group.py b/src/oci/core/models/volume_group.py
index 6e2e28e6c7..d8fd07c2fc 100644
--- a/src/oci/core/models/volume_group.py
+++ b/src/oci/core/models/volume_group.py
@@ -231,7 +231,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
**[Required]** Gets the display_name of this VolumeGroup.
- A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group. Does not have to be
+ unique, and it's changeable. Avoid entering confidential information.
:return: The display_name of this VolumeGroup.
@@ -243,7 +244,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this VolumeGroup.
- A user-friendly name for the volume group. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group. Does not have to be
+ unique, and it's changeable. Avoid entering confidential information.
:param display_name: The display_name of this VolumeGroup.
@@ -463,7 +465,8 @@ def volume_ids(self, volume_ids):
def is_hydrated(self):
"""
Gets the is_hydrated of this VolumeGroup.
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
+ Specifies whether the newly created cloned volume group's data has finished copying
+ from the source volume group or backup.
:return: The is_hydrated of this VolumeGroup.
@@ -475,7 +478,8 @@ def is_hydrated(self):
def is_hydrated(self, is_hydrated):
"""
Sets the is_hydrated of this VolumeGroup.
- Specifies whether the newly created cloned volume group's data has finished copying from the source volume group or backup.
+ Specifies whether the newly created cloned volume group's data has finished copying
+ from the source volume group or backup.
:param is_hydrated: The is_hydrated of this VolumeGroup.
diff --git a/src/oci/core/models/volume_group_backup.py b/src/oci/core/models/volume_group_backup.py
index cd82ab8340..fcef6d97fe 100644
--- a/src/oci/core/models/volume_group_backup.py
+++ b/src/oci/core/models/volume_group_backup.py
@@ -275,7 +275,8 @@ def defined_tags(self, defined_tags):
def display_name(self):
"""
**[Required]** Gets the display_name of this VolumeGroupBackup.
- A user-friendly name for the volume group backup. Does not have to be unique and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group backup. Does not have
+ to be unique and it's changeable. Avoid entering confidential information.
:return: The display_name of this VolumeGroupBackup.
@@ -287,7 +288,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this VolumeGroupBackup.
- A user-friendly name for the volume group backup. Does not have to be unique and it's changeable. Avoid entering confidential information.
+ A user-friendly name for the volume group backup. Does not have
+ to be unique and it's changeable. Avoid entering confidential information.
:param display_name: The display_name of this VolumeGroupBackup.
@@ -471,7 +473,8 @@ def size_in_gbs(self, size_in_gbs):
def source_type(self):
"""
Gets the source_type of this VolumeGroupBackup.
- Specifies whether the volume group backup was created manually, or via scheduled backup policy.
+ Specifies whether the volume group backup was created manually, or via scheduled
+ backup policy.
Allowed values for this property are: "MANUAL", "SCHEDULED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -486,7 +489,8 @@ def source_type(self):
def source_type(self, source_type):
"""
Sets the source_type of this VolumeGroupBackup.
- Specifies whether the volume group backup was created manually, or via scheduled backup policy.
+ Specifies whether the volume group backup was created manually, or via scheduled
+ backup policy.
:param source_type: The source_type of this VolumeGroupBackup.
@@ -590,8 +594,9 @@ def unique_size_in_mbs(self):
"""
Gets the unique_size_in_mbs of this VolumeGroupBackup.
The aggregate size used by the volume group backup, in MBs.
- It is typically smaller than sizeInMBs, depending on the space
- consumed on the volume group and whether the volume backup is full or incremental.
+
+ It is typically smaller than sizeInMBs, depending on the spaceconsumed
+ on the volume group and whether the volume backup is full or incremental.
:return: The unique_size_in_mbs of this VolumeGroupBackup.
@@ -604,8 +609,9 @@ def unique_size_in_mbs(self, unique_size_in_mbs):
"""
Sets the unique_size_in_mbs of this VolumeGroupBackup.
The aggregate size used by the volume group backup, in MBs.
- It is typically smaller than sizeInMBs, depending on the space
- consumed on the volume group and whether the volume backup is full or incremental.
+
+ It is typically smaller than sizeInMBs, depending on the spaceconsumed
+ on the volume group and whether the volume backup is full or incremental.
:param unique_size_in_mbs: The unique_size_in_mbs of this VolumeGroupBackup.
@@ -618,8 +624,9 @@ def unique_size_in_gbs(self):
"""
Gets the unique_size_in_gbs of this VolumeGroupBackup.
The aggregate size used by the volume group backup, in GBs.
- It is typically smaller than sizeInGBs, depending on the space
- consumed on the volume group and whether the volume backup is full or incremental.
+
+ It is typically smaller than sizeInGBs, depending on the spaceconsumed
+ on the volume group and whether the volume backup is full or incremental.
:return: The unique_size_in_gbs of this VolumeGroupBackup.
@@ -632,8 +639,9 @@ def unique_size_in_gbs(self, unique_size_in_gbs):
"""
Sets the unique_size_in_gbs of this VolumeGroupBackup.
The aggregate size used by the volume group backup, in GBs.
- It is typically smaller than sizeInGBs, depending on the space
- consumed on the volume group and whether the volume backup is full or incremental.
+
+ It is typically smaller than sizeInGBs, depending on the spaceconsumed
+ on the volume group and whether the volume backup is full or incremental.
:param unique_size_in_gbs: The unique_size_in_gbs of this VolumeGroupBackup.
diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py
index ec77f7276f..057a4f2942 100644
--- a/src/oci/core/virtual_network_client.py
+++ b/src/oci/core/virtual_network_client.py
@@ -292,7 +292,7 @@ def add_vcn_cidr(self, vcn_id, add_vcn_cidr_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -466,7 +466,7 @@ def attach_service_id(self, service_gateway_id, attach_service_details, **kwargs
: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
+ 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 obj retry_strategy: (optional)
@@ -2592,7 +2592,7 @@ def change_vlan_compartment(self, vlan_id, change_vlan_compartment_details, **kw
: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
+ 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)
@@ -4918,7 +4918,7 @@ def delete_byoip_range(self, byoip_range_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -4997,7 +4997,7 @@ def delete_cpe(self, cpe_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5073,7 +5073,7 @@ def delete_cross_connect(self, cross_connect_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5150,7 +5150,7 @@ def delete_cross_connect_group(self, cross_connect_group_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5229,7 +5229,7 @@ def delete_dhcp_options(self, dhcp_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5307,7 +5307,7 @@ def delete_drg(self, drg_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5384,7 +5384,7 @@ def delete_drg_attachment(self, drg_attachment_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5463,7 +5463,7 @@ def delete_internet_gateway(self, ig_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5545,7 +5545,7 @@ def delete_ip_sec_connection(self, ipsc_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5623,7 +5623,7 @@ def delete_ipv6(self, ipv6_id, **kwargs):
: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
+ 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)
@@ -5707,7 +5707,7 @@ def delete_local_peering_gateway(self, local_peering_gateway_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5788,7 +5788,7 @@ def delete_nat_gateway(self, nat_gateway_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5871,7 +5871,7 @@ def delete_network_security_group(self, network_security_group_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -5958,7 +5958,7 @@ def delete_private_ip(self, private_ip_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6047,7 +6047,7 @@ def delete_public_ip(self, public_ip_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6132,7 +6132,7 @@ def delete_public_ip_pool(self, public_ip_pool_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6212,7 +6212,7 @@ def delete_remote_peering_connection(self, remote_peering_connection_id, **kwarg
: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
+ 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 obj retry_strategy: (optional)
@@ -6291,7 +6291,7 @@ def delete_route_table(self, rt_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6370,7 +6370,7 @@ def delete_security_list(self, security_list_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6448,7 +6448,7 @@ def delete_service_gateway(self, service_gateway_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6525,7 +6525,7 @@ def delete_subnet(self, subnet_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6604,7 +6604,7 @@ def delete_vcn(self, vcn_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6683,7 +6683,7 @@ def delete_virtual_circuit(self, virtual_circuit_id, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -6760,7 +6760,7 @@ def delete_vlan(self, vlan_id, **kwargs):
: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
+ 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)
@@ -6857,7 +6857,7 @@ def detach_service_id(self, service_gateway_id, detach_service_details, **kwargs
: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
+ 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 obj retry_strategy: (optional)
@@ -10562,7 +10562,8 @@ def list_cross_connect_groups(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
+ A filter to return only resources that match the specified lifecycle
+ state. The value is case insensitive.
Allowed values are: "PROVISIONING", "PROVISIONED", "INACTIVE", "TERMINATING", "TERMINATED"
@@ -10794,7 +10795,8 @@ def list_cross_connects(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
+ A filter to return only resources that match the specified lifecycle
+ state. The value is case insensitive.
Allowed values are: "PENDING_CUSTOMER", "PROVISIONING", "PROVISIONED", "INACTIVE", "TERMINATING", "TERMINATED"
@@ -11033,7 +11035,8 @@ def list_dhcp_options(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -11561,7 +11564,8 @@ def list_internet_gateways(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -12106,7 +12110,8 @@ def list_nat_gateways(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
+ A filter to return only resources that match the specified lifecycle
+ state. The value is case insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -12521,7 +12526,8 @@ def list_network_security_groups(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
+ A filter to return only resources that match the specified lifecycle
+ state. The value is case insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -13174,7 +13180,8 @@ def list_route_tables(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -13323,7 +13330,8 @@ def list_security_lists(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -13469,7 +13477,8 @@ def list_service_gateways(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to return only resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED"
@@ -13697,7 +13706,8 @@ def list_subnets(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING"
@@ -13840,7 +13850,8 @@ def list_vcns(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING"
@@ -14029,7 +14040,9 @@ def list_virtual_circuit_public_prefixes(self, virtual_circuit_id, **kwargs):
The OCID of the virtual circuit.
:param str verification_state: (optional)
- A filter to only return resources that match the given verification state.
+ A filter to only return resources that match the given verification
+ state.
+
The state value is case-insensitive.
Allowed values are: "IN_PROGRESS", "COMPLETED", "FAILED"
@@ -14158,7 +14171,8 @@ def list_virtual_circuits(self, compartment_id, **kwargs):
Allowed values are: "ASC", "DESC"
:param str lifecycle_state: (optional)
- A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
+ A filter to return only resources that match the specified lifecycle
+ state. The value is case insensitive.
Allowed values are: "PENDING_PROVIDER", "VERIFYING", "PROVISIONING", "PROVISIONED", "FAILED", "INACTIVE", "TERMINATING", "TERMINATED"
@@ -14308,7 +14322,8 @@ def list_vlans(self, compartment_id, vcn_id, **kwargs):
If you need to contact Oracle about a particular request, please provide the request ID.
:param str lifecycle_state: (optional)
- A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
+ A filter to only return resources that match the given lifecycle
+ state. The state value is case-insensitive.
Allowed values are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING"
@@ -14439,7 +14454,7 @@ def modify_vcn_cidr(self, vcn_id, modify_vcn_cidr_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -14708,7 +14723,7 @@ def remove_vcn_cidr(self, vcn_id, remove_vcn_cidr_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -14800,7 +14815,7 @@ def update_byoip_range(self, byoip_range_id, update_byoip_range_details, **kwarg
: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
+ 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 obj retry_strategy: (optional)
@@ -14885,7 +14900,7 @@ def update_cpe(self, cpe_id, update_cpe_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -14967,7 +14982,7 @@ def update_cross_connect(self, cross_connect_id, update_cross_connect_details, *
: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
+ 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 obj retry_strategy: (optional)
@@ -15050,7 +15065,7 @@ def update_cross_connect_group(self, cross_connect_group_id, update_cross_connec
: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
+ 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 obj retry_strategy: (optional)
@@ -15135,7 +15150,7 @@ def update_dhcp_options(self, dhcp_id, update_dhcp_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -15217,7 +15232,7 @@ def update_drg(self, drg_id, update_drg_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -15300,7 +15315,7 @@ def update_drg_attachment(self, drg_attachment_id, update_drg_attachment_details
: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
+ 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 obj retry_strategy: (optional)
@@ -15386,7 +15401,7 @@ def update_internet_gateway(self, ig_id, update_internet_gateway_details, **kwar
: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
+ 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 obj retry_strategy: (optional)
@@ -15471,7 +15486,7 @@ def update_ip_sec_connection(self, ipsc_id, update_ip_sec_connection_details, **
: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
+ 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 obj retry_strategy: (optional)
@@ -15569,7 +15584,7 @@ def update_ip_sec_connection_tunnel(self, ipsc_id, tunnel_id, update_ip_sec_conn
: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
+ 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)
@@ -15665,7 +15680,7 @@ def update_ip_sec_connection_tunnel_shared_secret(self, ipsc_id, tunnel_id, upda
: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
+ 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 obj retry_strategy: (optional)
@@ -15756,7 +15771,7 @@ def update_ipv6(self, ipv6_id, update_ipv6_details, **kwargs):
: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
+ 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)
@@ -15844,7 +15859,7 @@ def update_local_peering_gateway(self, local_peering_gateway_id, update_local_pe
: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
+ 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 obj retry_strategy: (optional)
@@ -15928,7 +15943,7 @@ def update_nat_gateway(self, nat_gateway_id, update_nat_gateway_details, **kwarg
: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
+ 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 obj retry_strategy: (optional)
@@ -16026,7 +16041,7 @@ def update_network_security_group(self, network_security_group_id, update_networ
: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
+ 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 obj retry_strategy: (optional)
@@ -16191,7 +16206,7 @@ def update_private_ip(self, private_ip_id, update_private_ip_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -16313,7 +16328,7 @@ def update_public_ip(self, public_ip_id, update_public_ip_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -16401,7 +16416,7 @@ def update_public_ip_pool(self, public_ip_pool_id, update_public_ip_pool_details
: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
+ 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 obj retry_strategy: (optional)
@@ -16485,7 +16500,7 @@ def update_remote_peering_connection(self, remote_peering_connection_id, update_
: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
+ 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 obj retry_strategy: (optional)
@@ -16570,7 +16585,7 @@ def update_route_table(self, rt_id, update_route_table_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -16656,7 +16671,7 @@ def update_security_list(self, security_list_id, update_security_list_details, *
: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
+ 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 obj retry_strategy: (optional)
@@ -16741,7 +16756,7 @@ def update_service_gateway(self, service_gateway_id, update_service_gateway_deta
: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
+ 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 obj retry_strategy: (optional)
@@ -16823,7 +16838,7 @@ def update_subnet(self, subnet_id, update_subnet_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -16912,7 +16927,7 @@ def update_tunnel_cpe_device_config(self, ipsc_id, tunnel_id, update_tunnel_cpe_
: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
+ 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_retry_token: (optional)
@@ -17014,7 +17029,7 @@ def update_vcn(self, vcn_id, update_vcn_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
@@ -17121,7 +17136,7 @@ def update_virtual_circuit(self, virtual_circuit_id, update_virtual_circuit_deta
: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
+ 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 obj retry_strategy: (optional)
@@ -17206,7 +17221,7 @@ def update_vlan(self, vlan_id, update_vlan_details, **kwargs):
: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
+ 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)
@@ -17294,7 +17309,7 @@ def update_vnic(self, vnic_id, update_vnic_details, **kwargs):
: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
+ 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 obj retry_strategy: (optional)
diff --git a/src/oci/database/database_client.py b/src/oci/database/database_client.py
index 2cf6a14fa4..6438691ec6 100644
--- a/src/oci/database/database_client.py
+++ b/src/oci/database/database_client.py
@@ -1295,20 +1295,21 @@ def change_exadata_infrastructure_compartment(self, change_exadata_infrastructur
header_params=header_params,
body=change_exadata_infrastructure_compartment_details)
- def change_key_store_compartment(self, change_key_store_compartment_details, key_store_id, **kwargs):
+ def change_external_container_database_compartment(self, change_compartment_details, external_container_database_id, **kwargs):
"""
- Move the key store resource to the specified compartment.
- For more information about moving key stores, see
+ Move the :func:`create_external_container_database_details`
+ and its dependent resources to the specified compartment.
+ For more information about moving external container databases, see
`Moving Database Resources to a Different Compartment`__.
__ https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes
- :param oci.database.models.ChangeKeyStoreCompartmentDetails change_key_store_compartment_details: (required)
- Request to move key store to a different compartment
+ :param oci.database.models.ChangeCompartmentDetails change_compartment_details: (required)
+ Request to move the external container database to a different compartment.
- :param str key_store_id: (required)
- The `OCID`__ of the key store.
+ :param str external_container_database_id: (required)
+ The ExternalContainerDatabase `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -1339,9 +1340,9 @@ def change_key_store_compartment(self, change_key_store_compartment_details, key
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use change_key_store_compartment API.
+ Click `here `__ to see an example of how to use change_external_container_database_compartment API.
"""
- resource_path = "/keyStores/{keyStoreId}/actions/changeCompartment"
+ resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
@@ -1354,10 +1355,10 @@ def change_key_store_compartment(self, change_key_store_compartment_details, key
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "change_key_store_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+ "change_external_container_database_compartment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "keyStoreId": key_store_id
+ "externalContainerDatabaseId": external_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1388,26 +1389,29 @@ def change_key_store_compartment(self, change_key_store_compartment_details, key
method=method,
path_params=path_params,
header_params=header_params,
- body=change_key_store_compartment_details)
+ body=change_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- body=change_key_store_compartment_details)
+ body=change_compartment_details)
- def change_vm_cluster_compartment(self, change_vm_cluster_compartment_details, vm_cluster_id, **kwargs):
+ def change_external_non_container_database_compartment(self, change_compartment_details, external_non_container_database_id, **kwargs):
"""
- Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.
- To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the :func:`change_cloud_vm_cluster_compartment` operation.
+ Move the external non-container database and its dependent resources to the specified compartment.
+ For more information about moving external non-container databases, see
+ `Moving Database Resources to a Different Compartment`__.
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes
- :param oci.database.models.ChangeVmClusterCompartmentDetails change_vm_cluster_compartment_details: (required)
- Request to move the Exadata Cloud@Customer VM cluster to a different compartment.
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ :param oci.database.models.ChangeCompartmentDetails change_compartment_details: (required)
+ Request to move the external non-container database to a different compartment.
+
+ :param str external_non_container_database_id: (required)
+ The external non-container database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -1438,9 +1442,9 @@ def change_vm_cluster_compartment(self, change_vm_cluster_compartment_details, v
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use change_vm_cluster_compartment API.
+ Click `here `__ to see an example of how to use change_external_non_container_database_compartment API.
"""
- resource_path = "/vmClusters/{vmClusterId}/actions/changeCompartment"
+ resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
@@ -1453,10 +1457,10 @@ def change_vm_cluster_compartment(self, change_vm_cluster_compartment_details, v
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "change_vm_cluster_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+ "change_external_non_container_database_compartment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "vmClusterId": vm_cluster_id
+ "externalNonContainerDatabaseId": external_non_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1487,37 +1491,35 @@ def change_vm_cluster_compartment(self, change_vm_cluster_compartment_details, v
method=method,
path_params=path_params,
header_params=header_params,
- body=change_vm_cluster_compartment_details)
+ body=change_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- body=change_vm_cluster_compartment_details)
+ body=change_compartment_details)
- def complete_external_backup_job(self, backup_id, complete_external_backup_job_details, **kwargs):
+ def change_external_pluggable_database_compartment(self, change_compartment_details, external_pluggable_database_id, **kwargs):
"""
- Changes the status of the standalone backup resource to `ACTIVE` after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
+ Move the :func:`create_external_pluggable_database_details` and
+ its dependent resources to the specified compartment.
+ For more information about moving external pluggable databases, see
+ `Moving Database Resources to a Different Compartment`__.
- **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes
- __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
+ :param oci.database.models.ChangeCompartmentDetails change_compartment_details: (required)
+ Request to move the
+ :func:`create_external_pluggable_database_details` resource
+ to a different compartment.
- :param str backup_id: (required)
- The backup `OCID`__.
+ :param str external_pluggable_database_id: (required)
+ The ExternalPluggableDatabaseId `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.CompleteExternalBackupJobDetails complete_external_backup_job_details: (required)
- Updates the status of the backup resource.
-
- :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_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
@@ -1525,6 +1527,14 @@ def complete_external_backup_job(self, backup_id, complete_external_backup_job_d
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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 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.
@@ -1533,28 +1543,29 @@ def complete_external_backup_job(self, backup_id, complete_external_backup_job_d
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
+ :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 complete_external_backup_job API.
+ Click `here `__ to see an example of how to use change_external_pluggable_database_compartment API.
"""
- resource_path = "/externalBackupJobs/{backupId}/actions/complete"
+ resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
- "opc_retry_token"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "complete_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
+ "change_external_pluggable_database_compartment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "backupId": backup_id
+ "externalPluggableDatabaseId": external_pluggable_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1566,8 +1577,9 @@ def complete_external_backup_job(self, backup_id, complete_external_backup_job_d
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1584,24 +1596,31 @@ def complete_external_backup_job(self, backup_id, complete_external_backup_job_d
method=method,
path_params=path_params,
header_params=header_params,
- body=complete_external_backup_job_details,
- response_type="ExternalBackupJob")
+ body=change_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- body=complete_external_backup_job_details,
- response_type="ExternalBackupJob")
+ body=change_compartment_details)
- def create_autonomous_container_database(self, create_autonomous_container_database_details, **kwargs):
+ def change_key_store_compartment(self, change_key_store_compartment_details, key_store_id, **kwargs):
"""
- Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
+ Move the key store resource to the specified compartment.
+ For more information about moving key stores, see
+ `Moving Database Resources to a Different Compartment`__.
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/databaseoverview.htm#moveRes
- :param oci.database.models.CreateAutonomousContainerDatabaseDetails create_autonomous_container_database_details: (required)
- Request to create an Autonomous Container Database in a specified Autonomous Exadata Infrastructure.
+
+ :param oci.database.models.ChangeKeyStoreCompartmentDetails change_key_store_compartment_details: (required)
+ Request to move key store to a different compartment
+
+ :param str key_store_id: (required)
+ The `OCID`__ of the key store.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1610,6 +1629,14 @@ def create_autonomous_container_database(self, create_autonomous_container_datab
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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 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.
@@ -1618,29 +1645,43 @@ def create_autonomous_container_database(self, create_autonomous_container_datab
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabase`
+ :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 create_autonomous_container_database API.
+ Click `here `__ to see an example of how to use change_key_store_compartment API.
"""
- resource_path = "/autonomousContainerDatabases"
+ resource_path = "/keyStores/{keyStoreId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_autonomous_container_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "change_key_store_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "keyStoreId": key_store_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1655,24 +1696,30 @@ def create_autonomous_container_database(self, create_autonomous_container_datab
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_container_database_details,
- response_type="AutonomousContainerDatabase")
+ body=change_key_store_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_container_database_details,
- response_type="AutonomousContainerDatabase")
+ body=change_key_store_compartment_details)
- def create_autonomous_database(self, create_autonomous_database_details, **kwargs):
+ def change_vm_cluster_compartment(self, change_vm_cluster_compartment_details, vm_cluster_id, **kwargs):
"""
- Creates a new Autonomous Database.
+ Moves a VM cluster and its dependent resources to another compartment. Applies to Exadata Cloud@Customer instances only.
+ To move a cloud VM cluster in an Exadata Cloud Service instance to another compartment, use the :func:`change_cloud_vm_cluster_compartment` operation.
- :param oci.database.models.CreateAutonomousDatabaseBase create_autonomous_database_details: (required)
- Request to create a new Autonomous Database.
+ :param oci.database.models.ChangeVmClusterCompartmentDetails change_vm_cluster_compartment_details: (required)
+ Request to move the Exadata Cloud@Customer VM cluster to a different compartment.
+
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1684,6 +1731,11 @@ def create_autonomous_database(self, create_autonomous_database_details, **kwarg
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -1692,31 +1744,43 @@ def create_autonomous_database(self, create_autonomous_database_details, **kwarg
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
+ :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 create_autonomous_database API.
+ Click `here `__ to see an example of how to use change_vm_cluster_compartment API.
"""
- resource_path = "/autonomousDatabases"
+ resource_path = "/vmClusters/{vmClusterId}/actions/changeCompartment"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_retry_token",
- "opc_request_id"
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "change_vm_cluster_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "vmClusterId": vm_cluster_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-retry-token": kwargs.get("opc_retry_token", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1731,24 +1795,28 @@ def create_autonomous_database(self, create_autonomous_database_details, **kwarg
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_database_details,
- response_type="AutonomousDatabase")
+ body=change_vm_cluster_compartment_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_database_details,
- response_type="AutonomousDatabase")
+ body=change_vm_cluster_compartment_details)
- def create_autonomous_database_backup(self, create_autonomous_database_backup_details, **kwargs):
+ def check_external_database_connector_connection_status(self, external_database_connector_id, **kwargs):
"""
- Creates a new Autonomous Database backup for the specified database based on the provided request parameters.
+ Check the status of the external database connection specified in this connector.
+ This operation will refresh the connectionStatus and timeConnectionStatusLastUpdated fields.
- :param oci.database.models.CreateAutonomousDatabaseBackupDetails create_autonomous_database_backup_details: (required)
- Request to create a new Autonomous Database backup.
+ :param str external_database_connector_id: (required)
+ The `OCID`__ of the
+ external database connector resource (`ExternalDatabaseConnectorId`).
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1760,6 +1828,11 @@ def create_autonomous_database_backup(self, create_autonomous_database_backup_de
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -1768,31 +1841,43 @@ def create_autonomous_database_backup(self, create_autonomous_database_backup_de
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
+ :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 create_autonomous_database_backup API.
+ Click `here `__ to see an example of how to use check_external_database_connector_connection_status API.
"""
- resource_path = "/autonomousDatabaseBackups"
+ resource_path = "/externaldatabaseconnectors/{externalDatabaseConnectorId}/actions/checkConnectionStatus"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_retry_token",
- "opc_request_id"
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_autonomous_database_backup got unknown kwargs: {!r}".format(extra_kwargs))
+ "check_external_database_connector_connection_status got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalDatabaseConnectorId": external_database_connector_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
"opc-retry-token": kwargs.get("opc_retry_token", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1807,24 +1892,36 @@ def create_autonomous_database_backup(self, create_autonomous_database_backup_de
self.base_client.call_api,
resource_path=resource_path,
method=method,
- header_params=header_params,
- body=create_autonomous_database_backup_details,
- response_type="AutonomousDatabaseBackup")
+ path_params=path_params,
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- header_params=header_params,
- body=create_autonomous_database_backup_details,
- response_type="AutonomousDatabaseBackup")
+ path_params=path_params,
+ header_params=header_params)
- def create_autonomous_vm_cluster(self, create_autonomous_vm_cluster_details, **kwargs):
+ def complete_external_backup_job(self, backup_id, complete_external_backup_job_details, **kwargs):
"""
- Creates an Autonomous VM cluster for Exadata Cloud@Customer.
+ Changes the status of the standalone backup resource to `ACTIVE` after the backup is created from the on-premises database and placed in Oracle Cloud Infrastructure Object Storage.
+ **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
- :param oci.database.models.CreateAutonomousVmClusterDetails create_autonomous_vm_cluster_details: (required)
- Request to create an Autonomous VM cluster.
+ __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
+
+
+ :param str backup_id: (required)
+ The backup `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.CompleteExternalBackupJobDetails complete_external_backup_job_details: (required)
+ Updates the status of the backup resource.
+
+ :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_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1833,9 +1930,6 @@ def create_autonomous_vm_cluster(self, create_autonomous_vm_cluster_details, **k
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -1844,31 +1938,41 @@ def create_autonomous_vm_cluster(self, create_autonomous_vm_cluster_details, **k
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_autonomous_vm_cluster API.
+ Click `here `__ to see an example of how to use complete_external_backup_job API.
"""
- resource_path = "/autonomousVmClusters"
+ resource_path = "/externalBackupJobs/{backupId}/actions/complete"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token",
- "opc_request_id"
+ "if_match",
+ "opc_retry_token"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "complete_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "backupId": backup_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "if-match": kwargs.get("if_match", 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}
@@ -1883,24 +1987,26 @@ def create_autonomous_vm_cluster(self, create_autonomous_vm_cluster_details, **k
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_vm_cluster_details,
- response_type="AutonomousVmCluster")
+ body=complete_external_backup_job_details,
+ response_type="ExternalBackupJob")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_autonomous_vm_cluster_details,
- response_type="AutonomousVmCluster")
+ body=complete_external_backup_job_details,
+ response_type="ExternalBackupJob")
- def create_backup(self, create_backup_details, **kwargs):
+ def create_autonomous_container_database(self, create_autonomous_container_database_details, **kwargs):
"""
- Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
+ Creates an Autonomous Container Database in the specified Autonomous Exadata Infrastructure.
- :param oci.database.models.CreateBackupDetails create_backup_details: (required)
- Request to create a new database backup.
+ :param oci.database.models.CreateAutonomousContainerDatabaseDetails create_autonomous_container_database_details: (required)
+ Request to create an Autonomous Container Database in a specified Autonomous Exadata Infrastructure.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1917,13 +2023,13 @@ def create_backup(self, create_backup_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Backup`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_backup API.
+ Click `here `__ to see an example of how to use create_autonomous_container_database API.
"""
- resource_path = "/backups"
+ resource_path = "/autonomousContainerDatabases"
method = "POST"
# Don't accept unknown kwargs
@@ -1934,7 +2040,7 @@ def create_backup(self, create_backup_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_backup got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_autonomous_container_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -1955,23 +2061,23 @@ def create_backup(self, create_backup_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_backup_details,
- response_type="Backup")
+ body=create_autonomous_container_database_details,
+ response_type="AutonomousContainerDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_backup_details,
- response_type="Backup")
+ body=create_autonomous_container_database_details,
+ response_type="AutonomousContainerDatabase")
- def create_backup_destination(self, create_backup_destination_details, **kwargs):
+ def create_autonomous_database(self, create_autonomous_database_details, **kwargs):
"""
- Creates a backup destination in an Exadata Cloud@Customer system.
+ Creates a new Autonomous Database.
- :param oci.database.models.CreateBackupDestinationDetails create_backup_destination_details: (required)
- Request to create a new backup destination.
+ :param oci.database.models.CreateAutonomousDatabaseBase create_autonomous_database_details: (required)
+ Request to create a new Autonomous Database.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -1991,13 +2097,13 @@ def create_backup_destination(self, create_backup_destination_details, **kwargs)
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BackupDestination`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_backup_destination API.
+ Click `here `__ to see an example of how to use create_autonomous_database API.
"""
- resource_path = "/backupDestinations"
+ resource_path = "/autonomousDatabases"
method = "POST"
# Don't accept unknown kwargs
@@ -2009,7 +2115,7 @@ def create_backup_destination(self, create_backup_destination_details, **kwargs)
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2031,27 +2137,23 @@ def create_backup_destination(self, create_backup_destination_details, **kwargs)
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_backup_destination_details,
- response_type="BackupDestination")
+ body=create_autonomous_database_details,
+ response_type="AutonomousDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_backup_destination_details,
- response_type="BackupDestination")
+ body=create_autonomous_database_details,
+ response_type="AutonomousDatabase")
- def create_cloud_exadata_infrastructure(self, create_cloud_exadata_infrastructure_details, **kwargs):
+ def create_autonomous_database_backup(self, create_autonomous_database_backup_details, **kwargs):
"""
- Creates a cloud Exadata infrastructure resource. This resource is used to create an `Exadata Cloud Service`__ instance.
-
- __ https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm
-
+ Creates a new Autonomous Database backup for the specified database based on the provided request parameters.
- :param oci.database.models.CreateCloudExadataInfrastructureDetails create_cloud_exadata_infrastructure_details: (required)
- Request to create a cloud Exadata infrastructure resource in an `Exadata Cloud Service`__ instance.
- __ https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm
+ :param oci.database.models.CreateAutonomousDatabaseBackupDetails create_autonomous_database_backup_details: (required)
+ Request to create a new Autonomous Database backup.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2071,13 +2173,13 @@ def create_cloud_exadata_infrastructure(self, create_cloud_exadata_infrastructur
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_cloud_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use create_autonomous_database_backup API.
"""
- resource_path = "/cloudExadataInfrastructures"
+ resource_path = "/autonomousDatabaseBackups"
method = "POST"
# Don't accept unknown kwargs
@@ -2089,7 +2191,7 @@ def create_cloud_exadata_infrastructure(self, create_cloud_exadata_infrastructur
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_autonomous_database_backup got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2111,25 +2213,23 @@ def create_cloud_exadata_infrastructure(self, create_cloud_exadata_infrastructur
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_cloud_exadata_infrastructure_details,
- response_type="CloudExadataInfrastructure")
+ body=create_autonomous_database_backup_details,
+ response_type="AutonomousDatabaseBackup")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_cloud_exadata_infrastructure_details,
- response_type="CloudExadataInfrastructure")
+ body=create_autonomous_database_backup_details,
+ response_type="AutonomousDatabaseBackup")
- def create_cloud_vm_cluster(self, create_cloud_vm_cluster_details, **kwargs):
+ def create_autonomous_vm_cluster(self, create_autonomous_vm_cluster_details, **kwargs):
"""
- Creates a cloud VM cluster.
-
+ Creates an Autonomous VM cluster for Exadata Cloud@Customer.
- :param oci.database.models.CreateCloudVmClusterDetails create_cloud_vm_cluster_details: (required)
- Request to create a cloud VM cluster. Applies to Exadata Cloud Service instances only. See `The New Exadata Cloud Service Resource Model`__ for information on this resource type.
- __ https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ :param oci.database.models.CreateAutonomousVmClusterDetails create_autonomous_vm_cluster_details: (required)
+ Request to create an Autonomous VM cluster.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2149,13 +2249,13 @@ def create_cloud_vm_cluster(self, create_cloud_vm_cluster_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_cloud_vm_cluster API.
+ Click `here `__ to see an example of how to use create_autonomous_vm_cluster API.
"""
- resource_path = "/cloudVmClusters"
+ resource_path = "/autonomousVmClusters"
method = "POST"
# Don't accept unknown kwargs
@@ -2167,7 +2267,7 @@ def create_cloud_vm_cluster(self, create_cloud_vm_cluster_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2189,30 +2289,23 @@ def create_cloud_vm_cluster(self, create_cloud_vm_cluster_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_cloud_vm_cluster_details,
- response_type="CloudVmCluster")
+ body=create_autonomous_vm_cluster_details,
+ response_type="AutonomousVmCluster")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_cloud_vm_cluster_details,
- response_type="CloudVmCluster")
+ body=create_autonomous_vm_cluster_details,
+ response_type="AutonomousVmCluster")
- def create_console_connection(self, create_console_connection_details, db_node_id, **kwargs):
+ def create_backup(self, create_backup_details, **kwargs):
"""
- Creates a new console connection to the specified database node.
- After the console connection has been created and is available,
- you connect to the console using SSH.
-
-
- :param oci.database.models.CreateConsoleConnectionDetails create_console_connection_details: (required)
- Request object for creating an CreateConsoleConnection
+ Creates a new backup in the specified database based on the request parameters you provide. If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- :param str db_node_id: (required)
- The database node `OCID`__.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.CreateBackupDetails create_backup_details: (required)
+ Request to create a new database backup.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2229,13 +2322,13 @@ def create_console_connection(self, create_console_connection_details, db_node_i
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ConsoleConnection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Backup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_console_connection API.
+ Click `here `__ to see an example of how to use create_backup API.
"""
- resource_path = "/dbNodes/{dbNodeId}/consoleConnections"
+ resource_path = "/backups"
method = "POST"
# Don't accept unknown kwargs
@@ -2246,17 +2339,7 @@ def create_console_connection(self, create_console_connection_details, db_node_i
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "dbNodeId": db_node_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_backup got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2276,41 +2359,24 @@ def create_console_connection(self, create_console_connection_details, db_node_i
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=create_console_connection_details,
- response_type="ConsoleConnection")
+ body=create_backup_details,
+ response_type="Backup")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=create_console_connection_details,
- response_type="ConsoleConnection")
+ body=create_backup_details,
+ response_type="Backup")
- def create_data_guard_association(self, database_id, create_data_guard_association_details, **kwargs):
+ def create_backup_destination(self, create_backup_destination_details, **kwargs):
"""
- Creates a new Data Guard association. A Data Guard association represents the replication relationship between the
- specified database and a peer database. For more information, see `Using Oracle Data Guard`__.
-
- All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
- called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
- You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
- resource in the Console. For more information, see
- `Resource Identifiers`__.
-
- __ https://docs.cloud.oracle.com/Content/Database/Tasks/usingdataguard.htm
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
-
-
- :param str database_id: (required)
- The database `OCID`__.
+ Creates a backup destination in an Exadata Cloud@Customer system.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.CreateDataGuardAssociationDetails create_data_guard_association_details: (required)
- A request to create a Data Guard association.
+ :param oci.database.models.CreateBackupDestinationDetails create_backup_destination_details: (required)
+ Request to create a new backup destination.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2319,6 +2385,9 @@ def create_data_guard_association(self, database_id, create_data_guard_associati
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -2327,39 +2396,31 @@ def create_data_guard_association(self, database_id, create_data_guard_associati
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BackupDestination`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_data_guard_association API.
+ Click `here `__ to see an example of how to use create_backup_destination API.
"""
- resource_path = "/databases/{databaseId}/dataGuardAssociations"
+ resource_path = "/backupDestinations"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token"
+ "opc_retry_token",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "databaseId": database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -2374,26 +2435,28 @@ def create_data_guard_association(self, database_id, create_data_guard_associati
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=create_data_guard_association_details,
- response_type="DataGuardAssociation")
+ body=create_backup_destination_details,
+ response_type="BackupDestination")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=create_data_guard_association_details,
- response_type="DataGuardAssociation")
+ body=create_backup_destination_details,
+ response_type="BackupDestination")
- def create_database(self, create_new_database_details, **kwargs):
+ def create_cloud_exadata_infrastructure(self, create_cloud_exadata_infrastructure_details, **kwargs):
"""
- Creates a new database in the specified Database Home. If the database version is provided, it must match the version of the Database Home. Applies to Exadata and Exadata Cloud@Customer systems.
+ Creates a cloud Exadata infrastructure resource. This resource is used to create an `Exadata Cloud Service`__ instance.
+
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm
- :param oci.database.models.CreateDatabaseBase create_new_database_details: (required)
- Request to create a new database.
+ :param oci.database.models.CreateCloudExadataInfrastructureDetails create_cloud_exadata_infrastructure_details: (required)
+ Request to create a cloud Exadata infrastructure resource in an `Exadata Cloud Service`__ instance.
+
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/exaoverview.htm
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2413,13 +2476,13 @@ def create_database(self, create_new_database_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_database API.
+ Click `here `__ to see an example of how to use create_cloud_exadata_infrastructure API.
"""
- resource_path = "/databases"
+ resource_path = "/cloudExadataInfrastructures"
method = "POST"
# Don't accept unknown kwargs
@@ -2431,7 +2494,7 @@ def create_database(self, create_new_database_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2453,23 +2516,25 @@ def create_database(self, create_new_database_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_new_database_details,
- response_type="Database")
+ body=create_cloud_exadata_infrastructure_details,
+ response_type="CloudExadataInfrastructure")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_new_database_details,
- response_type="Database")
+ body=create_cloud_exadata_infrastructure_details,
+ response_type="CloudExadataInfrastructure")
- def create_database_software_image(self, create_database_software_image_details, **kwargs):
+ def create_cloud_vm_cluster(self, create_cloud_vm_cluster_details, **kwargs):
"""
- create database software image in the specified compartment.
+ Creates a cloud VM cluster.
- :param oci.database.models.CreateDatabaseSoftwareImageDetails create_database_software_image_details: (required)
- Request to create database software image.
+ :param oci.database.models.CreateCloudVmClusterDetails create_cloud_vm_cluster_details: (required)
+ Request to create a cloud VM cluster. Applies to Exadata Cloud Service instances only. See `The New Exadata Cloud Service Resource Model`__ for information on this resource type.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2478,6 +2543,9 @@ def create_database_software_image(self, create_database_software_image_details,
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -2486,29 +2554,31 @@ def create_database_software_image(self, create_database_software_image_details,
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseSoftwareImage`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_database_software_image API.
+ Click `here `__ to see an example of how to use create_cloud_vm_cluster API.
"""
- resource_path = "/databaseSoftwareImages"
+ resource_path = "/cloudVmClusters"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token"
+ "opc_retry_token",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -2524,23 +2594,30 @@ def create_database_software_image(self, create_database_software_image_details,
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_database_software_image_details,
- response_type="DatabaseSoftwareImage")
+ body=create_cloud_vm_cluster_details,
+ response_type="CloudVmCluster")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_database_software_image_details,
- response_type="DatabaseSoftwareImage")
+ body=create_cloud_vm_cluster_details,
+ response_type="CloudVmCluster")
- def create_db_home(self, create_db_home_with_db_system_id_details, **kwargs):
+ def create_console_connection(self, create_console_connection_details, db_node_id, **kwargs):
"""
- Creates a new Database Home in the specified database system based on the request parameters you provide. Applies to bare metal DB systems, Exadata systems, and Exadata Cloud@Customer systems.
+ Creates a new console connection to the specified database node.
+ After the console connection has been created and is available,
+ you connect to the console using SSH.
- :param oci.database.models.CreateDbHomeBase create_db_home_with_db_system_id_details: (required)
- Request to create a new Database Home.
+ :param oci.database.models.CreateConsoleConnectionDetails create_console_connection_details: (required)
+ Request object for creating an CreateConsoleConnection
+
+ :param str db_node_id: (required)
+ The database node `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2557,13 +2634,13 @@ def create_db_home(self, create_db_home_with_db_system_id_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbHome`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ConsoleConnection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_db_home API.
+ Click `here `__ to see an example of how to use create_console_connection API.
"""
- resource_path = "/dbHomes"
+ resource_path = "/dbNodes/{dbNodeId}/consoleConnections"
method = "POST"
# Don't accept unknown kwargs
@@ -2574,7 +2651,17 @@ def create_db_home(self, create_db_home_with_db_system_id_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_db_home got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbNodeId": db_node_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
@@ -2594,25 +2681,41 @@ def create_db_home(self, create_db_home_with_db_system_id_details, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_db_home_with_db_system_id_details,
- response_type="DbHome")
+ body=create_console_connection_details,
+ response_type="ConsoleConnection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_db_home_with_db_system_id_details,
- response_type="DbHome")
+ body=create_console_connection_details,
+ response_type="ConsoleConnection")
- def create_exadata_infrastructure(self, create_exadata_infrastructure_details, **kwargs):
+ def create_data_guard_association(self, database_id, create_data_guard_association_details, **kwargs):
"""
- Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
- To create an Exadata Cloud Service infrastructure resource, use the :func:`create_cloud_exadata_infrastructure` operation.
+ Creates a new Data Guard association. A Data Guard association represents the replication relationship between the
+ specified database and a peer database. For more information, see `Using Oracle Data Guard`__.
+
+ All Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID
+ called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.
+ You can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the
+ resource in the Console. For more information, see
+ `Resource Identifiers`__.
+ __ https://docs.cloud.oracle.com/Content/Database/Tasks/usingdataguard.htm
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.CreateExadataInfrastructureDetails create_exadata_infrastructure_details: (required)
- Request to create Exadata Cloud@Customer infrastructure.
+
+ :param str database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.CreateDataGuardAssociationDetails create_data_guard_association_details: (required)
+ A request to create a Data Guard association.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2621,9 +2724,6 @@ def create_exadata_infrastructure(self, create_exadata_infrastructure_details, *
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -2632,31 +2732,39 @@ def create_exadata_infrastructure(self, create_exadata_infrastructure_details, *
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use create_data_guard_association API.
"""
- resource_path = "/exadataInfrastructures"
+ resource_path = "/databases/{databaseId}/dataGuardAssociations"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token",
- "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(
- "create_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "databaseId": database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", 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}
@@ -2671,28 +2779,26 @@ def create_exadata_infrastructure(self, create_exadata_infrastructure_details, *
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_exadata_infrastructure_details,
- response_type="ExadataInfrastructure")
+ body=create_data_guard_association_details,
+ response_type="DataGuardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_exadata_infrastructure_details,
- response_type="ExadataInfrastructure")
+ body=create_data_guard_association_details,
+ response_type="DataGuardAssociation")
- def create_external_backup_job(self, create_external_backup_job_details, **kwargs):
+ def create_database(self, create_new_database_details, **kwargs):
"""
- Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure.
-
- **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
-
- __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
+ Creates a new database in the specified Database Home. If the database version is provided, it must match the version of the Database Home. Applies to Exadata and Exadata Cloud@Customer systems.
- :param oci.database.models.CreateExternalBackupJobDetails create_external_backup_job_details: (required)
- Request to create a cloud backup resource for a database running outside the cloud.
+ :param oci.database.models.CreateDatabaseBase create_new_database_details: (required)
+ Request to create a new database.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2701,6 +2807,9 @@ def create_external_backup_job(self, create_external_backup_job_details, **kwarg
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -2709,29 +2818,31 @@ def create_external_backup_job(self, create_external_backup_job_details, **kwarg
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_external_backup_job API.
+ Click `here `__ to see an example of how to use create_database API.
"""
- resource_path = "/externalBackupJobs"
+ resource_path = "/databases"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token"
+ "opc_retry_token",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -2747,23 +2858,23 @@ def create_external_backup_job(self, create_external_backup_job_details, **kwarg
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_external_backup_job_details,
- response_type="ExternalBackupJob")
+ body=create_new_database_details,
+ response_type="Database")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_external_backup_job_details,
- response_type="ExternalBackupJob")
+ body=create_new_database_details,
+ response_type="Database")
- def create_key_store(self, create_key_store_details, **kwargs):
+ def create_database_software_image(self, create_database_software_image_details, **kwargs):
"""
- Creates a Key Store.
+ create database software image in the specified compartment.
- :param oci.database.models.CreateKeyStoreDetails create_key_store_details: (required)
- Request to create a new key store.
+ :param oci.database.models.CreateDatabaseSoftwareImageDetails create_database_software_image_details: (required)
+ Request to create database software image.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2772,9 +2883,6 @@ def create_key_store(self, create_key_store_details, **kwargs):
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -2783,31 +2891,29 @@ def create_key_store(self, create_key_store_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.KeyStore`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseSoftwareImage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_key_store API.
+ Click `here `__ to see an example of how to use create_database_software_image API.
"""
- resource_path = "/keyStores"
+ resource_path = "/databaseSoftwareImages"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token",
- "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(
- "create_key_store got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", 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}
@@ -2823,24 +2929,23 @@ def create_key_store(self, create_key_store_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_key_store_details,
- response_type="KeyStore")
+ body=create_database_software_image_details,
+ response_type="DatabaseSoftwareImage")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_key_store_details,
- response_type="KeyStore")
+ body=create_database_software_image_details,
+ response_type="DatabaseSoftwareImage")
- def create_vm_cluster(self, create_vm_cluster_details, **kwargs):
+ def create_db_home(self, create_db_home_with_db_system_id_details, **kwargs):
"""
- Creates an Exadata Cloud@Customer VM cluster.
+ Creates a new Database Home in the specified database system based on the request parameters you provide. Applies to bare metal DB systems, Exadata systems, and Exadata Cloud@Customer systems.
- :param oci.database.models.CreateVmClusterDetails create_vm_cluster_details: (required)
- Request to create a VM cluster. Applies to Exadata Cloud@Customer instances only.
- See :func:`create_cloud_vm_cluster_details` for details on creating a cloud VM cluster in an Exadata Cloud Service instance.
+ :param oci.database.models.CreateDbHomeBase create_db_home_with_db_system_id_details: (required)
+ Request to create a new Database Home.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2849,9 +2954,6 @@ def create_vm_cluster(self, create_vm_cluster_details, **kwargs):
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -2860,31 +2962,29 @@ def create_vm_cluster(self, create_vm_cluster_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbHome`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_vm_cluster API.
+ Click `here `__ to see an example of how to use create_db_home API.
"""
- resource_path = "/vmClusters"
+ resource_path = "/dbHomes"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token",
- "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(
- "create_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_db_home got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", 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}
@@ -2900,29 +3000,24 @@ def create_vm_cluster(self, create_vm_cluster_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_vm_cluster_details,
- response_type="VmCluster")
+ body=create_db_home_with_db_system_id_details,
+ response_type="DbHome")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_vm_cluster_details,
- response_type="VmCluster")
+ body=create_db_home_with_db_system_id_details,
+ response_type="DbHome")
- def create_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_details, **kwargs):
+ def create_exadata_infrastructure(self, create_exadata_infrastructure_details, **kwargs):
"""
- Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only.
- To create a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`create_cloud_vm_cluster` operation.
-
-
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ Creates an Exadata infrastructure resource. Applies to Exadata Cloud@Customer instances only.
+ To create an Exadata Cloud Service infrastructure resource, use the :func:`create_cloud_exadata_infrastructure` operation.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.VmClusterNetworkDetails vm_cluster_network_details: (required)
- Request to create the Cloud@Customer VM cluster network.
+ :param oci.database.models.CreateExadataInfrastructureDetails create_exadata_infrastructure_details: (required)
+ Request to create Exadata Cloud@Customer infrastructure.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -2942,13 +3037,13 @@ def create_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetwork`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataInfrastructure`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_vm_cluster_network API.
+ Click `here `__ to see an example of how to use create_exadata_infrastructure API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks"
+ resource_path = "/exadataInfrastructures"
method = "POST"
# Don't accept unknown kwargs
@@ -2960,17 +3055,7 @@ def create_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "exadataInfrastructureId": exadata_infrastructure_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -2991,45 +3076,28 @@ def create_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=vm_cluster_network_details,
- response_type="VmClusterNetwork")
+ body=create_exadata_infrastructure_details,
+ response_type="ExadataInfrastructure")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- body=vm_cluster_network_details,
- response_type="VmClusterNetwork")
+ body=create_exadata_infrastructure_details,
+ response_type="ExadataInfrastructure")
- def db_node_action(self, db_node_id, action, **kwargs):
+ def create_external_backup_job(self, create_external_backup_job_details, **kwargs):
"""
- Performs one of the following power actions on the specified DB node:
- - start - power on
- - stop - power off
- - softreset - ACPI shutdown and power on
- - reset - power off and power on
-
- **Note:** Stopping a node affects billing differently, depending on the type of DB system:
- *Bare metal and Exadata systems* - The _stop_ state has no effect on the resources you consume.
- Billing continues for DB nodes that you stop, and related resources continue
- to apply against any relevant quotas. You must terminate the DB system
- (:func:`terminate_db_system`)
- to remove its resources from billing and quotas.
- *Virtual machine DB systems* - Stopping a node stops billing for all OCPUs associated with that node, and billing resumes when you restart the node.
-
+ Creates a new backup resource and returns the information the caller needs to back up an on-premises Oracle Database to Oracle Cloud Infrastructure.
- :param str db_node_id: (required)
- The database node `OCID`__.
+ **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
- :param str action: (required)
- The action to perform on the DB Node.
- Allowed values are: "STOP", "START", "SOFTRESET", "RESET"
+ :param oci.database.models.CreateExternalBackupJobDetails create_external_backup_job_details: (required)
+ Request to create a cloud backup resource for a database running outside the cloud.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -3038,11 +3106,6 @@ def db_node_action(self, db_node_id, action, **kwargs):
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :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 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.
@@ -3051,46 +3114,29 @@ def db_node_action(self, db_node_id, action, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbNode`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use db_node_action API.
+ Click `here `__ to see an example of how to use create_external_backup_job API.
"""
- resource_path = "/dbNodes/{dbNodeId}"
+ resource_path = "/externalBackupJobs"
method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token",
- "if_match"
+ "opc_retry_token"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "db_node_action got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "dbNodeId": db_node_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
-
- query_params = {
- "action": action
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+ "create_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
- "if-match": kwargs.get("if_match", 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}
@@ -3105,33 +3151,31 @@ def db_node_action(self, db_node_id, action, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="DbNode")
+ body=create_external_backup_job_details,
+ response_type="ExternalBackupJob")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="DbNode")
+ body=create_external_backup_job_details,
+ response_type="ExternalBackupJob")
- def delete_autonomous_database(self, autonomous_database_id, **kwargs):
+ def create_external_container_database(self, create_external_container_database_details, **kwargs):
"""
- Deletes the specified Autonomous Database.
+ Creates a new external container database resource.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.CreateExternalContainerDatabaseDetails create_external_container_database_details: (required)
+ Request to create a new external container database resource.
- :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_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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -3144,40 +3188,30 @@ def delete_autonomous_database(self, autonomous_database_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalContainerDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_autonomous_database API.
+ Click `here `__ to see an example of how to use create_external_container_database API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
- method = "DELETE"
+ resource_path = "/externalcontainerdatabases"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "autonomousDatabaseId": autonomous_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_external_container_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3187,33 +3221,37 @@ def delete_autonomous_database(self, autonomous_database_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=create_external_container_database_details,
+ response_type="ExternalContainerDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_external_container_database_details,
+ response_type="ExternalContainerDatabase")
- def delete_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
+ def create_external_database_connector(self, create_external_database_connector_details, **kwargs):
"""
- Deletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system.
+ Creates a new external database connector.
- :param str autonomous_vm_cluster_id: (required)
- The autonomous VM cluster `OCID`__.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.CreateExternalDatabaseConnectorDetails create_external_database_connector_details: (required)
+ Request to create a connector to an external database.
- :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_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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -3226,40 +3264,30 @@ def delete_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalDatabaseConnector`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_autonomous_vm_cluster API.
+ Click `here `__ to see an example of how to use create_external_database_connector API.
"""
- resource_path = "/autonomousVmClusters/{autonomousVmClusterId}"
- method = "DELETE"
+ resource_path = "/externaldatabaseconnectors"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "autonomousVmClusterId": autonomous_vm_cluster_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_external_database_connector got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3269,33 +3297,40 @@ def delete_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=create_external_database_connector_details,
+ response_type="ExternalDatabaseConnector")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_external_database_connector_details,
+ response_type="ExternalDatabaseConnector")
- def delete_backup(self, backup_id, **kwargs):
+ def create_external_non_container_database(self, create_external_non_container_database_details, **kwargs):
"""
- Deletes a full backup. You cannot delete automatic backups using this API.
+ Creates a new ExternalNonContainerDatabase resource
- :param str backup_id: (required)
- The backup `OCID`__.
+ :param oci.database.models.CreateExternalNonContainerDatabaseDetails create_external_non_container_database_details: (required)
+ Request to create a new external non-container database.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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
+ may be rejected).
- :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)
+ Unique identifier for the request.
: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.
@@ -3305,39 +3340,31 @@ def delete_backup(self, backup_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalNonContainerDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_backup API.
+ Click `here `__ to see an example of how to use create_external_non_container_database API.
"""
- resource_path = "/backups/{backupId}"
- method = "DELETE"
+ resource_path = "/externalnoncontainerdatabases"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match"
+ "opc_retry_token",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_backup got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "backupId": backup_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_external_non_container_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3346,33 +3373,38 @@ def delete_backup(self, backup_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=create_external_non_container_database_details,
+ response_type="ExternalNonContainerDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_external_non_container_database_details,
+ response_type="ExternalNonContainerDatabase")
- def delete_backup_destination(self, backup_destination_id, **kwargs):
+ def create_external_pluggable_database(self, create_external_pluggable_database_details, **kwargs):
"""
- Deletes a backup destination in an Exadata Cloud@Customer system.
+ Registers a new :func:`create_external_pluggable_database_details`
+ resource.
- :param str backup_destination_id: (required)
- The `OCID`__ of the backup destination.
+ :param oci.database.models.CreateExternalPluggableDatabaseDetails create_external_pluggable_database_details: (required)
+ Request to create a new external pluggable database.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
-
- :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_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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -3385,40 +3417,30 @@ def delete_backup_destination(self, backup_destination_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalPluggableDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_backup_destination API.
+ Click `here `__ to see an example of how to use create_external_pluggable_database API.
"""
- resource_path = "/backupDestinations/{backupDestinationId}"
- method = "DELETE"
+ resource_path = "/externalpluggabledatabases"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "backupDestinationId": backup_destination_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_external_pluggable_database got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3428,36 +3450,37 @@ def delete_backup_destination(self, backup_destination_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=create_external_pluggable_database_details,
+ response_type="ExternalPluggableDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_external_pluggable_database_details,
+ response_type="ExternalPluggableDatabase")
- def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
+ def create_key_store(self, create_key_store_details, **kwargs):
"""
- Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
-
-
- :param str cloud_exadata_infrastructure_id: (required)
- The cloud Exadata infrastructure `OCID`__.
+ Creates a Key Store.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :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 oci.database.models.CreateKeyStoreDetails create_key_store_details: (required)
+ Request to create a new key store.
- :param bool is_delete_vm_clusters: (optional)
- If `true`, forces the deletion the specified cloud Exadata infrastructure resource as well as all associated VM clusters. If `false`, the cloud Exadata infrastructure resource can be deleted only if it has no associated VM clusters. Default value is `false`.
+ :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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -3470,46 +3493,30 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.KeyStore`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_cloud_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use create_key_store API.
"""
- resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
- method = "DELETE"
+ resource_path = "/keyStores"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
- "is_delete_vm_clusters",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "cloudExadataInfrastructureId": cloud_exadata_infrastructure_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
-
- query_params = {
- "isDeleteVmClusters": kwargs.get("is_delete_vm_clusters", missing)
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+ "create_key_store got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3519,35 +3526,38 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- query_params=query_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_key_store_details,
+ response_type="KeyStore")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- query_params=query_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_key_store_details,
+ response_type="KeyStore")
- def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ def create_vm_cluster(self, create_vm_cluster_details, **kwargs):
"""
- Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
-
+ Creates an Exadata Cloud@Customer VM cluster.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.CreateVmClusterDetails create_vm_cluster_details: (required)
+ Request to create a VM cluster. Applies to Exadata Cloud@Customer instances only.
+ See :func:`create_cloud_vm_cluster_details` for details on creating a cloud VM cluster in an Exadata Cloud Service instance.
- :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_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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -3560,40 +3570,30 @@ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_cloud_vm_cluster API.
+ Click `here `__ to see an example of how to use create_vm_cluster API.
"""
- resource_path = "/cloudVmClusters/{cloudVmClusterId}"
- method = "DELETE"
+ resource_path = "/vmClusters"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "cloudVmClusterId": cloud_vm_cluster_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "create_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3603,36 +3603,46 @@ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=create_vm_cluster_details,
+ response_type="VmCluster")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_vm_cluster_details,
+ response_type="VmCluster")
- def delete_console_connection(self, db_node_id, console_connection_id, **kwargs):
+ def create_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_details, **kwargs):
"""
- Deletes the specified database node console connection.
+ Creates the VM cluster network. Applies to Exadata Cloud@Customer instances only.
+ To create a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`create_cloud_vm_cluster` operation.
- :param str db_node_id: (required)
- The database node `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str console_connection_id: (required)
- The OCID of the console connection.
+ :param oci.database.models.VmClusterNetworkDetails vm_cluster_network_details: (required)
+ Request to create the Cloud@Customer VM cluster network.
- :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_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
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -3642,28 +3652,28 @@ def delete_console_connection(self, db_node_id, console_connection_id, **kwargs)
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetwork`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_console_connection API.
+ Click `here `__ to see an example of how to use create_vm_cluster_network API.
"""
- resource_path = "/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"
- method = "DELETE"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match"
+ "opc_retry_token",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbNodeId": db_node_id,
- "consoleConnectionId": console_connection_id
+ "exadataInfrastructureId": exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3675,7 +3685,8 @@ def delete_console_connection(self, db_node_id, console_connection_id, **kwargs)
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3684,77 +3695,94 @@ def delete_console_connection(self, db_node_id, console_connection_id, **kwargs)
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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)
+ header_params=header_params,
+ body=vm_cluster_network_details,
+ response_type="VmClusterNetwork")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=vm_cluster_network_details,
+ response_type="VmClusterNetwork")
- def delete_database(self, database_id, **kwargs):
+ def db_node_action(self, db_node_id, action, **kwargs):
"""
- Deletes the specified database. Applies only to Exadata systems.
+ Performs one of the following power actions on the specified DB node:
+ - start - power on
+ - stop - power off
+ - softreset - ACPI shutdown and power on
+ - reset - power off and power on
- The data in this database is local to the Exadata system and will be lost when the database is deleted. Oracle recommends that you back up any data in the Exadata system prior to deleting it. You can use the `performFinalBackup` parameter to have the Exadata system database backed up before it is deleted.
+ **Note:** Stopping a node affects billing differently, depending on the type of DB system:
+ *Bare metal and Exadata systems* - The _stop_ state has no effect on the resources you consume.
+ Billing continues for DB nodes that you stop, and related resources continue
+ to apply against any relevant quotas. You must terminate the DB system
+ (:func:`terminate_db_system`)
+ to remove its resources from billing and quotas.
+ *Virtual machine DB systems* - Stopping a node stops billing for all OCPUs associated with that node, and billing resumes when you restart the node.
- :param str database_id: (required)
- The database `OCID`__.
+ :param str db_node_id: (required)
+ The database node `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str action: (required)
+ The action to perform on the DB Node.
+
+ Allowed values are: "STOP", "START", "SOFTRESET", "RESET"
+
+ :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
+ may be rejected).
+
: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 bool perform_final_backup: (optional)
- Whether to perform a final backup of the database or not. Default is false.
-
- If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
-
- This parameter is used in multiple APIs. Refer to the API description for details on how the operation uses it.
-
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
- :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.
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. 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`.
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbNode`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_database API.
+ Click `here `__ to see an example of how to use db_node_action API.
"""
- resource_path = "/databases/{databaseId}"
- method = "DELETE"
+ resource_path = "/dbNodes/{dbNodeId}"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
- "perform_final_backup",
- "opc_request_id"
+ "opc_retry_token",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "db_node_action got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseId": database_id
+ "dbNodeId": db_node_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3764,15 +3792,15 @@ def delete_database(self, database_id, **kwargs):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
query_params = {
- "performFinalBackup": kwargs.get("perform_final_backup", missing)
+ "action": action
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
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),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3781,28 +3809,32 @@ def delete_database(self, database_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
- header_params=header_params)
+ header_params=header_params,
+ response_type="DbNode")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
query_params=query_params,
- header_params=header_params)
+ header_params=header_params,
+ response_type="DbNode")
- def delete_database_software_image(self, database_software_image_id, **kwargs):
+ def delete_autonomous_database(self, autonomous_database_id, **kwargs):
"""
- Delete a database software image
+ Deletes the specified Autonomous Database.
- :param str database_software_image_id: (required)
- The DB system `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -3811,6 +3843,9 @@ def delete_database_software_image(self, database_software_image_id, **kwargs):
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)
+ Unique identifier for the request.
+
: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.
@@ -3823,23 +3858,24 @@ def delete_database_software_image(self, database_software_image_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_database_software_image API.
+ Click `here `__ to see an example of how to use delete_autonomous_database API.
"""
- resource_path = "/databaseSoftwareImages/{databaseSoftwareImageId}"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match"
+ "if_match",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseSoftwareImageId": database_software_image_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3851,7 +3887,8 @@ def delete_database_software_image(self, database_software_image_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3873,15 +3910,13 @@ def delete_database_software_image(self, database_software_image_id, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_db_home(self, db_home_id, **kwargs):
+ def delete_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
"""
- Deletes a Database Home. Applies to bare metal DB systems, Exadata Cloud Service, and Exadata Cloud@Customer systems.
-
- Oracle recommends that you use the `performFinalBackup` parameter to back up any data on a bare metal DB system before you delete a Database Home. On an Exadata Cloud@Customer system or an Exadata Cloud Service system, you can delete a Database Home only when there are no databases in it and therefore you cannot use the `performFinalBackup` parameter to back up data.
+ Deletes the specified Autonomous VM cluster in an Exadata Cloud@Customer system.
- :param str db_home_id: (required)
- The Database Home `OCID`__.
+ :param str autonomous_vm_cluster_id: (required)
+ The autonomous VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -3890,12 +3925,8 @@ def delete_db_home(self, db_home_id, **kwargs):
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 bool perform_final_backup: (optional)
- Whether to perform a final backup of the database or not. Default is false.
-
- If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
-
- This parameter is used in multiple APIs. Refer to the API description for details on how the operation uses it.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -3909,24 +3940,24 @@ def delete_db_home(self, db_home_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_db_home API.
+ Click `here `__ to see an example of how to use delete_autonomous_vm_cluster API.
"""
- resource_path = "/dbHomes/{dbHomeId}"
+ resource_path = "/autonomousVmClusters/{autonomousVmClusterId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
- "perform_final_backup"
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_db_home got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbHomeId": db_home_id
+ "autonomousVmClusterId": autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3935,15 +3966,11 @@ def delete_db_home(self, db_home_id, **kwargs):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
- query_params = {
- "performFinalBackup": kwargs.get("perform_final_backup", missing)
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
-
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3957,23 +3984,21 @@ def delete_db_home(self, db_home_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params)
- def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
+ def delete_backup(self, backup_id, **kwargs):
"""
- Deletes the Exadata Cloud@Customer infrastructure.
+ Deletes a full backup. You cannot delete automatic backups using this API.
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ :param str backup_id: (required)
+ The backup `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -3982,9 +4007,6 @@ def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
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)
- Unique identifier for the request.
-
: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.
@@ -3997,24 +4019,23 @@ def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use delete_backup API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}"
+ resource_path = "/backups/{backupId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
- "opc_request_id"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_backup got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id
+ "backupId": backup_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4026,8 +4047,7 @@ def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
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)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4049,13 +4069,13 @@ def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_key_store(self, key_store_id, **kwargs):
+ def delete_backup_destination(self, backup_destination_id, **kwargs):
"""
- Deletes a key store.
+ Deletes a backup destination in an Exadata Cloud@Customer system.
- :param str key_store_id: (required)
- The `OCID`__ of the key store.
+ :param str backup_destination_id: (required)
+ The `OCID`__ of the backup destination.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -4079,9 +4099,9 @@ def delete_key_store(self, key_store_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_key_store API.
+ Click `here `__ to see an example of how to use delete_backup_destination API.
"""
- resource_path = "/keyStores/{keyStoreId}"
+ resource_path = "/backupDestinations/{backupDestinationId}"
method = "DELETE"
# Don't accept unknown kwargs
@@ -4093,10 +4113,10 @@ def delete_key_store(self, key_store_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_key_store got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "keyStoreId": key_store_id
+ "backupDestinationId": backup_destination_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4131,13 +4151,13 @@ def delete_key_store(self, key_store_id, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_vm_cluster(self, vm_cluster_id, **kwargs):
+ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
"""
- Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
+ Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ :param str cloud_exadata_infrastructure_id: (required)
+ The cloud Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -4146,6 +4166,9 @@ def delete_vm_cluster(self, vm_cluster_id, **kwargs):
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 bool is_delete_vm_clusters: (optional)
+ If `true`, forces the deletion the specified cloud Exadata infrastructure resource as well as all associated VM clusters. If `false`, the cloud Exadata infrastructure resource can be deleted only if it has no associated VM clusters. Default value is `false`.
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -4161,24 +4184,25 @@ def delete_vm_cluster(self, vm_cluster_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_vm_cluster API.
+ Click `here `__ to see an example of how to use delete_cloud_exadata_infrastructure API.
"""
- resource_path = "/vmClusters/{vmClusterId}"
+ resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"if_match",
+ "is_delete_vm_clusters",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "vmClusterId": vm_cluster_id
+ "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4187,6 +4211,11 @@ def delete_vm_cluster(self, vm_cluster_id, **kwargs):
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ query_params = {
+ "isDeleteVmClusters": kwargs.get("is_delete_vm_clusters", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
header_params = {
"accept": "application/json",
"content-type": "application/json",
@@ -4205,27 +4234,23 @@ def delete_vm_cluster(self, vm_cluster_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params)
- def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
+ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
"""
- Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
- To delete a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`delete_cloud_vm_cluster` operation.
-
-
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str vm_cluster_network_id: (required)
- The VM cluster network `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -4249,9 +4274,9 @@ def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_vm_cluster_network API.
+ Click `here `__ to see an example of how to use delete_cloud_vm_cluster API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}"
method = "DELETE"
# Don't accept unknown kwargs
@@ -4263,11 +4288,10 @@ def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id,
- "vmClusterNetworkId": vm_cluster_network_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4302,21 +4326,23 @@ def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_networ
path_params=path_params,
header_params=header_params)
- def deregister_autonomous_database_data_safe(self, autonomous_database_id, **kwargs):
+ def delete_console_connection(self, db_node_id, console_connection_id, **kwargs):
"""
- Asynchronously deregisters this Autonomous Database with Data Safe.
+ Deletes the specified database node console connection.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str db_node_id: (required)
+ The database node `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str console_connection_id: (required)
+ The OCID of the console connection.
- :param oci.database.models.DeregisterAutonomousDatabaseDataSafeDetails deregister_autonomous_database_data_safe_details: (optional)
- Details for deregistering an Autonomous Database with Data Safe.
+ :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 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.
@@ -4330,24 +4356,24 @@ def deregister_autonomous_database_data_safe(self, autonomous_database_id, **kwa
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use deregister_autonomous_database_data_safe API.
+ Click `here `__ to see an example of how to use delete_console_connection API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/deregisterDataSafe"
- method = "POST"
+ resource_path = "/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
- "deregister_autonomous_database_data_safe_details"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "deregister_autonomous_database_data_safe got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "dbNodeId": db_node_id,
+ "consoleConnectionId": console_connection_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4359,7 +4385,7 @@ def deregister_autonomous_database_data_safe(self, autonomous_database_id, **kwa
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4373,26 +4399,38 @@ def deregister_autonomous_database_data_safe(self, autonomous_database_id, **kwa
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=kwargs.get('deregister_autonomous_database_data_safe_details'))
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=kwargs.get('deregister_autonomous_database_data_safe_details'))
+ header_params=header_params)
- def disable_autonomous_database_operations_insights(self, autonomous_database_id, **kwargs):
+ def delete_database(self, database_id, **kwargs):
"""
- Disables Operations Insights for the Autonomous Database resource.
+ Deletes the specified database. Applies only to Exadata systems.
+
+ The data in this database is local to the Exadata system and will be lost when the database is deleted. Oracle recommends that you back up any data in the Exadata system prior to deleting it. You can use the `performFinalBackup` parameter to have the Exadata system database backed up before it is deleted.
- :param str autonomous_database_id: (required)
+ :param str database_id: (required)
The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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 bool perform_final_backup: (optional)
+ Whether to perform a final backup of the database or not. Default is false.
+
+ If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
+
+ This parameter is used in multiple APIs. Refer to the API description for details on how the operation uses it.
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -4408,23 +4446,25 @@ def disable_autonomous_database_operations_insights(self, autonomous_database_id
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use disable_autonomous_database_operations_insights API.
+ Click `here `__ to see an example of how to use delete_database API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/disableOperationsInsights"
- method = "POST"
+ resource_path = "/databases/{databaseId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
+ "if_match",
+ "perform_final_backup",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "disable_autonomous_database_operations_insights got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "databaseId": database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4433,9 +4473,15 @@ def disable_autonomous_database_operations_insights(self, autonomous_database_id
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ query_params = {
+ "performFinalBackup": kwargs.get("perform_final_backup", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4450,33 +4496,30 @@ def disable_autonomous_database_operations_insights(self, autonomous_database_id
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params)
- def download_exadata_infrastructure_config_file(self, exadata_infrastructure_id, **kwargs):
+ def delete_database_software_image(self, database_software_image_id, **kwargs):
"""
- Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
+ Delete a database software image
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ :param str database_software_image_id: (required)
+ The DB system `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
- :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
- may be rejected).
+ :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 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.
@@ -4486,28 +4529,27 @@ def download_exadata_infrastructure_config_file(self, exadata_infrastructure_id,
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type stream
+ :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 download_exadata_infrastructure_config_file API.
+ Click `here `__ to see an example of how to use delete_database_software_image API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/actions/downloadConfigFile"
- method = "POST"
+ resource_path = "/databaseSoftwareImages/{databaseSoftwareImageId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
- "opc_retry_token"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "download_exadata_infrastructure_config_file got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id
+ "databaseSoftwareImageId": database_software_image_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4517,10 +4559,9 @@ def download_exadata_infrastructure_config_file(self, exadata_infrastructure_id,
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
- "accept": "application/octet-stream",
+ "accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4529,47 +4570,42 @@ def download_exadata_infrastructure_config_file(self, exadata_infrastructure_id,
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="stream")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="stream")
+ header_params=header_params)
- def download_vm_cluster_network_config_file(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
+ def delete_db_home(self, db_home_id, **kwargs):
"""
- Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
+ Deletes a Database Home. Applies to bare metal DB systems, Exadata Cloud Service, and Exadata Cloud@Customer systems.
+ Oracle recommends that you use the `performFinalBackup` parameter to back up any data on a bare metal DB system before you delete a Database Home. On an Exadata Cloud@Customer system or an Exadata Cloud Service system, you can delete a Database Home only when there are no databases in it and therefore you cannot use the `performFinalBackup` parameter to back up data.
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+
+ :param str db_home_id: (required)
+ The Database Home `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str vm_cluster_network_id: (required)
- The VM cluster network `OCID`__.
+ :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.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param bool perform_final_backup: (optional)
+ Whether to perform a final backup of the database or not. Default is false.
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ If you previously used RMAN or dbcli to configure backups and then you switch to using the Console or the API for backups, a new backup configuration is created and associated with your database. This means that you can no longer rely on your previously configured unmanaged backups to work.
- :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
- may be rejected).
+ This parameter is used in multiple APIs. Refer to the API description for details on how the operation uses it.
: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.
@@ -4579,29 +4615,28 @@ def download_vm_cluster_network_config_file(self, exadata_infrastructure_id, vm_
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type stream
+ :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 download_vm_cluster_network_config_file API.
+ Click `here `__ to see an example of how to use delete_db_home API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadConfigFile"
- method = "POST"
+ resource_path = "/dbHomes/{dbHomeId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
- "opc_retry_token"
+ "if_match",
+ "perform_final_backup"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "download_vm_cluster_network_config_file got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_db_home got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id,
- "vmClusterNetworkId": vm_cluster_network_id
+ "dbHomeId": db_home_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4610,11 +4645,15 @@ def download_vm_cluster_network_config_file(self, exadata_infrastructure_id, vm_
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ query_params = {
+ "performFinalBackup": kwargs.get("perform_final_backup", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
header_params = {
- "accept": "application/octet-stream",
+ "accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4623,33 +4662,36 @@ def download_vm_cluster_network_config_file(self, exadata_infrastructure_id, vm_
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="stream")
+ query_params=query_params,
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="stream")
+ query_params=query_params,
+ header_params=header_params)
- def enable_autonomous_database_operations_insights(self, autonomous_database_id, **kwargs):
+ def delete_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
"""
- Enables the specified Autonomous Database with Operations Insights.
+ Deletes the Exadata Cloud@Customer infrastructure.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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)
Unique identifier for the request.
@@ -4665,23 +4707,24 @@ def enable_autonomous_database_operations_insights(self, autonomous_database_id,
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use enable_autonomous_database_operations_insights API.
+ Click `here `__ to see an example of how to use delete_exadata_infrastructure API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights"
- method = "POST"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
+ "if_match",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "enable_autonomous_database_operations_insights got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "exadataInfrastructureId": exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4693,6 +4736,7 @@ def enable_autonomous_database_operations_insights(self, autonomous_database_id,
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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4715,31 +4759,26 @@ def enable_autonomous_database_operations_insights(self, autonomous_database_id,
path_params=path_params,
header_params=header_params)
- def fail_over_autonomous_database(self, autonomous_database_id, **kwargs):
+ def delete_external_container_database(self, external_container_database_id, **kwargs):
"""
- Initiates a failover the specified Autonomous Database to a standby.
+ Deletes the :func:`create_external_container_database_details`
+ resource. Any external pluggable databases registered under this container database must be deleted in
+ your Oracle Cloud Infrastructure tenancy prior to this operation.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str external_container_database_id: (required)
+ The ExternalContainerDatabase `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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_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
- may be rejected).
-
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -4748,29 +4787,28 @@ def fail_over_autonomous_database(self, autonomous_database_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
+ :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 fail_over_autonomous_database API.
+ Click `here `__ to see an example of how to use delete_external_container_database API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/failover"
- method = "POST"
+ resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match",
- "opc_retry_token",
- "opc_request_id"
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "fail_over_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_external_container_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "externalContainerDatabaseId": external_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4782,9 +4820,8 @@ def fail_over_autonomous_database(self, autonomous_database_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4793,37 +4830,29 @@ def fail_over_autonomous_database(self, autonomous_database_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="AutonomousDatabase")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousDatabase")
+ header_params=header_params)
- def failover_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
+ def delete_external_database_connector(self, external_database_connector_id, **kwargs):
"""
- Fails over the standby Autonomous Container Database identified by the autonomousContainerDatabaseId parameter to the primary Autonomous Container Database after the existing primary Autonomous Container Database fails or becomes unreachable.
-
- A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
-
-
- :param str autonomous_container_database_id: (required)
- The Autonomous Container Database `OCID`__.
+ Deletes an external database connector.
+ Any services enabled using the external database connector must be
+ deleted prior to this operation.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_container_database_dataguard_association_id: (required)
- The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+ :param str external_database_connector_id: (required)
+ The `OCID`__ of the
+ external database connector resource (`ExternalDatabaseConnectorId`).
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -4832,6 +4861,9 @@ def failover_autonomous_container_database_dataguard_association(self, autonomou
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)
+ Unique identifier for the request.
+
: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.
@@ -4840,28 +4872,28 @@ def failover_autonomous_container_database_dataguard_association(self, autonomou
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
+ :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 failover_autonomous_container_database_dataguard_association API.
+ Click `here `__ to see an example of how to use delete_external_database_connector API.
"""
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/failover"
- method = "POST"
+ resource_path = "/externaldatabaseconnectors/{externalDatabaseConnectorId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match"
+ "if_match",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "failover_autonomous_container_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_external_database_connector got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id,
- "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
+ "externalDatabaseConnectorId": external_database_connector_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4873,7 +4905,8 @@ def failover_autonomous_container_database_dataguard_association(self, autonomou
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4887,43 +4920,32 @@ def failover_autonomous_container_database_dataguard_association(self, autonomou
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation")
+ header_params=header_params)
- def failover_data_guard_association(self, database_id, data_guard_association_id, failover_data_guard_association_details, **kwargs):
+ def delete_external_non_container_database(self, external_non_container_database_id, **kwargs):
"""
- Performs a failover to transition the standby database identified by the `databaseId` parameter into the
- specified Data Guard association's primary role after the existing primary database fails or becomes unreachable.
-
- A failover might result in data loss depending on the protection mode in effect at the time of the primary
- database failure.
-
-
- :param str database_id: (required)
- The database `OCID`__.
+ Deletes the Oracle Cloud Infrastructure resource representing an external non-container database.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str data_guard_association_id: (required)
- The Data Guard association's `OCID`__.
+ :param str external_non_container_database_id: (required)
+ The external non-container database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.FailoverDataGuardAssociationDetails failover_data_guard_association_details: (required)
- A request to perform a failover, transitioning a standby database into a primary database.
-
: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)
+ Unique identifier for the request.
+
: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.
@@ -4932,28 +4954,28 @@ def failover_data_guard_association(self, database_id, data_guard_association_id
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
+ :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 failover_data_guard_association API.
+ Click `here `__ to see an example of how to use delete_external_non_container_database API.
"""
- resource_path = "/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/failover"
- method = "POST"
+ resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "if_match"
+ "if_match",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "failover_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_external_non_container_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseId": database_id,
- "dataGuardAssociationId": data_guard_association_id
+ "externalNonContainerDatabaseId": external_non_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4965,7 +4987,8 @@ def failover_data_guard_association(self, database_id, data_guard_association_id
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing)
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -4979,40 +5002,32 @@ def failover_data_guard_association(self, database_id, data_guard_association_id
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=failover_data_guard_association_details,
- response_type="DataGuardAssociation")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=failover_data_guard_association_details,
- response_type="DataGuardAssociation")
+ header_params=header_params)
- def generate_autonomous_database_wallet(self, autonomous_database_id, generate_autonomous_database_wallet_details, **kwargs):
+ def delete_external_pluggable_database(self, external_pluggable_database_id, **kwargs):
"""
- Creates and downloads a wallet for the specified Autonomous Database.
+ Deletes the :func:`create_external_pluggable_database_details`.
+ resource.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str external_pluggable_database_id: (required)
+ The ExternalPluggableDatabaseId `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.GenerateAutonomousDatabaseWalletDetails generate_autonomous_database_wallet_details: (required)
- Request to create a new Autonomous Database wallet.
-
:param str opc_request_id: (optional)
Unique identifier for the request.
- :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
- may be rejected).
+ :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 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.
@@ -5022,28 +5037,28 @@ def generate_autonomous_database_wallet(self, autonomous_database_id, generate_a
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type stream
+ :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 generate_autonomous_database_wallet API.
+ Click `here `__ to see an example of how to use delete_external_pluggable_database API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/generateWallet"
- method = "POST"
+ resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
- "opc_retry_token"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "generate_autonomous_database_wallet got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_external_pluggable_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "externalPluggableDatabaseId": external_pluggable_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5053,10 +5068,10 @@ def generate_autonomous_database_wallet(self, autonomous_database_id, generate_a
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
- "accept": "application/octet-stream",
+ "accept": "application/json",
"content-type": "application/json",
"opc-request-id": kwargs.get("opc_request_id", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -5065,48 +5080,37 @@ def generate_autonomous_database_wallet(self, autonomous_database_id, generate_a
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- body=generate_autonomous_database_wallet_details,
- response_type="stream")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=generate_autonomous_database_wallet_details,
- response_type="stream")
+ header_params=header_params)
- def generate_recommended_vm_cluster_network(self, exadata_infrastructure_id, generate_recommended_network_details, **kwargs):
+ def delete_key_store(self, key_store_id, **kwargs):
"""
- Generates a recommended Cloud@Customer VM cluster network configuration.
+ Deletes a key store.
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ :param str key_store_id: (required)
+ The `OCID`__ of the key store.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param oci.database.models.GenerateRecommendedNetworkDetails generate_recommended_network_details: (required)
- Request to generate a recommended Cloud@Customer VM cluster network configuration.
+ :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)
Unique identifier for the request.
- :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
- may 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.
@@ -5115,28 +5119,28 @@ def generate_recommended_vm_cluster_network(self, exadata_infrastructure_id, gen
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetworkDetails`
+ :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 generate_recommended_vm_cluster_network API.
+ Click `here `__ to see an example of how to use delete_key_store API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/actions/generateRecommendedNetwork"
- method = "POST"
+ resource_path = "/keyStores/{keyStoreId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
- "opc_retry_token"
+ "if_match",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "generate_recommended_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_key_store got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id
+ "keyStoreId": key_store_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5148,8 +5152,8 @@ def generate_recommended_vm_cluster_network(self, exadata_infrastructure_id, gen
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -5158,35 +5162,37 @@ def generate_recommended_vm_cluster_network(self, exadata_infrastructure_id, gen
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- body=generate_recommended_network_details,
- response_type="VmClusterNetworkDetails")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- body=generate_recommended_network_details,
- response_type="VmClusterNetworkDetails")
+ header_params=header_params)
- def get_autonomous_container_database(self, autonomous_container_database_id, **kwargs):
+ def delete_vm_cluster(self, vm_cluster_id, **kwargs):
"""
- Gets information about the specified Autonomous Container Database.
+ Deletes the specified VM cluster. Applies to Exadata Cloud@Customer instances only.
- :param str autonomous_container_database_id: (required)
- The Autonomous Container Database `OCID`__.
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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)
+ Unique identifier for the request.
+
: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.
@@ -5195,23 +5201,28 @@ def get_autonomous_container_database(self, autonomous_container_database_id, **
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabase`
+ :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 get_autonomous_container_database API.
+ Click `here `__ to see an example of how to use delete_vm_cluster API.
"""
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}"
- method = "GET"
+ resource_path = "/vmClusters/{vmClusterId}"
+ method = "DELETE"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_container_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id
+ "vmClusterId": vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5222,8 +5233,11 @@ def get_autonomous_container_database(self, autonomous_container_database_id, **
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -5235,31 +5249,38 @@ def get_autonomous_container_database(self, autonomous_container_database_id, **
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabase")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabase")
+ header_params=header_params)
- def get_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
+ def delete_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
"""
- Gets an Autonomous Container Database enabled with Autonomous Data Guard associated with the specified Autonomous Container Database.
+ Deletes the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
+ To delete a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`delete_cloud_vm_cluster` operation.
- :param str autonomous_container_database_id: (required)
- The Autonomous Container Database `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_container_database_dataguard_association_id: (required)
- The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+ :param str vm_cluster_network_id: (required)
+ The VM cluster network `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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)
+ Unique identifier for the request.
+
: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.
@@ -5268,24 +5289,29 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
+ :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 get_autonomous_container_database_dataguard_association API.
+ Click `here `__ to see an example of how to use delete_vm_cluster_network API.
"""
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}"
- method = "GET"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}"
+ method = "DELETE"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_container_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id,
- "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
+ "exadataInfrastructureId": exadata_infrastructure_id,
+ "vmClusterNetworkId": vm_cluster_network_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5296,8 +5322,11 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -5309,19 +5338,17 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation")
+ header_params=header_params)
- def get_autonomous_database(self, autonomous_database_id, **kwargs):
+ def deregister_autonomous_database_data_safe(self, autonomous_database_id, **kwargs):
"""
- Gets the details of the specified Autonomous Database.
+ Asynchronously deregisters this Autonomous Database with Data Safe.
:param str autonomous_database_id: (required)
@@ -5332,6 +5359,9 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :param oci.database.models.DeregisterAutonomousDatabaseDataSafeDetails deregister_autonomous_database_data_safe_details: (optional)
+ Details for deregistering an Autonomous Database with Data Safe.
+
: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.
@@ -5340,24 +5370,25 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
+ :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 get_autonomous_database API.
+ Click `here `__ to see an example of how to use deregister_autonomous_database_data_safe API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
- method = "GET"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/deregisterDataSafe"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_request_id",
+ "deregister_autonomous_database_data_safe_details"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "deregister_autonomous_database_data_safe got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"autonomousDatabaseId": autonomous_database_id
@@ -5387,22 +5418,22 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabase")
+ body=kwargs.get('deregister_autonomous_database_data_safe_details'))
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabase")
+ body=kwargs.get('deregister_autonomous_database_data_safe_details'))
- def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs):
+ def disable_autonomous_database_operations_insights(self, autonomous_database_id, **kwargs):
"""
- Gets information about the specified Autonomous Database backup.
+ Disables Operations Insights for the Autonomous Database resource.
- :param str autonomous_database_backup_id: (required)
- The `OCID`__ of the Autonomous Database backup.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -5417,14 +5448,14 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
+ :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 get_autonomous_database_backup API.
+ Click `here `__ to see an example of how to use disable_autonomous_database_operations_insights API.
"""
- resource_path = "/autonomousDatabaseBackups/{autonomousDatabaseBackupId}"
- method = "GET"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/disableOperationsInsights"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -5434,10 +5465,10 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_database_backup got unknown kwargs: {!r}".format(extra_kwargs))
+ "disable_autonomous_database_operations_insights got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseBackupId": autonomous_database_backup_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5463,34 +5494,39 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousDatabaseBackup")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousDatabaseBackup")
+ header_params=header_params)
- def get_autonomous_database_dataguard_association(self, autonomous_database_id, autonomous_database_dataguard_association_id, **kwargs):
+ def disable_external_container_database_database_management(self, external_container_database_id, **kwargs):
"""
- Gets an Autonomous Data Guard-enabled database associated with the specified Autonomous Database.
+ Disable Database Management service for the external container database.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str external_container_database_id: (required)
+ The ExternalContainerDatabase `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_database_dataguard_association_id: (required)
- The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -5499,28 +5535,29 @@ def get_autonomous_database_dataguard_association(self, autonomous_database_id,
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
+ :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 get_autonomous_database_dataguard_association API.
+ Click `here `__ to see an example of how to use disable_external_container_database_database_management API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}"
- method = "GET"
+ resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/disableDatabaseManagement"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
+ "disable_external_container_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id,
- "autonomousDatabaseDataguardAssociationId": autonomous_database_dataguard_association_id
+ "externalContainerDatabaseId": external_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5532,7 +5569,9 @@ def get_autonomous_database_dataguard_association(self, autonomous_database_id,
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -5541,29 +5580,50 @@ def get_autonomous_database_dataguard_association(self, autonomous_database_id,
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="AutonomousDatabaseDataguardAssociation")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousDatabaseDataguardAssociation")
+ header_params=header_params)
- def get_autonomous_database_regional_wallet(self, **kwargs):
+ def disable_external_non_container_database_database_management(self, external_non_container_database_id, **kwargs):
"""
- Gets the Autonomous Database regional wallet details.
+ Disable Database Management Service for the external non-container database.
+ For more information about the Database Management Service, see
+ `Database Management Service`__.
+
+ __ https://docs.cloud.oracle.com/Content/ExternalDatabase/Concepts/databasemanagementservice.htm
+
+
+ :param str external_non_container_database_id: (required)
+ The external non-container database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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
+ may be rejected).
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -5572,29 +5632,43 @@ def get_autonomous_database_regional_wallet(self, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseWallet`
+ :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 get_autonomous_database_regional_wallet API.
+ Click `here `__ to see an example of how to use disable_external_non_container_database_database_management API.
"""
- resource_path = "/autonomousDatabases/wallet"
- method = "GET"
+ resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/disableDatabaseManagement"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_database_regional_wallet got unknown kwargs: {!r}".format(extra_kwargs))
+ "disable_external_non_container_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalNonContainerDatabaseId": external_non_container_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -5603,32 +5677,50 @@ def get_autonomous_database_regional_wallet(self, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- header_params=header_params,
- response_type="AutonomousDatabaseWallet")
+ path_params=path_params,
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- header_params=header_params,
- response_type="AutonomousDatabaseWallet")
+ path_params=path_params,
+ header_params=header_params)
- def get_autonomous_database_wallet(self, autonomous_database_id, **kwargs):
+ def disable_external_pluggable_database_database_management(self, external_pluggable_database_id, **kwargs):
"""
- Gets the wallet details for the specified Autonomous Database.
+ Disable Database Management Service for the external pluggable database.
+ For more information about the Database Management Service, see
+ `Database Management Service`__.
+ __ https://docs.cloud.oracle.com/Content/ExternalDatabase/Concepts/databasemanagementservice.htm
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+
+ :param str external_pluggable_database_id: (required)
+ The ExternalPluggableDatabaseId `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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
+ may be rejected).
+
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -5637,27 +5729,29 @@ def get_autonomous_database_wallet(self, autonomous_database_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseWallet`
+ :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 get_autonomous_database_wallet API.
+ Click `here `__ to see an example of how to use disable_external_pluggable_database_database_management API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/wallet"
- method = "GET"
+ resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/disableDatabaseManagement"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_database_wallet got unknown kwargs: {!r}".format(extra_kwargs))
+ "disable_external_pluggable_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "externalPluggableDatabaseId": external_pluggable_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5669,7 +5763,9 @@ def get_autonomous_database_wallet(self, autonomous_database_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -5678,31 +5774,41 @@ def get_autonomous_database_wallet(self, autonomous_database_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="AutonomousDatabaseWallet")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousDatabaseWallet")
+ header_params=header_params)
- def get_autonomous_exadata_infrastructure(self, autonomous_exadata_infrastructure_id, **kwargs):
+ def download_exadata_infrastructure_config_file(self, exadata_infrastructure_id, **kwargs):
"""
- Gets information about the specified Autonomous Exadata Infrastructure resource.
+ Downloads the configuration file for the specified Exadata Cloud@Customer infrastructure.
- :param str autonomous_exadata_infrastructure_id: (required)
- The Autonomous Exadata Infrastructure `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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
+ may 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.
@@ -5711,23 +5817,28 @@ def get_autonomous_exadata_infrastructure(self, autonomous_exadata_infrastructur
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type stream
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use download_exadata_infrastructure_config_file API.
"""
- resource_path = "/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}"
- method = "GET"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/actions/downloadConfigFile"
+ method = "POST"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "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(
- "get_autonomous_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "download_exadata_infrastructure_config_file got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousExadataInfrastructureId": autonomous_exadata_infrastructure_id
+ "exadataInfrastructureId": exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5737,40 +5848,60 @@ def get_autonomous_exadata_infrastructure(self, autonomous_exadata_infrastructur
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
- "accept": "application/json",
- "content-type": "application/json"
+ "accept": "application/octet-stream",
+ "content-type": "application/json",
+ "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.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="AutonomousExadataInfrastructure")
+ response_type="stream")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousExadataInfrastructure")
+ response_type="stream")
- def get_autonomous_patch(self, autonomous_patch_id, **kwargs):
+ def download_vm_cluster_network_config_file(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
"""
- Gets information about a specific autonomous patch.
+ Downloads the configuration file for the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
- :param str autonomous_patch_id: (required)
- The autonomous patch `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str vm_cluster_network_id: (required)
+ The VM cluster network `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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
+ may 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.
@@ -5779,23 +5910,29 @@ def get_autonomous_patch(self, autonomous_patch_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousPatch`
+ :return: A :class:`~oci.response.Response` object with data of type stream
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_patch API.
+ Click `here `__ to see an example of how to use download_vm_cluster_network_config_file API.
"""
- resource_path = "/autonomousPatches/{autonomousPatchId}"
- method = "GET"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}/actions/downloadConfigFile"
+ method = "POST"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "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(
- "get_autonomous_patch got unknown kwargs: {!r}".format(extra_kwargs))
+ "download_vm_cluster_network_config_file got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousPatchId": autonomous_patch_id
+ "exadataInfrastructureId": exadata_infrastructure_id,
+ "vmClusterNetworkId": vm_cluster_network_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5805,37 +5942,42 @@ def get_autonomous_patch(self, autonomous_patch_id, **kwargs):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
- "accept": "application/json",
- "content-type": "application/json"
+ "accept": "application/octet-stream",
+ "content-type": "application/json",
+ "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.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="AutonomousPatch")
+ response_type="stream")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousPatch")
+ response_type="stream")
- def get_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
+ def enable_autonomous_database_operations_insights(self, autonomous_database_id, **kwargs):
"""
- Gets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system.
-
+ Enables the specified Autonomous Database with Operations Insights.
- :param str autonomous_vm_cluster_id: (required)
- The autonomous VM cluster `OCID`__.
+
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -5850,14 +5992,14 @@ def get_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousVmCluster`
+ :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 get_autonomous_vm_cluster API.
+ Click `here `__ to see an example of how to use enable_autonomous_database_operations_insights API.
"""
- resource_path = "/autonomousVmClusters/{autonomousVmClusterId}"
- method = "GET"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/enableOperationsInsights"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -5867,10 +6009,10 @@ def get_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "enable_autonomous_database_operations_insights got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousVmClusterId": autonomous_vm_cluster_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5896,26 +6038,46 @@ def get_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousVmCluster")
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="AutonomousVmCluster")
+ header_params=header_params)
- def get_backup(self, backup_id, **kwargs):
+ def enable_external_container_database_database_management(self, external_container_database_id, enable_external_container_database_database_management_details, **kwargs):
"""
- Gets information about the specified backup.
+ Enables Database Management Service for the external container database.
+ For more information about the Database Management Service, see
+ `Database Management Service`__.
+ __ https://docs.cloud.oracle.com/Content/ExternalDatabase/Concepts/databasemanagementservice.htm
- :param str backup_id: (required)
- The backup `OCID`__.
+
+ :param str external_container_database_id: (required)
+ The ExternalContainerDatabase `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.EnableExternalContainerDatabaseDatabaseManagementDetails enable_external_container_database_database_management_details: (required)
+ Request to enable the Database Management Service for an external container database.
+
+ :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
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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 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.
@@ -5924,23 +6086,29 @@ def get_backup(self, backup_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Backup`
+ :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 get_backup API.
+ Click `here `__ to see an example of how to use enable_external_container_database_database_management API.
"""
- resource_path = "/backups/{backupId}"
- method = "GET"
+ resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}/actions/enableDatabaseManagement"
+ method = "POST"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_backup got unknown kwargs: {!r}".format(extra_kwargs))
+ "enable_external_container_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "backupId": backup_id
+ "externalContainerDatabaseId": external_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5951,42 +6119,67 @@ def get_backup(self, backup_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", 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.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="Backup")
+ body=enable_external_container_database_database_management_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Backup")
+ body=enable_external_container_database_database_management_details)
- def get_backup_destination(self, backup_destination_id, **kwargs):
+ def enable_external_non_container_database_database_management(self, external_non_container_database_id, enable_external_non_container_database_database_management_details, **kwargs):
"""
- Gets information about the specified backup destination in an Exadata Cloud@Customer system.
+ Enable Database Management Service for the external non-container database.
+ For more information about the Database Management Service, see
+ `Database Management Service`__.
+ __ https://docs.cloud.oracle.com/Content/ExternalDatabase/Concepts/databasemanagementservice.htm
- :param str backup_destination_id: (required)
- The `OCID`__ of the backup destination.
+
+ :param str external_non_container_database_id: (required)
+ The external non-container database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.EnableExternalNonContainerDatabaseDatabaseManagementDetails enable_external_non_container_database_database_management_details: (required)
+ Request to enable the Database Management Service for an external non-container database.
+
+ :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
+ may be rejected).
+
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -5995,27 +6188,29 @@ def get_backup_destination(self, backup_destination_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BackupDestination`
+ :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 get_backup_destination API.
+ Click `here `__ to see an example of how to use enable_external_non_container_database_database_management API.
"""
- resource_path = "/backupDestinations/{backupDestinationId}"
- method = "GET"
+ resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}/actions/enableDatabaseManagement"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
+ "enable_external_non_container_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "backupDestinationId": backup_destination_id
+ "externalNonContainerDatabaseId": external_non_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6027,7 +6222,9 @@ def get_backup_destination(self, backup_destination_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -6036,34 +6233,55 @@ def get_backup_destination(self, backup_destination_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="BackupDestination")
+ body=enable_external_non_container_database_database_management_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="BackupDestination")
+ body=enable_external_non_container_database_database_management_details)
- def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
+ def enable_external_pluggable_database_database_management(self, external_pluggable_database_id, enable_external_pluggable_database_database_management_details, **kwargs):
"""
- Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
+ Enable Database Management Service for the external pluggable database.
+ For more information about the Database Management Service, see
+ `Database Management Service`__.
+ __ https://docs.cloud.oracle.com/Content/ExternalDatabase/Concepts/databasemanagementservice.htm
- :param str cloud_exadata_infrastructure_id: (required)
- The cloud Exadata infrastructure `OCID`__.
+
+ :param str external_pluggable_database_id: (required)
+ The ExternalPluggableDatabaseId `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.EnableExternalPluggableDatabaseDatabaseManagementDetails enable_external_pluggable_database_database_management_details: (required)
+ Request to enable the Database Management Service for an external database.
+
+ :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
+ may be rejected).
+
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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 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.
@@ -6072,27 +6290,29 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
+ :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 get_cloud_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use enable_external_pluggable_database_database_management API.
"""
- resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
- method = "GET"
+ resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}/actions/enableDatabaseManagement"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "enable_external_pluggable_database_database_management got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ "externalPluggableDatabaseId": external_pluggable_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6104,7 +6324,9 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -6113,31 +6335,45 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="CloudExadataInfrastructure")
+ body=enable_external_pluggable_database_database_management_details)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudExadataInfrastructure")
+ body=enable_external_pluggable_database_database_management_details)
- def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ def fail_over_autonomous_database(self, autonomous_database_id, **kwargs):
"""
- Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
+ Initiates a failover the specified Autonomous Database to a standby.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :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_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
+ may be rejected).
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -6149,27 +6385,29 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster API.
+ Click `here `__ to see an example of how to use fail_over_autonomous_database API.
"""
- resource_path = "/cloudVmClusters/{cloudVmClusterId}"
- method = "GET"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/failover"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
+ "if_match",
+ "opc_retry_token",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "fail_over_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6181,6 +6419,8 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -6190,34 +6430,44 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="CloudVmCluster")
+ response_type="AutonomousDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudVmCluster")
+ response_type="AutonomousDatabase")
- def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
+ def failover_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
"""
- Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
- If you have not specified an IORM configuration, the default configuration is returned.
+ Fails over the standby Autonomous Container Database identified by the autonomousContainerDatabaseId parameter to the primary Autonomous Container Database after the existing primary Autonomous Container Database fails or becomes unreachable.
+
+ A failover can result in data loss, depending on the protection mode in effect at the time the primary Autonomous Container Database fails.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str autonomous_container_database_dataguard_association_id: (required)
+ The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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 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.
@@ -6227,27 +6477,28 @@ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster_iorm_config API.
+ Click `here `__ to see an example of how to use failover_autonomous_container_database_dataguard_association API.
"""
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig"
- method = "GET"
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}/actions/failover"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_cloud_vm_cluster_iorm_config got unknown kwargs: {!r}".format(extra_kwargs))
+ "failover_autonomous_container_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "autonomousContainerDatabaseId": autonomous_container_database_id,
+ "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6259,7 +6510,7 @@ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -6274,32 +6525,41 @@ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataIormConfig")
+ response_type="AutonomousContainerDatabaseDataguardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataIormConfig")
+ response_type="AutonomousContainerDatabaseDataguardAssociation")
- def get_cloud_vm_cluster_update(self, cloud_vm_cluster_id, update_id, **kwargs):
+ def failover_data_guard_association(self, database_id, data_guard_association_id, failover_data_guard_association_details, **kwargs):
"""
- Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only.
+ Performs a failover to transition the standby database identified by the `databaseId` parameter into the
+ specified Data Guard association's primary role after the existing primary database fails or becomes unreachable.
+
+ A failover might result in data loss depending on the protection mode in effect at the time of the primary
+ database failure.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str update_id: (required)
- The `OCID`__ of the maintenance update.
+ :param str data_guard_association_id: (required)
+ The Data Guard association's `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param oci.database.models.FailoverDataGuardAssociationDetails failover_data_guard_association_details: (required)
+ A request to perform a failover, transitioning a standby database into a primary database.
+
+ :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 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.
@@ -6309,28 +6569,28 @@ def get_cloud_vm_cluster_update(self, cloud_vm_cluster_id, update_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Update`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster_update API.
+ Click `here `__ to see an example of how to use failover_data_guard_association API.
"""
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/updates/{updateId}"
- method = "GET"
+ resource_path = "/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}/actions/failover"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_cloud_vm_cluster_update got unknown kwargs: {!r}".format(extra_kwargs))
+ "failover_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id,
- "updateId": update_id
+ "databaseId": database_id,
+ "dataGuardAssociationId": data_guard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6342,7 +6602,7 @@ def get_cloud_vm_cluster_update(self, cloud_vm_cluster_id, update_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "if-match": kwargs.get("if_match", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -6357,33 +6617,40 @@ def get_cloud_vm_cluster_update(self, cloud_vm_cluster_id, update_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Update")
+ body=failover_data_guard_association_details,
+ response_type="DataGuardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Update")
+ body=failover_data_guard_association_details,
+ response_type="DataGuardAssociation")
- def get_cloud_vm_cluster_update_history_entry(self, cloud_vm_cluster_id, update_history_entry_id, **kwargs):
+ def generate_autonomous_database_wallet(self, autonomous_database_id, generate_autonomous_database_wallet_details, **kwargs):
"""
- Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only.
+ Creates and downloads a wallet for the specified Autonomous Database.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str update_history_entry_id: (required)
- The `OCID`__ of the maintenance update history entry.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.GenerateAutonomousDatabaseWalletDetails generate_autonomous_database_wallet_details: (required)
+ Request to create a new Autonomous Database wallet.
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :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
+ may 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.
@@ -6392,28 +6659,28 @@ def get_cloud_vm_cluster_update_history_entry(self, cloud_vm_cluster_id, update_
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.UpdateHistoryEntry`
+ :return: A :class:`~oci.response.Response` object with data of type stream
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster_update_history_entry API.
+ Click `here `__ to see an example of how to use generate_autonomous_database_wallet API.
"""
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}"
- method = "GET"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/generateWallet"
+ method = "POST"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "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(
- "get_cloud_vm_cluster_update_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+ "generate_autonomous_database_wallet got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id,
- "updateHistoryEntryId": update_history_entry_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6423,9 +6690,10 @@ def get_cloud_vm_cluster_update_history_entry(self, cloud_vm_cluster_id, update_
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
- "accept": "application/json",
+ "accept": "application/octet-stream",
"content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", 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}
@@ -6434,33 +6702,47 @@ def get_cloud_vm_cluster_update_history_entry(self, cloud_vm_cluster_id, update_
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="UpdateHistoryEntry")
+ body=generate_autonomous_database_wallet_details,
+ response_type="stream")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="UpdateHistoryEntry")
+ body=generate_autonomous_database_wallet_details,
+ response_type="stream")
- def get_console_connection(self, db_node_id, console_connection_id, **kwargs):
+ def generate_recommended_vm_cluster_network(self, exadata_infrastructure_id, generate_recommended_network_details, **kwargs):
"""
- Gets the specified database node console connection's information.
+ Generates a recommended Cloud@Customer VM cluster network configuration.
- :param str db_node_id: (required)
- The database node `OCID`__.
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str console_connection_id: (required)
- The OCID of the console connection.
+ :param oci.database.models.GenerateRecommendedNetworkDetails generate_recommended_network_details: (required)
+ Request to generate a recommended Cloud@Customer VM cluster network configuration.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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
+ may 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.
@@ -6470,24 +6752,28 @@ def get_console_connection(self, db_node_id, console_connection_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ConsoleConnection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetworkDetails`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_console_connection API.
+ Click `here `__ to see an example of how to use generate_recommended_vm_cluster_network API.
"""
- resource_path = "/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"
- method = "GET"
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/actions/generateRecommendedNetwork"
+ method = "POST"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "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(
- "get_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
+ "generate_recommended_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbNodeId": db_node_id,
- "consoleConnectionId": console_connection_id
+ "exadataInfrastructureId": exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6498,41 +6784,43 @@ def get_console_connection(self, db_node_id, console_connection_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "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.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- response_type="ConsoleConnection")
+ body=generate_recommended_network_details,
+ response_type="VmClusterNetworkDetails")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ConsoleConnection")
+ body=generate_recommended_network_details,
+ response_type="VmClusterNetworkDetails")
- def get_data_guard_association(self, database_id, data_guard_association_id, **kwargs):
+ def get_autonomous_container_database(self, autonomous_container_database_id, **kwargs):
"""
- Gets the specified Data Guard association's configuration information.
-
-
- :param str database_id: (required)
- The database `OCID`__.
+ Gets information about the specified Autonomous Container Database.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str data_guard_association_id: (required)
- The Data Guard association's `OCID`__.
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -6544,24 +6832,23 @@ def get_data_guard_association(self, database_id, data_guard_association_id, **k
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_data_guard_association API.
+ Click `here `__ to see an example of how to use get_autonomous_container_database API.
"""
- resource_path = "/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}"
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_container_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseId": database_id,
- "dataGuardAssociationId": data_guard_association_id
+ "autonomousContainerDatabaseId": autonomous_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6586,22 +6873,27 @@ def get_data_guard_association(self, database_id, data_guard_association_id, **k
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DataGuardAssociation")
+ response_type="AutonomousContainerDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DataGuardAssociation")
+ response_type="AutonomousContainerDatabase")
- def get_database(self, database_id, **kwargs):
+ def get_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
"""
- Gets information about the specified database.
+ Gets an Autonomous Container Database enabled with Autonomous Data Guard associated with the specified Autonomous Container Database.
- :param str database_id: (required)
- The database `OCID`__.
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_container_database_dataguard_association_id: (required)
+ The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -6613,23 +6905,24 @@ def get_database(self, database_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_database API.
+ Click `here `__ to see an example of how to use get_autonomous_container_database_dataguard_association API.
"""
- resource_path = "/databases/{databaseId}"
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_database got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_container_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseId": database_id
+ "autonomousContainerDatabaseId": autonomous_container_database_id,
+ "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6654,25 +6947,28 @@ def get_database(self, database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Database")
+ response_type="AutonomousContainerDatabaseDataguardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Database")
+ response_type="AutonomousContainerDatabaseDataguardAssociation")
- def get_database_software_image(self, database_software_image_id, **kwargs):
+ def get_autonomous_database(self, autonomous_database_id, **kwargs):
"""
- Gets information about the specified database software image.
+ Gets the details of the specified Autonomous Database.
- :param str database_software_image_id: (required)
- The DB system `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -6681,23 +6977,27 @@ def get_database_software_image(self, database_software_image_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseSoftwareImage`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_database_software_image API.
+ Click `here `__ to see an example of how to use get_autonomous_database API.
"""
- resource_path = "/databaseSoftwareImages/{databaseSoftwareImageId}"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseSoftwareImageId": database_software_image_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6708,8 +7008,10 @@ def get_database_software_image(self, database_software_image_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -6722,27 +7024,22 @@ def get_database_software_image(self, database_software_image_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DatabaseSoftwareImage")
+ response_type="AutonomousDatabase")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DatabaseSoftwareImage")
+ response_type="AutonomousDatabase")
- def get_database_upgrade_history_entry(self, database_id, upgrade_history_entry_id, **kwargs):
+ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs):
"""
- gets the upgrade history for a specified database.
-
-
- :param str database_id: (required)
- The database `OCID`__.
+ Gets information about the specified Autonomous Database backup.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str upgrade_history_entry_id: (required)
- The database upgrade History `OCID`__.
+ :param str autonomous_database_backup_id: (required)
+ The `OCID`__ of the Autonomous Database backup.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -6757,13 +7054,13 @@ def get_database_upgrade_history_entry(self, database_id, upgrade_history_entry_
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseUpgradeHistoryEntry`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_database_upgrade_history_entry API.
+ Click `here `__ to see an example of how to use get_autonomous_database_backup API.
"""
- resource_path = "/databases/{databaseId}/upgradeHistoryEntries/{upgradeHistoryEntryId}"
+ resource_path = "/autonomousDatabaseBackups/{autonomousDatabaseBackupId}"
method = "GET"
# Don't accept unknown kwargs
@@ -6774,11 +7071,10 @@ def get_database_upgrade_history_entry(self, database_id, upgrade_history_entry_
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_database_upgrade_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_database_backup got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "databaseId": database_id,
- "upgradeHistoryEntryId": upgrade_history_entry_id
+ "autonomousDatabaseBackupId": autonomous_database_backup_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6805,50 +7101,63 @@ def get_database_upgrade_history_entry(self, database_id, upgrade_history_entry_
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DatabaseUpgradeHistoryEntry")
+ response_type="AutonomousDatabaseBackup")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DatabaseUpgradeHistoryEntry")
+ response_type="AutonomousDatabaseBackup")
- def get_db_home(self, db_home_id, **kwargs):
+ def get_autonomous_database_dataguard_association(self, autonomous_database_id, autonomous_database_dataguard_association_id, **kwargs):
"""
- Gets information about the specified Database Home.
+ Gets an Autonomous Data Guard-enabled database associated with the specified Autonomous Database.
- :param str db_home_id: (required)
- The Database Home `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :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.
+ :param str autonomous_database_dataguard_association_id: (required)
+ The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
is also available. 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`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbHome`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_home API.
+ Click `here `__ to see an example of how to use get_autonomous_database_dataguard_association API.
"""
- resource_path = "/dbHomes/{dbHomeId}"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_home got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_database_dataguard_association got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbHomeId": db_home_id
+ "autonomousDatabaseId": autonomous_database_id,
+ "autonomousDatabaseDataguardAssociationId": autonomous_database_dataguard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -6859,8 +7168,10 @@ def get_db_home(self, db_home_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -6873,29 +7184,22 @@ def get_db_home(self, db_home_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbHome")
+ response_type="AutonomousDatabaseDataguardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbHome")
+ response_type="AutonomousDatabaseDataguardAssociation")
- def get_db_home_patch(self, db_home_id, patch_id, **kwargs):
+ def get_autonomous_database_regional_wallet(self, **kwargs):
"""
- Gets information about a specified patch package.
-
-
- :param str db_home_id: (required)
- The Database Home `OCID`__.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ Gets the Autonomous Database regional wallet details.
- :param str patch_id: (required)
- The `OCID`__ of the patch.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -6905,36 +7209,31 @@ def get_db_home_patch(self, db_home_id, patch_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseWallet`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_home_patch API.
+ Click `here `__ to see an example of how to use get_autonomous_database_regional_wallet API.
"""
- resource_path = "/dbHomes/{dbHomeId}/patches/{patchId}"
+ resource_path = "/autonomousDatabases/wallet"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_home_patch got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "dbHomeId": db_home_id,
- "patchId": patch_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ "get_autonomous_database_regional_wallet got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -6945,31 +7244,27 @@ def get_db_home_patch(self, db_home_id, patch_id, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="AutonomousDatabaseWallet")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="AutonomousDatabaseWallet")
- def get_db_home_patch_history_entry(self, db_home_id, patch_history_entry_id, **kwargs):
+ def get_autonomous_database_wallet(self, autonomous_database_id, **kwargs):
"""
- Gets the patch history details for the specified patchHistoryEntryId
+ Gets the wallet details for the specified Autonomous Database.
- :param str db_home_id: (required)
- The Database Home `OCID`__.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str patch_history_entry_id: (required)
- The `OCID`__ of the patch history entry.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -6979,24 +7274,27 @@ def get_db_home_patch_history_entry(self, db_home_id, patch_history_entry_id, **
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseWallet`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_home_patch_history_entry API.
+ Click `here `__ to see an example of how to use get_autonomous_database_wallet API.
"""
- resource_path = "/dbHomes/{dbHomeId}/patchHistoryEntries/{patchHistoryEntryId}"
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/wallet"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_home_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_database_wallet got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbHomeId": db_home_id,
- "patchHistoryEntryId": patch_history_entry_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7007,8 +7305,10 @@ def get_db_home_patch_history_entry(self, db_home_id, patch_history_entry_id, **
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7021,22 +7321,22 @@ def get_db_home_patch_history_entry(self, db_home_id, patch_history_entry_id, **
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="AutonomousDatabaseWallet")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="AutonomousDatabaseWallet")
- def get_db_node(self, db_node_id, **kwargs):
+ def get_autonomous_exadata_infrastructure(self, autonomous_exadata_infrastructure_id, **kwargs):
"""
- Gets information about the specified database node.
+ Gets information about the specified Autonomous Exadata Infrastructure resource.
- :param str db_node_id: (required)
- The database node `OCID`__.
+ :param str autonomous_exadata_infrastructure_id: (required)
+ The Autonomous Exadata Infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7048,23 +7348,23 @@ def get_db_node(self, db_node_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbNode`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousExadataInfrastructure`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_node API.
+ Click `here `__ to see an example of how to use get_autonomous_exadata_infrastructure API.
"""
- resource_path = "/dbNodes/{dbNodeId}"
+ resource_path = "/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_node got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbNodeId": db_node_id
+ "autonomousExadataInfrastructureId": autonomous_exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7089,29 +7389,22 @@ def get_db_node(self, db_node_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbNode")
+ response_type="AutonomousExadataInfrastructure")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbNode")
+ response_type="AutonomousExadataInfrastructure")
- def get_db_system(self, db_system_id, **kwargs):
+ def get_autonomous_patch(self, autonomous_patch_id, **kwargs):
"""
- Gets information about the specified DB system.
-
- **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
-
- For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
-
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+ Gets information about a specific autonomous patch.
- :param str db_system_id: (required)
- The DB system `OCID`__.
+ :param str autonomous_patch_id: (required)
+ The autonomous patch `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7123,23 +7416,23 @@ def get_db_system(self, db_system_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbSystem`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousPatch`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_system API.
+ Click `here `__ to see an example of how to use get_autonomous_patch API.
"""
- resource_path = "/dbSystems/{dbSystemId}"
+ resource_path = "/autonomousPatches/{autonomousPatchId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_system got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_patch got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbSystemId": db_system_id
+ "autonomousPatchId": autonomous_patch_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7164,29 +7457,27 @@ def get_db_system(self, db_system_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbSystem")
+ response_type="AutonomousPatch")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DbSystem")
+ response_type="AutonomousPatch")
- def get_db_system_patch(self, db_system_id, patch_id, **kwargs):
+ def get_autonomous_vm_cluster(self, autonomous_vm_cluster_id, **kwargs):
"""
- Gets information the specified patch.
+ Gets information about the specified Autonomous VM cluster for an Exadata Cloud@Customer system.
- :param str db_system_id: (required)
- The DB system `OCID`__.
+ :param str autonomous_vm_cluster_id: (required)
+ The autonomous VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str patch_id: (required)
- The `OCID`__ of the patch.
-
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -7196,24 +7487,27 @@ def get_db_system_patch(self, db_system_id, patch_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_system_patch API.
+ Click `here `__ to see an example of how to use get_autonomous_vm_cluster API.
"""
- resource_path = "/dbSystems/{dbSystemId}/patches/{patchId}"
+ resource_path = "/autonomousVmClusters/{autonomousVmClusterId}"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_system_patch got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_autonomous_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbSystemId": db_system_id,
- "patchId": patch_id
+ "autonomousVmClusterId": autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7224,8 +7518,10 @@ def get_db_system_patch(self, db_system_id, patch_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7238,27 +7534,22 @@ def get_db_system_patch(self, db_system_id, patch_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="AutonomousVmCluster")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="AutonomousVmCluster")
- def get_db_system_patch_history_entry(self, db_system_id, patch_history_entry_id, **kwargs):
+ def get_backup(self, backup_id, **kwargs):
"""
- Gets the details of the specified patch operation on the specified DB system.
-
-
- :param str db_system_id: (required)
- The DB system `OCID`__.
+ Gets information about the specified backup.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str patch_history_entry_id: (required)
- The `OCID`__ of the patch history entry.
+ :param str backup_id: (required)
+ The backup `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7270,24 +7561,23 @@ def get_db_system_patch_history_entry(self, db_system_id, patch_history_entry_id
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Backup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_db_system_patch_history_entry API.
+ Click `here `__ to see an example of how to use get_backup API.
"""
- resource_path = "/dbSystems/{dbSystemId}/patchHistoryEntries/{patchHistoryEntryId}"
+ resource_path = "/backups/{backupId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_db_system_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_backup got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbSystemId": db_system_id,
- "patchHistoryEntryId": patch_history_entry_id
+ "backupId": backup_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7312,23 +7602,22 @@ def get_db_system_patch_history_entry(self, db_system_id, patch_history_entry_id
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="Backup")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="Backup")
- def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
+ def get_backup_destination(self, backup_destination_id, **kwargs):
"""
- Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
- To get information on an Exadata Cloud Service infrastructure resource, use the :func:`get_cloud_exadata_infrastructure` operation.
+ Gets information about the specified backup destination in an Exadata Cloud@Customer system.
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ :param str backup_destination_id: (required)
+ The `OCID`__ of the backup destination.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7343,13 +7632,13 @@ def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BackupDestination`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use get_backup_destination API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}"
+ resource_path = "/backupDestinations/{backupDestinationId}"
method = "GET"
# Don't accept unknown kwargs
@@ -7360,10 +7649,10 @@ def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id
+ "backupDestinationId": backup_destination_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7390,22 +7679,22 @@ def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataInfrastructure")
+ response_type="BackupDestination")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataInfrastructure")
+ response_type="BackupDestination")
- def get_exadata_infrastructure_ocpus(self, autonomous_exadata_infrastructure_id, **kwargs):
+ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
"""
- Gets details of the available and consumed OCPUs for the specified Autonomous Exadata Infrastructure resource.
+ Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances only.
- :param str autonomous_exadata_infrastructure_id: (required)
- The Autonomous Exadata Infrastructure `OCID`__.
+ :param str cloud_exadata_infrastructure_id: (required)
+ The cloud Exadata infrastructure `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7420,13 +7709,13 @@ def get_exadata_infrastructure_ocpus(self, autonomous_exadata_infrastructure_id,
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.OCPUs`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_exadata_infrastructure_ocpus API.
+ Click `here `__ to see an example of how to use get_cloud_exadata_infrastructure API.
"""
- resource_path = "/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/ocpus"
+ resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
method = "GET"
# Don't accept unknown kwargs
@@ -7437,10 +7726,10 @@ def get_exadata_infrastructure_ocpus(self, autonomous_exadata_infrastructure_id,
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_exadata_infrastructure_ocpus got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_cloud_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousExadataInfrastructureId": autonomous_exadata_infrastructure_id
+ "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7467,33 +7756,22 @@ def get_exadata_infrastructure_ocpus(self, autonomous_exadata_infrastructure_id,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="OCPUs")
+ response_type="CloudExadataInfrastructure")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="OCPUs")
+ response_type="CloudExadataInfrastructure")
- def get_exadata_iorm_config(self, db_system_id, **kwargs):
+ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
"""
- Gets the IORM configuration settings for the specified cloud Exadata DB system.
- All Exadata service instances have default IORM settings.
-
- **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
-
- For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
-
- The :func:`get_cloud_vm_cluster_iorm_config` API is used for this operation with Exadata systems using the
- new resource model.
-
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+ Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
- :param str db_system_id: (required)
- The DB system `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7508,13 +7786,13 @@ def get_exadata_iorm_config(self, db_system_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_exadata_iorm_config API.
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster API.
"""
- resource_path = "/dbSystems/{dbSystemId}/ExadataIormConfig"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}"
method = "GET"
# Don't accept unknown kwargs
@@ -7525,10 +7803,10 @@ def get_exadata_iorm_config(self, db_system_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_exadata_iorm_config got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_cloud_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "dbSystemId": db_system_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7555,29 +7833,29 @@ def get_exadata_iorm_config(self, db_system_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataIormConfig")
+ response_type="CloudVmCluster")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExadataIormConfig")
+ response_type="CloudVmCluster")
- def get_external_backup_job(self, backup_id, **kwargs):
+ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
"""
- Gets information about the specified external backup job.
-
- **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
-
- __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
+ Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
+ If you have not specified an IORM configuration, the default configuration is returned.
- :param str backup_id: (required)
- The backup `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -7586,23 +7864,27 @@ def get_external_backup_job(self, backup_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_external_backup_job API.
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster_iorm_config API.
"""
- resource_path = "/externalBackupJobs/{backupId}"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_cloud_vm_cluster_iorm_config got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "backupId": backup_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7613,8 +7895,10 @@ def get_external_backup_job(self, backup_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7627,22 +7911,27 @@ def get_external_backup_job(self, backup_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExternalBackupJob")
+ response_type="ExadataIormConfig")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ExternalBackupJob")
+ response_type="ExadataIormConfig")
- def get_key_store(self, key_store_id, **kwargs):
+ def get_cloud_vm_cluster_update(self, cloud_vm_cluster_id, update_id, **kwargs):
"""
- Gets information about the specified key store.
+ Gets information about a specified maintenance update package for a cloud VM cluster. Applies to Exadata Cloud Service instances only.
- :param str key_store_id: (required)
- The `OCID`__ of the key store.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str update_id: (required)
+ The `OCID`__ of the maintenance update.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7657,13 +7946,13 @@ def get_key_store(self, key_store_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.KeyStore`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Update`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_key_store API.
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster_update API.
"""
- resource_path = "/keyStores/{keyStoreId}"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/updates/{updateId}"
method = "GET"
# Don't accept unknown kwargs
@@ -7674,10 +7963,11 @@ def get_key_store(self, key_store_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_key_store got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_cloud_vm_cluster_update got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "keyStoreId": key_store_id
+ "cloudVmClusterId": cloud_vm_cluster_id,
+ "updateId": update_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7704,22 +7994,32 @@ def get_key_store(self, key_store_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="KeyStore")
+ response_type="Update")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="KeyStore")
+ response_type="Update")
- def get_maintenance_run(self, maintenance_run_id, **kwargs):
+ def get_cloud_vm_cluster_update_history_entry(self, cloud_vm_cluster_id, update_history_entry_id, **kwargs):
"""
- Gets information about the specified maintenance run.
+ Gets the maintenance update history details for the specified update history entry. Applies to Exadata Cloud Service instances only.
- :param str maintenance_run_id: (required)
- The maintenance run OCID.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str update_history_entry_id: (required)
+ The `OCID`__ of the maintenance update history entry.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -7729,23 +8029,28 @@ def get_maintenance_run(self, maintenance_run_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.MaintenanceRun`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.UpdateHistoryEntry`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_maintenance_run API.
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster_update_history_entry API.
"""
- resource_path = "/maintenanceRuns/{maintenanceRunId}"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}"
method = "GET"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_maintenance_run got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_cloud_vm_cluster_update_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "maintenanceRunId": maintenance_run_id
+ "cloudVmClusterId": cloud_vm_cluster_id,
+ "updateHistoryEntryId": update_history_entry_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7756,8 +8061,10 @@ def get_maintenance_run(self, maintenance_run_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7770,27 +8077,27 @@ def get_maintenance_run(self, maintenance_run_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="MaintenanceRun")
+ response_type="UpdateHistoryEntry")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="MaintenanceRun")
+ response_type="UpdateHistoryEntry")
- def get_vm_cluster(self, vm_cluster_id, **kwargs):
+ def get_console_connection(self, db_node_id, console_connection_id, **kwargs):
"""
- Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only.
+ Gets the specified database node console connection's information.
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ :param str db_node_id: (required)
+ The database node `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str console_connection_id: (required)
+ The OCID of the console connection.
: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.
@@ -7800,27 +8107,24 @@ def get_vm_cluster(self, vm_cluster_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ConsoleConnection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_vm_cluster API.
+ Click `here `__ to see an example of how to use get_console_connection API.
"""
- resource_path = "/vmClusters/{vmClusterId}"
+ resource_path = "/dbNodes/{dbNodeId}/consoleConnections/{consoleConnectionId}"
method = "GET"
- # Don't accept unknown kwargs
- expected_kwargs = [
- "retry_strategy",
- "opc_request_id"
- ]
+ expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_console_connection got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "vmClusterId": vm_cluster_id
+ "dbNodeId": db_node_id,
+ "consoleConnectionId": console_connection_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7831,10 +8135,8 @@ def get_vm_cluster(self, vm_cluster_id, **kwargs):
header_params = {
"accept": "application/json",
- "content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "content-type": "application/json"
}
- 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7847,34 +8149,30 @@ def get_vm_cluster(self, vm_cluster_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="VmCluster")
+ response_type="ConsoleConnection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="VmCluster")
+ response_type="ConsoleConnection")
- def get_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
+ def get_data_guard_association(self, database_id, data_guard_association_id, **kwargs):
"""
- Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
- To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`get_cloud_vm_cluster` operation.
+ Gets the specified Data Guard association's configuration information.
- :param str exadata_infrastructure_id: (required)
- The Exadata infrastructure `OCID`__.
+ :param str database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str vm_cluster_network_id: (required)
- The VM cluster network `OCID`__.
+ :param str data_guard_association_id: (required)
+ The Data Guard association's `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
: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.
@@ -7883,28 +8181,24 @@ def get_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_i
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetwork`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DataGuardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_vm_cluster_network API.
+ Click `here `__ to see an example of how to use get_data_guard_association API.
"""
- resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}"
+ resource_path = "/databases/{databaseId}/dataGuardAssociations/{dataGuardAssociationId}"
method = "GET"
- # Don't accept unknown kwargs
- expected_kwargs = [
- "retry_strategy",
- "opc_request_id"
- ]
+ expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_data_guard_association got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "exadataInfrastructureId": exadata_infrastructure_id,
- "vmClusterNetworkId": vm_cluster_network_id
+ "databaseId": database_id,
+ "dataGuardAssociationId": data_guard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -7915,10 +8209,8 @@ def get_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_i
header_params = {
"accept": "application/json",
- "content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "content-type": "application/json"
}
- 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -7931,27 +8223,22 @@ def get_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_i
method=method,
path_params=path_params,
header_params=header_params,
- response_type="VmClusterNetwork")
+ response_type="DataGuardAssociation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="VmClusterNetwork")
+ response_type="DataGuardAssociation")
- def get_vm_cluster_patch(self, vm_cluster_id, patch_id, **kwargs):
+ def get_database(self, database_id, **kwargs):
"""
- Gets information about a specified patch package.
-
-
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ Gets information about the specified database.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str patch_id: (required)
- The `OCID`__ of the patch.
+ :param str database_id: (required)
+ The database `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -7963,24 +8250,23 @@ def get_vm_cluster_patch(self, vm_cluster_id, patch_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_vm_cluster_patch API.
+ Click `here `__ to see an example of how to use get_database API.
"""
- resource_path = "/vmClusters/{vmClusterId}/patches/{patchId}"
+ resource_path = "/databases/{databaseId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_vm_cluster_patch got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_database got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "vmClusterId": vm_cluster_id,
- "patchId": patch_id
+ "databaseId": database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -8005,27 +8291,22 @@ def get_vm_cluster_patch(self, vm_cluster_id, patch_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="Database")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Patch")
+ response_type="Database")
- def get_vm_cluster_patch_history_entry(self, vm_cluster_id, patch_history_entry_id, **kwargs):
+ def get_database_software_image(self, database_software_image_id, **kwargs):
"""
- Gets the patch history details for the specified patch history entry.
-
-
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ Gets information about the specified database software image.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str patch_history_entry_id: (required)
- The `OCID`__ of the patch history entry.
+ :param str database_software_image_id: (required)
+ The DB system `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -8037,24 +8318,23 @@ def get_vm_cluster_patch_history_entry(self, vm_cluster_id, patch_history_entry_
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseSoftwareImage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_vm_cluster_patch_history_entry API.
+ Click `here `__ to see an example of how to use get_database_software_image API.
"""
- resource_path = "/vmClusters/{vmClusterId}/patchHistoryEntries/{patchHistoryEntryId}"
+ resource_path = "/databaseSoftwareImages/{databaseSoftwareImageId}"
method = "GET"
expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_vm_cluster_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_database_software_image got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "vmClusterId": vm_cluster_id,
- "patchHistoryEntryId": patch_history_entry_id
+ "databaseSoftwareImageId": database_software_image_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -8079,29 +8359,32 @@ def get_vm_cluster_patch_history_entry(self, vm_cluster_id, patch_history_entry_
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="DatabaseSoftwareImage")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="PatchHistoryEntry")
+ response_type="DatabaseSoftwareImage")
- def launch_autonomous_exadata_infrastructure(self, launch_autonomous_exadata_infrastructure_details, **kwargs):
+ def get_database_upgrade_history_entry(self, database_id, upgrade_history_entry_id, **kwargs):
"""
- Creates a new Autonomous Exadata Infrastructure in the specified compartment and availability domain.
+ gets the upgrade history for a specified database.
- :param oci.database.models.LaunchAutonomousExadataInfrastructureDetails launch_autonomous_exadata_infrastructure_details: (required)
- Request to create an Autonomous Exadata Infrastructure resource.
+ :param str database_id: (required)
+ The database `OCID`__.
- :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
- may be rejected).
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str upgrade_history_entry_id: (required)
+ The database upgrade History `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -8111,29 +8394,40 @@ def launch_autonomous_exadata_infrastructure(self, launch_autonomous_exadata_inf
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DatabaseUpgradeHistoryEntry`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use launch_autonomous_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use get_database_upgrade_history_entry API.
"""
- resource_path = "/autonomousExadataInfrastructures"
- method = "POST"
+ resource_path = "/databases/{databaseId}/upgradeHistoryEntries/{upgradeHistoryEntryId}"
+ method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_retry_token"
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "launch_autonomous_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_database_upgrade_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "databaseId": database_id,
+ "upgradeHistoryEntryId": upgrade_history_entry_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -8142,58 +8436,30 @@ def launch_autonomous_exadata_infrastructure(self, launch_autonomous_exadata_inf
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- body=launch_autonomous_exadata_infrastructure_details,
- response_type="AutonomousExadataInfrastructure")
+ response_type="DatabaseUpgradeHistoryEntry")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=launch_autonomous_exadata_infrastructure_details,
- response_type="AutonomousExadataInfrastructure")
+ response_type="DatabaseUpgradeHistoryEntry")
- def launch_db_system(self, launch_db_system_details, **kwargs):
+ def get_db_home(self, db_home_id, **kwargs):
"""
- Creates a new DB system in the specified compartment and availability domain. The Oracle
- Database edition that you specify applies to all the databases on that DB system. The selected edition cannot be changed.
-
- An initial database is created on the DB system based on the request parameters you provide and some default
- options. For detailed information about default options, see `Bare metal and virtual machine DB system default options.`__
-
- **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
-
- For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
-
- Use the :func:`create_cloud_exadata_infrastructure` and :func:`create_cloud_vm_cluster` APIs to provision a new Exadata Cloud Service instance.
-
- __ https://docs.cloud.oracle.com/Content/Database/Tasks/creatingDBsystem.htm#Default
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
-
-
- :param oci.database.models.LaunchDbSystemBase launch_db_system_details: (required)
- Request to launch a DB system.
-
- **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+ Gets information about the specified Database Home.
- For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
- __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+ :param str db_home_id: (required)
+ The Database Home `OCID`__.
- :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
- may be rejected).
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
: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.
@@ -8203,69 +8469,70 @@ def launch_db_system(self, launch_db_system_details, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbSystem`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbHome`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use launch_db_system API.
+ Click `here `__ to see an example of how to use get_db_home API.
"""
- resource_path = "/dbSystems"
- method = "POST"
+ resource_path = "/dbHomes/{dbHomeId}"
+ method = "GET"
- # Don't accept unknown kwargs
- expected_kwargs = [
- "retry_strategy",
- "opc_retry_token"
- ]
+ expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "launch_db_system got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_db_home got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbHomeId": db_home_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
header_params = {
"accept": "application/json",
- "content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ "content-type": "application/json"
}
- 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.retry_strategy
if kwargs.get('retry_strategy'):
retry_strategy = kwargs.get('retry_strategy')
if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
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,
- body=launch_db_system_details,
- response_type="DbSystem")
+ response_type="DbHome")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=launch_db_system_details,
- response_type="DbSystem")
+ response_type="DbHome")
- def list_autonomous_container_database_dataguard_associations(self, autonomous_container_database_id, **kwargs):
+ def get_db_home_patch(self, db_home_id, patch_id, **kwargs):
"""
- Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database.
+ Gets information about a specified patch package.
- :param str autonomous_container_database_id: (required)
- The Autonomous Container Database `OCID`__.
+ :param str db_home_id: (required)
+ The Database Home `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param int limit: (optional)
- The maximum number of items to return per page.
+ :param str patch_id: (required)
+ The `OCID`__ of the patch.
- :param str page: (optional)
- The pagination token to continue listing from.
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
: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.
@@ -8275,28 +8542,24 @@ def list_autonomous_container_database_dataguard_associations(self, autonomous_c
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_autonomous_container_database_dataguard_associations API.
+ Click `here `__ to see an example of how to use get_db_home_patch API.
"""
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations"
+ resource_path = "/dbHomes/{dbHomeId}/patches/{patchId}"
method = "GET"
- # Don't accept unknown kwargs
- expected_kwargs = [
- "retry_strategy",
- "limit",
- "page"
- ]
+ expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_autonomous_container_database_dataguard_associations got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_db_home_patch got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id
+ "dbHomeId": db_home_id,
+ "patchId": patch_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -8305,12 +8568,6 @@ def list_autonomous_container_database_dataguard_associations(self, autonomous_c
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
- query_params = {
- "limit": kwargs.get("limit", missing),
- "page": kwargs.get("page", missing)
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
-
header_params = {
"accept": "application/json",
"content-type": "application/json"
@@ -8326,42 +8583,2900 @@ def list_autonomous_container_database_dataguard_associations(self, autonomous_c
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseDataguardAssociation]")
+ response_type="Patch")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseDataguardAssociation]")
+ response_type="Patch")
- def list_autonomous_container_databases(self, compartment_id, **kwargs):
+ def get_db_home_patch_history_entry(self, db_home_id, patch_history_entry_id, **kwargs):
"""
- Gets a list of the Autonomous Container Databases in the specified compartment.
+ Gets the patch history details for the specified patchHistoryEntryId
- :param str compartment_id: (required)
- The compartment `OCID`__.
+ :param str db_home_id: (required)
+ The Database Home `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_exadata_infrastructure_id: (optional)
- The Autonomous Exadata Infrastructure `OCID`__.
+ :param str patch_history_entry_id: (required)
+ The `OCID`__ of the patch history entry.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_vm_cluster_id: (optional)
- The Autonomous VM Cluster `OCID`__.
+ :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.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. The specifics of the default retry strategy are described `here `__.
- :param str infrastructure_type: (optional)
- A filter to return only resources that match the given Infrastructure Type.
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- Allowed values are: "CLOUD", "CLOUD_AT_CUSTOMER"
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_db_home_patch_history_entry API.
+ """
+ resource_path = "/dbHomes/{dbHomeId}/patchHistoryEntries/{patchHistoryEntryId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_db_home_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbHomeId": db_home_id,
+ "patchHistoryEntryId": patch_history_entry_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="PatchHistoryEntry")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="PatchHistoryEntry")
+
+ def get_db_node(self, db_node_id, **kwargs):
+ """
+ Gets information about the specified database node.
+
+
+ :param str db_node_id: (required)
+ The database node `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbNode`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_db_node API.
+ """
+ resource_path = "/dbNodes/{dbNodeId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_db_node got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbNodeId": db_node_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="DbNode")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DbNode")
+
+ def get_db_system(self, db_system_id, **kwargs):
+ """
+ Gets information about the specified DB system.
+
+ **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+
+ For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
+
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+
+
+ :param str db_system_id: (required)
+ The DB system `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbSystem`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_db_system API.
+ """
+ resource_path = "/dbSystems/{dbSystemId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_db_system got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbSystemId": db_system_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="DbSystem")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DbSystem")
+
+ def get_db_system_patch(self, db_system_id, patch_id, **kwargs):
+ """
+ Gets information the specified patch.
+
+
+ :param str db_system_id: (required)
+ The DB system `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str patch_id: (required)
+ The `OCID`__ of the patch.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_db_system_patch API.
+ """
+ resource_path = "/dbSystems/{dbSystemId}/patches/{patchId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_db_system_patch got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbSystemId": db_system_id,
+ "patchId": patch_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="Patch")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Patch")
+
+ def get_db_system_patch_history_entry(self, db_system_id, patch_history_entry_id, **kwargs):
+ """
+ Gets the details of the specified patch operation on the specified DB system.
+
+
+ :param str db_system_id: (required)
+ The DB system `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str patch_history_entry_id: (required)
+ The `OCID`__ of the patch history entry.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_db_system_patch_history_entry API.
+ """
+ resource_path = "/dbSystems/{dbSystemId}/patchHistoryEntries/{patchHistoryEntryId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_db_system_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbSystemId": db_system_id,
+ "patchHistoryEntryId": patch_history_entry_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="PatchHistoryEntry")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="PatchHistoryEntry")
+
+ def get_exadata_infrastructure(self, exadata_infrastructure_id, **kwargs):
+ """
+ Gets information about the specified Exadata infrastructure. Applies to Exadata Cloud@Customer instances only.
+ To get information on an Exadata Cloud Service infrastructure resource, use the :func:`get_cloud_exadata_infrastructure` operation.
+
+
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataInfrastructure`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_exadata_infrastructure API.
+ """
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "exadataInfrastructureId": exadata_infrastructure_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExadataInfrastructure")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExadataInfrastructure")
+
+ def get_exadata_infrastructure_ocpus(self, autonomous_exadata_infrastructure_id, **kwargs):
+ """
+ Gets details of the available and consumed OCPUs for the specified Autonomous Exadata Infrastructure resource.
+
+
+ :param str autonomous_exadata_infrastructure_id: (required)
+ The Autonomous Exadata Infrastructure `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.OCPUs`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_exadata_infrastructure_ocpus API.
+ """
+ resource_path = "/autonomousExadataInfrastructures/{autonomousExadataInfrastructureId}/ocpus"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_exadata_infrastructure_ocpus got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "autonomousExadataInfrastructureId": autonomous_exadata_infrastructure_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="OCPUs")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="OCPUs")
+
+ def get_exadata_iorm_config(self, db_system_id, **kwargs):
+ """
+ Gets the IORM configuration settings for the specified cloud Exadata DB system.
+ All Exadata service instances have default IORM settings.
+
+ **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+
+ For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
+
+ The :func:`get_cloud_vm_cluster_iorm_config` API is used for this operation with Exadata systems using the
+ new resource model.
+
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+
+
+ :param str db_system_id: (required)
+ The DB system `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_exadata_iorm_config API.
+ """
+ resource_path = "/dbSystems/{dbSystemId}/ExadataIormConfig"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_exadata_iorm_config got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "dbSystemId": db_system_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExadataIormConfig")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExadataIormConfig")
+
+ def get_external_backup_job(self, backup_id, **kwargs):
+ """
+ Gets information about the specified external backup job.
+
+ **Note:** This API is used by an Oracle Cloud Infrastructure Python script that is packaged with the Oracle Cloud Infrastructure CLI. Oracle recommends that you use the script instead using the API directly. See `Migrating an On-Premises Database to Oracle Cloud Infrastructure by Creating a Backup in the Cloud`__ for more information.
+
+ __ https://docs.cloud.oracle.com/Content/Database/Tasks/mig-onprembackup.htm
+
+
+ :param str backup_id: (required)
+ The backup `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalBackupJob`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_external_backup_job API.
+ """
+ resource_path = "/externalBackupJobs/{backupId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_external_backup_job got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "backupId": backup_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExternalBackupJob")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExternalBackupJob")
+
+ def get_external_container_database(self, external_container_database_id, **kwargs):
+ """
+ Gets information about the specified external container database.
+
+
+ :param str external_container_database_id: (required)
+ The ExternalContainerDatabase `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalContainerDatabase`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_external_container_database API.
+ """
+ resource_path = "/externalcontainerdatabases/{externalContainerDatabaseId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_external_container_database got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalContainerDatabaseId": external_container_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExternalContainerDatabase")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExternalContainerDatabase")
+
+ def get_external_database_connector(self, external_database_connector_id, **kwargs):
+ """
+ Gets information about the specified external database connector.
+
+
+ :param str external_database_connector_id: (required)
+ The `OCID`__ of the
+ external database connector resource (`ExternalDatabaseConnectorId`).
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalDatabaseConnector`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_external_database_connector API.
+ """
+ resource_path = "/externaldatabaseconnectors/{externalDatabaseConnectorId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_external_database_connector got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalDatabaseConnectorId": external_database_connector_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExternalDatabaseConnector")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExternalDatabaseConnector")
+
+ def get_external_non_container_database(self, external_non_container_database_id, **kwargs):
+ """
+ Gets information about a specific external non-container database.
+
+
+ :param str external_non_container_database_id: (required)
+ The external non-container database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalNonContainerDatabase`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_external_non_container_database API.
+ """
+ resource_path = "/externalnoncontainerdatabases/{externalNonContainerDatabaseId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_external_non_container_database got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalNonContainerDatabaseId": external_non_container_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExternalNonContainerDatabase")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExternalNonContainerDatabase")
+
+ def get_external_pluggable_database(self, external_pluggable_database_id, **kwargs):
+ """
+ Gets information about a specific
+ :func:`create_external_pluggable_database_details` resource.
+
+
+ :param str external_pluggable_database_id: (required)
+ The ExternalPluggableDatabaseId `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExternalPluggableDatabase`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_external_pluggable_database API.
+ """
+ resource_path = "/externalpluggabledatabases/{externalPluggableDatabaseId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_external_pluggable_database got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "externalPluggableDatabaseId": external_pluggable_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="ExternalPluggableDatabase")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="ExternalPluggableDatabase")
+
+ def get_key_store(self, key_store_id, **kwargs):
+ """
+ Gets information about the specified key store.
+
+
+ :param str key_store_id: (required)
+ The `OCID`__ of the key store.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.KeyStore`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_key_store API.
+ """
+ resource_path = "/keyStores/{keyStoreId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_key_store got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "keyStoreId": key_store_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="KeyStore")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="KeyStore")
+
+ def get_maintenance_run(self, maintenance_run_id, **kwargs):
+ """
+ Gets information about the specified maintenance run.
+
+
+ :param str maintenance_run_id: (required)
+ The maintenance run OCID.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.MaintenanceRun`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_maintenance_run API.
+ """
+ resource_path = "/maintenanceRuns/{maintenanceRunId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_maintenance_run got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "maintenanceRunId": maintenance_run_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="MaintenanceRun")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="MaintenanceRun")
+
+ def get_vm_cluster(self, vm_cluster_id, **kwargs):
+ """
+ Gets information about the VM cluster. Applies to Exadata Cloud@Customer instances only.
+
+
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_cluster API.
+ """
+ resource_path = "/vmClusters/{vmClusterId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_vm_cluster got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "vmClusterId": vm_cluster_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="VmCluster")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="VmCluster")
+
+ def get_vm_cluster_network(self, exadata_infrastructure_id, vm_cluster_network_id, **kwargs):
+ """
+ Gets information about the specified VM cluster network. Applies to Exadata Cloud@Customer instances only.
+ To get information about a cloud VM cluster in an Exadata Cloud Service instance, use the :func:`get_cloud_vm_cluster` operation.
+
+
+ :param str exadata_infrastructure_id: (required)
+ The Exadata infrastructure `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str vm_cluster_network_id: (required)
+ The VM cluster network `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmClusterNetwork`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_cluster_network API.
+ """
+ resource_path = "/exadataInfrastructures/{exadataInfrastructureId}/vmClusterNetworks/{vmClusterNetworkId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_vm_cluster_network got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "exadataInfrastructureId": exadata_infrastructure_id,
+ "vmClusterNetworkId": vm_cluster_network_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="VmClusterNetwork")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="VmClusterNetwork")
+
+ def get_vm_cluster_patch(self, vm_cluster_id, patch_id, **kwargs):
+ """
+ Gets information about a specified patch package.
+
+
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str patch_id: (required)
+ The `OCID`__ of the patch.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Patch`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_cluster_patch API.
+ """
+ resource_path = "/vmClusters/{vmClusterId}/patches/{patchId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_vm_cluster_patch got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "vmClusterId": vm_cluster_id,
+ "patchId": patch_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="Patch")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Patch")
+
+ def get_vm_cluster_patch_history_entry(self, vm_cluster_id, patch_history_entry_id, **kwargs):
+ """
+ Gets the patch history details for the specified patch history entry.
+
+
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str patch_history_entry_id: (required)
+ The `OCID`__ of the patch history entry.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PatchHistoryEntry`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_cluster_patch_history_entry API.
+ """
+ resource_path = "/vmClusters/{vmClusterId}/patchHistoryEntries/{patchHistoryEntryId}"
+ method = "GET"
+
+ expected_kwargs = ["retry_strategy"]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_vm_cluster_patch_history_entry got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "vmClusterId": vm_cluster_id,
+ "patchHistoryEntryId": patch_history_entry_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ 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,
+ response_type="PatchHistoryEntry")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="PatchHistoryEntry")
+
+ def launch_autonomous_exadata_infrastructure(self, launch_autonomous_exadata_infrastructure_details, **kwargs):
+ """
+ Creates a new Autonomous Exadata Infrastructure in the specified compartment and availability domain.
+
+
+ :param oci.database.models.LaunchAutonomousExadataInfrastructureDetails launch_autonomous_exadata_infrastructure_details: (required)
+ Request to create an Autonomous Exadata Infrastructure resource.
+
+ :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
+ may 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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousExadataInfrastructure`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use launch_autonomous_exadata_infrastructure API.
+ """
+ resource_path = "/autonomousExadataInfrastructures"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "launch_autonomous_exadata_infrastructure got unknown kwargs: {!r}".format(extra_kwargs))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=launch_autonomous_exadata_infrastructure_details,
+ response_type="AutonomousExadataInfrastructure")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=launch_autonomous_exadata_infrastructure_details,
+ response_type="AutonomousExadataInfrastructure")
+
+ def launch_db_system(self, launch_db_system_details, **kwargs):
+ """
+ Creates a new DB system in the specified compartment and availability domain. The Oracle
+ Database edition that you specify applies to all the databases on that DB system. The selected edition cannot be changed.
+
+ An initial database is created on the DB system based on the request parameters you provide and some default
+ options. For detailed information about default options, see `Bare metal and virtual machine DB system default options.`__
+
+ **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+
+ For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
+
+ Use the :func:`create_cloud_exadata_infrastructure` and :func:`create_cloud_vm_cluster` APIs to provision a new Exadata Cloud Service instance.
+
+ __ https://docs.cloud.oracle.com/Content/Database/Tasks/creatingDBsystem.htm#Default
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+
+
+ :param oci.database.models.LaunchDbSystemBase launch_db_system_details: (required)
+ Request to launch a DB system.
+
+ **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+
+ For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
+
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ __ https://docs.cloud.oracle.com/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+
+ :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
+ may 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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbSystem`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use launch_db_system API.
+ """
+ resource_path = "/dbSystems"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "launch_db_system got unknown kwargs: {!r}".format(extra_kwargs))
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=launch_db_system_details,
+ response_type="DbSystem")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=launch_db_system_details,
+ response_type="DbSystem")
+
+ def list_autonomous_container_database_dataguard_associations(self, autonomous_container_database_id, **kwargs):
+ """
+ Gets a list of the Autonomous Container Databases with Autonomous Data Guard-enabled associated with the specified Autonomous Container Database.
+
+
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_container_database_dataguard_associations API.
+ """
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_container_database_dataguard_associations got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "autonomousContainerDatabaseId": autonomous_container_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ query_params = {
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseDataguardAssociation]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseDataguardAssociation]")
+
+ def list_autonomous_container_databases(self, compartment_id, **kwargs):
+ """
+ Gets a list of the Autonomous Container Databases in the specified compartment.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_exadata_infrastructure_id: (optional)
+ The Autonomous Exadata Infrastructure `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_vm_cluster_id: (optional)
+ The Autonomous VM Cluster `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str infrastructure_type: (optional)
+ A filter to return only resources that match the given Infrastructure Type.
+
+ Allowed values are: "CLOUD", "CLOUD_AT_CUSTOMER"
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", "ROLE_CHANGE_IN_PROGRESS", "UNAVAILABLE"
+
+ :param str availability_domain: (optional)
+ A filter to return only resources that match the given availability domain exactly.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str service_level_agreement_type: (optional)
+ A filter to return only resources that match the given service-level agreement type exactly.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_container_databases API.
+ """
+ resource_path = "/autonomousContainerDatabases"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "autonomous_exadata_infrastructure_id",
+ "autonomous_vm_cluster_id",
+ "infrastructure_type",
+ "limit",
+ "page",
+ "sort_by",
+ "sort_order",
+ "lifecycle_state",
+ "availability_domain",
+ "display_name",
+ "service_level_agreement_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_container_databases got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'infrastructure_type' in kwargs:
+ infrastructure_type_allowed_values = ["CLOUD", "CLOUD_AT_CUSTOMER"]
+ if kwargs['infrastructure_type'] not in infrastructure_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `infrastructure_type`, must be one of {0}".format(infrastructure_type_allowed_values)
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", "ROLE_CHANGE_IN_PROGRESS", "UNAVAILABLE"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "autonomousExadataInfrastructureId": kwargs.get("autonomous_exadata_infrastructure_id", missing),
+ "autonomousVmClusterId": kwargs.get("autonomous_vm_cluster_id", missing),
+ "infrastructureType": kwargs.get("infrastructure_type", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "availabilityDomain": kwargs.get("availability_domain", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "serviceLevelAgreementType": kwargs.get("service_level_agreement_type", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseSummary]")
+
+ def list_autonomous_database_backups(self, **kwargs):
+ """
+ Gets a list of Autonomous Database backups based on either the `autonomousDatabaseId` or `compartmentId` specified as a query parameter.
+
+
+ :param str autonomous_database_id: (optional)
+ The database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str compartment_id: (optional)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseBackupSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_database_backups API.
+ """
+ resource_path = "/autonomousDatabaseBackups"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "autonomous_database_id",
+ "compartment_id",
+ "limit",
+ "page",
+ "sort_by",
+ "sort_order",
+ "lifecycle_state",
+ "display_name",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_database_backups got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
+ )
+
+ query_params = {
+ "autonomousDatabaseId": kwargs.get("autonomous_database_id", missing),
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "displayName": kwargs.get("display_name", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseBackupSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseBackupSummary]")
+
+ def list_autonomous_database_clones(self, compartment_id, autonomous_database_id, **kwargs):
+ """
+ Lists the Autonomous Database clones for the specified Autonomous Database.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "NONE", "TIMECREATED", "DISPLAYNAME"
+
+ :param str clone_type: (optional)
+ A filter to return only resources that match the given clone type exactly.
+
+ Allowed values are: "REFRESHABLE_CLONE"
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_database_clones API.
+ """
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/clones"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "limit",
+ "page",
+ "sort_order",
+ "display_name",
+ "lifecycle_state",
+ "sort_by",
+ "clone_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_database_clones got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "autonomousDatabaseId": autonomous_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["NONE", "TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'clone_type' in kwargs:
+ clone_type_allowed_values = ["REFRESHABLE_CLONE"]
+ if kwargs['clone_type'] not in clone_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `clone_type`, must be one of {0}".format(clone_type_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "cloneType": kwargs.get("clone_type", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseSummary]")
+
+ def list_autonomous_database_dataguard_associations(self, autonomous_database_id, **kwargs):
+ """
+ Gets a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous Database.
+
+
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_database_dataguard_associations API.
+ """
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_database_dataguard_associations got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "autonomousDatabaseId": autonomous_database_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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+
+ query_params = {
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseDataguardAssociation]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseDataguardAssociation]")
+
+ def list_autonomous_databases(self, compartment_id, **kwargs):
+ """
+ Gets a list of Autonomous Databases based on the query parameters specified.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_container_database_id: (optional)
+ The Autonomous Container Database `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str infrastructure_type: (optional)
+ A filter to return only resources that match the given Infrastructure Type.
+
+ Allowed values are: "CLOUD", "CLOUD_AT_CUSTOMER"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"
+
+ :param str db_workload: (optional)
+ A filter to return only autonomous database resources that match the specified workload type.
+
+ Allowed values are: "OLTP", "DW", "AJD", "APEX"
+
+ :param str db_version: (optional)
+ A filter to return only autonomous database resources that match the specified dbVersion.
+
+ :param bool is_free_tier: (optional)
+ Filter on the value of the resource's 'isFreeTier' property. A value of `true` returns only Always Free resources.
+ A value of `false` excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param bool is_refreshable_clone: (optional)
+ Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones.
+ A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.
+
+ :param bool is_data_guard_enabled: (optional)
+ A filter to return only resources that have Data Guard enabled.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_databases API.
+ """
+ resource_path = "/autonomousDatabases"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "autonomous_container_database_id",
+ "limit",
+ "page",
+ "sort_by",
+ "sort_order",
+ "infrastructure_type",
+ "lifecycle_state",
+ "db_workload",
+ "db_version",
+ "is_free_tier",
+ "display_name",
+ "opc_request_id",
+ "is_refreshable_clone",
+ "is_data_guard_enabled"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_databases got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ if 'infrastructure_type' in kwargs:
+ infrastructure_type_allowed_values = ["CLOUD", "CLOUD_AT_CUSTOMER"]
+ if kwargs['infrastructure_type'] not in infrastructure_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `infrastructure_type`, must be one of {0}".format(infrastructure_type_allowed_values)
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
+ )
+
+ if 'db_workload' in kwargs:
+ db_workload_allowed_values = ["OLTP", "DW", "AJD", "APEX"]
+ if kwargs['db_workload'] not in db_workload_allowed_values:
+ raise ValueError(
+ "Invalid value for `db_workload`, must be one of {0}".format(db_workload_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "autonomousContainerDatabaseId": kwargs.get("autonomous_container_database_id", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "infrastructureType": kwargs.get("infrastructure_type", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "dbWorkload": kwargs.get("db_workload", missing),
+ "dbVersion": kwargs.get("db_version", missing),
+ "isFreeTier": kwargs.get("is_free_tier", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "isRefreshableClone": kwargs.get("is_refreshable_clone", missing),
+ "isDataGuardEnabled": kwargs.get("is_data_guard_enabled", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDatabaseSummary]")
+
+ def list_autonomous_db_preview_versions(self, compartment_id, **kwargs):
+ """
+ Gets a list of supported Autonomous Database versions. Note that preview version software is only available for
+ databases with `shared Exadata infrastructure`__.
+
+ __ https://docs.cloud.oracle.com/Content/Database/Concepts/adboverview.htm#AEI
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for DBWORKLOAD is ascending.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "DBWORKLOAD"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDbPreviewVersionSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_db_preview_versions API.
+ """
+ resource_path = "/autonomousDbPreviewVersions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page",
+ "opc_request_id",
+ "sort_by",
+ "sort_order"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_db_preview_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["DBWORKLOAD"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDbPreviewVersionSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDbPreviewVersionSummary]")
+
+ def list_autonomous_db_versions(self, compartment_id, **kwargs):
+ """
+ Gets a list of supported Autonomous Database versions.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str db_workload: (optional)
+ A filter to return only autonomous database resources that match the specified workload type.
+
+ Allowed values are: "OLTP", "DW", "AJD", "APEX"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDbVersionSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_db_versions API.
+ """
+ resource_path = "/autonomousDbVersions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page",
+ "opc_request_id",
+ "db_workload",
+ "sort_order"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_db_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'db_workload' in kwargs:
+ db_workload_allowed_values = ["OLTP", "DW", "AJD", "APEX"]
+ if kwargs['db_workload'] not in db_workload_allowed_values:
+ raise ValueError(
+ "Invalid value for `db_workload`, must be one of {0}".format(db_workload_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "dbWorkload": kwargs.get("db_workload", missing),
+ "sortOrder": kwargs.get("sort_order", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDbVersionSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousDbVersionSummary]")
+
+ def list_autonomous_exadata_infrastructure_shapes(self, availability_domain, compartment_id, **kwargs):
+ """
+ Gets a list of the shapes that can be used to launch a new Autonomous Exadata Infrastructure resource. The shape determines resources to allocate (CPU cores, memory and storage).
+
+
+ :param str availability_domain: (required)
+ The name of the Availability Domain.
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousExadataInfrastructureShapeSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_exadata_infrastructure_shapes API.
+ """
+ resource_path = "/autonomousExadataInfrastructureShapes"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_exadata_infrastructure_shapes got unknown kwargs: {!r}".format(extra_kwargs))
+
+ query_params = {
+ "availabilityDomain": availability_domain,
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousExadataInfrastructureShapeSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousExadataInfrastructureShapeSummary]")
+
+ def list_autonomous_exadata_infrastructures(self, compartment_id, **kwargs):
+ """
+ Gets a list of the Autonomous Exadata Infrastructures in the specified compartment.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
+
+ :param str availability_domain: (optional)
+ A filter to return only resources that match the given availability domain exactly.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :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. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. 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`.
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousExadataInfrastructureSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_exadata_infrastructures API.
+ """
+ resource_path = "/autonomousExadataInfrastructures"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page",
+ "sort_by",
+ "sort_order",
+ "lifecycle_state",
+ "availability_domain",
+ "display_name"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_autonomous_exadata_infrastructures got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "availabilityDomain": kwargs.get("availability_domain", missing),
+ "displayName": kwargs.get("display_name", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json"
+ }
+
+ retry_strategy = self.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousExadataInfrastructureSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousExadataInfrastructureSummary]")
+
+ def list_autonomous_vm_clusters(self, compartment_id, **kwargs):
+ """
+ Gets a list of Exadata Cloud@Customer Autonomous VM clusters in the specified compartment.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str exadata_infrastructure_id: (optional)
+ If provided, filters the results for the given Exadata Infrastructure.
:param int limit: (optional)
The maximum number of items to return per page.
@@ -8372,8 +11487,6 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
:param str sort_by: (optional)
The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
- **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
-
Allowed values are: "TIMECREATED", "DISPLAYNAME"
:param str sort_order: (optional)
@@ -8384,16 +11497,13 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
:param str lifecycle_state: (optional)
A filter to return only resources that match the given lifecycle state exactly.
- Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", "ROLE_CHANGE_IN_PROGRESS", "UNAVAILABLE"
-
- :param str availability_domain: (optional)
- A filter to return only resources that match the given availability domain exactly.
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
:param str display_name: (optional)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
- :param str service_level_agreement_type: (optional)
- A filter to return only resources that match the given service-level agreement type exactly.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
: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.
@@ -8403,41 +11513,31 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousVmClusterSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_autonomous_container_databases API.
+ Click `here `__ to see an example of how to use list_autonomous_vm_clusters API.
"""
- resource_path = "/autonomousContainerDatabases"
+ resource_path = "/autonomousVmClusters"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "autonomous_exadata_infrastructure_id",
- "autonomous_vm_cluster_id",
- "infrastructure_type",
+ "exadata_infrastructure_id",
"limit",
"page",
"sort_by",
"sort_order",
"lifecycle_state",
- "availability_domain",
"display_name",
- "service_level_agreement_type"
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_autonomous_container_databases got unknown kwargs: {!r}".format(extra_kwargs))
-
- if 'infrastructure_type' in kwargs:
- infrastructure_type_allowed_values = ["CLOUD", "CLOUD_AT_CUSTOMER"]
- if kwargs['infrastructure_type'] not in infrastructure_type_allowed_values:
- raise ValueError(
- "Invalid value for `infrastructure_type`, must be one of {0}".format(infrastructure_type_allowed_values)
- )
+ "list_autonomous_vm_clusters got unknown kwargs: {!r}".format(extra_kwargs))
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
@@ -8454,7 +11554,7 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
)
if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "BACKUP_IN_PROGRESS", "RESTORING", "RESTORE_FAILED", "RESTARTING", "MAINTENANCE_IN_PROGRESS", "ROLE_CHANGE_IN_PROGRESS", "UNAVAILABLE"]
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
@@ -8462,24 +11562,22 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
query_params = {
"compartmentId": compartment_id,
- "autonomousExadataInfrastructureId": kwargs.get("autonomous_exadata_infrastructure_id", missing),
- "autonomousVmClusterId": kwargs.get("autonomous_vm_cluster_id", missing),
- "infrastructureType": kwargs.get("infrastructure_type", missing),
+ "exadataInfrastructureId": kwargs.get("exadata_infrastructure_id", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortBy": kwargs.get("sort_by", missing),
"sortOrder": kwargs.get("sort_order", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
- "availabilityDomain": kwargs.get("availability_domain", missing),
- "displayName": kwargs.get("display_name", missing),
- "serviceLevelAgreementType": kwargs.get("service_level_agreement_type", missing)
+ "displayName": kwargs.get("display_name", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -8492,26 +11590,21 @@ def list_autonomous_container_databases(self, compartment_id, **kwargs):
method=method,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseSummary]")
+ response_type="list[AutonomousVmClusterSummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseSummary]")
+ response_type="list[AutonomousVmClusterSummary]")
- def list_autonomous_database_backups(self, **kwargs):
+ def list_backup_destination(self, compartment_id, **kwargs):
"""
- Gets a list of Autonomous Database backups based on either the `autonomousDatabaseId` or `compartmentId` specified as a query parameter.
-
-
- :param str autonomous_database_id: (optional)
- The database `OCID`__.
+ Gets a list of backup destinations in the specified compartment.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The compartment `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
@@ -8522,28 +11615,97 @@ def list_autonomous_database_backups(self, **kwargs):
:param str page: (optional)
The pagination token to continue listing from.
- :param str sort_by: (optional)
- The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
- **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
+ :param str type: (optional)
+ A filter to return only resources that match the given type of the Backup Destination.
- Allowed values are: "TIMECREATED", "DISPLAYNAME"
+ :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.
- :param str sort_order: (optional)
- The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
+ is also available. The specifics of the default retry strategy are described `here `__.
- Allowed values are: "ASC", "DESC"
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :param str lifecycle_state: (optional)
- A filter to return only resources that match the given lifecycle state exactly.
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.BackupDestinationSummary`
+ :rtype: :class:`~oci.response.Response`
- Allowed values are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ :example:
+ Click `here `__ to see an example of how to use list_backup_destination API.
+ """
+ resource_path = "/backupDestinations"
+ method = "GET"
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "limit",
+ "page",
+ "opc_request_id",
+ "type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_backup_destination got unknown kwargs: {!r}".format(extra_kwargs))
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "type": kwargs.get("type", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
+ if kwargs.get('retry_strategy'):
+ retry_strategy = kwargs.get('retry_strategy')
+
+ if retry_strategy:
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[BackupDestinationSummary]")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[BackupDestinationSummary]")
+
+ def list_backups(self, **kwargs):
+ """
+ Gets a list of backups based on the `databaseId` or `compartmentId` specified. Either one of these query parameters must be provided.
+
+
+ :param str database_id: (optional)
+ The `OCID`__ of the database.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param str compartment_id: (optional)
+ The compartment `OCID`__.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str page: (optional)
+ The pagination token to continue listing from.
: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.
@@ -8553,72 +11715,40 @@ def list_autonomous_database_backups(self, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseBackupSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.BackupSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_autonomous_database_backups API.
+ Click `here `__ to see an example of how to use list_backups API.
"""
- resource_path = "/autonomousDatabaseBackups"
+ resource_path = "/backups"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "autonomous_database_id",
+ "database_id",
"compartment_id",
"limit",
- "page",
- "sort_by",
- "sort_order",
- "lifecycle_state",
- "display_name",
- "opc_request_id"
+ "page"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_autonomous_database_backups got unknown kwargs: {!r}".format(extra_kwargs))
-
- if 'sort_by' in kwargs:
- sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
- if kwargs['sort_by'] not in sort_by_allowed_values:
- raise ValueError(
- "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
- )
-
- if 'sort_order' in kwargs:
- sort_order_allowed_values = ["ASC", "DESC"]
- if kwargs['sort_order'] not in sort_order_allowed_values:
- raise ValueError(
- "Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
- )
-
- if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
- if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
- raise ValueError(
- "Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
- )
+ "list_backups got unknown kwargs: {!r}".format(extra_kwargs))
query_params = {
- "autonomousDatabaseId": kwargs.get("autonomous_database_id", missing),
+ "databaseId": kwargs.get("database_id", missing),
"compartmentId": kwargs.get("compartment_id", missing),
"limit": kwargs.get("limit", missing),
- "page": kwargs.get("page", missing),
- "sortBy": kwargs.get("sort_by", missing),
- "sortOrder": kwargs.get("sort_order", missing),
- "lifecycleState": kwargs.get("lifecycle_state", missing),
- "displayName": kwargs.get("display_name", missing)
+ "page": kwargs.get("page", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
header_params = {
"accept": "application/json",
- "content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "content-type": "application/json"
}
- 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -8631,18 +11761,18 @@ def list_autonomous_database_backups(self, **kwargs):
method=method,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseBackupSummary]")
+ response_type="list[BackupSummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseBackupSummary]")
+ response_type="list[BackupSummary]")
- def list_autonomous_database_clones(self, compartment_id, autonomous_database_id, **kwargs):
+ def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
"""
- Lists the Autonomous Database clones for the specified Autonomous Database.
+ Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances only.
:param str compartment_id: (required)
@@ -8650,44 +11780,32 @@ def list_autonomous_database_clones(self, compartment_id, autonomous_database_id
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param int limit: (optional)
+ The maximum number of items to return per page.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str page: (optional)
+ The pagination token to continue listing from.
:param str opc_request_id: (optional)
Unique identifier for the request.
- :param int limit: (optional)
- The maximum number of items to return per page.
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
- :param str page: (optional)
- The pagination token to continue listing from.
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
:param str sort_order: (optional)
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
Allowed values are: "ASC", "DESC"
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
-
:param str lifecycle_state: (optional)
A filter to return only resources that match the given lifecycle state exactly.
- Allowed values are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"
-
- :param str sort_by: (optional)
- The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
-
- **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
-
- Allowed values are: "NONE", "TIMECREATED", "DISPLAYNAME"
-
- :param str clone_type: (optional)
- A filter to return only resources that match the given clone type exactly.
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
- Allowed values are: "REFRESHABLE_CLONE"
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
: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.
@@ -8697,41 +11815,37 @@ def list_autonomous_database_clones(self, compartment_id, autonomous_database_id
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.CloudExadataInfrastructureSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_autonomous_database_clones API.
+ Click `here `__ to see an example of how to use list_cloud_exadata_infrastructures API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/clones"
+ resource_path = "/cloudExadataInfrastructures"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
"limit",
"page",
+ "opc_request_id",
+ "sort_by",
"sort_order",
- "display_name",
"lifecycle_state",
- "sort_by",
- "clone_type"
+ "display_name"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_autonomous_database_clones got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "autonomousDatabaseId": autonomous_database_id
- }
-
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+ "list_cloud_exadata_infrastructures got unknown kwargs: {!r}".format(extra_kwargs))
- 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('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
+ )
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
@@ -8741,35 +11855,20 @@ def list_autonomous_database_clones(self, compartment_id, autonomous_database_id
)
if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"]
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
"Invalid value for `lifecycle_state`, must be one of {0}".format(lifecycle_state_allowed_values)
)
- if 'sort_by' in kwargs:
- sort_by_allowed_values = ["NONE", "TIMECREATED", "DISPLAYNAME"]
- if kwargs['sort_by'] not in sort_by_allowed_values:
- raise ValueError(
- "Invalid value for `sort_by`, must be one of {0}".format(sort_by_allowed_values)
- )
-
- if 'clone_type' in kwargs:
- clone_type_allowed_values = ["REFRESHABLE_CLONE"]
- if kwargs['clone_type'] not in clone_type_allowed_values:
- raise ValueError(
- "Invalid value for `clone_type`, must be one of {0}".format(clone_type_allowed_values)
- )
-
query_params = {
"compartmentId": compartment_id,
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
"sortOrder": kwargs.get("sort_order", missing),
- "displayName": kwargs.get("display_name", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
- "sortBy": kwargs.get("sort_by", missing),
- "cloneType": kwargs.get("clone_type", missing)
+ "displayName": kwargs.get("display_name", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -8789,35 +11888,41 @@ def list_autonomous_database_clones(self, compartment_id, autonomous_database_id
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseSummary]")
+ response_type="list[CloudExadataInfrastructureSummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseSummary]")
+ response_type="list[CloudExadataInfrastructureSummary]")
- def list_autonomous_database_dataguard_associations(self, autonomous_database_id, **kwargs):
+ def list_cloud_vm_cluster_update_history_entries(self, cloud_vm_cluster_id, **kwargs):
"""
- Gets a list of the Autonomous Data Guard-enabled databases associated with the specified Autonomous Database.
+ Gets the history of the maintenance update actions performed on the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ :param str update_type: (optional)
+ A filter to return only resources that match the given update type exactly.
+
+ Allowed values are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE"
+
:param int limit: (optional)
The maximum number of items to return per page.
:param str page: (optional)
The pagination token to continue listing from.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
: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.
@@ -8826,28 +11931,30 @@ def list_autonomous_database_dataguard_associations(self, autonomous_database_id
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.UpdateHistoryEntrySummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_autonomous_database_dataguard_associations API.
+ Click `here `__ to see an example of how to use list_cloud_vm_cluster_update_history_entries API.
"""
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations"
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/updateHistoryEntries"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
+ "update_type",
"limit",
- "page"
+ "page",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_autonomous_database_dataguard_associations got unknown kwargs: {!r}".format(extra_kwargs))
+ "list_cloud_vm_cluster_update_history_entries got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -8856,7 +11963,15 @@ def list_autonomous_database_dataguard_associations(self, autonomous_database_id
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError('Parameter {} cannot be None, whitespace or empty string'.format(k))
+ if 'update_type' in kwargs:
+ update_type_allowed_values = ["GI_UPGRADE", "GI_PATCH", "OS_UPDATE"]
+ if kwargs['update_type'] not in update_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `update_type`, must be one of {0}".format(update_type_allowed_values)
+ )
+
query_params = {
+ "updateType": kwargs.get("update_type", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing)
}
@@ -8864,8 +11979,10 @@ def list_autonomous_database_dataguard_associations(self, autonomous_database_id
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", 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.retry_strategy
if kwargs.get('retry_strategy'):
@@ -8879,7 +11996,7 @@ def list_autonomous_database_dataguard_associations(self, autonomous_database_id
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseDataguardAssociation]")
+ response_type="list[UpdateHistoryEntrySummary]")
else:
return self.base_client.call_api(
resource_path=resource_path,
@@ -8887,22 +12004,22 @@ def list_autonomous_database_dataguard_associations(self, autonomous_database_id
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousDatabaseDataguardAssociation]")
+ response_type="list[UpdateHistoryEntrySummary]")
- def list_autonomous_databases(self, compartment_id, **kwargs):
+ def list_cloud_vm_cluster_updates(self, cloud_vm_cluster_id, **kwargs):
"""
- Gets a list of Autonomous Databases based on the query parameters specified.
+ Lists the maintenance updates that can be applied to the specified cloud VM cluster. Applies to Exadata Cloud Service instances only.
- :param str compartment_id: (required)
- The compartment `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
- :param str autonomous_container_database_id: (optional)
- The Autonomous Container Database `OCID`__.
+ :param str update_type: (optional)
+ A filter to return only resources that match the given update type exactly.
- __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+ Allowed values are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE"
:param int limit: (optional)
The maximum number of items to return per page.
@@ -8910,53 +12027,9 @@ def list_autonomous_databases(self, compartment_id, **kwargs):
:param str page: (optional)
The pagination token to continue listing from.
- :param str sort_by: (optional)
- The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
-
- **Note:** If you do not include the availability domain filter, the resources are grouped by availability domain, then sorted.
-
- Allowed values are: "TIMECREATED", "DISPLAYNAME"
-
- :param str sort_order: (optional)
- The sort order to use, either ascending (`ASC`) or descending (`DESC`).
-
- Allowed values are: "ASC", "DESC"
-
- :param str infrastructure_type: (optional)
- A filter to return only resources that match the given Infrastructure Type.
-
- Allowed values are: "CLOUD", "CLOUD_AT_CUSTOMER"
-
- :param str lifecycle_state: (optional)
- A filter to return only resources that match the given lifecycle state exactly.
-
- Allowed values are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING"
-
- :param str db_workload: (optional)
- A filter to return only autonomous database resources that match the specified workload type.
-
- Allowed values are: "OLTP", "DW", "AJD", "APEX"
-
- :param str db_version: (optional)
- A filter to return only autonomous database resources that match the specified dbVersion.
-
- :param bool is_free_tier: (optional)
- Filter on the value of the resource's 'isFreeTier' property. A value of `true` returns only Always Free resources.
- A value of `false` excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources.
-
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
-
:param str opc_request_id: (optional)
Unique identifier for the request.
- :param bool is_refreshable_clone: (optional)
- Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones.
- A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.
-
- :param bool is_data_guard_enabled: (optional)
- A filter to return only resources that have Data Guard enabled.
-
: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.
@@ -8965,88 +12038,49 @@ def list_autonomous_databases(self, compartment_id, **kwargs):
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousDatabaseSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.UpdateSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here